From 016e33e6ecf348e06ebe5449d7a2dede79f6b5ad Mon Sep 17 00:00:00 2001 From: Saravanan Date: Fri, 8 Nov 2024 20:15:22 +0530 Subject: [PATCH 01/17] fix: e2e demo --- package.json | 2 +- webview_panels/.storybook/preview.tsx | 7 + .../src/lib/altimate/altimate-components.d.ts | 73 +- .../src/lib/altimate/altimate-components.js | 50 +- webview_panels/src/lib/altimate/main.js | 12912 ++++++++-------- .../healthCheck/ProjectHealthChecker.tsx | 6 +- .../ProjectHealthNewCheckButton.tsx | 43 + .../src/modules/insights/Insights.stories.tsx | 19 + 8 files changed, 6756 insertions(+), 6356 deletions(-) create mode 100644 webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx diff --git a/package.json b/package.json index c1dbf31b3..d5ffd101b 100644 --- a/package.json +++ b/package.json @@ -1191,7 +1191,7 @@ "postinstall": "node postInstall.js", "prepare": "husky install", "vscode:prepublish": "npm run panel:webviews && npm run panel:lineage && webpack --mode production && node prepareBuild.js", - "webpack": "npm run panel:webviews && npm run panel:lineage && webpack --mode development", + "webpack": "npm run panel:webviews", "webpack-dev": "npm run panel:webviews && npm run panel:lineage && webpack --mode development --watch", "watch": "concurrently \"npm:watch --prefix ./new_lineage_panel\" \"npm:watch --prefix ./webview_panels\" \"webpack --mode development --watch\"", "test-compile": "tsc -p ./", diff --git a/webview_panels/.storybook/preview.tsx b/webview_panels/.storybook/preview.tsx index 511947953..e5092ca92 100644 --- a/webview_panels/.storybook/preview.tsx +++ b/webview_panels/.storybook/preview.tsx @@ -8,6 +8,12 @@ import { decorator as VsCodeDecorator } from "./__mocks__/vscode"; import AppProvider from "../src/modules/app/AppProvider"; const theme = "vscode-dark"; // vscode-light +const css = ` + .sb-show-main.vscode-dark { + --vscode-panel-background: #1e1e1e; + } +`; + const preview: Preview = { decorators: [ (story) => { @@ -17,6 +23,7 @@ const preview: Preview = { VsCodeDecorator, (Story) => ( + ), diff --git a/webview_panels/src/lib/altimate/altimate-components.d.ts b/webview_panels/src/lib/altimate/altimate-components.d.ts index 4737e7351..8b7e37ef4 100644 --- a/webview_panels/src/lib/altimate/altimate-components.d.ts +++ b/webview_panels/src/lib/altimate/altimate-components.d.ts @@ -3,6 +3,7 @@ import { ButtonHTMLAttributes } from 'react'; import { ButtonProps } from 'reactstrap'; import { CaseReducerActions } from '@reduxjs/toolkit'; import { ChatMessage } from '@ant-design/pro-chat'; +import { ComponentType } from 'react'; import { Dispatch } from 'react'; import { JSX as JSX_2 } from 'react/jsx-runtime'; import { PayloadAction } from '@reduxjs/toolkit'; @@ -66,9 +67,16 @@ export declare interface CoachAiResponse { personalizationScope: string; } -export declare const CoachForm: ({ taskLabel, context, onClose, extra }: Props_10) => JSX_2.Element; +export declare const CoachForm: (props: CoachFormProps) => JSX_2.Element; -export declare const CoachFormButton: ({}: Props_11) => JSX_2.Element; +export declare const CoachFormButton: ({}: Props_10) => JSX_2.Element; + +declare interface CoachFormProps { + taskLabel: keyof typeof TaskLabels; + context?: Record; + extra?: Record; + onClose: () => void; +} export declare const CodeBlock: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props_4) => JSX.Element; @@ -171,6 +179,7 @@ export declare type Details = Record; export declare interface ExposureMetaData { @@ -205,7 +214,7 @@ export declare const IconButton: (props: Props) => JSX.Element; export declare interface Learning extends z.infer { } -export declare const Learnings: ({ filters, learning }: Props_12) => JSX_2.Element; +export declare const Learnings: ({ filters, learning }: Props_11) => JSX_2.Element; export declare const learningSchema: z.ZodObject<{ train_doc_uid: z.ZodString; @@ -279,28 +288,59 @@ export declare enum PersonalizationScope { ALL_USERS = "AllUsers" } +export declare enum ProjectGovernorAllowedFiles { + Manifest = "Manifest", + Catalog = "Catalog" +} + +export declare interface ProjectGovernorCheck { + name: string; + alias: string; + type: ProjectGovernorCheckTypes; + description: string; + files_required: ProjectGovernorAllowedFiles[]; +} + +export declare interface ProjectGovernorCheckConfirmationResponse { + ok: boolean; +} + +export declare interface ProjectGovernorCheckFormValues { + content: string; + type: ProjectGovernorCheckTypes; +} + +export declare enum ProjectGovernorCheckTypes { + Modelling = "Modelling", + Governance = "governance", + Performance = "Performance", + Test = "Test", + Structure = "structure", + Checks = "Checks" +} + +export declare interface ProjectGovernorCheckValidateResponse { + ai_response: string; + category: string; + personalizationScope: string; + type: ProjectGovernorCheckTypes; +} + declare interface Props extends ButtonHTMLAttributes { color?: string; } declare interface Props_10 { - taskLabel: keyof typeof TaskLabels; - context?: Record; - extra?: Record; - onClose: () => void; } declare interface Props_11 { -} - -declare interface Props_12 { filters?: { taskLabel?: keyof typeof TaskLabels; }; learning?: string | null; } -declare interface Props_13 { +declare interface Props_12 { onSelect: (selected: (typeof TeamMatesConfig)[0], action: TeamMateActionType) => Promise; client: keyof typeof TeamMateAvailability; } @@ -380,13 +420,13 @@ declare interface SqlLineage { nodePositions?: Record; } -declare interface StaticLineage { +export declare interface StaticLineage { selectedColumn: { table: string; name: string; }; collectColumns: Record; - columnEdges?: [string, string][]; + columnEdges?: [string, string, string][]; tableEdges: [string, string][]; details: Details; } @@ -434,7 +474,8 @@ export declare enum TaskLabels { DocGen = "DocGen", ChartBot = "ChartBot", SqlBot = "SqlExpert", - OpportunitiesBot = "OpportunitiesBot" + OpportunitiesBot = "OpportunitiesBot", + ProjectGovernor = "ProjectGovernor" } export declare const TeammateActions: CaseReducerActions< { @@ -460,6 +501,8 @@ export declare interface TeamMateConfig { key: TaskLabels; seeInAction?: boolean; comingSoon?: boolean; + displayComponent?: ComponentType; + formComponent?: ComponentType; } export declare interface TeamMateContextProps { @@ -471,7 +514,7 @@ export declare const TeamMateProvider: ({ children, }: { children: ReactNode; }) => JSX.Element; -export declare const TeamMates: ({ onSelect, client }: Props_13) => JSX_2.Element; +export declare const TeamMates: ({ onSelect, client }: Props_12) => JSX_2.Element; export declare const TeamMatesConfig: TeamMateConfig[]; diff --git a/webview_panels/src/lib/altimate/altimate-components.js b/webview_panels/src/lib/altimate/altimate-components.js index f5f46d530..191a33ec1 100644 --- a/webview_panels/src/lib/altimate/altimate-components.js +++ b/webview_panels/src/lib/altimate/altimate-components.js @@ -1,34 +1,36 @@ -import { A as o, B as t, m as n, p as i, o as r, q as C, n as m, t as T, v as l, C as c, F as p, k as g, i as v, h as L, D as u, I as h, y as B, l as M, L as d, P as A, G as b, K as k, J as y, r as F, z as P, E as x, x as D, T as I, H as S, w as f } from "./main.js"; +import { A as o, B as t, m as n, p as r, o as i, q as C, n as m, t as l, v as c, C as T, F as p, k as v, i as g, h as L, D as h, I as u, y as M, l as d, L as A, P as B, N as P, M as k, G as y, K as F, J as b, r as G, z as x, E as D, x as I, T as S, H as f, w as j } from "./main.js"; import "reactstrap"; export { o as ApiHelper, t as Badge, n as CLL, - i as ChatTriggerLink, - r as Chatbot, + r as ChatTriggerLink, + i as Chatbot, C as Citations, m as CllEvents, - T as CoachForm, - l as CoachFormButton, - c as CodeBlock, + l as CoachForm, + c as CoachFormButton, + T as CodeBlock, p as ContentCategory, - g as ConversationGroupProvider, - v as ConversationInputForm, + v as ConversationGroupProvider, + g as ConversationInputForm, L as ConversationSources, - u as DbtDocs, - h as IconButton, - B as Learnings, - M as Lineage, - d as LoadingButton, - A as PersonalizationScope, - b as TaskLabels, - k as TeamMateActionType, - y as TeamMateAvailability, - F as TeamMateProvider, - P as TeamMates, - x as TeamMatesConfig, - D as TeammateActions, - I as Tooltip, - S as learningSchema, - f as useTeamMateContext + h as DbtDocs, + u as IconButton, + M as Learnings, + d as Lineage, + A as LoadingButton, + B as PersonalizationScope, + P as ProjectGovernorAllowedFiles, + k as ProjectGovernorCheckTypes, + y as TaskLabels, + F as TeamMateActionType, + b as TeamMateAvailability, + G as TeamMateProvider, + x as TeamMates, + D as TeamMatesConfig, + I as TeammateActions, + S as Tooltip, + f as learningSchema, + j as useTeamMateContext }; diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 98320eae8..2a8945ef4 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -1,22 +1,22 @@ // * version 0.1.0 -import './main.css';var w5 = Object.defineProperty; -var E5 = (e, t, n) => t in e ? w5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var Hr = (e, t, n) => E5(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as S5, Button as $e, Spinner as L0, Card as sn, CardTitle as wr, CardBody as Rn, Badge as k5, CloseButton as _5, Popover as F0, PopoverBody as R0, UncontrolledTooltip as A5, Input as Ln, Label as wi, Modal as j0, ModalBody as I0, FormGroup as Ql, FormFeedback as z0, Alert as Us, CardFooter as M5, Collapse as H0, Col as T5, CardImg as O5, CardSubtitle as D5, CardText as N5, Row as L5, List as F5 } from "reactstrap"; -import * as T from "react"; -import $, { createContext as zt, Component as R5, createElement as u1, isValidElement as P0, useState as ue, useRef as he, forwardRef as qs, useEffect as ce, useReducer as Ys, useCallback as Me, useMemo as He, useContext as Je, useLayoutEffect as j5, useId as B0, useInsertionEffect as I5, Children as xo, lazy as z5, memo as Ye } from "react"; -import { Prism as H5 } from "react-syntax-highlighter"; -import P5, { createPortal as Jn } from "react-dom"; -import { useProChat as B5, ProChat as V5 } from "@ant-design/pro-chat"; -import { useFormikContext as $5, Form as W5, Field as Z5, Formik as U5, useFormik as q5 } from "formik"; -import { z as pt } from "zod"; -import { Popconfirm as Y5, Select as d1 } from "antd"; -var qn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function un(e) { +import './main.css';var z5 = Object.defineProperty; +var H5 = (e, t, n) => t in e ? z5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +var Wr = (e, t, n) => H5(e, typeof t != "symbol" ? t + "" : t, n); +import { Tooltip as P5, Button as Re, Spinner as Xs, Card as zt, CardTitle as Fo, CardBody as un, Badge as B5, CloseButton as V5, Popover as Z0, PopoverBody as U0, UncontrolledTooltip as $5, Input as Cn, Label as ha, Modal as q0, ModalBody as Y0, FormGroup as lr, FormFeedback as Qs, Alert as Mr, CardFooter as G0, Offcanvas as W5, OffcanvasHeader as Z5, OffcanvasBody as U5, Collapse as K0, Col as q5, CardImg as Y5, CardSubtitle as G5, CardText as K5, Row as X5, List as Q5 } from "reactstrap"; +import * as O from "react"; +import $, { createContext as Ht, Component as J5, createElement as x1, isValidElement as X0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Me, useMemo as Be, useContext as Je, useLayoutEffect as e4, useId as Q0, useInsertionEffect as t4, Children as wo, lazy as n4, memo as Ye } from "react"; +import { Prism as o4 } from "react-syntax-highlighter"; +import r4, { createPortal as Rn } from "react-dom"; +import { useProChat as a4, ProChat as i4 } from "@ant-design/pro-chat"; +import { useFormikContext as J0, Form as ed, Field as ns, Formik as td, useFormik as l4 } from "formik"; +import { z as tt } from "zod"; +import { Select as os, Popconfirm as s4 } from "antd"; +var Kn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function dn(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var Jl = { exports: {} }, Io = {}; +var rs = { exports: {} }, $o = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -26,21 +26,21 @@ var Jl = { exports: {} }, Io = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var f1; -function G5() { - if (f1) return Io; - f1 = 1; +var w1; +function c4() { + if (w1) return $o; + w1 = 1; var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(l, s, u) { - var c, d = {}, h = null, f = null; - u !== void 0 && (h = "" + u), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (f = s.ref); + var c, d = {}, p = null, f = null; + u !== void 0 && (p = "" + u), s.key !== void 0 && (p = "" + s.key), s.ref !== void 0 && (f = 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: f, props: d, _owner: r.current }; + return { $$typeof: t, type: l, key: p, ref: f, props: d, _owner: r.current }; } - return Io.Fragment = n, Io.jsx = i, Io.jsxs = i, Io; + return $o.Fragment = n, $o.jsx = i, $o.jsxs = i, $o; } -var zo = {}; +var Wo = {}; /** * @license React * react-jsx-runtime.development.js @@ -50,10 +50,10 @@ var zo = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var h1; -function K5() { - return h1 || (h1 = 1, process.env.NODE_ENV !== "production" && function() { - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; +var E1; +function u4() { + return E1 || (E1 = 1, process.env.NODE_ENV !== "production" && function() { + var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; function y(H) { if (H === null || typeof H != "object") return null; @@ -72,16 +72,16 @@ function K5() { { var fe = g.ReactDebugCurrentFrame, Ae = fe.getStackAddendum(); Ae !== "" && (X += "%s", re = re.concat([Ae])); - var Re = re.map(function(we) { + var je = re.map(function(we) { return String(we); }); - Re.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Re); + je.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, je); } } - var S = !1, E = !1, w = !1, O = !1, _ = !1, L; + var S = !1, w = !1, E = !1, M = !1, _ = !1, L; L = Symbol.for("react.module.reference"); - function j(H) { - return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || _ || H === r || H === u || H === c || O || H === f || S || E || w || 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 + function R(H) { + return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || _ || H === r || H === u || H === c || M || H === f || S || w || E || typeof H == "object" && H !== null && (H.$$typeof === p || 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. @@ -131,10 +131,10 @@ function K5() { case d: var fe = H.displayName || null; return fe !== null ? fe : V(H.type) || "Memo"; - case h: { - var Ae = H, Re = Ae._payload, we = Ae._init; + case p: { + var Ae = H, je = Ae._payload, we = Ae._init; try { - return V(we(Re)); + return V(we(je)); } catch { return null; } @@ -142,14 +142,14 @@ function K5() { } return null; } - var k = Object.assign, D = 0, M, N, I, R, v, z, B; + var k = Object.assign, N = 0, T, D, I, j, v, z, B; function A() { } A.__reactDisabledLog = !0; function W() { { - if (D === 0) { - M = console.log, N = console.info, I = console.warn, R = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; + if (N === 0) { + T = console.log, D = console.info, I = console.warn, j = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; var H = { configurable: !0, enumerable: !0, @@ -166,12 +166,12 @@ function K5() { groupEnd: H }); } - D++; + N++; } } function Y() { { - if (D--, D === 0) { + if (N--, N === 0) { var H = { configurable: !0, enumerable: !0, @@ -179,16 +179,16 @@ function K5() { }; Object.defineProperties(console, { log: k({}, H, { - value: M + value: T }), info: k({}, H, { - value: N + value: D }), warn: k({}, H, { value: I }), error: k({}, H, { - value: R + value: j }), group: k({}, H, { value: v @@ -201,7 +201,7 @@ function K5() { }) }); } - D < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + N < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var K = g.ReactCurrentDispatcher, Q; @@ -235,8 +235,8 @@ function K5() { oe = !0; var Ae = Error.prepareStackTrace; Error.prepareStackTrace = void 0; - var Re; - Re = K.current, K.current = null, W(); + var je; + je = K.current, K.current = null, W(); try { if (X) { var we = function() { @@ -249,50 +249,50 @@ function K5() { }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(we, []); - } catch (st) { - fe = st; + } catch (dt) { + fe = dt; } Reflect.construct(H, [], we); } else { try { we.call(); - } catch (st) { - fe = st; + } catch (dt) { + fe = dt; } H.call(we.prototype); } } else { try { throw Error(); - } catch (st) { - fe = st; + } catch (dt) { + fe = dt; } H(); } - } catch (st) { - if (st && fe && typeof st.stack == "string") { - for (var ye = st.stack.split(` -`), at = fe.stack.split(` -`), We = ye.length - 1, Ue = at.length - 1; We >= 1 && Ue >= 0 && ye[We] !== at[Ue]; ) + } catch (dt) { + if (dt && fe && typeof dt.stack == "string") { + for (var ye = dt.stack.split(` +`), st = fe.stack.split(` +`), We = ye.length - 1, Ue = st.length - 1; We >= 1 && Ue >= 0 && ye[We] !== st[Ue]; ) Ue--; for (; We >= 1 && Ue >= 0; We--, Ue--) - if (ye[We] !== at[Ue]) { + if (ye[We] !== st[Ue]) { if (We !== 1 || Ue !== 1) do - if (We--, Ue--, Ue < 0 || ye[We] !== at[Ue]) { - var ht = ` + if (We--, Ue--, Ue < 0 || ye[We] !== st[Ue]) { + var pt = ` ` + ye[We].replace(" at new ", " at "); - return H.displayName && ht.includes("") && (ht = ht.replace("", H.displayName)), typeof H == "function" && U.set(H, ht), ht; + return H.displayName && pt.includes("") && (pt = pt.replace("", H.displayName)), typeof H == "function" && U.set(H, pt), pt; } while (We >= 1 && Ue >= 0); break; } } } finally { - oe = !1, K.current = Re, Y(), Error.prepareStackTrace = Ae; + oe = !1, K.current = je, Y(), Error.prepareStackTrace = Ae; } - var En = H ? H.displayName || H.name : "", hn = En ? ne(En) : ""; - return typeof H == "function" && U.set(H, hn), hn; + var _n = H ? H.displayName || H.name : "", pn = _n ? ne(_n) : ""; + return typeof H == "function" && U.set(H, pn), pn; } function ke(H, X, re) { return J(H, !1); @@ -320,17 +320,17 @@ function K5() { return ke(H.render); case d: return _e(H.type, X, re); - case h: { - var fe = H, Ae = fe._payload, Re = fe._init; + case p: { + var fe = H, Ae = fe._payload, je = fe._init; try { - return _e(Re(Ae), X, re); + return _e(je(Ae), X, re); } catch { } } } return ""; } - var Ve = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; + var $e = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; function Ge(H) { if (H) { var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); @@ -338,16 +338,16 @@ function K5() { } else le.setExtraStackFrame(null); } - function Tt(H, X, re, fe, Ae) { + function Ot(H, X, re, fe, Ae) { { - var Re = Function.call.bind(Ve); + var je = Function.call.bind($e); for (var we in H) - if (Re(H, we)) { + if (je(H, we)) { var ye = void 0; try { if (typeof H[we] != "function") { - var at = Error((fe || "React class") + ": " + re + " type `" + we + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof H[we] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - throw at.name = "Invariant Violation", at; + var st = Error((fe || "React class") + ": " + re + " type `" + we + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof H[we] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); + throw st.name = "Invariant Violation", st; } ye = H[we](X, we, fe, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (We) { @@ -357,29 +357,29 @@ function K5() { } } } - var Qt = Array.isArray; - function Ot(H) { - return Qt(H); + var en = Array.isArray; + function Nt(H) { + return en(H); } - function Jt(H) { + function tn(H) { { var X = typeof Symbol == "function" && Symbol.toStringTag, re = X && H[Symbol.toStringTag] || H.constructor.name || "Object"; return re; } } - function wt(H) { + function St(H) { try { - return Vt(H), !1; + return $t(H), !1; } catch { return !0; } } - function Vt(H) { + function $t(H) { return "" + H; } function Dt(H) { - if (wt(H)) - return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(H)), Vt(H); + if (St(H)) + return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tn(H)), $t(H); } var Z = g.ReactCurrentOwner, ee = { key: !0, @@ -388,8 +388,8 @@ function K5() { __source: !0 }, se, xe, de; de = {}; - function Be(H) { - if (Ve.call(H, "ref")) { + function Ve(H) { + if ($e.call(H, "ref")) { var X = Object.getOwnPropertyDescriptor(H, "ref").get; if (X && X.isReactWarning) return !1; @@ -397,7 +397,7 @@ function K5() { return H.ref !== void 0; } function et(H) { - if (Ve.call(H, "key")) { + if ($e.call(H, "key")) { var X = Object.getOwnPropertyDescriptor(H, "key").get; if (X && X.isReactWarning) return !1; @@ -410,7 +410,7 @@ function K5() { de[re] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Z.current.type), H.ref), de[re] = !0); } } - function ft(H, X) { + function ht(H, X) { { var re = function() { se || (se = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); @@ -421,7 +421,7 @@ function K5() { }); } } - function ot(H, X) { + function it(H, X) { { var re = function() { xe || (xe = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); @@ -432,7 +432,7 @@ function K5() { }); } } - var Se = function(H, X, re, fe, Ae, Re, we) { + var Se = function(H, X, re, fe, Ae, je, we) { var ye = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, @@ -442,7 +442,7 @@ function K5() { ref: re, props: we, // Record the component responsible for creating this element. - _owner: Re + _owner: je }; return ye._store = {}, Object.defineProperty(ye._store, "validated", { configurable: !1, @@ -461,41 +461,41 @@ function K5() { value: Ae }), Object.freeze && (Object.freeze(ye.props), Object.freeze(ye)), ye; }; - function $t(H, X, re, fe, Ae) { + function Wt(H, X, re, fe, Ae) { { - var Re, we = {}, ye = null, at = null; - re !== void 0 && (Dt(re), ye = "" + re), et(X) && (Dt(X.key), ye = "" + X.key), Be(X) && (at = X.ref, Qe(X, Ae)); - for (Re in X) - Ve.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); + var je, we = {}, ye = null, st = null; + re !== void 0 && (Dt(re), ye = "" + re), et(X) && (Dt(X.key), ye = "" + X.key), Ve(X) && (st = X.ref, Qe(X, Ae)); + for (je in X) + $e.call(X, je) && !ee.hasOwnProperty(je) && (we[je] = X[je]); if (H && H.defaultProps) { var We = H.defaultProps; - for (Re in We) - we[Re] === void 0 && (we[Re] = We[Re]); + for (je in We) + we[je] === void 0 && (we[je] = We[je]); } - if (ye || at) { + if (ye || st) { var Ue = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; - ye && ft(we, Ue), at && ot(we, Ue); + ye && ht(we, Ue), st && it(we, Ue); } - return Se(H, ye, at, Ae, fe, Z.current, we); + return Se(H, ye, st, Ae, fe, Z.current, we); } } - var rt = g.ReactCurrentOwner, wn = g.ReactDebugCurrentFrame; - function en(H) { + var lt = g.ReactCurrentOwner, kn = g.ReactDebugCurrentFrame; + function nn(H) { if (H) { var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); - wn.setExtraStackFrame(re); + kn.setExtraStackFrame(re); } else - wn.setExtraStackFrame(null); + kn.setExtraStackFrame(null); } - var no; - no = !1; - function Wt(H) { + var ro; + ro = !1; + function Zt(H) { return typeof H == "object" && H !== null && H.$$typeof === t; } - function Lr() { + function zr() { { - if (rt.current) { - var H = V(rt.current.type); + if (lt.current) { + var H = V(lt.current.type); if (H) return ` @@ -504,13 +504,13 @@ Check the render method of \`` + H + "`."; return ""; } } - function di(H) { + function mi(H) { return ""; } - var Fr = {}; - function fi(H) { + var Hr = {}; + function bi(H) { { - var X = Lr(); + var X = zr(); if (!X) { var re = typeof H == "string" ? H : H.displayName || H.name; re && (X = ` @@ -520,39 +520,39 @@ Check the top-level render call using <` + re + ">."); return X; } } - function Rr(H, X) { + function Pr(H, X) { { if (!H._store || H._store.validated || H.key != null) return; H._store.validated = !0; - var re = fi(X); - if (Fr[re]) + var re = bi(X); + if (Hr[re]) return; - Fr[re] = !0; + Hr[re] = !0; var fe = ""; - H && H._owner && H._owner !== rt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), en(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), en(null); + H && H._owner && H._owner !== lt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), nn(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), nn(null); } } - function jr(H, X) { + function Br(H, X) { { if (typeof H != "object") return; - if (Ot(H)) + if (Nt(H)) for (var re = 0; re < H.length; re++) { var fe = H[re]; - Wt(fe) && Rr(fe, X); + Zt(fe) && Pr(fe, X); } - else if (Wt(H)) + else if (Zt(H)) H._store && (H._store.validated = !0); else if (H) { var Ae = y(H); if (typeof Ae == "function" && Ae !== H.entries) - for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) - Wt(we.value) && Rr(we.value, X); + for (var je = Ae.call(H), we; !(we = je.next()).done; ) + Zt(we.value) && Pr(we.value, X); } } } - function hi(H) { + function yi(H) { { var X = H.type; if (X == null || typeof X == "string") @@ -568,101 +568,101 @@ Check the top-level render call using <` + re + ">."); return; if (re) { var fe = V(X); - Tt(re, H.props, "prop", fe, H); - } else if (X.PropTypes !== void 0 && !no) { - no = !0; + Ot(re, H.props, "prop", fe, H); + } else if (X.PropTypes !== void 0 && !ro) { + ro = !0; var Ae = V(X); x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown"); } typeof X.getDefaultProps == "function" && !X.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } - function pi(H) { + function Ci(H) { { for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { var fe = X[re]; if (fe !== "children" && fe !== "key") { - en(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), en(null); + nn(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), nn(null); break; } } - H.ref !== null && (en(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), en(null)); + H.ref !== null && (nn(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), nn(null)); } } - var Ir = {}; - function zr(H, X, re, fe, Ae, Re) { + var Vr = {}; + function $r(H, X, re, fe, Ae, je) { { - var we = j(H); + var we = R(H); if (!we) { var ye = ""; (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var at = di(); - at ? ye += at : ye += Lr(); + var st = mi(); + st ? ye += st : ye += zr(); var We; - H === null ? We = "null" : Ot(H) ? We = "array" : H !== void 0 && H.$$typeof === t ? (We = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : We = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, ye); + H === null ? We = "null" : Nt(H) ? We = "array" : H !== void 0 && H.$$typeof === t ? (We = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : We = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, ye); } - var Ue = $t(H, X, re, Ae, Re); + var Ue = Wt(H, X, re, Ae, je); if (Ue == null) return Ue; if (we) { - var ht = X.children; - if (ht !== void 0) + var pt = X.children; + if (pt !== void 0) if (fe) - if (Ot(ht)) { - for (var En = 0; En < ht.length; En++) - jr(ht[En], H); - Object.freeze && Object.freeze(ht); + if (Nt(pt)) { + for (var _n = 0; _n < pt.length; _n++) + Br(pt[_n], H); + Object.freeze && Object.freeze(pt); } else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else - jr(ht, H); + Br(pt, H); } - if (Ve.call(X, "key")) { - var hn = V(H), st = Object.keys(X).filter(function(vi) { - return vi !== "key"; - }), jo = st.length > 0 ? "{key: someKey, " + st.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!Ir[hn + jo]) { - var Ci = st.length > 0 ? "{" + st.join(": ..., ") + ": ...}" : "{}"; + if ($e.call(X, "key")) { + var pn = V(H), dt = Object.keys(X).filter(function(ki) { + return ki !== "key"; + }), Vo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; + if (!Vr[pn + Vo]) { + var Si = dt.length > 0 ? "{" + dt.join(": ..., ") + ": ...}" : "{}"; x(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, jo, hn, Ci, hn), Ir[hn + jo] = !0; + <%s key={someKey} {...props} />`, Vo, pn, Si, pn), Vr[pn + Vo] = !0; } } - return H === o ? pi(Ue) : hi(Ue), Ue; + return H === o ? Ci(Ue) : yi(Ue), Ue; } } - function gi(H, X, re) { - return zr(H, X, re, !0); + function vi(H, X, re) { + return $r(H, X, re, !0); } - function mi(H, X, re) { - return zr(H, X, re, !1); + function xi(H, X, re) { + return $r(H, X, re, !1); } - var bi = mi, yi = gi; - zo.Fragment = o, zo.jsx = bi, zo.jsxs = yi; - }()), zo; + var wi = xi, Ei = vi; + Wo.Fragment = o, Wo.jsx = wi, Wo.jsxs = Ei; + }()), Wo; } -process.env.NODE_ENV === "production" ? Jl.exports = G5() : Jl.exports = K5(); -var p = Jl.exports; -const X5 = "_iconButton_eti7u_1", Q5 = { - iconButton: X5 -}, Wn = (e) => /* @__PURE__ */ p.jsx(xn, { title: e.title, children: /* @__PURE__ */ p.jsx( +process.env.NODE_ENV === "production" ? rs.exports = c4() : rs.exports = u4(); +var h = rs.exports; +const d4 = "_iconButton_eti7u_1", f4 = { + iconButton: d4 +}, qn = (e) => /* @__PURE__ */ h.jsx(Sn, { title: e.title, children: /* @__PURE__ */ h.jsx( "button", { ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${Q5.iconButton}`, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${f4.iconButton}`, type: e.type ?? "button", children: e.children } -) }), J5 = zt(null), Ei = { +) }), h4 = Ht(null), Ai = { didCatch: !1, error: null }; -class e4 extends R5 { +class p4 extends J5 { constructor(t) { - super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ei; + super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ai; } static getDerivedStateFromError(t) { return { @@ -680,7 +680,7 @@ class e4 extends R5 { (n = (o = this.props).onReset) === null || n === void 0 || n.call(o, { args: a, reason: "imperative-api" - }), this.setState(Ei); + }), this.setState(Ai); } } componentDidCatch(t, n) { @@ -693,13 +693,13 @@ class e4 extends R5 { } = this.state, { resetKeys: r } = this.props; - if (o && n.error !== null && t4(t.resetKeys, r)) { + if (o && n.error !== null && g4(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(Ei); + }), this.setState(Ai); } } render() { @@ -721,13 +721,13 @@ class e4 extends R5 { if (typeof n == "function") l = n(s); else if (o) - l = u1(o, s); - else if (r === null || P0(r)) + l = x1(o, s); + else if (r === null || X0(r)) l = r; else throw i; } - return u1(J5.Provider, { + return x1(h4.Provider, { value: { didCatch: a, error: i, @@ -736,18 +736,18 @@ class e4 extends R5 { }, l); } } -function t4() { +function g4() { 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 xn = (e) => { - const [t, n] = ue(!1), o = () => n(!t), r = he( +const Sn = (e) => { + const [t, n] = ce(!1), o = () => n(!t), r = he( (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") ); - return /* @__PURE__ */ p.jsxs(e4, { fallback: /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), children: [ - /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), - e.title ? /* @__PURE__ */ p.jsx( - S5, + return /* @__PURE__ */ h.jsxs(p4, { fallback: /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), children: [ + /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), + e.title ? /* @__PURE__ */ h.jsx( + P5, { isOpen: t, target: r.current, @@ -758,18 +758,18 @@ const xn = (e) => { } ) : null ] }); -}, n4 = "_loadingBtn_gadec_1", o4 = { - loadingBtn: n4 -}, $a = ({ loading: e, ...t }) => /* @__PURE__ */ p.jsx( - $e, +}, m4 = "_loadingBtn_gadec_1", b4 = { + loadingBtn: m4 +}, jo = ({ loading: e, ...t }) => /* @__PURE__ */ h.jsx( + Re, { ...t, disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${o4.loadingBtn}`, - children: e ? /* @__PURE__ */ p.jsx(L0, {}) : t.children + className: `${t.className ?? ""} ${b4.loadingBtn}`, + children: e ? /* @__PURE__ */ h.jsx(Xs, {}) : t.children } ); -var Uo = {}, V0 = { exports: {} }; +var Qo = {}, nd = { exports: {} }; (function(e) { function t(n) { return n && n.__esModule ? n : { @@ -777,10 +777,10 @@ var Uo = {}, V0 = { exports: {} }; }; } e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports; -})(V0); -var r4 = V0.exports, Si = {}, p1; -function a4() { - return p1 || (p1 = 1, function(e) { +})(nd); +var y4 = nd.exports, Mi = {}, S1; +function C4() { + return S1 || (S1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1034,11 +1034,11 @@ function a4() { } }; e.default = t; - }(Si)), Si; + }(Mi)), Mi; } -var ki = {}, g1; -function i4() { - return g1 || (g1 = 1, function(e) { +var Ti = {}, k1; +function v4() { + return k1 || (k1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1197,11 +1197,11 @@ function i4() { } }; e.default = t; - }(ki)), ki; + }(Ti)), Ti; } -var _i = {}, m1; -function l4() { - return m1 || (m1 = 1, function(e) { +var Oi = {}, _1; +function x4() { + return _1 || (_1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1367,11 +1367,11 @@ function l4() { } }; e.default = t; - }(_i)), _i; + }(Oi)), Oi; } -var Ai = {}, b1; -function s4() { - return b1 || (b1 = 1, function(e) { +var Ni = {}, A1; +function w4() { + return A1 || (A1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1532,11 +1532,11 @@ function s4() { } }; e.default = t; - }(Ai)), Ai; + }(Ni)), Ni; } -var Mi = {}, y1; -function c4() { - return y1 || (y1 = 1, function(e) { +var Di = {}, M1; +function E4() { + return M1 || (M1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1709,11 +1709,11 @@ function c4() { } }; e.default = t; - }(Mi)), Mi; + }(Di)), Di; } -var Ti = {}, C1; -function u4() { - return C1 || (C1 = 1, function(e) { +var Li = {}, T1; +function S4() { + return T1 || (T1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1871,11 +1871,11 @@ function u4() { } }; e.default = t; - }(Ti)), Ti; + }(Li)), Li; } -var Oi = {}, v1; -function d4() { - return v1 || (v1 = 1, function(e) { +var Fi = {}, O1; +function k4() { + return O1 || (O1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2094,11 +2094,11 @@ function d4() { } }; e.default = t; - }(Oi)), Oi; + }(Fi)), Fi; } -var Di = {}, x1; -function f4() { - return x1 || (x1 = 1, function(e) { +var ji = {}, N1; +function _4() { + return N1 || (N1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2295,11 +2295,11 @@ function f4() { } }; e.default = t; - }(Di)), Di; + }(ji)), ji; } -var Ni = {}, w1; -function h4() { - return w1 || (w1 = 1, function(e) { +var Ri = {}, D1; +function A4() { + return D1 || (D1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2450,11 +2450,11 @@ function h4() { } }; e.default = t; - }(Ni)), Ni; + }(Ri)), Ri; } -var Li = {}, E1; -function p4() { - return E1 || (E1 = 1, function(e) { +var Ii = {}, L1; +function M4() { + return L1 || (L1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2612,11 +2612,11 @@ function p4() { } }; e.default = t; - }(Li)), Li; + }(Ii)), Ii; } -var Fi = {}, S1; -function g4() { - return S1 || (S1 = 1, function(e) { +var zi = {}, F1; +function T4() { + return F1 || (F1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2818,11 +2818,11 @@ function g4() { } }; e.default = t; - }(Fi)), Fi; + }(zi)), zi; } -var Ri = {}, k1; -function m4() { - return k1 || (k1 = 1, function(e) { +var Hi = {}, j1; +function O4() { + return j1 || (j1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2988,11 +2988,11 @@ function m4() { } }; e.default = t; - }(Ri)), Ri; + }(Hi)), Hi; } -var ji = {}, _1; -function b4() { - return _1 || (_1 = 1, function(e) { +var Pi = {}, R1; +function N4() { + return R1 || (R1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3383,11 +3383,11 @@ function b4() { } }; e.default = t; - }(ji)), ji; + }(Pi)), Pi; } -var Ii = {}, A1; -function y4() { - return A1 || (A1 = 1, function(e) { +var Bi = {}, I1; +function D4() { + return I1 || (I1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3778,11 +3778,11 @@ function y4() { } }; e.default = t; - }(Ii)), Ii; + }(Bi)), Bi; } -var zi = {}, M1; -function C4() { - return M1 || (M1 = 1, function(e) { +var Vi = {}, z1; +function L4() { + return z1 || (z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3969,11 +3969,11 @@ function C4() { } }; e.default = t; - }(zi)), zi; + }(Vi)), Vi; } -var Hi = {}, T1; -function v4() { - return T1 || (T1 = 1, function(e) { +var $i = {}, H1; +function F4() { + return H1 || (H1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4179,11 +4179,11 @@ function v4() { } }; e.default = t; - }(Hi)), Hi; + }($i)), $i; } -var Pi = {}, O1; -function x4() { - return O1 || (O1 = 1, function(e) { +var Wi = {}, P1; +function j4() { + return P1 || (P1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4342,11 +4342,11 @@ function x4() { } }; e.default = t; - }(Pi)), Pi; + }(Wi)), Wi; } -var Bi = {}, D1; -function w4() { - return D1 || (D1 = 1, function(e) { +var Zi = {}, B1; +function R4() { + return B1 || (B1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4569,11 +4569,11 @@ function w4() { } }; e.default = t; - }(Bi)), Bi; + }(Zi)), Zi; } -var Vi = {}, N1; -function E4() { - return N1 || (N1 = 1, function(e) { +var Ui = {}, V1; +function I4() { + return V1 || (V1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4796,11 +4796,11 @@ function E4() { } }; e.default = t; - }(Vi)), Vi; + }(Ui)), Ui; } -var $i = {}, L1; -function S4() { - return L1 || (L1 = 1, function(e) { +var qi = {}, $1; +function z4() { + return $1 || ($1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5023,11 +5023,11 @@ function S4() { } }; e.default = t; - }($i)), $i; + }(qi)), qi; } -var Wi = {}, F1; -function k4() { - return F1 || (F1 = 1, function(e) { +var Yi = {}, W1; +function H4() { + return W1 || (W1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5250,11 +5250,11 @@ function k4() { } }; e.default = t; - }(Wi)), Wi; + }(Yi)), Yi; } -var Zi = {}, R1; -function _4() { - return R1 || (R1 = 1, function(e) { +var Gi = {}, Z1; +function P4() { + return Z1 || (Z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5477,11 +5477,11 @@ function _4() { } }; e.default = t; - }(Zi)), Zi; + }(Gi)), Gi; } -var Ui = {}, j1; -function A4() { - return j1 || (j1 = 1, function(e) { +var Ki = {}, U1; +function B4() { + return U1 || (U1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5704,11 +5704,11 @@ function A4() { } }; e.default = t; - }(Ui)), Ui; + }(Ki)), Ki; } -var qi = {}, I1; -function M4() { - return I1 || (I1 = 1, function(e) { +var Xi = {}, q1; +function V4() { + return q1 || (q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5891,11 +5891,11 @@ function M4() { } }; e.default = t; - }(qi)), qi; + }(Xi)), Xi; } -var Yi = {}, z1; -function T4() { - return z1 || (z1 = 1, function(e) { +var Qi = {}, Y1; +function $4() { + return Y1 || (Y1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6077,11 +6077,11 @@ function T4() { } }; e.default = t; - }(Yi)), Yi; + }(Qi)), Qi; } -var Gi = {}, H1; -function O4() { - return H1 || (H1 = 1, function(e) { +var Ji = {}, G1; +function W4() { + return G1 || (G1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6263,11 +6263,11 @@ function O4() { } }; e.default = t; - }(Gi)), Gi; + }(Ji)), Ji; } -var Ki = {}, P1; -function D4() { - return P1 || (P1 = 1, function(e) { +var el = {}, K1; +function Z4() { + return K1 || (K1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6466,11 +6466,11 @@ function D4() { } }; e.default = t; - }(Ki)), Ki; + }(el)), el; } -var Xi = {}, B1; -function N4() { - return B1 || (B1 = 1, function(e) { +var tl = {}, X1; +function U4() { + return X1 || (X1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6623,11 +6623,11 @@ function N4() { } }; e.default = t; - }(Xi)), Xi; + }(tl)), tl; } -var Qi = {}, V1; -function L4() { - return V1 || (V1 = 1, function(e) { +var nl = {}, Q1; +function q4() { + return Q1 || (Q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6786,11 +6786,11 @@ function L4() { } }; e.default = t; - }(Qi)), Qi; + }(nl)), nl; } -var Ji = {}, $1; -function F4() { - return $1 || ($1 = 1, function(e) { +var ol = {}, J1; +function Y4() { + return J1 || (J1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6990,11 +6990,11 @@ function F4() { } }; e.default = t; - }(Ji)), Ji; + }(ol)), ol; } -var el = {}, W1; -function R4() { - return W1 || (W1 = 1, function(e) { +var rl = {}, e2; +function G4() { + return e2 || (e2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7202,11 +7202,11 @@ function R4() { } }; e.default = t; - }(el)), el; + }(rl)), rl; } -var tl = {}, Z1; -function j4() { - return Z1 || (Z1 = 1, function(e) { +var al = {}, t2; +function K4() { + return t2 || (t2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7410,11 +7410,11 @@ function j4() { } }; e.default = t; - }(tl)), tl; + }(al)), al; } -var nl = {}, U1; -function I4() { - return U1 || (U1 = 1, function(e) { +var il = {}, n2; +function X4() { + return n2 || (n2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7611,11 +7611,11 @@ function I4() { } }; e.default = t; - }(nl)), nl; + }(il)), il; } -var ol = {}, q1; -function z4() { - return q1 || (q1 = 1, function(e) { +var ll = {}, o2; +function Q4() { + return o2 || (o2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7772,11 +7772,11 @@ function z4() { } }; e.default = t; - }(ol)), ol; + }(ll)), ll; } -var rl = {}, Y1; -function H4() { - return Y1 || (Y1 = 1, function(e) { +var sl = {}, r2; +function J4() { + return r2 || (r2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8282,11 +8282,11 @@ function H4() { } }; e.default = t; - }(rl)), rl; + }(sl)), sl; } -var al = {}, G1; -function P4() { - return G1 || (G1 = 1, function(e) { +var cl = {}, a2; +function e6() { + return a2 || (a2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8780,11 +8780,11 @@ function P4() { } }; e.default = t; - }(al)), al; + }(cl)), cl; } -var il = {}, K1; -function B4() { - return K1 || (K1 = 1, function(e) { +var ul = {}, i2; +function t6() { + return i2 || (i2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8950,11 +8950,11 @@ function B4() { } }; e.default = t; - }(il)), il; + }(ul)), ul; } -var ll = {}, X1; -function V4() { - return X1 || (X1 = 1, function(e) { +var dl = {}, l2; +function n6() { + return l2 || (l2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9193,11 +9193,11 @@ function V4() { } }; e.default = t; - }(ll)), ll; + }(dl)), dl; } -var sl = {}, Q1; -function $4() { - return Q1 || (Q1 = 1, function(e) { +var fl = {}, s2; +function o6() { + return s2 || (s2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9355,11 +9355,11 @@ function $4() { } }; e.default = t; - }(sl)), sl; + }(fl)), fl; } -var cl = {}, J1; -function W4() { - return J1 || (J1 = 1, function(e) { +var hl = {}, c2; +function r6() { + return c2 || (c2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9547,11 +9547,11 @@ function W4() { } }; e.default = t; - }(cl)), cl; + }(hl)), hl; } -var ul = {}, e2; -function Z4() { - return e2 || (e2 = 1, function(e) { +var pl = {}, u2; +function a6() { + return u2 || (u2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9762,11 +9762,11 @@ function Z4() { } }; e.default = t; - }(ul)), ul; + }(pl)), pl; } -var dl = {}, t2; -function U4() { - return t2 || (t2 = 1, function(e) { +var gl = {}, d2; +function i6() { + return d2 || (d2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10053,11 +10053,11 @@ function U4() { } }; e.default = t; - }(dl)), dl; + }(gl)), gl; } -var fl = {}, n2; -function q4() { - return n2 || (n2 = 1, function(e) { +var ml = {}, f2; +function l6() { + return f2 || (f2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10242,11 +10242,11 @@ function q4() { } }; e.default = t; - }(fl)), fl; + }(ml)), ml; } -var hl = {}, o2; -function Y4() { - return o2 || (o2 = 1, function(e) { +var bl = {}, h2; +function s6() { + return h2 || (h2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10447,10 +10447,10 @@ function Y4() { } }; e.default = t; - }(hl)), hl; + }(bl)), bl; } (function(e) { - var t = r4; + var t = y4; Object.defineProperty(e, "__esModule", { value: !0 }), Object.defineProperty(e, "a11yDark", { @@ -10466,7 +10466,7 @@ function Y4() { }), Object.defineProperty(e, "base16AteliersulphurpoolLight", { enumerable: !0, get: function() { - return h.default; + return p.default; } }), Object.defineProperty(e, "cb", { enumerable: !0, @@ -10521,17 +10521,17 @@ function Y4() { }), Object.defineProperty(e, "duotoneForest", { enumerable: !0, get: function() { - return E.default; + return w.default; } }), Object.defineProperty(e, "duotoneLight", { enumerable: !0, get: function() { - return w.default; + return E.default; } }), Object.defineProperty(e, "duotoneSea", { enumerable: !0, get: function() { - return O.default; + return M.default; } }), Object.defineProperty(e, "duotoneSpace", { enumerable: !0, @@ -10551,7 +10551,7 @@ function Y4() { }), Object.defineProperty(e, "gruvboxDark", { enumerable: !0, get: function() { - return j.default; + return R.default; } }), Object.defineProperty(e, "gruvboxLight", { enumerable: !0, @@ -10576,17 +10576,17 @@ function Y4() { }), Object.defineProperty(e, "materialDark", { enumerable: !0, get: function() { - return D.default; + return N.default; } }), Object.defineProperty(e, "materialLight", { enumerable: !0, get: function() { - return M.default; + return T.default; } }), Object.defineProperty(e, "materialOceanic", { enumerable: !0, get: function() { - return N.default; + return D.default; } }), Object.defineProperty(e, "nightOwl", { enumerable: !0, @@ -10596,7 +10596,7 @@ function Y4() { }), Object.defineProperty(e, "nord", { enumerable: !0, get: function() { - return R.default; + return j.default; } }), Object.defineProperty(e, "okaidia", { enumerable: !0, @@ -10674,12 +10674,12 @@ function Y4() { return oe.default; } }); - var n = t(a4()), o = t(i4()), r = t(l4()), a = t(s4()), i = t(c4()), l = t(u4()), s = t(d4()), u = t(f4()), c = t(h4()), d = t(p4()), h = t(g4()), f = t(m4()), m = t(b4()), b = t(y4()), y = t(C4()), g = t(v4()), x = t(x4()), C = t(w4()), S = t(E4()), E = t(S4()), w = t(k4()), O = t(_4()), _ = t(A4()), L = t(M4()), j = t(T4()), F = t(O4()), P = t(D4()), V = t(N4()), k = t(L4()), D = t(F4()), M = t(R4()), N = t(j4()), I = t(I4()), R = t(z4()), v = t(H4()), z = t(P4()), B = t(B4()), A = t(V4()), W = t($4()), Y = t(W4()), K = t(Z4()), Q = t(U4()), ne = t(q4()), oe = t(Y4()); -})(Uo); -const G4 = "_codeblock_19tsp_1", K4 = "_dark_19tsp_1", r2 = { - codeblock: G4, - dark: K4 -}, X4 = { vs: Uo.vs, "vsc-dark-plus": Uo.vscDarkPlus, solarizedLight: Uo.solarizedlight, tomorrow: Uo.tomorrow }, Er = ({ + var n = t(C4()), o = t(v4()), r = t(x4()), a = t(w4()), i = t(E4()), l = t(S4()), s = t(k4()), u = t(_4()), c = t(A4()), d = t(M4()), p = t(T4()), f = t(O4()), m = t(N4()), b = t(D4()), y = t(L4()), g = t(F4()), x = t(j4()), C = t(R4()), S = t(I4()), w = t(z4()), E = t(H4()), M = t(P4()), _ = t(B4()), L = t(V4()), R = t($4()), F = t(W4()), P = t(Z4()), V = t(U4()), k = t(q4()), N = t(Y4()), T = t(G4()), D = t(K4()), I = t(X4()), j = t(Q4()), v = t(J4()), z = t(e6()), B = t(t6()), A = t(n6()), W = t(o6()), Y = t(r6()), K = t(a6()), Q = t(i6()), ne = t(l6()), oe = t(s6()); +})(Qo); +const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { + codeblock: c6, + dark: u6 +}, d6 = { vs: Qo.vs, "vsc-dark-plus": Qo.vscDarkPlus, solarizedLight: Qo.solarizedlight, tomorrow: Qo.tomorrow }, Tr = ({ code: e, language: t, fileName: n, @@ -10688,45 +10688,45 @@ const G4 = "_codeblock_19tsp_1", K4 = "_dark_19tsp_1", r2 = { showLineNumbers: a, className: i, titleActions: l -}) => /* @__PURE__ */ p.jsxs( - sn, +}) => /* @__PURE__ */ h.jsxs( + zt, { - className: `${r2.codeblock} ${i || ""} ${r === "dark" ? r2.dark : ""}`, + className: `${p2.codeblock} ${i || ""} ${r === "dark" ? p2.dark : ""}`, children: [ - n ? /* @__PURE__ */ p.jsxs(wr, { className: "d-flex justify-content-between", children: [ + n ? /* @__PURE__ */ h.jsxs(Fo, { className: "d-flex justify-content-between", children: [ n, " ", l ] }) : null, - /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsx( - H5, + /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx( + o4, { showLineNumbers: a, language: t, - style: X4[o], + style: d6[o], children: e } ) }) ] } -), Q4 = "_stack_73h55_1", J4 = { - stack: Q4 -}, ct = qs(function({ +), f6 = "_stack_73h55_1", h6 = { + stack: f6 +}, nt = Js(function({ children: t, direction: n = "row", ...o }, r) { - return /* @__PURE__ */ p.jsx( + return /* @__PURE__ */ h.jsx( "div", { ...o, - className: `${o.className} ${J4.stack} stack-${n}`, + className: `${o.className} ${h6.stack} stack-${n}`, ref: r, children: t } ); -}), $0 = ({ tooltip: e, ...t }) => /* @__PURE__ */ p.jsx(xn, { title: e, children: /* @__PURE__ */ p.jsx(k5, { ...t }) }), W0 = ({ queryFn: e }) => { - const [t, n] = ue(), [o, r] = ue(!1), [a, i] = ue(), l = async () => { +}), od = ({ tooltip: e, ...t }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx(B5, { ...t }) }), tc = ({ queryFn: e }) => { + const [t, n] = ce(), [o, r] = ce(!1), [a, i] = ce(), l = async () => { r(!0); try { const u = await e(); @@ -10737,7 +10737,7 @@ const G4 = "_codeblock_19tsp_1", K4 = "_dark_19tsp_1", r2 = { r(!1); } }; - return ce(() => { + return ue(() => { l(); }, []), { error: t, @@ -10747,8 +10747,8 @@ const G4 = "_codeblock_19tsp_1", K4 = "_dark_19tsp_1", r2 = { l(); } }; -}, Wa = ({ queryFn: e, onSuccess: t }) => { - const [n, o] = ue(), [r, a] = ue(!1), [i, l] = ue(); +}, Ro = ({ queryFn: e, onSuccess: t }) => { + const [n, o] = ce(), [r, a] = ce(!1), [i, l] = ce(); return { error: n, data: i, @@ -10765,17 +10765,17 @@ const G4 = "_codeblock_19tsp_1", K4 = "_dark_19tsp_1", r2 = { } } }; -}, Pe = { +}, ze = { get: async (e, t, n) => ({}), post: async (e, t, n) => ({}) }; -var Gs = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(Gs || {}); -const e6 = () => { +var nc = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(nc || {}); +const p6 = () => { var t, n, o; const e = (o = (n = (t = window.location.hash) == null ? void 0 : t.split("#")[1]) == null ? void 0 : n.replace("!/", "")) == null ? void 0 : o.split("/"); return { name: e == null ? void 0 : e[1], resourceType: e == null ? void 0 : e[0] }; }; -var Z0 = { exports: {} }; +var rd = { exports: {} }; /*! web-highlighter v0.7.4 https://github.com/alienzhou/web-highlighter */ (function(e, t) { (function(n, o) { @@ -10810,17 +10810,17 @@ var Z0 = { exports: {} }; 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) { + var a, i = this && this.__extends || (a = function(d, p) { return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, m) { f.__proto__ = m; } || function(f, m) { for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (f[b] = m[b]); - })(d, h); - }, function(d, h) { + })(d, p); + }, function(d, p) { function f() { this.constructor = d; } - a(d, h), d.prototype = h === null ? Object.create(h) : (f.prototype = h.prototype, new f()); + a(d, p), d.prototype = p === null ? Object.create(p) : (f.prototype = p.prototype, new f()); }), l = this && this.__importDefault || function(d) { return d && d.__esModule ? d : { default: d }; }; @@ -10840,10 +10840,10 @@ var Z0 = { exports: {} }; `; }, o.ROOT_IDX = -2, o.UNKNOWN_IDX = -1, o.INTERNAL_ERROR_EVENT = "error"; var c = function(d) { - function h() { + function p() { return d !== null && d.apply(this, arguments) || this; } - return i(h, d), h; + return i(p, d), p; }(u.default); o.eventEmitter = new c(); }, function(n, o, r) { @@ -10864,16 +10864,16 @@ var Z0 = { exports: {} }; var a = this && this.__read || function(s, u) { var c = typeof Symbol == "function" && s[Symbol.iterator]; if (!c) return s; - var d, h, f = c.call(s), m = []; + var d, p, f = c.call(s), m = []; try { for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); } catch (b) { - h = { error: b }; + p = { error: b }; } finally { try { d && !d.done && (c = f.return) && c.call(f); } finally { - if (h) throw h.error; + if (p) throw p.error; } } return m; @@ -10892,8 +10892,8 @@ var Z0 = { exports: {} }; 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)); + return this.handlersMap[u] && this.handlersMap[u].slice().forEach(function(p) { + p.apply(void 0, i(c)); }), this; }, s; }(); @@ -10904,11 +10904,11 @@ var Z0 = { exports: {} }; }; Object.defineProperty(o, "__esModule", { value: !0 }); var i = a(r(5)), l = r(9), s = function() { - function u(c, d, h, f, m) { - this.startMeta = c, this.endMeta = d, this.text = h, this.id = f, this.__isHighlightSource = {}, m && (this.extra = m); + function u(c, d, p, f, m) { + this.startMeta = c, this.endMeta = d, this.text = p, this.id = f, this.__isHighlightSource = {}, m && (this.extra = m); } return u.prototype.deSerialize = function(c, d) { - var h = l.queryElementNode(this, c), f = h.start, m = h.end, b = l.getTextChildByOffset(f, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); + var p = l.queryElementNode(this, c), f = p.start, m = p.end, b = l.getTextChildByOffset(f, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); if (!d.Serialize.Restore.isEmpty()) { var g = d.Serialize.Restore.call(this, b, y) || []; b = g[0] || b, y = g[1] || y; @@ -10919,23 +10919,23 @@ var Z0 = { exports: {} }; 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], f = 0; - if (h) return h.call(c); + var d = typeof Symbol == "function" && Symbol.iterator, p = d && c[d], f = 0; + if (p) return p.call(c); if (c && typeof c.length == "number") return { next: function() { return c && f >= c.length && (c = void 0), { value: c && c[f++], done: !c }; } }; throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined."); }, i = this && this.__read || function(c, d) { - var h = typeof Symbol == "function" && c[Symbol.iterator]; - if (!h) return c; - var f, m, b = h.call(c), y = []; + var p = typeof Symbol == "function" && c[Symbol.iterator]; + if (!p) return c; + var f, m, b = p.call(c), y = []; try { for (; (d === void 0 || d-- > 0) && !(f = b.next()).done; ) y.push(f.value); } catch (g) { m = { error: g }; } finally { try { - f && !f.done && (h = b.return) && h.call(b); + f && !f.done && (p = b.return) && p.call(b); } finally { if (m) throw m.error; } @@ -10951,23 +10951,23 @@ var Z0 = { exports: {} }; return !!c.dataset && !!c.dataset[s.CAMEL_DATASET_IDENTIFIER]; }; var u = function(c, d) { - for (var h = !1, f = null; c; ) { + for (var p = !1, f = null; c; ) { if (o.isHighlightWrapNode(c) && (f = c), c === d) { - h = !0; + p = !0; break; } c = c.parentNode; } - return h ? f : null; + return p ? f : null; }; o.getHighlightId = function(c, d) { return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER] : ""; }, o.getExtraHighlightId = function(c, d) { - return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA].split(s.ID_DIVISION).filter(function(h) { - return h; + return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA].split(s.ID_DIVISION).filter(function(p) { + return p; }) : []; }, o.getHighlightsByRoot = function(c, d) { - var h, f; + var p, f; Array.isArray(c) || (c = [c]); var m = []; try { @@ -10976,27 +10976,27 @@ var Z0 = { exports: {} }; m.push.apply(m, g); } } catch (x) { - h = { error: x }; + p = { error: x }; } finally { try { y && !y.done && (f = b.return) && f.call(b); } finally { - if (h) throw h.error; + if (p) throw p.error; } } return m; - }, o.getHighlightById = function(c, d, h) { - var f, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); + }, o.getHighlightById = function(c, d, p) { + var f, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(p + "[data-" + s.DATASET_IDENTIFIER + "]"); try { for (var x = a(g), C = x.next(); !C.done; C = x.next()) { var S = C.value; if (S.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { - var E = S.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; - y.test(E) && b.push(S); + var w = S.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; + y.test(w) && b.push(S); } else b.push(S); } - } catch (w) { - f = { error: w }; + } catch (E) { + f = { error: E }; } finally { try { C && !C.done && (m = x.return) && m.call(x); @@ -11006,16 +11006,16 @@ var Z0 = { exports: {} }; } 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); + for (var p = 0; p < c.length; p++) d(c[p], p, c); + }, o.removeEventListener = function(c, d, p) { + c.removeEventListener(d, p); + }, o.addEventListener = function(c, d, p) { + return c.addEventListener(d, p), function() { + o.removeEventListener(c, d, p); }; }, o.addClass = function(c, d) { - var h; - Array.isArray(d) || (d = [d]), (h = c.classList).add.apply(h, l(d)); + var p; + Array.isArray(d) || (d = [d]), (p = c.classList).add.apply(p, l(d)); }, o.removeClass = function(c, d) { c.classList.remove(d); }, o.removeAllClass = function(c) { @@ -11028,7 +11028,7 @@ var Z0 = { exports: {} }; return f && f.__esModule ? f : { default: f }; }; 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() { + var i = a(r(3)), l = r(1), s = r(11), u = a(r(6)), c = r(12), d = r(0), p = function() { function f(m, b, y, g, x) { x === void 0 && (x = !1), m.$node.nodeType === 3 && b.$node.nodeType === 3 || d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { type: l.ERROR.RANGE_NODE_INVALID }), this.start = c.formatDomNode(m), this.end = c.formatDomNode(b), this.text = y, this.frozen = x, this.id = g; } @@ -11042,7 +11042,7 @@ var Z0 = { exports: {} }; return b.Serialize.RecordInfo.isEmpty() || (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), this.frozen = !0, new i.default(g, x, this.text, this.id, y); }, f.removeDomRange = s.removeSelection, f; }(); - o.default = h; + o.default = p; }, 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); @@ -11050,105 +11050,105 @@ var Z0 = { exports: {} }; }, function(n, o, r) { n.exports = r(8); }, function(n, o, r) { - var a, i = this && this.__extends || (a = function(E, w) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, _) { - O.__proto__ = _; - } || function(O, _) { - for (var L in _) Object.prototype.hasOwnProperty.call(_, L) && (O[L] = _[L]); - })(E, w); - }, function(E, w) { - function O() { - this.constructor = E; + var a, i = this && this.__extends || (a = function(w, E) { + return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(M, _) { + M.__proto__ = _; + } || function(M, _) { + for (var L in _) Object.prototype.hasOwnProperty.call(_, L) && (M[L] = _[L]); + })(w, E); + }, function(w, E) { + function M() { + this.constructor = w; } - a(E, w), E.prototype = w === null ? Object.create(w) : (O.prototype = w.prototype, new O()); + a(w, E), w.prototype = E === null ? Object.create(E) : (M.prototype = E.prototype, new M()); }), l = this && this.__assign || function() { - return (l = Object.assign || function(E) { - for (var w, O = 1, _ = arguments.length; O < _; O++) for (var L in w = arguments[O]) Object.prototype.hasOwnProperty.call(w, L) && (E[L] = w[L]); - return E; + return (l = Object.assign || function(w) { + for (var E, M = 1, _ = arguments.length; M < _; M++) for (var L in E = arguments[M]) Object.prototype.hasOwnProperty.call(E, L) && (w[L] = E[L]); + return w; }).apply(this, arguments); - }, s = this && this.__importDefault || function(E) { - return E && E.__esModule ? E : { default: E }; + }, s = this && this.__importDefault || function(w) { + return w && w.__esModule ? w : { default: w }; }; Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = s(r(5)), d = s(r(3)), h = s(r(6)), f = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), S = function(E) { - function w(O) { - var _ = E.call(this) || this; + var u = s(r(2)), c = s(r(5)), d = s(r(3)), p = s(r(6)), f = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), S = function(w) { + function E(M) { + var _ = w.call(this) || this; _.event = m.default(), _.run = function() { return C.addEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); }, _.stop = function() { C.removeEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); - }, _.addClass = function(j, F) { + }, _.addClass = function(R, F) { _.getDoms(F).forEach(function(P) { - C.addClass(P, j); + C.addClass(P, R); }); - }, _.removeClass = function(j, F) { + }, _.removeClass = function(R, F) { _.getDoms(F).forEach(function(P) { - C.removeClass(P, j); + C.removeClass(P, R); }); - }, _.getIdByDom = function(j) { - return C.getHighlightId(j, _.options.$root); - }, _.getExtraIdByDom = function(j) { - return C.getExtraHighlightId(j, _.options.$root); - }, _.getDoms = function(j) { - return j ? C.getHighlightById(_.options.$root, j, _.options.wrapTag) : C.getHighlightsByRoot(_.options.$root, _.options.wrapTag); + }, _.getIdByDom = function(R) { + return C.getHighlightId(R, _.options.$root); + }, _.getExtraIdByDom = function(R) { + return C.getExtraHighlightId(R, _.options.$root); + }, _.getDoms = function(R) { + return R ? C.getHighlightById(_.options.$root, R, _.options.wrapTag) : C.getHighlightsByRoot(_.options.$root, _.options.wrapTag); }, _.dispose = function() { - var j = _.options.$root; - C.removeEventListener(j, _.event.PointerOver, _._handleHighlightHover), C.removeEventListener(j, _.event.PointerEnd, _._handleSelection), C.removeEventListener(j, _.event.PointerTap, _._handleHighlightClick), _.removeAll(); - }, _.setOption = function(j) { - _.options = l(l({}, _.options), j), _.painter = new y.default({ $root: _.options.$root, wrapTag: _.options.wrapTag, className: _.options.style.className, exceptSelectors: _.options.exceptSelectors }, _.hooks); - }, _.fromRange = function(j) { - var F = { $node: j.startContainer, offset: j.startOffset }, P = { $node: j.endContainer, offset: j.endOffset }, V = j.toString(), k = _.hooks.Render.UUID.call(F, P, V); - k = k ?? h.default(); - var D = new c.default(F, P, V, k); - return D ? _._highlightFromHRange(D) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID }), null); - }, _.fromStore = function(j, F, P, V, k) { - var D = new d.default(j, F, P, V, k); + var R = _.options.$root; + C.removeEventListener(R, _.event.PointerOver, _._handleHighlightHover), C.removeEventListener(R, _.event.PointerEnd, _._handleSelection), C.removeEventListener(R, _.event.PointerTap, _._handleHighlightClick), _.removeAll(); + }, _.setOption = function(R) { + _.options = l(l({}, _.options), R), _.painter = new y.default({ $root: _.options.$root, wrapTag: _.options.wrapTag, className: _.options.style.className, exceptSelectors: _.options.exceptSelectors }, _.hooks); + }, _.fromRange = function(R) { + var F = { $node: R.startContainer, offset: R.startOffset }, P = { $node: R.endContainer, offset: R.endOffset }, V = R.toString(), k = _.hooks.Render.UUID.call(F, P, V); + k = k ?? p.default(); + var N = new c.default(F, P, V, k); + return N ? _._highlightFromHRange(N) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID }), null); + }, _.fromStore = function(R, F, P, V, k) { + var N = new d.default(R, F, P, V, k); try { - return _._highlightFromHSource(D), D; - } catch (M) { - return g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: M, detail: D }), null; + return _._highlightFromHSource(N), N; + } catch (T) { + return g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: T, detail: N }), null; } }, _._getHooks = function() { return { Render: { UUID: new f.default("Render.UUID"), SelectedNodes: new f.default("Render.SelectedNodes"), WrapNode: new f.default("Render.WrapNode") }, Serialize: { Restore: new f.default("Serialize.Restore"), RecordInfo: new f.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new f.default("Remove.UpdateNodes") } }; - }, _._highlightFromHRange = function(j) { - var F = j.serialize(_.options.$root, _.hooks); - return _.painter.highlightRange(j).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (_.cache.save(F), _.emit(x.EventType.CREATE, { sources: [F], type: x.CreateFrom.INPUT }, _), F); + }, _._highlightFromHRange = function(R) { + var F = R.serialize(_.options.$root, _.hooks); + return _.painter.highlightRange(R).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (_.cache.save(F), _.emit(x.EventType.CREATE, { sources: [F], type: x.CreateFrom.INPUT }, _), F); }, _._handleSelection = function() { - var j = c.default.fromSelection(_.hooks.Render.UUID); - j && (_._highlightFromHRange(j), c.default.removeDomRange()); - }, _._handleHighlightHover = function(j) { - var F = j.target; - if (!C.isHighlightWrapNode(F)) return _._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, j), void (_._hoverId = null); + var R = c.default.fromSelection(_.hooks.Render.UUID); + R && (_._highlightFromHRange(R), c.default.removeDomRange()); + }, _._handleHighlightHover = function(R) { + var F = R.target; + if (!C.isHighlightWrapNode(F)) return _._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), void (_._hoverId = null); var P = C.getHighlightId(F, _.options.$root); - _._hoverId !== P && (_._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, j), _._hoverId = P, _.emit(x.EventType.HOVER, { id: _._hoverId }, _, j)); - }, _._handleError = function(j) { - _.options.verbose && console.warn(j); - }, _._handleHighlightClick = function(j) { - var F = j.target; + _._hoverId !== P && (_._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), _._hoverId = P, _.emit(x.EventType.HOVER, { id: _._hoverId }, _, R)); + }, _._handleError = function(R) { + _.options.verbose && console.warn(R); + }, _._handleHighlightClick = function(R) { + var F = R.target; if (C.isHighlightWrapNode(F)) { var P = C.getHighlightId(F, _.options.$root); - _.emit(x.EventType.CLICK, { id: P }, _, j); + _.emit(x.EventType.CLICK, { id: P }, _, R); } - }, _.options = g.getDefaultOptions(), _.hooks = _._getHooks(), _.setOption(O), _.cache = new b.default(); + }, _.options = g.getDefaultOptions(), _.hooks = _._getHooks(), _.setOption(M), _.cache = new b.default(); var L = _.options.$root; return C.addEventListener(L, _.event.PointerOver, _._handleHighlightHover), C.addEventListener(L, _.event.PointerTap, _._handleHighlightClick), g.eventEmitter.on(g.INTERNAL_ERROR_EVENT, _._handleError), _; } - return i(w, E), w.prototype.remove = function(O) { - if (O) { - var _ = this.painter.removeHighlight(O); - this.cache.remove(O), _ && this.emit(x.EventType.REMOVE, { ids: [O] }, this); + return i(E, w), E.prototype.remove = function(M) { + if (M) { + var _ = this.painter.removeHighlight(M); + this.cache.remove(M), _ && this.emit(x.EventType.REMOVE, { ids: [M] }, this); } - }, w.prototype.removeAll = function() { + }, E.prototype.removeAll = function() { this.painter.removeAllHighlight(); - var O = this.cache.removeAll(); - this.emit(x.EventType.REMOVE, { ids: O }, this); - }, w.prototype._highlightFromHSource = function(O) { - O === void 0 && (O = []); - var _ = this.painter.highlightSource(O); - this.emit(x.EventType.CREATE, { sources: _, type: x.CreateFrom.STORE }, this), this.cache.save(O); - }, w.event = x.EventType, w.isHighlightWrapNode = C.isHighlightWrapNode, w.isHighlightSource = function(O) { - return !!O.__isHighlightSource; - }, w; + var M = this.cache.removeAll(); + this.emit(x.EventType.REMOVE, { ids: M }, this); + }, E.prototype._highlightFromHSource = function(M) { + M === void 0 && (M = []); + var _ = this.painter.highlightSource(M); + this.emit(x.EventType.CREATE, { sources: _, type: x.CreateFrom.STORE }, this), this.cache.save(M); + }, E.event = x.EventType, E.isHighlightWrapNode = C.isHighlightWrapNode, E.isHighlightSource = function(M) { + return !!M.__isHighlightSource; + }, E; }(u.default); o.default = S; }, function(n, o, r) { @@ -11156,7 +11156,7 @@ var Z0 = { exports: {} }; 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, f = h.length - 1; f >= 0; f--) s.push(h[f]); + for (var p = u.childNodes, f = p.length - 1; f >= 0; f--) s.push(p[f]); if (u.nodeType === 3 && (d = l - c, (c += u.textContent.length) >= l)) break; } return u || (u = i), { $node: u, offset: d }; @@ -11180,15 +11180,15 @@ var Z0 = { exports: {} }; 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 f = h.parentNode; f != null && f.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) f = f.parentNode; + var u = function(p) { + if (p instanceof HTMLElement && (!p.dataset || !p.dataset[a.CAMEL_DATASET_IDENTIFIER])) return p; + for (var f = p.parentNode; f != null && f.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) f = f.parentNode; return f; - }(i), c = u === s ? a.ROOT_IDX : function(h, f) { - for (var m = h.tagName, b = f.getElementsByTagName(m), y = 0; y < b.length; y++) if (h === b[y]) return y; + }(i), c = u === s ? a.ROOT_IDX : function(p, f) { + for (var m = p.tagName, b = f.getElementsByTagName(m), y = 0; y < b.length; y++) if (p === b[y]) return y; return a.UNKNOWN_IDX; - }(u, s), d = function(h, f) { - for (var m = [h], b = null, y = 0; b = m.pop(); ) { + }(u, s), d = function(p, f) { + for (var m = [p], b = null, y = 0; b = m.pop(); ) { for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) m.push(g[x]); if (b.nodeType === 3 && b !== f) y += b.textContent.length; else if (b.nodeType === 3) break; @@ -11203,16 +11203,16 @@ var Z0 = { exports: {} }; var a = this && this.__read || function(s, u) { var c = typeof Symbol == "function" && s[Symbol.iterator]; if (!c) return s; - var d, h, f = c.call(s), m = []; + var d, p, f = c.call(s), m = []; try { for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); } catch (b) { - h = { error: b }; + p = { error: b }; } finally { try { d && !d.done && (c = f.return) && c.call(f); } finally { - if (h) throw h.error; + if (p) throw p.error; } } return m; @@ -11237,8 +11237,8 @@ var Z0 = { exports: {} }; 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)); + return this.ops.forEach(function(p) { + u = p.apply(void 0, i(c)); }), u; }, s; }(); @@ -11260,34 +11260,34 @@ var Z0 = { exports: {} }; return a.test(i); }; }, function(n, o, r) { - var a, i = this && this.__extends || (a = function(h, f) { + var a, i = this && this.__extends || (a = function(p, f) { return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, b) { m.__proto__ = b; } || function(m, b) { for (var y in b) Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); - })(h, f); - }, function(h, f) { + })(p, f); + }, function(p, f) { function m() { - this.constructor = h; + this.constructor = p; } - a(h, f), h.prototype = f === null ? Object.create(f) : (m.prototype = f.prototype, new m()); - }), l = this && this.__values || function(h) { - var f = typeof Symbol == "function" && Symbol.iterator, m = f && h[f], b = 0; - if (m) return m.call(h); - if (h && typeof h.length == "number") return { next: function() { - return h && b >= h.length && (h = void 0), { value: h && h[b++], done: !h }; + a(p, f), p.prototype = f === null ? Object.create(f) : (m.prototype = f.prototype, new m()); + }), l = this && this.__values || function(p) { + var f = typeof Symbol == "function" && Symbol.iterator, m = f && p[f], b = 0; + if (m) return m.call(p); + if (p && typeof p.length == "number") return { next: function() { + return p && b >= p.length && (p = void 0), { value: p && p[b++], done: !p }; } }; throw new TypeError(f ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, s = this && this.__importDefault || function(h) { - return h && h.__esModule ? h : { default: h }; + }, s = this && this.__importDefault || function(p) { + return p && p.__esModule ? p : { default: p }; }; Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = r(1), d = function(h) { + var u = s(r(2)), c = r(1), d = function(p) { function f() { - var m = h !== null && h.apply(this, arguments) || this; + var m = p !== null && p.apply(this, arguments) || this; return m._data = /* @__PURE__ */ new Map(), m; } - return i(f, h), Object.defineProperty(f.prototype, "data", { get: function() { + return i(f, p), Object.defineProperty(f.prototype, "data", { get: function() { return this.getAll(); }, set: function(m) { throw c.ERROR.CACHE_SET_ERROR; @@ -11348,19 +11348,19 @@ var Z0 = { exports: {} }; }, i = this && this.__read || function(y, g) { var x = typeof Symbol == "function" && y[Symbol.iterator]; if (!x) return y; - var C, S, E = x.call(y), w = []; + var C, S, w = x.call(y), E = []; try { - for (; (g === void 0 || g-- > 0) && !(C = E.next()).done; ) w.push(C.value); - } catch (O) { - S = { error: O }; + for (; (g === void 0 || g-- > 0) && !(C = w.next()).done; ) E.push(C.value); + } catch (M) { + S = { error: M }; } finally { try { - C && !C.done && (x = E.return) && x.call(E); + C && !C.done && (x = w.return) && x.call(w); } finally { if (S) throw S.error; } } - return w; + return E; }, l = this && this.__spread || function() { for (var y = [], g = 0; g < arguments.length; g++) y = y.concat(i(arguments[g])); return y; @@ -11368,35 +11368,35 @@ var Z0 = { exports: {} }; return y && y.__esModule ? y : { default: y }; }; Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(3)), c = r(18), d = r(4), h = r(1), f = r(20), m = r(0), b = function() { + var u = s(r(3)), c = r(18), d = r(4), p = r(1), f = r(20), m = r(0), b = function() { function y(g, x) { this.options = { $root: g.$root, wrapTag: g.wrapTag, exceptSelectors: g.exceptSelectors, className: g.className }, this.hooks = x, f.initDefaultStylesheet(); } return y.prototype.highlightRange = function(g) { var x = this; - if (!g.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; - var C = this.options, S = C.$root, E = C.className, w = C.exceptSelectors, O = this.hooks, _ = c.getSelectedNodes(S, g.start, g.end, w); - return O.Render.SelectedNodes.isEmpty() || (_ = O.Render.SelectedNodes.call(g.id, _) || []), _.map(function(L) { - var j = c.wrapHighlight(L, g, E, x.options.wrapTag); - return O.Render.WrapNode.isEmpty() || (j = O.Render.WrapNode.call(g.id, j)), j; + if (!g.frozen) throw p.ERROR.HIGHLIGHT_RANGE_FROZEN; + var C = this.options, S = C.$root, w = C.className, E = C.exceptSelectors, M = this.hooks, _ = c.getSelectedNodes(S, g.start, g.end, E); + return M.Render.SelectedNodes.isEmpty() || (_ = M.Render.SelectedNodes.call(g.id, _) || []), _.map(function(L) { + var R = c.wrapHighlight(L, g, w, x.options.wrapTag); + return M.Render.WrapNode.isEmpty() || (R = M.Render.WrapNode.call(g.id, R)), R; }); }, y.prototype.highlightSource = function(g) { var x = this, C = Array.isArray(g) ? g : [g], S = []; - return C.forEach(function(E) { - if (E instanceof u.default) { - var w = E.deSerialize(x.options.$root, x.hooks); - x.highlightRange(w).length > 0 ? S.push(E) : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, detail: E }); - } else m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.SOURCE_TYPE_ERROR }); + return C.forEach(function(w) { + if (w instanceof u.default) { + var E = w.deSerialize(x.options.$root, x.hooks); + x.highlightRange(E).length > 0 ? S.push(w) : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: p.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, detail: w }); + } else m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: p.ERROR.SOURCE_TYPE_ERROR }); }), S; }, y.prototype.removeHighlight = function(g) { - var x, C, S = new RegExp("(" + g + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + g + "$)"), E = this.hooks, w = this.options.wrapTag, O = document.querySelectorAll(w + "[data-" + m.DATASET_IDENTIFIER + "]"), _ = [], L = [], j = []; + var x, C, S = new RegExp("(" + g + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + g + "$)"), w = this.hooks, E = this.options.wrapTag, M = document.querySelectorAll(E + "[data-" + m.DATASET_IDENTIFIER + "]"), _ = [], L = [], R = []; try { - for (var F = a(O), P = F.next(); !P.done; P = F.next()) { - var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], D = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - k !== g || D ? k === g ? L.push(V) : k !== g && S.test(D) && j.push(V) : _.push(V); + for (var F = a(M), P = F.next(); !P.done; P = F.next()) { + var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + k !== g || N ? k === g ? L.push(V) : k !== g && S.test(N) && R.push(V) : _.push(V); } - } catch (M) { - x = { error: M }; + } catch (T) { + x = { error: T }; } finally { try { P && !P.done && (C = F.return) && C.call(F); @@ -11404,27 +11404,27 @@ var Z0 = { exports: {} }; if (x) throw x.error; } } - return _.forEach(function(M) { - var N = M.parentNode, I = document.createDocumentFragment(); - d.forEach(M.childNodes, function(z) { + return _.forEach(function(T) { + var D = T.parentNode, I = document.createDocumentFragment(); + d.forEach(T.childNodes, function(z) { return I.appendChild(z.cloneNode(!1)); }); - var R = M.previousSibling, v = M.nextSibling; - N.replaceChild(I, M), c.normalizeSiblingText(R, !0), c.normalizeSiblingText(v, !1), E.Remove.UpdateNodes.call(g, M, "remove"); - }), L.forEach(function(M) { - var N = M.dataset, I = N[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), R = I.shift(), v = document.querySelector(w + "[data-" + m.DATASET_IDENTIFIER + '="' + R + '"]'); - v && (d.removeAllClass(M), d.addClass(M, l(v.classList))), N[m.CAMEL_DATASET_IDENTIFIER] = R, N[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), E.Remove.UpdateNodes.call(g, M, "id-update"); - }), j.forEach(function(M) { - var N = M.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - M.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = N.replace(S, ""), E.Remove.UpdateNodes.call(g, M, "extra-update"); - }), _.length + L.length + j.length !== 0; + var j = T.previousSibling, v = T.nextSibling; + D.replaceChild(I, T), c.normalizeSiblingText(j, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); + }), L.forEach(function(T) { + var D = T.dataset, I = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), j = I.shift(), v = document.querySelector(E + "[data-" + m.DATASET_IDENTIFIER + '="' + j + '"]'); + v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), D[m.CAMEL_DATASET_IDENTIFIER] = j, D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), w.Remove.UpdateNodes.call(g, T, "id-update"); + }), R.forEach(function(T) { + var D = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = D.replace(S, ""), w.Remove.UpdateNodes.call(g, T, "extra-update"); + }), _.length + L.length + R.length !== 0; }, y.prototype.removeAllHighlight = function() { var g = this.options, x = g.wrapTag, C = g.$root; d.getHighlightsByRoot(C, x).forEach(function(S) { - var E = S.parentNode, w = document.createDocumentFragment(); - d.forEach(S.childNodes, function(O) { - return w.appendChild(O.cloneNode(!1)); - }), E.replaceChild(w, S); + var w = S.parentNode, E = document.createDocumentFragment(); + d.forEach(S.childNodes, function(M) { + return E.appendChild(M.cloneNode(!1)); + }), w.replaceChild(E, S); }); }, y; }(); @@ -11436,8 +11436,8 @@ var Z0 = { exports: {} }; var g, x, C = y.call(m), S = []; try { for (; (b === void 0 || b-- > 0) && !(g = C.next()).done; ) S.push(g.value); - } catch (E) { - x = { error: E }; + } catch (w) { + x = { error: w }; } finally { try { g && !g.done && (y = C.return) && y.call(C); @@ -11465,44 +11465,44 @@ var Z0 = { exports: {} }; return m && m.tagName === x; }; o.getSelectedNodes = function(m, b, y, g) { - var x = b.$node, C = y.$node, S = b.offset, E = y.offset; - if (x === C && x instanceof Text) return function(k, D, M, N) { - for (var I = k, R = function(z) { - return N == null ? void 0 : N.some(function(B) { + var x = b.$node, C = y.$node, S = b.offset, w = y.offset; + if (x === C && x instanceof Text) return function(k, N, T, D) { + for (var I = k, j = function(z) { + return D == null ? void 0 : D.some(function(B) { return d(z, B); }); }; I; ) { - if (I.nodeType === 1 && R(I)) return []; + if (I.nodeType === 1 && j(I)) return []; I = I.parentNode; } - k.splitText(D); + k.splitText(N); var v = k.nextSibling; - return v.splitText(M - D), [{ $node: v, type: l.SelectedNodeType.text, splitType: l.SplitType.both }]; - }(x, S, E, g); - for (var w = [m], O = [], _ = function(k) { - return g == null ? void 0 : g.some(function(D) { - return d(k, D); + return v.splitText(T - N), [{ $node: v, type: l.SelectedNodeType.text, splitType: l.SplitType.both }]; + }(x, S, w, g); + for (var E = [m], M = [], _ = function(k) { + return g == null ? void 0 : g.some(function(N) { + return d(k, N); }); - }, L = !1, j = null; j = w.pop(); ) if (j.nodeType !== 1 || !_(j)) { - for (var F = j.childNodes, P = F.length - 1; P >= 0; P--) w.push(F[P]); - if (j === x) { - if (j.nodeType === 3) { - j.splitText(S); - var V = j.nextSibling; - O.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.head }); + }, L = !1, R = null; R = E.pop(); ) if (R.nodeType !== 1 || !_(R)) { + for (var F = R.childNodes, P = F.length - 1; P >= 0; P--) E.push(F[P]); + if (R === x) { + if (R.nodeType === 3) { + R.splitText(S); + var V = R.nextSibling; + M.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.head }); } L = !0; } else { - if (j === C) { - j.nodeType === 3 && ((V = j).splitText(E), O.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.tail })); + if (R === C) { + R.nodeType === 3 && ((V = R).splitText(w), M.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.tail })); break; } - L && j.nodeType === 3 && O.push({ $node: j, type: l.SelectedNodeType.text, splitType: l.SplitType.none }); + L && R.nodeType === 3 && M.push({ $node: R, type: l.SelectedNodeType.text, splitType: l.SplitType.none }); } } - return O; + return M; }; - var h = function(m, b) { + var p = function(m, b) { var y = Array.isArray(b) ? b : [b]; return (y = y.length === 0 ? [u.getDefaultOptions().style.className] : y).forEach(function(g) { s.addClass(m, g); @@ -11512,21 +11512,21 @@ var Z0 = { exports: {} }; }; o.wrapHighlight = function(m, b, y, g) { var x = m.$node.parentNode, C = m.$node.previousSibling, S = m.$node.nextSibling; - return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || f(C) && f(S) ? function(E, w, O) { - var _ = E.$node.parentNode, L = _; - s.removeAllClass(L), h(L, O); - var j = _.dataset, F = j[u.CAMEL_DATASET_IDENTIFIER]; - return j[u.CAMEL_DATASET_IDENTIFIER] = w.id, j[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = j[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? F + u.ID_DIVISION + j[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : F, L; - }(m, b, y) : function(E, w, O, _) { - var L = document.createElement(_), j = E.$node.parentNode, F = E.$node.previousSibling, P = E.$node.nextSibling, V = document.createDocumentFragment(), k = j.dataset[u.CAMEL_DATASET_IDENTIFIER], D = j.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], M = D ? k + u.ID_DIVISION + D : k; - L.setAttribute("data-" + u.DATASET_IDENTIFIER, w.id), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, M), L.appendChild(E.$node.cloneNode(!1)); - var N, I = !1, R = !1; - F && ((v = j.cloneNode(!1)).textContent = F.textContent, V.appendChild(v), I = !0); + return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || f(C) && f(S) ? function(w, E, M) { + var _ = w.$node.parentNode, L = _; + s.removeAllClass(L), p(L, M); + var R = _.dataset, F = R[u.CAMEL_DATASET_IDENTIFIER]; + return R[u.CAMEL_DATASET_IDENTIFIER] = E.id, R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? F + u.ID_DIVISION + R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : F, L; + }(m, b, y) : function(w, E, M, _) { + var L = document.createElement(_), R = w.$node.parentNode, F = w.$node.previousSibling, P = w.$node.nextSibling, V = document.createDocumentFragment(), k = R.dataset[u.CAMEL_DATASET_IDENTIFIER], N = R.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], T = N ? k + u.ID_DIVISION + N : k; + L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), L.appendChild(w.$node.cloneNode(!1)); + var D, I = !1, j = !1; + F && ((v = R.cloneNode(!1)).textContent = F.textContent, V.appendChild(v), I = !0); var v, z = []; - return Array.isArray(O) ? z.push.apply(z, i(O)) : z.push(O), h(L, c.unique(z)), V.appendChild(L), P && ((v = j.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), R = !0), N = I && R ? l.SplitType.both : I ? l.SplitType.head : R ? l.SplitType.tail : l.SplitType.none, L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, N), j.parentNode.replaceChild(V, j), L; - }(m, b, y, g) : function(E, w, O, _) { + return Array.isArray(M) ? z.push.apply(z, i(M)) : z.push(M), p(L, c.unique(z)), V.appendChild(L), P && ((v = R.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), j = !0), D = I && j ? l.SplitType.both : I ? l.SplitType.head : j ? l.SplitType.tail : l.SplitType.none, L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), R.parentNode.replaceChild(V, R), L; + }(m, b, y, g) : function(w, E, M, _) { var L = document.createElement(_); - return h(L, O), L.appendChild(E.$node.cloneNode(!1)), E.$node.parentNode.replaceChild(L, E.$node), L.setAttribute("data-" + u.DATASET_IDENTIFIER, w.id), L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, E.splitType), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), L; + return p(L, M), L.appendChild(w.$node.cloneNode(!1)), w.$node.parentNode.replaceChild(L, w.$node), L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), L; }(m, b, y, g); }, o.normalizeSiblingText = function(m, b) { if (b === void 0 && (b = !0), m && m.nodeType === 3) { @@ -11550,8 +11550,8 @@ var Z0 = { exports: {} }; 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); + var p = d.value; + u.indexOf(p) === -1 && u.push(p); } } catch (f) { l = { error: f }; @@ -11577,62 +11577,62 @@ var Z0 = { exports: {} }; }; }]).default; }); -})(Z0); -var t6 = Z0.exports; -const U0 = /* @__PURE__ */ un(t6), Za = "altimate-display-", n6 = `${Za}-highlight`, a2 = `${Za}-highlight-hover`, o6 = `${Za}-active-highlight`, r6 = 1049, fo = new U0({ +})(rd); +var g6 = rd.exports; +const ad = /* @__PURE__ */ dn(g6), Ga = "altimate-display-", m6 = `${Ga}-highlight`, g2 = `${Ga}-highlight-hover`, b6 = `${Ga}-active-highlight`, y6 = 1049, ho = new ad({ style: { - className: n6 + className: m6 } // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, -}), Ks = new U0({ +}), oc = new ad({ style: { - className: o6 + className: b6 } // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, -}), q0 = (e, t) => t.filter( +}), id = (e, t) => t.filter( (n) => { var o; return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; } -), Y0 = (e, t, n) => { +), ld = (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]; }; -fo.hooks.Render.SelectedNodes.tap(q0); -fo.hooks.Serialize.Restore.tap(Y0); -Ks.hooks.Render.SelectedNodes.tap(q0); -Ks.hooks.Serialize.Restore.tap(Y0); -fo.on("selection:hover", ({ id: e }) => { - fo.addClass(a2, e); +ho.hooks.Render.SelectedNodes.tap(id); +ho.hooks.Serialize.Restore.tap(ld); +oc.hooks.Render.SelectedNodes.tap(id); +oc.hooks.Serialize.Restore.tap(ld); +ho.on("selection:hover", ({ id: e }) => { + ho.addClass(g2, e); }).on("selection:hover-out", ({ id: e }) => { - fo.removeClass(a2, e); + ho.removeClass(g2, e); }); -const a6 = (e) => { +const C6 = (e) => { var t, n; return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, i6 = (e) => { - const t = a6(e); - t && (fo.remove(t.id), Ks.remove(t.id)); -}, Xs = () => { +}, v6 = (e) => { + const t = C6(e); + t && (ho.remove(t.id), oc.remove(t.id)); +}, rc = () => { var n, o; - const e = Qs(), t = (e == null ? void 0 : e[1]) === "analysis" ? document.getElementById("sql") : document.getElementById("code"); + const e = ac(), 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"); -}, Qs = () => { +}, ac = () => { var t; return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); -}, Js = () => document.querySelector( +}, ic = () => document.querySelector( '[marked="model.description"]' -), l6 = (e) => { +), x6 = (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 = Js()) == null ? void 0 : o.firstChild : Xs(); -}, s6 = (e) => { + ).find((a) => a.innerText === e.column)) == null ? void 0 : t.parentElement) == null ? void 0 : n.querySelector("td:nth-child(3)") : (o = ic()) == null ? void 0 : o.firstChild : rc(); +}, w6 = (e) => { if (e.getAttribute("marked") === "model.description") return "description"; -}, c6 = (e, t, n, o, r) => { +}, E6 = (e, t, n, o, r) => { if (e === "description") return { start: 0, @@ -11642,8 +11642,8 @@ const a6 = (e) => { }; 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: f } = d.getBoundingClientRect(); - return l >= f && l <= f + h; + const { height: p, y: f } = d.getBoundingClientRect(); + return l >= f && l <= f + p; }), u = a[s], c = s - i.length + 1; return console.log("start and end lines found", c, s), { x: u.offsetLeft, @@ -11651,15 +11651,15 @@ const a6 = (e) => { start: c, end: s }; -}, W_ = () => { +}, oA = () => { var e; return [ - (e = Xs()) == null ? void 0 : e.parentElement, - Js() + (e = rc()) == null ? void 0 : e.parentElement, + ic() ]; }; -var Ft = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(Ft || {}); -function u6(e) { +var jt = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(jt || {}); +function S6(e) { if (typeof e != "object" || e === null) return !1; let t = e; @@ -11667,10 +11667,10 @@ function u6(e) { t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } -function d6(e) { - return u6(e) && "type" in e && typeof e.type == "string"; +function k6(e) { + return S6(e) && "type" in e && typeof e.type == "string"; } -var G0 = Symbol.for("immer-nothing"), i2 = Symbol.for("immer-draftable"), kt = Symbol.for("immer-state"), f6 = process.env.NODE_ENV !== "production" ? [ +var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), _6 = 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.`; @@ -11703,70 +11703,70 @@ var G0 = Symbol.for("immer-nothing"), i2 = Symbol.for("immer-draftable"), kt = S ] : []; function Ct(e, ...t) { if (process.env.NODE_ENV !== "production") { - const n = f6[e], o = typeof n == "function" ? n.apply(null, t) : n; + const n = _6[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` ); } -var wo = Object.getPrototypeOf; -function Yn(e) { - return !!e && !!e[kt]; +var Eo = Object.getPrototypeOf; +function Xn(e) { + return !!e && !!e[At]; } -function yn(e) { +function vn(e) { var t; - return e ? K0(e) || Array.isArray(e) || !!e[i2] || !!((t = e.constructor) != null && t[i2]) || qa(e) || Ya(e) : !1; + return e ? cd(e) || Array.isArray(e) || !!e[m2] || !!((t = e.constructor) != null && t[m2]) || Xa(e) || Qa(e) : !1; } -var h6 = Object.prototype.constructor.toString(); -function K0(e) { +var A6 = Object.prototype.constructor.toString(); +function cd(e) { if (!e || typeof e != "object") return !1; - const t = wo(e); + const t = Eo(e); if (t === null) return !0; const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; - return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === h6; + return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === A6; } -function Ca(e, t) { - Ua(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { +function ka(e, t) { + Ka(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { t(n, e[n], e); }) : e.forEach((n, o) => t(o, n, e)); } -function Ua(e) { - const t = e[kt]; - return t ? t.type_ : Array.isArray(e) ? 1 : qa(e) ? 2 : Ya(e) ? 3 : 0; +function Ka(e) { + const t = e[At]; + return t ? t.type_ : Array.isArray(e) ? 1 : Xa(e) ? 2 : Qa(e) ? 3 : 0; } -function es(e, t) { - return Ua(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); +function as(e, t) { + return Ka(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); } -function X0(e, t, n) { - const o = Ua(e); +function ud(e, t, n) { + const o = Ka(e); o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; } -function p6(e, t) { +function M6(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; } -function qa(e) { +function Xa(e) { return e instanceof Map; } -function Ya(e) { +function Qa(e) { return e instanceof Set; } -function In(e) { +function zn(e) { return e.copy_ || e.base_; } -function ts(e, t) { - if (qa(e)) +function is(e, t) { + if (Xa(e)) return new Map(e); - if (Ya(e)) + if (Qa(e)) return new Set(e); if (Array.isArray(e)) return Array.prototype.slice.call(e); - const n = K0(e); + const n = cd(e); if (t === !0 || t === "class_only" && !n) { const o = Object.getOwnPropertyDescriptors(e); - delete o[kt]; + delete o[At]; let r = Reflect.ownKeys(o); for (let a = 0; a < r.length; a++) { const i = r[a], l = o[i]; @@ -11778,34 +11778,34 @@ function ts(e, t) { value: e[i] }); } - return Object.create(wo(e), o); + return Object.create(Eo(e), o); } else { - const o = wo(e); + const o = Eo(e); if (o !== null && n) return { ...e }; const r = Object.create(o); return Object.assign(r, e); } } -function ec(e, t = !1) { - return Ga(e) || Yn(e) || !yn(e) || (Ua(e) > 1 && (e.set = e.add = e.clear = e.delete = g6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => ec(o, !0))), e; +function lc(e, t = !1) { + return Ja(e) || Xn(e) || !vn(e) || (Ka(e) > 1 && (e.set = e.add = e.clear = e.delete = T6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; } -function g6() { +function T6() { Ct(2); } -function Ga(e) { +function Ja(e) { return Object.isFrozen(e); } -var m6 = {}; -function Gn(e) { - const t = m6[e]; +var O6 = {}; +function Qn(e) { + const t = O6[e]; return t || Ct(0, e), t; } -var nr; -function Q0() { - return nr; +var sr; +function dd() { + return sr; } -function b6(e, t) { +function N6(e, t) { return { drafts_: [], parent_: e, @@ -11816,53 +11816,53 @@ function b6(e, t) { unfinalizedDrafts_: 0 }; } -function l2(e, t) { - t && (Gn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); +function b2(e, t) { + t && (Qn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); } -function ns(e) { - os(e), e.drafts_.forEach(y6), e.drafts_ = null; +function ls(e) { + ss(e), e.drafts_.forEach(D6), e.drafts_ = null; } -function os(e) { - e === nr && (nr = e.parent_); +function ss(e) { + e === sr && (sr = e.parent_); } -function s2(e) { - return nr = b6(nr, e); +function y2(e) { + return sr = N6(sr, e); } -function y6(e) { - const t = e[kt]; +function D6(e) { + const t = e[At]; t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; } -function c2(e, t) { +function C2(e, t) { t.unfinalizedDrafts_ = t.drafts_.length; const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[kt].modified_ && (ns(t), Ct(4)), yn(e) && (e = va(t, e), t.parent_ || xa(t, e)), t.patches_ && Gn("Patches").generateReplacementPatches_( - n[kt].base_, + return e !== void 0 && e !== n ? (n[At].modified_ && (ls(t), Ct(4)), vn(e) && (e = _a(t, e), t.parent_ || Aa(t, e)), t.patches_ && Qn("Patches").generateReplacementPatches_( + n[At].base_, e, t.patches_, t.inversePatches_ - )) : e = va(t, n, []), ns(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== G0 ? e : void 0; + )) : e = _a(t, n, []), ls(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== sd ? e : void 0; } -function va(e, t, n) { - if (Ga(t)) +function _a(e, t, n) { + if (Ja(t)) return t; - const o = t[kt]; + const o = t[At]; if (!o) - return Ca( + return ka( t, - (r, a) => u2(e, o, t, r, a, n) + (r, a) => v2(e, o, t, r, a, n) ), t; if (o.scope_ !== e) return t; if (!o.modified_) - return xa(e, o.base_, !0), o.base_; + return Aa(e, o.base_, !0), o.base_; if (!o.finalized_) { 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), Ca( + o.type_ === 3 && (a = new Set(r), r.clear(), i = !0), ka( a, - (l, s) => u2(e, o, r, l, s, n, i) - ), xa(e, r, !1), n && e.patches_ && Gn("Patches").generatePatches_( + (l, s) => v2(e, o, r, l, s, n, i) + ), Aa(e, r, !1), n && e.patches_ && Qn("Patches").generatePatches_( o, n, e.patches_, @@ -11871,29 +11871,29 @@ function va(e, t, n) { } return o.copy_; } -function u2(e, t, n, o, r, a, i) { - if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Yn(r)) { +function v2(e, t, n, o, r, a, i) { + if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Xn(r)) { const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !es(t.assigned_, o) ? a.concat(o) : void 0, s = va(e, r, l); - if (X0(n, o, s), Yn(s)) + !as(t.assigned_, o) ? a.concat(o) : void 0, s = _a(e, r, l); + if (ud(n, o, s), Xn(s)) e.canAutoFreeze_ = !1; else return; } else i && n.add(r); - if (yn(r) && !Ga(r)) { + if (vn(r) && !Ja(r)) { if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; - va(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && xa(e, r); + _a(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && Aa(e, r); } } -function xa(e, t, n = !1) { - !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && ec(t, n); +function Aa(e, t, n = !1) { + !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && lc(t, n); } -function C6(e, t) { +function L6(e, t) { const n = Array.isArray(e), o = { type_: n ? 1 : 0, // Track which produce call this is associated with. - scope_: t ? t.scope_ : Q0(), + scope_: t ? t.scope_ : dd(), // True for both shallow and deep changes. modified_: !1, // Used during finalization. @@ -11913,50 +11913,50 @@ function C6(e, t) { revoke_: null, isManual_: !1 }; - let r = o, a = tc; - n && (r = [o], a = or); + let r = o, a = sc; + n && (r = [o], a = cr); const { revoke: i, proxy: l } = Proxy.revocable(r, a); return o.draft_ = l, o.revoke_ = i, l; } -var tc = { +var sc = { get(e, t) { - if (t === kt) + if (t === At) return e; - const n = In(e); - if (!es(n, t)) - return v6(e, n, t); + const n = zn(e); + if (!as(n, t)) + return F6(e, n, t); const o = n[t]; - return e.finalized_ || !yn(o) ? o : o === pl(e.base_, t) ? (gl(e), e.copy_[t] = as(o, e)) : o; + return e.finalized_ || !vn(o) ? o : o === yl(e.base_, t) ? (Cl(e), e.copy_[t] = us(o, e)) : o; }, has(e, t) { - return t in In(e); + return t in zn(e); }, ownKeys(e) { - return Reflect.ownKeys(In(e)); + return Reflect.ownKeys(zn(e)); }, set(e, t, n) { - const o = J0(In(e), t); + const o = fd(zn(e), t); if (o != null && o.set) return o.set.call(e.draft_, n), !0; if (!e.modified_) { - const r = pl(In(e), t), a = r == null ? void 0 : r[kt]; + const r = yl(zn(e), t), a = r == null ? void 0 : r[At]; if (a && a.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (p6(n, r) && (n !== void 0 || es(e.base_, t))) + if (M6(n, r) && (n !== void 0 || as(e.base_, t))) return !0; - gl(e), rs(e); + Cl(e), cs(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 pl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, gl(e), rs(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0; + return yl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Cl(e), cs(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 = In(e), o = Reflect.getOwnPropertyDescriptor(n, t); + const n = zn(e), o = Reflect.getOwnPropertyDescriptor(n, t); return o && { writable: !0, configurable: e.type_ !== 1 || t !== "length", @@ -11968,57 +11968,57 @@ var tc = { Ct(11); }, getPrototypeOf(e) { - return wo(e.base_); + return Eo(e.base_); }, setPrototypeOf() { Ct(12); } -}, or = {}; -Ca(tc, (e, t) => { - or[e] = function() { +}, cr = {}; +ka(sc, (e, t) => { + cr[e] = function() { return arguments[0] = arguments[0][0], t.apply(this, arguments); }; }); -or.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), or.set.call(this, e, t, void 0); +cr.deleteProperty = function(e, t) { + return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), cr.set.call(this, e, t, void 0); }; -or.set = function(e, t, n) { - return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), tc.set.call(this, e[0], t, n, e[0]); +cr.set = function(e, t, n) { + return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), sc.set.call(this, e[0], t, n, e[0]); }; -function pl(e, t) { - const n = e[kt]; - return (n ? In(n) : e)[t]; +function yl(e, t) { + const n = e[At]; + return (n ? zn(n) : e)[t]; } -function v6(e, t, n) { +function F6(e, t, n) { var r; - const o = J0(t, n); + const o = fd(t, n); return o ? "value" in o ? o.value : ( // This is a very special case, if the prop is a getter defined by the // prototype, we should invoke it with the draft as context! (r = o.get) == null ? void 0 : r.call(e.draft_) ) : void 0; } -function J0(e, t) { +function fd(e, t) { if (!(t in e)) return; - let n = wo(e); + let n = Eo(e); for (; n; ) { const o = Object.getOwnPropertyDescriptor(n, t); if (o) return o; - n = wo(n); + n = Eo(n); } } -function rs(e) { - e.modified_ || (e.modified_ = !0, e.parent_ && rs(e.parent_)); +function cs(e) { + e.modified_ || (e.modified_ = !0, e.parent_ && cs(e.parent_)); } -function gl(e) { - e.copy_ || (e.copy_ = ts( +function Cl(e) { + e.copy_ || (e.copy_ = is( e.base_, e.scope_.immer_.useStrictShallowCopy_ )); } -var x6 = class { +var j6 = class { constructor(e) { this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, o) => { if (typeof t == "function" && typeof n != "function") { @@ -12031,19 +12031,19 @@ var x6 = class { } typeof n != "function" && Ct(6), o !== void 0 && typeof o != "function" && Ct(7); let r; - if (yn(t)) { - const a = s2(this), i = as(t, void 0); + if (vn(t)) { + const a = y2(this), i = us(t, void 0); let l = !0; try { r = n(i), l = !1; } finally { - l ? ns(a) : os(a); + l ? ls(a) : ss(a); } - return l2(a, o), c2(r, a); + return b2(a, o), C2(r, a); } else if (!t || typeof t != "object") { - if (r = n(t), r === void 0 && (r = t), r === G0 && (r = void 0), this.autoFreeze_ && ec(r, !0), o) { + if (r = n(t), r === void 0 && (r = t), r === sd && (r = void 0), this.autoFreeze_ && lc(r, !0), o) { const a = [], i = []; - Gn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); + Qn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); } return r; } else @@ -12058,15 +12058,15 @@ var x6 = class { }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy); } createDraft(e) { - yn(e) || Ct(8), Yn(e) && (e = w6(e)); - const t = s2(this), n = as(e, void 0); - return n[kt].isManual_ = !0, os(t), n; + vn(e) || Ct(8), Xn(e) && (e = R6(e)); + const t = y2(this), n = us(e, void 0); + return n[At].isManual_ = !0, ss(t), n; } finishDraft(e, t) { - const n = e && e[kt]; + const n = e && e[At]; (!n || !n.isManual_) && Ct(9); const { scope_: o } = n; - return l2(o, t), c2(void 0, o); + return b2(o, t), C2(void 0, o); } /** * Pass true to automatically freeze all copies created by Immer. @@ -12094,50 +12094,50 @@ var x6 = class { } } n > -1 && (t = t.slice(n + 1)); - const o = Gn("Patches").applyPatches_; - return Yn(e) ? o(e, t) : this.produce( + const o = Qn("Patches").applyPatches_; + return Xn(e) ? o(e, t) : this.produce( e, (r) => o(r, t) ); } }; -function as(e, t) { - const n = qa(e) ? Gn("MapSet").proxyMap_(e, t) : Ya(e) ? Gn("MapSet").proxySet_(e, t) : C6(e, t); - return (t ? t.scope_ : Q0()).drafts_.push(n), n; +function us(e, t) { + const n = Xa(e) ? Qn("MapSet").proxyMap_(e, t) : Qa(e) ? Qn("MapSet").proxySet_(e, t) : L6(e, t); + return (t ? t.scope_ : dd()).drafts_.push(n), n; } -function w6(e) { - return Yn(e) || Ct(10, e), ed(e); +function R6(e) { + return Xn(e) || Ct(10, e), hd(e); } -function ed(e) { - if (!yn(e) || Ga(e)) +function hd(e) { + if (!vn(e) || Ja(e)) return e; - const t = e[kt]; + const t = e[At]; let n; if (t) { if (!t.modified_) return t.base_; - t.finalized_ = !0, n = ts(e, t.scope_.immer_.useStrictShallowCopy_); + t.finalized_ = !0, n = is(e, t.scope_.immer_.useStrictShallowCopy_); } else - n = ts(e, !0); - return Ca(n, (o, r) => { - X0(n, o, ed(r)); + n = is(e, !0); + return ka(n, (o, r) => { + ud(n, o, hd(r)); }), t && (t.finalized_ = !1), n; } -var _t = new x6(), td = _t.produce; -_t.produceWithPatches.bind( - _t +var Mt = new j6(), pd = Mt.produce; +Mt.produceWithPatches.bind( + Mt ); -_t.setAutoFreeze.bind(_t); -_t.setUseStrictShallowCopy.bind(_t); -_t.applyPatches.bind(_t); -_t.createDraft.bind(_t); -_t.finishDraft.bind(_t); -function d2(e, t) { +Mt.setAutoFreeze.bind(Mt); +Mt.setUseStrictShallowCopy.bind(Mt); +Mt.applyPatches.bind(Mt); +Mt.createDraft.bind(Mt); +Mt.finishDraft.bind(Mt); +function x2(e, t) { function n(...o) { if (t) { let r = t(...o); if (!r) - throw new Error(process.env.NODE_ENV === "production" ? tt(0) : "prepareAction did not return an object"); + throw new Error(process.env.NODE_ENV === "production" ? ot(0) : "prepareAction did not return an object"); return { type: e, payload: r.payload, @@ -12154,42 +12154,42 @@ function d2(e, t) { payload: o[0] }; } - return n.toString = () => `${e}`, n.type = e, n.match = (o) => d6(o) && o.type === e, n; + return n.toString = () => `${e}`, n.type = e, n.match = (o) => k6(o) && o.type === e, n; } -function f2(e) { - return yn(e) ? td(e, () => { +function w2(e) { + return vn(e) ? pd(e, () => { }) : e; } -function h2(e, t, n) { +function E2(e, t, n) { if (e.has(t)) { let r = e.get(t); return n.update && (r = n.update(r, t, e), e.set(t, r)), r; } - if (!n.insert) throw new Error(process.env.NODE_ENV === "production" ? tt(10) : "No insert provided for key not already in map"); + if (!n.insert) throw new Error(process.env.NODE_ENV === "production" ? ot(10) : "No insert provided for key not already in map"); const o = n.insert(t, e); return e.set(t, o), o; } -function nd(e) { +function gd(e) { 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" ? tt(26) : "`builder.addCase` should only be called before calling `builder.addMatcher`"); + throw new Error(process.env.NODE_ENV === "production" ? ot(26) : "`builder.addCase` should only be called before calling `builder.addMatcher`"); if (o) - throw new Error(process.env.NODE_ENV === "production" ? tt(27) : "`builder.addCase` should only be called before calling `builder.addDefaultCase`"); + throw new Error(process.env.NODE_ENV === "production" ? ot(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" ? tt(28) : "`builder.addCase` cannot be called with an empty action type"); + throw new Error(process.env.NODE_ENV === "production" ? ot(28) : "`builder.addCase` cannot be called with an empty action type"); if (l in t) - throw new Error(process.env.NODE_ENV === "production" ? tt(29) : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`); + throw new Error(process.env.NODE_ENV === "production" ? ot(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" ? tt(30) : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); + throw new Error(process.env.NODE_ENV === "production" ? ot(30) : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); return n.push({ matcher: a, reducer: i @@ -12197,23 +12197,23 @@ function nd(e) { }, addDefaultCase(a) { if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? tt(31) : "`builder.addDefaultCase` can only be called once"); + throw new Error(process.env.NODE_ENV === "production" ? ot(31) : "`builder.addDefaultCase` can only be called once"); return o = a, r; } }; return e(r), [t, n, o]; } -function E6(e) { +function I6(e) { return typeof e == "function"; } -function S6(e, t) { +function z6(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") - throw new Error(process.env.NODE_ENV === "production" ? tt(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer"); - let [n, o, r] = nd(t), a; - if (E6(e)) - a = () => f2(e()); + throw new Error(process.env.NODE_ENV === "production" ? ot(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] = gd(t), a; + if (I6(e)) + a = () => w2(e()); else { - const l = f2(e); + const l = w2(e); a = () => l; } function i(l = a(), s) { @@ -12224,20 +12224,20 @@ function S6(e, t) { }) => c)]; return u.filter((c) => !!c).length === 0 && (u = [r]), u.reduce((c, d) => { if (d) - if (Yn(c)) { + if (Xn(c)) { const f = d(c, s); return f === void 0 ? c : f; } else { - if (yn(c)) - return td(c, (h) => d(h, s)); + if (vn(c)) + return pd(c, (p) => d(p, s)); { - const h = d(c, s); - if (h === void 0) { + const p = d(c, s); + if (p === void 0) { if (c === null) return c; - throw new Error(process.env.NODE_ENV === "production" ? tt(9) : "A case reducer on a non-draftable value must not return undefined"); + throw new Error(process.env.NODE_ENV === "production" ? ot(9) : "A case reducer on a non-draftable value must not return undefined"); } - return h; + return p; } } return c; @@ -12245,36 +12245,36 @@ function S6(e, t) { } return i.getInitialState = a, i; } -var k6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); -function _6(e, t) { +var H6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); +function P6(e, t) { return `${e}/${t}`; } -function A6({ +function B6({ creators: e } = {}) { var n; - const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[k6]; + const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[H6]; return function(r) { const { name: a, reducerPath: i = a } = r; if (!a) - throw new Error(process.env.NODE_ENV === "production" ? tt(11) : "`name` is a required option for createSlice"); + throw new Error(process.env.NODE_ENV === "production" ? ot(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(T6()) : r.reducers) || {}, s = Object.keys(l), u = { + const l = (typeof r.reducers == "function" ? r.reducers($6()) : r.reducers) || {}, s = Object.keys(l), u = { sliceCaseReducersByName: {}, sliceCaseReducersByType: {}, actionCreators: {}, sliceMatchers: [] }, c = { addCase(C, S) { - const E = typeof C == "string" ? C : C.type; - if (!E) - throw new Error(process.env.NODE_ENV === "production" ? tt(12) : "`context.addCase` cannot be called with an empty action type"); - if (E in u.sliceCaseReducersByType) - throw new Error(process.env.NODE_ENV === "production" ? tt(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + E); - return u.sliceCaseReducersByType[E] = S, c; + const w = typeof C == "string" ? C : C.type; + if (!w) + throw new Error(process.env.NODE_ENV === "production" ? ot(12) : "`context.addCase` cannot be called with an empty action type"); + if (w in u.sliceCaseReducersByType) + throw new Error(process.env.NODE_ENV === "production" ? ot(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + w); + return u.sliceCaseReducersByType[w] = S, c; }, addMatcher(C, S) { return u.sliceMatchers.push({ @@ -12290,31 +12290,31 @@ function A6({ } }; s.forEach((C) => { - const S = l[C], E = { + const S = l[C], w = { reducerName: C, - type: _6(a, C), + type: P6(a, C), createNotation: typeof r.reducers == "function" }; - D6(S) ? L6(E, S, c, t) : O6(E, S, c); + Z6(S) ? q6(w, S, c, t) : W6(w, S, c); }); function d() { if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") - throw new Error(process.env.NODE_ENV === "production" ? tt(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); - const [C = {}, S = [], E = void 0] = typeof r.extraReducers == "function" ? nd(r.extraReducers) : [r.extraReducers], w = { + throw new Error(process.env.NODE_ENV === "production" ? ot(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); + const [C = {}, S = [], w = void 0] = typeof r.extraReducers == "function" ? gd(r.extraReducers) : [r.extraReducers], E = { ...C, ...u.sliceCaseReducersByType }; - return S6(r.initialState, (O) => { - for (let _ in w) - O.addCase(_, w[_]); + return z6(r.initialState, (M) => { + for (let _ in E) + M.addCase(_, E[_]); for (let _ of u.sliceMatchers) - O.addMatcher(_.matcher, _.reducer); + M.addMatcher(_.matcher, _.reducer); for (let _ of S) - O.addMatcher(_.matcher, _.reducer); - E && O.addDefaultCase(E); + M.addMatcher(_.matcher, _.reducer); + w && M.addDefaultCase(w); }); } - const h = (C) => C, f = /* @__PURE__ */ new Map(); + const p = (C) => C, f = /* @__PURE__ */ new Map(); let m; function b(C, S) { return m || (m = d()), m(C, S); @@ -12323,36 +12323,36 @@ function A6({ return m || (m = d()), m.getInitialState(); } function g(C, S = !1) { - function E(O) { - let _ = O[C]; + function w(M) { + let _ = M[C]; if (typeof _ > "u") { if (S) _ = y(); else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? tt(15) : "selectSlice returned undefined for an uninjected slice reducer"); + throw new Error(process.env.NODE_ENV === "production" ? ot(15) : "selectSlice returned undefined for an uninjected slice reducer"); } return _; } - function w(O = h) { - const _ = h2(f, S, { + function E(M = p) { + const _ = E2(f, S, { insert: () => /* @__PURE__ */ new WeakMap() }); - return h2(_, O, { + return E2(_, M, { insert: () => { const L = {}; - for (const [j, F] of Object.entries(r.selectors ?? {})) - L[j] = M6(F, O, y, S); + for (const [R, F] of Object.entries(r.selectors ?? {})) + L[R] = V6(F, M, y, S); return L; } }); } return { reducerPath: C, - getSelectors: w, + getSelectors: E, get selectors() { - return w(E); + return E(w); }, - selectSlice: E + selectSlice: w }; } const x = { @@ -12364,36 +12364,36 @@ function A6({ ...g(i), injectInto(C, { reducerPath: S, - ...E + ...w } = {}) { - const w = S ?? i; + const E = S ?? i; return C.inject({ - reducerPath: w, + reducerPath: E, reducer: b - }, E), { + }, w), { ...x, - ...g(w, !0) + ...g(E, !0) }; } }; return x; }; } -function M6(e, t, n, o) { +function V6(e, t, n, o) { function r(a, ...i) { let l = t(a); if (typeof l > "u") { if (o) l = n(); else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? tt(16) : "selectState returned undefined for an uninjected slice reducer"); + throw new Error(process.env.NODE_ENV === "production" ? ot(16) : "selectState returned undefined for an uninjected slice reducer"); } return e(l, ...i); } return r.unwrapped = e, r; } -var nc = /* @__PURE__ */ A6(); -function T6() { +var cc = /* @__PURE__ */ B6(); +function $6() { function e(t, n) { return { _reducerDefinitionType: "asyncThunk", @@ -12424,32 +12424,32 @@ function T6() { asyncThunk: e }; } -function O6({ +function W6({ type: e, reducerName: t, createNotation: n }, o, r) { let a, i; if ("reducer" in o) { - if (n && !N6(o)) - throw new Error(process.env.NODE_ENV === "production" ? tt(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation."); + if (n && !U6(o)) + throw new Error(process.env.NODE_ENV === "production" ? ot(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 ? d2(e, i) : d2(e)); + r.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, i ? x2(e, i) : x2(e)); } -function D6(e) { +function Z6(e) { return e._reducerDefinitionType === "asyncThunk"; } -function N6(e) { +function U6(e) { return e._reducerDefinitionType === "reducerWithPrepare"; } -function L6({ +function q6({ type: e, reducerName: t }, n, o, r) { if (!r) - throw new Error(process.env.NODE_ENV === "production" ? tt(18) : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`."); + throw new Error(process.env.NODE_ENV === "production" ? ot(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, @@ -12459,33 +12459,33 @@ function L6({ 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 || Pr, - pending: l || Pr, - rejected: s || Pr, - settled: u || Pr + fulfilled: i || Zr, + pending: l || Zr, + rejected: s || Zr, + settled: u || Zr }); } -function Pr() { +function Zr() { } -function tt(e) { +function ot(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 F6 = { +const Y6 = { users: {}, isRightPanelOpen: !1, selectedConversationId: void 0, conversations: {}, - conversationsLoadingState: Ft.UNINITIALIZED, + conversationsLoadingState: jt.UNINITIALIZED, newConversation: void 0, shareId: void 0, docsAppRendered: !1, - currentPage: e6(), + currentPage: p6(), codeblockLoaded: !1, - source: Gs.DBT_DOCS, + source: nc.DBT_DOCS, manifest: {} -}, wa = nc({ +}, Ma = cc({ name: "appState", - initialState: F6, + initialState: Y6, reducers: { setDocsAppRendered: (e, t) => { e.docsAppRendered = t.payload; @@ -12512,7 +12512,7 @@ const F6 = { e.conversationsLoadingState = t.payload; }, refetchConversations: (e) => { - e.conversationsLoadingState = Ft.UNINITIALIZED; + e.conversationsLoadingState = jt.UNINITIALIZED; }, setUsers: (e, t) => { var n; @@ -12548,7 +12548,7 @@ const F6 = { console.log("Invalid meta"); return; } - const o = Qs(); + const o = ac(); if (!o || o.length < 3) { console.error("Unable to find model parts", o); return; @@ -12573,36 +12573,36 @@ const F6 = { } } }), { - setCurrentUserId: Z_, - setShareId: U_, - updateSelectedConversationId: oc, - updateRightPanelState: rc, - setUsers: R6, - setConversations: j6, - resetNewConversation: ac, - updateNewConversation: ic, - upsertConversation: q_, - setDocsAppRendered: Y_, - updateCurrentPage: G_, - updateCodeblockLoaded: K_, - resolveConversationGroup: I6, - setConversationsLoadingState: p2, - refetchConversations: od, - setConversationSource: X_, - setManifest: z6 -} = wa.actions, Ka = zt({ - state: wa.getInitialState(), + setCurrentUserId: rA, + setShareId: aA, + updateSelectedConversationId: uc, + updateRightPanelState: dc, + setUsers: G6, + setConversations: K6, + resetNewConversation: fc, + updateNewConversation: hc, + upsertConversation: iA, + setDocsAppRendered: lA, + updateCurrentPage: sA, + updateCodeblockLoaded: cA, + resolveConversationGroup: X6, + setConversationsLoadingState: S2, + refetchConversations: md, + setConversationSource: uA, + setManifest: Q6 +} = Ma.actions, ei = Ht({ + state: Ma.getInitialState(), dispatch: () => null, getValue: () => null -}), H6 = ({ +}), J6 = ({ children: e, shareId: t, userId: n, conversationGroupId: o, source: r }) => { - const [a, i] = Ys(wa.reducer, { - ...wa.getInitialState(), + const [a, i] = ec(Ma.reducer, { + ...Ma.getInitialState(), shareId: t, currentUserId: n, selectedConversationId: o, @@ -12611,7 +12611,7 @@ const F6 = { }), l = Me( (u) => u(a), [a] - ), s = He( + ), s = Be( () => ({ state: a, dispatch: i, @@ -12619,29 +12619,29 @@ const F6 = { }), [a, i, l] ); - return /* @__PURE__ */ p.jsx(Ka.Provider, { value: s, children: e }); -}, P6 = () => Je(Ka), je = (e) => { - const { getValue: t } = Je(Ka); + return /* @__PURE__ */ h.jsx(ei.Provider, { value: s, children: e }); +}, e8 = () => Je(ei), Ie = (e) => { + const { getValue: t } = Je(ei); return t(e); -}, Ht = () => { - const { dispatch: e } = Je(Ka); +}, Pt = () => { + const { dispatch: e } = Je(ei); return e; -}, B6 = (e) => e; -let rd = B6; -process.env.NODE_ENV !== "production" && (rd = (e, t) => { +}, t8 = (e) => e; +let bd = t8; +process.env.NODE_ENV !== "production" && (bd = (e, t) => { if (!e) throw new Error(t); }); -const V6 = zt(null), $6 = zt({}), W6 = zt({ +const n8 = Ht(null), o8 = Ht({}), r8 = Ht({ transformPagePoint: (e) => e, isStatic: !1, reducedMotion: "never" -}), Z6 = typeof window < "u", U6 = Z6 ? j5 : ce; -function ad(e) { +}), a8 = typeof window < "u", i8 = a8 ? e4 : ue; +function yd(e) { const t = he(null); return t.current === null && (t.current = e()), t.current; } -class q6 extends T.Component { +class l8 extends O.Component { getSnapshotBeforeUpdate(t) { const n = this.props.childRef.current; if (n && t.isPresent && !this.props.isPresent) { @@ -12659,14 +12659,14 @@ class q6 extends T.Component { return this.props.children; } } -function Y6({ children: e, isPresent: t }) { - const n = B0(), o = he(null), r = he({ +function s8({ children: e, isPresent: t }) { + const n = Q0(), o = he(null), r = he({ width: 0, height: 0, top: 0, left: 0 - }), { nonce: a } = Je(W6); - return I5(() => { + }), { nonce: a } = Je(r8); + return t4(() => { const { width: i, height: l, top: s, left: u } = r.current; if (t || !o.current || !i || !l) return; @@ -12683,10 +12683,10 @@ function Y6({ children: e, isPresent: t }) { `), () => { document.head.removeChild(c); }; - }, [t]), p.jsx(q6, { isPresent: t, childRef: o, sizeRef: r, children: T.cloneElement(e, { ref: o }) }); + }, [t]), h.jsx(l8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); } -const G6 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { - const l = ad(K6), s = B0(), u = He( +const c8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { + const l = yd(u8), s = Q0(), u = Be( () => ({ id: s, initial: t, @@ -12708,73 +12708,73 @@ const G6 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: */ a ? [Math.random()] : [n] ); - return He(() => { + return Be(() => { l.forEach((c, d) => l.set(d, !1)); - }, [n]), T.useEffect(() => { + }, [n]), O.useEffect(() => { !n && !l.size && o && o(); - }, [n]), i === "popLayout" && (e = p.jsx(Y6, { isPresent: n, children: e })), p.jsx(V6.Provider, { value: u, children: e }); + }, [n]), i === "popLayout" && (e = h.jsx(s8, { isPresent: n, children: e })), h.jsx(n8.Provider, { value: u, children: e }); }; -function K6() { +function u8() { return /* @__PURE__ */ new Map(); } -const Br = (e) => e.key || ""; -function g2(e) { +const Ur = (e) => e.key || ""; +function k2(e) { const t = []; - return xo.forEach(e, (n) => { - P0(n) && t.push(n); + return wo.forEach(e, (n) => { + X0(n) && t.push(n); }), t; } -const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { - rd(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = He(() => g2(e), [e]), s = l.map(Br), u = he(!0), c = he(l), d = ad(() => /* @__PURE__ */ new Map()), [h, f] = ue(l), [m, b] = ue(l); - U6(() => { +const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { + bd(!t, "Replace exitBeforeEnter with mode='wait'"); + const l = Be(() => k2(e), [e]), s = l.map(Ur), u = he(!0), c = he(l), d = yd(() => /* @__PURE__ */ new Map()), [p, f] = ce(l), [m, b] = ce(l); + i8(() => { u.current = !1, c.current = l; for (let x = 0; x < m.length; x++) { - const C = Br(m[x]); + const C = Ur(m[x]); s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); } }, [m, s.length, s.join("-")]); const y = []; - if (l !== h) { + if (l !== p) { let x = [...l]; for (let C = 0; C < m.length; C++) { - const S = m[C], E = Br(S); - s.includes(E) || (x.splice(C, 0, S), y.push(S)); + const S = m[C], w = Ur(S); + s.includes(w) || (x.splice(C, 0, S), y.push(S)); } - i === "wait" && y.length && (x = y), b(g2(x)), f(l); + i === "wait" && y.length && (x = y), b(k2(x)), f(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: g } = Je($6); - return p.jsx(p.Fragment, { children: m.map((x) => { - const C = Br(x), S = l === m || s.includes(C), E = () => { + const { forceRender: g } = Je(o8); + return h.jsx(h.Fragment, { children: m.map((x) => { + const C = Ur(x), S = l === m || s.includes(C), w = () => { if (d.has(C)) d.set(C, !0); else return; - let w = !0; - d.forEach((O) => { - O || (w = !1); - }), w && (g == null || g(), b(c.current), r && r()); + let E = !0; + d.forEach((M) => { + M || (E = !1); + }), E && (g == null || g(), b(c.current), r && r()); }; - return p.jsx(G6, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : E, children: x }, C); + return h.jsx(c8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); }) }); -}, Q6 = "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", J6 = "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", Mt = ({ +}, f8 = "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", h8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ icon: e, className: t = "", ...n -}) => /* @__PURE__ */ p.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), id = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "code", ...e }), ld = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "add", ...e }), sd = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "trash", ...e }), e8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "comment-unresolved", ...e }), t8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "check", ...e }), m2 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "pass-filled", ...e }), n8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "debug-restart", ...e }), o8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "gear", ...e }), cd = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "chevron-up", ...e }), ud = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "chevron-down", ...e }), r8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "info", ...e }), a8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "send", ...e }), i8 = (e) => /* @__PURE__ */ p.jsx(Mt, { icon: "pencil", ...e }), l8 = ({ pos: e, onAddComment: t }) => Jn( - /* @__PURE__ */ p.jsx(X6, { children: e && /* @__PURE__ */ p.jsx( - $e, +}) => /* @__PURE__ */ h.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Cd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "code", ...e }), vd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "add", ...e }), xd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "trash", ...e }), p8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "comment-unresolved", ...e }), g8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "check", ...e }), _2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pass-filled", ...e }), m8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "debug-restart", ...e }), b8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "gear", ...e }), wd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-up", ...e }), Ed = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-down", ...e }), y8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "info", ...e }), C8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "send", ...e }), v8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pencil", ...e }), A2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "share", ...e }), x8 = ({ pos: e, onAddComment: t }) => Rn( + /* @__PURE__ */ h.jsx(d8, { children: e && /* @__PURE__ */ h.jsx( + Re, { onClick: t, - id: `${Za}-highlight`, + id: `${Ga}-highlight`, style: { position: "absolute", top: e.y, left: e.x, // right: "15px", - zIndex: r6 + 5, + zIndex: y6 + 5, cursor: "pointer", background: "#007AFF", width: 26, @@ -12790,24 +12790,24 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi color: "#fff", padding: 0 }, - children: /* @__PURE__ */ p.jsx(ld, {}) + children: /* @__PURE__ */ h.jsx(vd, {}) } ) }), e.element.parentElement -), s8 = () => { +), w8 = () => { const { state: { isRightPanelOpen: e } - } = P6(), t = Ht(), n = () => { - t(rc(!e)); + } = e8(), t = Pt(), n = () => { + t(dc(!e)); }; - return /* @__PURE__ */ p.jsx($e, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, c8 = (e) => Pe.get(`dbt/dbt_docs_share/${e}`), u8 = (e, t, n) => Pe.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + return /* @__PURE__ */ h.jsx(Re, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); +}, E8 = (e) => ze.get(`dbt/dbt_docs_share/${e}`), S8 = (e, t, n) => ze.post(`dbt/dbt_docs_share/${e}/conversation_group`, { ...t, telemetry: { eventName: "dbtCollaboration:create", properties: { source: n } } -}), d8 = (e, t, n, o) => Pe.post( +}), k8 = (e, t, n, o) => ze.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { ...n, @@ -12816,9 +12816,9 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: o } } } -), f8 = (e) => Pe.get( +), _8 = (e) => ze.get( `dbt/dbt_docs_share/${e}/conversations` -), h8 = (e) => Pe.get("users/chat", { company: e }), p8 = (e, t, n) => Pe.post( +), A8 = (e) => ze.get("users/chat", { company: e }), M8 = (e, t, n) => ze.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { resolved: !0, @@ -12827,15 +12827,15 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: n } } } -), g8 = () => { - const e = je( +), T8 = () => { + const e = Ie( (l) => l.shareId - ), [t, n] = ue( + ), [t, n] = ce( null - ), [o, r] = ue(!1), a = Ht(); - ce(() => { + ), [o, r] = ce(!1), a = Pt(); + ue(() => { t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - a(z6(l)); + a(Q6(l)); }).catch( (l) => console.error( "error loading manifest", @@ -12848,7 +12848,7 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi if (!e) return; r(!0); - const l = await c8(e); + const l = await E8(e); if (l) { n(l); const s = document.getElementById("collapse-sidebar"); @@ -12856,47 +12856,47 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi } r(!1); }, [e]); - return ce(() => { + return ue(() => { !e || t || o || i(); }, [e, t, i, o]), { shareDetails: t, loading: o }; -}, m8 = () => { - const e = je( +}, O8 = () => { + const e = Ie( (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null - ), t = je( + ), t = Ie( (c) => c.docsAppRendered - ), n = je( + ), n = Ie( (c) => c.newConversation - ), o = Ht(), [r, a] = ue(null), [i, l] = ue(null); - ce(() => { + ), o = Pt(), [r, a] = ce(null), [i, l] = ce(null); + ue(() => { n && (a(null), l(null)); }, [n]); const s = Me(() => { - console.log("resetHighlights"), r && i6(r), l(null), a(null); + console.log("resetHighlights"), r && v6(r), l(null), a(null); }, [r]); - return ce(() => { + return ue(() => { !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 = s6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); + const d = c.target, p = w6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); if (!b || !b.rangeCount) return s(), null; const g = b.getRangeAt(0).toString(), x = d == null ? void 0 : d.innerText; if (!g || !x) return; - const { end: C, start: S, x: E, y: w } = c6( - h, + const { end: C, start: S, x: w, y: E } = E6( + p, d, g, f, m ); - console.log("selection range", C, S, E, w); - const O = { + console.log("selection range", C, S, w, E); + const M = { meta: { filePath: "", - field: h, + field: p, highlight: g, range: { end: { line: C, character: 0 }, @@ -12904,23 +12904,23 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi } } }; - o(ac()), l({ - x: E, - y: w, + o(fc()), l({ + x: w, + y: E, element: d - }), document.body.addEventListener("click", s, { once: !0 }), a(O); + }), document.body.addEventListener("click", s, { once: !0 }), a(M); } }; -}, b8 = ({ +}, N8 = ({ conversationGroup: e }) => { - const t = je( + const t = Ie( (l) => l.selectedConversationId - ), n = Ht(), o = he(null), r = He(() => l6(e.meta), [e.meta]), a = () => { + ), n = Pt(), o = he(null), r = Be(() => x6(e.meta), [e.meta]), a = () => { n( - oc(e.conversation_group_id) + uc(e.conversation_group_id) ); - }, i = He(() => { + }, i = Be(() => { if (!r) return; if (e.meta.field === "description") @@ -12939,75 +12939,75 @@ const X6 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi e.meta.range.start.line, e.meta.range.end.line ]); - return ce(() => { + return ue(() => { 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 : Jn( - /* @__PURE__ */ p.jsx( + }, [e.conversation_group_id, t]), !i || !(r != null && r.parentElement) ? null : Rn( + /* @__PURE__ */ h.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__ */ p.jsx(e8, {}) + children: /* @__PURE__ */ h.jsx(p8, {}) } ), r.parentElement ); -}, y8 = () => { - const e = je( +}, D8 = () => { + const e = Ie( (r) => Object.values(r.conversations || {}) - ), t = je( + ), t = Ie( (r) => r.codeblockLoaded - ), n = je( + ), n = Ie( (r) => r.currentPage ), o = e == null ? void 0 : e.filter( (r) => r.meta.resource_type === n.resourceType && r.meta.uniqueId === n.name ); - return !(o != null && o.length) || !t ? null : /* @__PURE__ */ p.jsx(p.Fragment, { children: o.map((r) => /* @__PURE__ */ p.jsx( - b8, + return !(o != null && o.length) || !t ? null : /* @__PURE__ */ h.jsx(h.Fragment, { children: o.map((r) => /* @__PURE__ */ h.jsx( + N8, { conversationGroup: r }, r.conversation_group_id )) }); -}, C8 = "_dbtDocs_14zop_9", v8 = "_hotspotButton_14zop_46", x8 = "_pulse_14zop_1", w8 = "_conversationRightPanelCloseButton_14zop_62", E8 = "_conversationRightPanel_14zop_62", S8 = "_newConversationForm_14zop_94", k8 = "_highlightText_14zop_108", _8 = "_conversationInputForm_14zop_130", A8 = "_conversationGroup_14zop_156", M8 = "_replyForm_14zop_189", T8 = "_resolveButton_14zop_237", Cn = { - dbtDocs: C8, - hotspotButton: v8, - pulse: x8, - conversationRightPanelCloseButton: w8, - conversationRightPanel: E8, - newConversationForm: S8, - highlightText: k8, - conversationInputForm: _8, - conversationGroup: A8, - replyForm: M8, - resolveButton: T8 -}, O8 = "_profileImage_11vaf_1", D8 = { - profileImage: O8 -}, dd = ({ user: e }) => { +}, L8 = "_dbtDocs_14zop_9", F8 = "_hotspotButton_14zop_46", j8 = "_pulse_14zop_1", R8 = "_conversationRightPanelCloseButton_14zop_62", I8 = "_conversationRightPanel_14zop_62", z8 = "_newConversationForm_14zop_94", H8 = "_highlightText_14zop_108", P8 = "_conversationInputForm_14zop_130", B8 = "_conversationGroup_14zop_156", V8 = "_replyForm_14zop_189", $8 = "_resolveButton_14zop_237", xn = { + dbtDocs: L8, + hotspotButton: F8, + pulse: j8, + conversationRightPanelCloseButton: R8, + conversationRightPanel: I8, + newConversationForm: z8, + highlightText: H8, + conversationInputForm: P8, + conversationGroup: B8, + replyForm: V8, + resolveButton: $8 +}, W8 = "_profileImage_11vaf_1", Z8 = { + profileImage: W8 +}, Sd = ({ user: e }) => { var t; - return /* @__PURE__ */ p.jsx("div", { className: D8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); + return /* @__PURE__ */ h.jsx("div", { className: Z8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); }; -function N8(e) { +function U8(e) { if (Array.isArray(e)) { for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } } -function L8(e) { +function q8(e) { if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); } -function F8() { +function Y8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function Ea(e) { - return N8(e) || L8(e) || F8(); +function Ta(e) { + return U8(e) || q8(e) || Y8(); } function It() { return It = Object.assign || function(e) { @@ -13019,30 +13019,30 @@ function It() { return e; }, It.apply(this, arguments); } -function R8(e, t) { +function G8(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function j8(e, t) { +function K8(e, t) { for (var n = 0; n < t.length; n++) { var o = t[n]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o); } } -function I8(e, t, n) { - return t && j8(e.prototype, t), e; +function X8(e, t, n) { + return t && K8(e.prototype, t), e; } function ve(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } -function is(e, t) { - return is = Object.setPrototypeOf || function(o, r) { +function ds(e, t) { + return ds = Object.setPrototypeOf || function(o, r) { return o.__proto__ = r, o; - }, is(e, t); + }, ds(e, t); } -function z8(e, t) { +function Q8(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, { @@ -13051,29 +13051,29 @@ function z8(e, t) { writable: !0, configurable: !0 } - }), t && is(e, t); + }), t && ds(e, t); } -function ho(e) { - return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ho = function(n) { +function po(e) { + return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? po = function(n) { return typeof n; - } : ho = function(n) { + } : po = function(n) { return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; - }, ho(e); + }, po(e); } -function sa(e) { - return typeof Symbol == "function" && ho(Symbol.iterator) === "symbol" ? sa = function(n) { - return ho(n); - } : sa = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : ho(n); - }, sa(e); +function pa(e) { + return typeof Symbol == "function" && po(Symbol.iterator) === "symbol" ? pa = function(n) { + return po(n); + } : pa = function(n) { + return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : po(n); + }, pa(e); } -function H8(e, t) { - return t && (sa(t) === "object" || typeof t == "function") ? t : ve(e); +function J8(e, t) { + return t && (pa(t) === "object" || typeof t == "function") ? t : ve(e); } -function Sa(e) { - return Sa = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { +function Oa(e) { + return Oa = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { return n.__proto__ || Object.getPrototypeOf(n); - }, Sa(e); + }, Oa(e); } function be(e, t, n) { return t in e ? Object.defineProperty(e, t, { @@ -13083,7 +13083,7 @@ function be(e, t, n) { writable: !0 }) : e[t] = n, e; } -var P8 = function(e, t, n, o, r, a, i, l) { +var e7 = 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) { @@ -13102,12 +13102,12 @@ var P8 = function(e, t, n, o, r, a, i, l) { } throw s.framesToPop = 1, s; } -}, B8 = P8; -const Eo = /* @__PURE__ */ un(B8); -function V8(e) { +}, t7 = e7; +const So = /* @__PURE__ */ dn(t7); +function n7(e) { if (Array.isArray(e)) return e; } -function $8(e, t) { +function o7(e, t) { 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) @@ -13123,22 +13123,22 @@ function $8(e, t) { } return n; } -function W8() { +function r7() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function ka(e, t) { - return V8(e) || $8(e, t) || W8(); +function Na(e, t) { + return n7(e) || o7(e, t) || r7(); } -function Z8(e, t) { +function a7(e, t) { if (e == null) return {}; 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]); return n; } -function U8(e, t) { +function i7(e, t) { if (e == null) return {}; - var n = Z8(e, t), o, r; + var n = a7(e, t), o, r; if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) @@ -13146,98 +13146,98 @@ function U8(e, t) { } return n; } -function rr(e) { +function ur(e) { "@babel/helpers - typeof"; - return rr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { + return ur = 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; - }, rr(e); + }, ur(e); } -function q8(e, t) { - if (rr(e) != "object" || !e) return e; +function l7(e, t) { + if (ur(e) != "object" || !e) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var o = n.call(e, t || "default"); - if (rr(o) != "object") return o; + if (ur(o) != "object") return o; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } -function Y8(e) { - var t = q8(e, "string"); - return rr(t) == "symbol" ? t : t + ""; +function s7(e) { + var t = l7(e, "string"); + return ur(t) == "symbol" ? t : t + ""; } -function ar(e, t, n) { - return (t = Y8(t)) in e ? Object.defineProperty(e, t, { +function dr(e, t, n) { + return (t = s7(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } -function ls(e, t) { +function fs(e, t) { (t == null || t > e.length) && (t = e.length); for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; return o; } -function G8(e) { - if (Array.isArray(e)) return ls(e); +function c7(e) { + if (Array.isArray(e)) return fs(e); } -function K8(e) { +function u7(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } -function X8(e, t) { +function d7(e, t) { if (e) { - if (typeof e == "string") return ls(e, t); + if (typeof e == "string") return fs(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) ? ls(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) ? fs(e, t) : void 0; } } -function Q8() { +function f7() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } -function gn(e) { - return G8(e) || K8(e) || X8(e) || Q8(); +function mn(e) { + return c7(e) || u7(e) || d7(e) || f7(); } -var No = function(t) { +var Io = function(t) { return t === Object(t) ? Object.keys(t) : []; -}, fd = function(t) { +}, kd = function(t) { return t === Object(t) ? Object.values(t) : []; }; -function hd(e, t) { +function _d(e, t) { var n = Object.assign({}, e); - return ca(e) && ca(t) && No(t).forEach(function(o) { - ca(t[o]) ? o in e ? n[o] = hd(e[o], t[o]) : Object.assign(n, ar({}, o, t[o])) : Object.assign(n, ar({}, o, t[o])); + return ga(e) && ga(t) && Io(t).forEach(function(o) { + ga(t[o]) ? o in e ? n[o] = _d(e[o], t[o]) : Object.assign(n, dr({}, o, t[o])) : Object.assign(n, dr({}, o, t[o])); }), n; } -var ss = function(t) { +var hs = 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 hd(a, i); + return _d(a, i); }, t); -}, J8 = function(t, n) { +}, h7 = function(t, n) { var o = Object.assign({}, t); if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; return o; -}, ca = function(t) { +}, ga = function(t) { return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, e7 = function(t) { +}, p7 = function(t) { return (t || []).filter(Boolean); -}, lc = function(t) { +}, pc = function(t) { return t[0] === "&"; -}, t7 = function(t) { - return !lc(t); -}, b2 = function(t) { +}, g7 = function(t) { + return !pc(t); +}, M2 = function(t) { return t.replace(/-(\w)/g, function(n, o) { return o.toUpperCase(); }); -}, n7 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = No(t), r = {}, a = 0, i = o.length; a < i; a += 1) { +}, m7 = function(t) { + for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Io(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 @@ -13245,20 +13245,20 @@ var ss = function(t) { s && (r[l] = t[l]); } return r; -}, pd = function(t, n) { - for (var o = n.map(b2), r = No(t), a = {}, i = 0, l = r.length; i < l; i += 1) { +}, Ad = function(t, n) { + for (var o = n.map(M2), r = Io(t), a = {}, i = 0, l = r.length; i < l; i += 1) { var s = r[i]; - (n.indexOf(s) >= 0 || o.indexOf(b2(s)) >= 0) && (a[s] = t[s]); + (n.indexOf(s) >= 0 || o.indexOf(M2(s)) >= 0) && (a[s] = t[s]); } return a; -}, o7 = function e(t, n) { - for (var o = ss.apply(void 0, [{}, J8(t, n)].concat(gn(fd(pd(t, n))))), r = No(o).filter(lc), a = 0, i = r.length; a < i; a += 1) { +}, b7 = function e(t, n) { + for (var o = hs.apply(void 0, [{}, h7(t, n)].concat(mn(kd(Ad(t, n))))), r = Io(o).filter(pc), 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 = ss({}, o, s)) : o[l] = s; + n.indexOf(l) >= 0 ? (delete o[l], o = hs({}, o, s)) : o[l] = s; } return o; }; -function y2(e, t) { +function T2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13268,49 +13268,49 @@ function y2(e, t) { } return n; } -function C2(e) { +function O2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? y2(Object(n), !0).forEach(function(o) { - ar(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(o) { + t % 2 ? T2(Object(n), !0).forEach(function(o) { + dr(e, o, n[o]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var r7 = ["animationName"], gd = function(t) { +var y7 = ["animationName"], Md = function(t) { var n = t.style, o = t.className; - return C2(C2({}, n ? { - style: n7(n, r7) + return O2(O2({}, n ? { + style: m7(n, y7) } : {}), o ? { className: o } : {}); -}, md = /* @__PURE__ */ zt(gd); -md.Provider; -var bd = function(t) { +}, Td = /* @__PURE__ */ Ht(Md); +Td.Provider; +var Od = function(t) { if (t) { if (typeof t == "string") return [t]; if (!Array.isArray(t)) { var n = t; - return No(t).reduce(function(o, r) { + return Io(t).reduce(function(o, r) { return o.concat(n[r] ? [r] : []); }, []); } } else return []; return t; -}, a7 = {}, i7 = function(t) { +}, C7 = {}, v7 = function(t) { return function(n, o) { - var r = o || a7; + var r = o || C7; 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 = bd(n).join(" "); + var i = Od(n).join(" "); return i in a ? a[i] : a[i] = t(n || [], o); }; }; -function v2(e, t) { +function N2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13320,59 +13320,59 @@ function v2(e, t) { } return n; } -function oo(e) { +function ao(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? v2(Object(n), !0).forEach(function(o) { - ar(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2(Object(n)).forEach(function(o) { + t % 2 ? N2(Object(n), !0).forEach(function(o) { + dr(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 l7 = function(t) { - var n = t && No(t)[0]; +var x7 = function(t) { + var n = t && Io(t)[0]; return n && n.split("__")[0].split("--")[0]; -}, s7 = function(t, n, o) { +}, w7 = function(t, n, o) { if (t) { - var r = t.split(" ")[0], a = [].concat(gn(n.length === 0 ? o.map(function(i) { + var r = t.split(" ")[0], a = [].concat(mn(n.length === 0 ? o.map(function(i) { return "".concat(r, "--").concat(i.substring(1)); - }) : []), gn(n.map(function(i) { + }) : []), mn(n.map(function(i) { return "".concat(r, "__").concat(i); }))); - return n.length === 0 ? [t].concat(gn(a)) : a; + return n.length === 0 ? [t].concat(mn(a)) : a; } }; -function yd(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : gd, a = n || l7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : i7(function(d, h) { - var f = bd(d); - Eo(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Eo(!h || ca(h), "Optional second parameter must be a plain object."); - var m = f.filter(lc), b = f.filter(t7), y = b.length > 0 ? function(C) { - return fd(pd(C, b)); +function Nd(e) { + var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, a = n || x7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : v7(function(d, p) { + var f = Od(d); + So(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), So(!p || ga(p), "Optional second parameter must be a plain object."); + var m = f.filter(pc), b = f.filter(g7), y = b.length > 0 ? function(C) { + return kd(Ad(C, b)); } : function(C) { return [C]; }, g = function() { var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return y(o7(S, m)); - }, x = s7(a, b, m); - return yd(oo(oo(oo({}, (t || h) && { - style: ss.apply(void 0, [{}].concat(gn(g(h)), gn(g(t)))) + return y(b7(S, m)); + }, x = w7(a, b, m); + return Nd(ao(ao(ao({}, (t || p) && { + style: hs.apply(void 0, [{}].concat(mn(g(p)), mn(g(t)))) }), x && { className: x.join(" ") }), o && { classNames: o }), r); - }), l = oo({}, typeof t == "function" ? t : { + }), l = ao({}, typeof t == "function" ? t : { style: t - }), s = gn(new Set([].concat(gn(l.className ? l.className.split(" ") : []), gn(a ? a.split(" ") : [])))), u = o ? e7(s.map(function(d) { + }), s = mn(new Set([].concat(mn(l.className ? l.className.split(" ") : []), mn(a ? a.split(" ") : [])))), u = o ? p7(s.map(function(d) { return o[d]; - })) : s, c = r(oo(oo({}, l), u.length > 0 ? { + })) : s, c = r(ao(ao({}, l), u.length > 0 ? { className: u.join(" ") } : {})); return Object.assign(i, c), i; } -function x2(e, t) { +function D2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13382,35 +13382,35 @@ function x2(e, t) { } return n; } -function Ho(e) { +function Zo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? x2(Object(n), !0).forEach(function(o) { - ar(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x2(Object(n)).forEach(function(o) { + t % 2 ? D2(Object(n), !0).forEach(function(o) { + dr(e, o, n[o]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var c7 = function() { +var E7 = 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 Ho(Ho(Ho({}, r), typeof a == "function" ? a : {}), {}, { - style: Ho(Ho({}, r.style), typeof a == "function" ? a.style : a) + return Zo(Zo(Zo({}, r), typeof a == "function" ? a : {}), {}, { + style: Zo(Zo({}, r.style), typeof a == "function" ? a.style : a) }); }, {}); -}, sc = function(t, n, o) { - var r = n.style, a = n.className, i = n.classNames, l = Je(md), s = He(function() { - return yd({ +}, gc = function(t, n, o) { + var r = n.style, a = n.className, i = n.classNames, l = Je(Td), s = Be(function() { + return Nd({ style: r, className: a, classNames: i }, l); }, [r, a, i, l]); return s(o, t); -}, cs = { exports: {} }, Vr = { exports: {} }, De = {}; +}, ps = { exports: {} }, qr = { exports: {} }, Ne = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -13419,73 +13419,73 @@ var c7 = function() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var w2; -function u7() { - if (w2) return De; - w2 = 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, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; - function C(E) { - if (typeof E == "object" && E !== null) { - var w = E.$$typeof; - switch (w) { +var L2; +function S7() { + if (L2) return Ne; + L2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; + function C(w) { + if (typeof w == "object" && w !== null) { + var E = w.$$typeof; + switch (E) { case t: - switch (E = E.type, E) { + switch (w = w.type, w) { case s: case u: case o: case a: case r: case d: - return E; + return w; default: - switch (E = E && E.$$typeof, E) { + switch (w = w && w.$$typeof, w) { case l: case c: case m: case f: case i: - return E; - default: return w; + default: + return E; } } case n: - return w; + return E; } } } - function S(E) { - return C(E) === u; - } - return De.AsyncMode = s, De.ConcurrentMode = u, De.ContextConsumer = l, De.ContextProvider = i, De.Element = t, De.ForwardRef = c, De.Fragment = o, De.Lazy = m, De.Memo = f, De.Portal = n, De.Profiler = a, De.StrictMode = r, De.Suspense = d, De.isAsyncMode = function(E) { - return S(E) || C(E) === s; - }, De.isConcurrentMode = S, De.isContextConsumer = function(E) { - return C(E) === l; - }, De.isContextProvider = function(E) { - return C(E) === i; - }, De.isElement = function(E) { - return typeof E == "object" && E !== null && E.$$typeof === t; - }, De.isForwardRef = function(E) { - return C(E) === c; - }, De.isFragment = function(E) { - return C(E) === o; - }, De.isLazy = function(E) { - return C(E) === m; - }, De.isMemo = function(E) { - return C(E) === f; - }, De.isPortal = function(E) { - return C(E) === n; - }, De.isProfiler = function(E) { - return C(E) === a; - }, De.isStrictMode = function(E) { - return C(E) === r; - }, De.isSuspense = function(E) { - return C(E) === d; - }, De.isValidElementType = function(E) { - return typeof E == "string" || typeof E == "function" || E === o || E === u || E === a || E === r || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === m || E.$$typeof === f || E.$$typeof === i || E.$$typeof === l || E.$$typeof === c || E.$$typeof === y || E.$$typeof === g || E.$$typeof === x || E.$$typeof === b); - }, De.typeOf = C, De; -} -var Ne = {}; + function S(w) { + return C(w) === u; + } + return Ne.AsyncMode = s, Ne.ConcurrentMode = u, Ne.ContextConsumer = l, Ne.ContextProvider = i, Ne.Element = t, Ne.ForwardRef = c, Ne.Fragment = o, Ne.Lazy = m, Ne.Memo = f, Ne.Portal = n, Ne.Profiler = a, Ne.StrictMode = r, Ne.Suspense = d, Ne.isAsyncMode = function(w) { + return S(w) || C(w) === s; + }, Ne.isConcurrentMode = S, Ne.isContextConsumer = function(w) { + return C(w) === l; + }, Ne.isContextProvider = function(w) { + return C(w) === i; + }, Ne.isElement = function(w) { + return typeof w == "object" && w !== null && w.$$typeof === t; + }, Ne.isForwardRef = function(w) { + return C(w) === c; + }, Ne.isFragment = function(w) { + return C(w) === o; + }, Ne.isLazy = function(w) { + return C(w) === m; + }, Ne.isMemo = function(w) { + return C(w) === f; + }, Ne.isPortal = function(w) { + return C(w) === n; + }, Ne.isProfiler = function(w) { + return C(w) === a; + }, Ne.isStrictMode = function(w) { + return C(w) === r; + }, Ne.isSuspense = function(w) { + return C(w) === d; + }, Ne.isValidElementType = function(w) { + return typeof w == "string" || typeof w == "function" || w === o || w === u || w === a || w === r || w === d || w === p || typeof w == "object" && w !== null && (w.$$typeof === m || w.$$typeof === f || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || w.$$typeof === y || w.$$typeof === g || w.$$typeof === x || w.$$typeof === b); + }, Ne.typeOf = C, Ne; +} +var De = {}; /** @license React v16.13.1 * react-is.development.js * @@ -13494,13 +13494,13 @@ var Ne = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var E2; -function d7() { - return E2 || (E2 = 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, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; +var F2; +function k7() { + return F2 || (F2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; function C(J) { return typeof J == "string" || typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - J === o || J === u || J === a || J === r || J === d || J === h || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === f || J.$$typeof === i || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); + J === o || J === u || J === a || J === r || J === d || J === p || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === f || J.$$typeof === i || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); } function S(J) { if (typeof J == "object" && J !== null) { @@ -13534,8 +13534,8 @@ function d7() { } } } - var E = s, w = u, O = l, _ = i, L = t, j = c, F = o, P = m, V = f, k = n, D = a, M = r, N = d, I = !1; - function R(J) { + var w = s, E = u, M = l, _ = i, L = t, R = c, F = o, P = m, V = f, k = n, N = a, T = r, D = d, I = !1; + function j(J) { return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(J) || S(J) === s; } function v(J) { @@ -13574,22 +13574,22 @@ function d7() { function ge(J) { return S(J) === d; } - Ne.AsyncMode = E, Ne.ConcurrentMode = w, Ne.ContextConsumer = O, Ne.ContextProvider = _, Ne.Element = L, Ne.ForwardRef = j, Ne.Fragment = F, Ne.Lazy = P, Ne.Memo = V, Ne.Portal = k, Ne.Profiler = D, Ne.StrictMode = M, Ne.Suspense = N, Ne.isAsyncMode = R, Ne.isConcurrentMode = v, Ne.isContextConsumer = z, Ne.isContextProvider = B, Ne.isElement = A, Ne.isForwardRef = W, Ne.isFragment = Y, Ne.isLazy = K, Ne.isMemo = Q, Ne.isPortal = ne, Ne.isProfiler = oe, Ne.isStrictMode = U, Ne.isSuspense = ge, Ne.isValidElementType = C, Ne.typeOf = S; - }()), Ne; + De.AsyncMode = w, De.ConcurrentMode = E, De.ContextConsumer = M, De.ContextProvider = _, De.Element = L, De.ForwardRef = R, De.Fragment = F, De.Lazy = P, De.Memo = V, De.Portal = k, De.Profiler = N, De.StrictMode = T, De.Suspense = D, De.isAsyncMode = j, De.isConcurrentMode = v, De.isContextConsumer = z, De.isContextProvider = B, De.isElement = A, De.isForwardRef = W, De.isFragment = Y, De.isLazy = K, De.isMemo = Q, De.isPortal = ne, De.isProfiler = oe, De.isStrictMode = U, De.isSuspense = ge, De.isValidElementType = C, De.typeOf = S; + }()), De; } -var S2; -function Cd() { - return S2 || (S2 = 1, process.env.NODE_ENV === "production" ? Vr.exports = u7() : Vr.exports = d7()), Vr.exports; +var j2; +function Dd() { + return j2 || (j2 = 1, process.env.NODE_ENV === "production" ? qr.exports = S7() : qr.exports = k7()), qr.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ -var ml, k2; -function f7() { - if (k2) return ml; - k2 = 1; +var vl, R2; +function _7() { + if (R2) return vl; + R2 = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; function o(a) { if (a == null) @@ -13618,39 +13618,39 @@ function f7() { return !1; } } - return ml = r() ? Object.assign : function(a, i) { + return vl = 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]]); + for (var p = 0; p < u.length; p++) + n.call(l, u[p]) && (s[u[p]] = l[u[p]]); } } return s; - }, ml; + }, vl; } -var bl, _2; -function cc() { - if (_2) return bl; - _2 = 1; +var xl, I2; +function mc() { + if (I2) return xl; + I2 = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return bl = e, bl; + return xl = e, xl; } -var yl, A2; -function vd() { - return A2 || (A2 = 1, yl = Function.call.bind(Object.prototype.hasOwnProperty)), yl; +var wl, z2; +function Ld() { + return z2 || (z2 = 1, wl = Function.call.bind(Object.prototype.hasOwnProperty)), wl; } -var Cl, M2; -function h7() { - if (M2) return Cl; - M2 = 1; +var El, H2; +function A7() { + if (H2) return El; + H2 = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = cc(), n = {}, o = vd(); + var t = mc(), n = {}, o = Ld(); e = function(a) { var i = "Warning: " + a; typeof console < "u" && console.error(i); @@ -13667,10 +13667,10 @@ function h7() { var d; try { if (typeof a[c] != "function") { - var h = Error( + var p = 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`." ); - throw h.name = "Invariant Violation", h; + throw p.name = "Invariant Violation", p; } d = a[c](i, c, s, l, null, t); } catch (m) { @@ -13690,13 +13690,13 @@ function h7() { } return r.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (n = {}); - }, Cl = r, Cl; + }, El = r, El; } -var vl, T2; -function p7() { - if (T2) return vl; - T2 = 1; - var e = Cd(), t = f7(), n = cc(), o = vd(), r = h7(), a = function() { +var Sl, P2; +function M7() { + if (P2) return Sl; + P2 = 1; + var e = Dd(), t = _7(), n = mc(), o = Ld(), r = A7(), a = function() { }; process.env.NODE_ENV !== "production" && (a = function(l) { var s = "Warning: " + l; @@ -13709,14 +13709,14 @@ function p7() { function i() { return null; } - return vl = function(l, s) { + return Sl = function(l, s) { var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator"; function d(v) { var z = v && (u && v[u] || v[c]); if (typeof z == "function") return z; } - var h = "<>", f = { + var p = "<>", f = { array: g("array"), bigint: g("bigint"), bool: g("boolean"), @@ -13728,11 +13728,11 @@ function p7() { any: x(), arrayOf: C, element: S(), - elementType: E(), - instanceOf: w, - node: j(), + elementType: w(), + instanceOf: E, + node: R(), objectOf: _, - oneOf: O, + oneOf: M, oneOfType: L, shape: P, exact: V @@ -13748,7 +13748,7 @@ function p7() { if (process.env.NODE_ENV !== "production") var z = {}, B = 0; function A(Y, K, Q, ne, oe, U, ge) { - if (ne = ne || h, U = U || Q, ge !== n) { + if (ne = ne || p, U = U || Q, ge !== n) { if (s) { var J = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" @@ -13769,9 +13769,9 @@ function p7() { } function g(v) { function z(B, A, W, Y, K, Q) { - var ne = B[A], oe = M(ne); + var ne = B[A], oe = T(ne); if (oe !== v) { - var U = N(ne); + var U = D(ne); return new b( "Invalid " + Y + " `" + K + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected ") + ("`" + v + "`."), { expectedType: v } @@ -13790,7 +13790,7 @@ function p7() { return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside arrayOf."); var Q = B[A]; if (!Array.isArray(Q)) { - var ne = M(Q); + var ne = T(Q); return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an array.")); } for (var oe = 0; oe < Q.length; oe++) { @@ -13806,35 +13806,35 @@ function p7() { function v(z, B, A, W, Y) { var K = z[B]; if (!l(K)) { - var Q = M(K); + var Q = T(K); return new b("Invalid " + W + " `" + Y + "` of type " + ("`" + Q + "` supplied to `" + A + "`, expected a single ReactElement.")); } return null; } return y(v); } - function E() { + function w() { function v(z, B, A, W, Y) { var K = z[B]; if (!e.isValidElementType(K)) { - var Q = M(K); + var Q = T(K); return new b("Invalid " + W + " `" + Y + "` of type " + ("`" + Q + "` supplied to `" + A + "`, expected a single ReactElement type.")); } return null; } return y(v); } - function w(v) { + function E(v) { function z(B, A, W, Y, K) { if (!(B[A] instanceof v)) { - var Q = v.name || h, ne = R(B[A]); + var Q = v.name || p, ne = j(B[A]); return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected ") + ("instance of `" + Q + "`.")); } return null; } return y(z); } - function O(v) { + function M(v) { if (!Array.isArray(v)) 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])." @@ -13844,7 +13844,7 @@ function p7() { if (m(Q, v[ne])) return null; var oe = JSON.stringify(v, function(ge, J) { - var ke = N(J); + var ke = D(J); return ke === "symbol" ? String(J) : J; }); return new b("Invalid " + Y + " `" + K + "` of value `" + String(Q) + "` " + ("supplied to `" + W + "`, expected one of " + oe + ".")); @@ -13855,7 +13855,7 @@ function p7() { function z(B, A, W, Y, K) { if (typeof v != "function") return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside objectOf."); - var Q = B[A], ne = M(Q); + var Q = B[A], ne = T(Q); if (ne !== "object") return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an object.")); for (var oe in Q) @@ -13890,7 +13890,7 @@ function p7() { } return y(A); } - function j() { + function R() { function v(z, B, A, W, Y) { return k(z[B]) ? null : new b("Invalid " + W + " `" + Y + "` supplied to " + ("`" + A + "`, expected a ReactNode.")); } @@ -13903,13 +13903,13 @@ function p7() { } function P(v) { function z(B, A, W, Y, K) { - var Q = B[A], ne = M(Q); + var Q = B[A], ne = T(Q); if (ne !== "object") return new b("Invalid " + Y + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); for (var oe in v) { var U = v[oe]; if (typeof U != "function") - return F(W, Y, K, oe, N(U)); + return F(W, Y, K, oe, D(U)); var ge = U(Q, oe, W, Y, K + "." + oe, n); if (ge) return ge; @@ -13920,14 +13920,14 @@ function p7() { } function V(v) { function z(B, A, W, Y, K) { - var Q = B[A], ne = M(Q); + var Q = B[A], ne = T(Q); if (ne !== "object") return new b("Invalid " + Y + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); var oe = t({}, B[A], v); for (var U in oe) { var ge = v[U]; if (o(v, U) && typeof ge != "function") - return F(W, Y, K, U, N(ge)); + return F(W, Y, K, U, D(ge)); if (!ge) return new b( "Invalid " + Y + " `" + K + "` key `" + U + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(B[A], null, " ") + ` @@ -13974,17 +13974,17 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") return !1; } } - function D(v, z) { + function N(v, z) { return v === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1; } - function M(v) { + function T(v) { var z = typeof v; - return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : D(z, v) ? "symbol" : z; + return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : N(z, v) ? "symbol" : z; } - function N(v) { + function D(v) { if (typeof v > "u" || v === null) return "" + v; - var z = M(v); + var z = T(v); if (z === "object") { if (v instanceof Date) return "date"; @@ -13994,7 +13994,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") return z; } function I(v) { - var z = N(v); + var z = D(v); switch (z) { case "array": case "object": @@ -14007,28 +14007,28 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") return z; } } - function R(v) { - return !v.constructor || !v.constructor.name ? h : v.constructor.name; + function j(v) { + return !v.constructor || !v.constructor.name ? p : v.constructor.name; } return f.checkPropTypes = r, f.resetWarningCache = r.resetWarningCache, f.PropTypes = f, f; - }, vl; + }, Sl; } -var xl, O2; -function g7() { - if (O2) return xl; - O2 = 1; - var e = cc(); +var kl, B2; +function T7() { + if (B2) return kl; + B2 = 1; + var e = mc(); function t() { } function n() { } - return n.resetWarningCache = t, xl = function() { + return n.resetWarningCache = t, kl = function() { function o(i, l, s, u, c, d) { if (d !== e) { - var h = new Error( + var p = 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; + throw p.name = "Invariant Violation", p; } } o.isRequired = o; @@ -14059,50 +14059,50 @@ function g7() { resetWarningCache: t }; return a.PropTypes = a, a; - }, xl; + }, kl; } if (process.env.NODE_ENV !== "production") { - var m7 = Cd(), b7 = !0; - cs.exports = p7()(m7.isElement, b7); + var O7 = Dd(), N7 = !0; + ps.exports = M7()(O7.isElement, N7); } else - cs.exports = g7()(); -var y7 = cs.exports; -const q = /* @__PURE__ */ un(y7); -var ua = function(t) { + ps.exports = T7()(); +var D7 = ps.exports; +const q = /* @__PURE__ */ dn(D7); +var ma = function(t) { return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); -}, on = { +}, an = { id: "__id__", display: "__display__" -}, D2 = function(t, n) { - Eo(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); - var o = t.indexOf(on.display), r = t.indexOf(on.id); - return o < 0 && (o = null), r < 0 && (r = null), Eo(o !== null || r !== null, "The markup '".concat(t, "' does not contain either of the placeholders '__id__' or '__display__'")), o !== null && r !== null ? n === "id" && r <= o || n === "display" && o <= r ? 0 : 1 : 0; -}, C7 = function(t) { +}, V2 = function(t, n) { + So(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); + var o = t.indexOf(an.display), r = t.indexOf(an.id); + return o < 0 && (o = null), r < 0 && (r = null), So(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; +}, L7 = function(t) { var n = /^\/(.+)\/(\w+)?$/; return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), a = ka(r, 3), i = a[1], l = a[2]; - return Eo(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); + var r = n.exec(o.toString()), a = Na(r, 3), i = a[1], l = a[2]; + return So(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); }).join("|"), "g"); -}, xd = function(t) { +}, Fd = function(t) { var n = 0; return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, v7 = function() { -}, Sr = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : v7, a = C7(n.map(function(E) { - return E.regex; - })), i = 2, l = n.map(function(E) { - var w = E.markup, O = i; - return i += xd(w) + 1, O; +}, F7 = function() { +}, Or = function(t, n, o) { + for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : F7, a = L7(n.map(function(w) { + return w.regex; + })), i = 2, l = n.map(function(w) { + var E = w.markup, M = i; + return i += Fd(E) + 1, M; }), s, u = 0, c = 0; (s = a.exec(t)) !== null; ) { - var d = l.find(function(E) { - return !!s[E]; - }), h = l.indexOf(d), f = n[h], m = f.markup, b = f.displayTransform, y = d + D2(m, "id"), g = d + D2(m, "display"), x = s[y], C = b(x, s[g]), S = t.substring(u, s.index); - r(S, u, c), c += S.length, o(s[0], s.index, c, x, C, h, u), c += C.length, u = a.lastIndex; + var d = l.find(function(w) { + return !!s[w]; + }), p = l.indexOf(d), f = n[p], m = f.markup, b = f.displayTransform, y = d + V2(m, "id"), g = d + V2(m, "display"), x = s[y], C = b(x, s[g]), S = t.substring(u, s.index); + r(S, u, c), c += S.length, o(s[0], s.index, c, x, C, p, u), c += C.length, u = a.lastIndex; } u < t.length && r(t.substring(u), u, c); -}, Hn = function(t, n) { +}, Pn = function(t, n) { var o = ""; - return Sr(t, n, function(r, a, i, l, s) { + return Or(t, n, function(r, a, i, l, s) { o += s; }, function(r) { o += r; @@ -14113,36 +14113,36 @@ var ua = function(t) { 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, f, m, b) { + }, l = function(u, c, d, p, f, m, b) { a === void 0 && d + f.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); }; - return Sr(t, n, l, i), a === void 0 ? t.length : a; -}, Qo = function(t, n, o, r) { + return Or(t, n, l, i), a === void 0 ? t.length : a; +}, or = function(t, n, o, r) { return t.substring(0, n) + r + t.substring(o); -}, x7 = function(t, n, o, r) { - var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Hn(t, r), u = s.length - n.length; +}, j7 = function(t, n, o, r) { + var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Pn(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 f = mt(t, r, d, "START"), m = mt(t, r, h, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, h, "NULL"), g = b === null || y === null, x = Qo(t, f, m, c); + var c = n.slice(a, l), d = Math.min(a, l), p = i; + a === l && (p = Math.max(i, a + u)); + var f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = or(t, f, m, c); if (!g) { - var C = Hn(x, r); + var C = Pn(x, r); if (C !== n) { for (d = 0; n[d] === C[d]; ) d++; - c = n.slice(d, l), h = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, h, "END"), x = Qo(t, f, m, c); + c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = or(t, f, m, c); } } return x; -}, N2 = function(t, n, o) { - var r = o, a = !1, i = function(s, u, c, d, h, f, m) { - c <= o && c + h.length > o && (r = c, a = !0); +}, $2 = function(t, n, o) { + var r = o, a = !1, i = function(s, u, c, d, p, f, m) { + c <= o && c + p.length > o && (r = c, a = !0); }; - if (Sr(t, n, i), a) + if (Or(t, n, i), a) return r; -}, qo = function(t, n) { +}, Jo = function(t, n) { var o = []; - return Sr(t, n, function(r, a, i, l, s, u, c) { + return Or(t, n, function(r, a, i, l, s, u, c) { o.push({ id: l, display: s, @@ -14151,36 +14151,36 @@ var ua = function(t) { plainTextIndex: i }); }), o; -}, wd = function(t, n) { +}, jd = function(t, n) { return "".concat(t, "-").concat(n); -}, $r = function(t) { +}, Yr = function(t) { return Object.values(t).reduce(function(n, o) { var r = o.results; return n + r.length; }, 0); -}, w7 = function(t, n) { - var o = qo(t, n), r = o[o.length - 1]; +}, R7 = function(t, n) { + var o = Jo(t, n), r = o[o.length - 1]; return r ? r.plainTextIndex + r.display.length : 0; -}, E7 = function(t) { - var n = ua(t), o = t[t.indexOf(on.display) + on.display.length], r = t[t.indexOf(on.id) + on.id.length]; - return new RegExp(n.replace(on.display, "([^".concat(ua(o || ""), "]+?)")).replace(on.id, "([^".concat(ua(r || ""), "]+?)"))); -}, An = function(t) { - return xo.toArray(t).map(function(n) { +}, I7 = function(t) { + var n = ma(t), o = t[t.indexOf(an.display) + an.display.length], r = t[t.indexOf(an.id) + an.id.length]; + return new RegExp(n.replace(an.display, "([^".concat(ma(o || ""), "]+?)")).replace(an.id, "([^".concat(ma(r || ""), "]+?)"))); +}, On = function(t) { + return wo.toArray(t).map(function(n) { var o = n.props, r = o.markup, a = o.regex, i = o.displayTransform; return { markup: r, - regex: a ? S7(a, r) : E7(r), + regex: a ? z7(a, r) : I7(r), displayTransform: i || function(l, s) { return s || l; } }; }); -}, S7 = function(t, n) { - var o = new RegExp(t.toString() + "|").exec("").length - 1, r = xd(n); - return Eo(o === r, "Number of capturing groups in RegExp ".concat(t.toString(), " (").concat(o, ") does not match the number of placeholders in the markup '").concat(n, "' (").concat(r, ")")), t; -}, k7 = function(t, n, o) { - return t.replace(on.id, n).replace(on.display, o); -}, _7 = [{ +}, z7 = function(t, n) { + var o = new RegExp(t.toString() + "|").exec("").length - 1, r = Fd(n); + return So(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; +}, H7 = function(t, n, o) { + return t.replace(an.id, n).replace(an.display, o); +}, P7 = [{ 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 }, { @@ -14450,30 +14450,30 @@ var ua = function(t) { }, { base: "z", letters: /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g -}], A7 = function(t) { +}], B7 = function(t) { var n = t; - return _7.forEach(function(o) { + return P7.forEach(function(o) { n = n.replace(o.letters, o.base); }), n; -}, L2 = function(t) { - return A7(t).toLowerCase(); -}, Ed = function(t, n, o) { - return o ? L2(t).indexOf(L2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, M7 = function() { +}, W2 = function(t) { + return B7(t).toLowerCase(); +}, Rd = function(t, n, o) { + return o ? W2(t).indexOf(W2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); +}, V7 = function() { return !!document.documentMode; -}, us = function(t) { +}, gs = function(t) { return typeof t == "number"; -}, T7 = function(t) { +}, $7 = function(t) { return t === Object(t) ? Object.keys(t) : []; -}, O7 = function(t) { +}, W7 = 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; }, {}); -}, D7 = ["style", "className", "classNames"]; -function F2(e, t) { +}, Z7 = ["style", "className", "classNames"]; +function Z2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -14483,95 +14483,95 @@ function F2(e, t) { } return n; } -function R2(e) { +function U2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? F2(Object(n), !0).forEach(function(o) { + t % 2 ? Z2(Object(n), !0).forEach(function(o) { be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F2(Object(n)).forEach(function(o) { + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -function Xa(e, t) { +function ti(e, t) { var n = function(r) { var a = function(s) { - var u = s.style, c = s.className, d = s.classNames, h = U8(s, D7), f = t ? t(h) : void 0, m = sc(e, { + var u = s.style, c = s.className, d = s.classNames, p = i7(s, Z7), f = t ? t(p) : void 0, m = gc(e, { style: u, className: c, classNames: d }, f); - return /* @__PURE__ */ $.createElement(r, It({}, h, { + return /* @__PURE__ */ $.createElement(r, It({}, p, { style: m })); }, i = r.displayName || r.name || "Component"; return a.displayName = "defaultStyle(".concat(i, ")"), /* @__PURE__ */ $.forwardRef(function(l, s) { - return a(R2(R2({}, l), {}, { + return a(U2(U2({}, l), {}, { ref: s })); }); }; return n; } -var N7 = function(t, n) { +var U7 = function(t, n) { return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; }; -function Sd(e) { +function Id(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; e.singleLine; - var s = e.style, u = ue({ + var s = e.style, u = ce({ left: void 0, top: void 0 - }), c = ka(u, 2), d = c[0], h = c[1], f = ue(), m = ka(f, 2), b = m[0], y = m[1]; - ce(function() { + }), c = Na(u, 2), d = c[0], p = c[1], f = ce(), m = Na(f, 2), b = m[0], y = m[1]; + ue(function() { g(); }); var g = function() { if (b) { - var k = b.offsetLeft, D = b.offsetTop; - if (!(d.left === k && d.top === D)) { - var M = { + var k = b.offsetLeft, N = b.offsetTop; + if (!(d.left === k && d.top === N)) { + var T = { left: k, - top: D + top: N }; - h(M), a(M); + p(T), a(T); } } - }, x = An(l), C; + }, x = On(l), C; n === t && (C = mt(r, x, t, "START")); - var S = [], E = {}, w = S, O = 0, _ = function(k, D, M) { - if (us(C) && C >= D && C <= D + k.length) { - var N = C - D; - w.push(j(k.substring(0, N), O)), w = [j(k.substring(N), O)]; + var S = [], w = {}, E = S, M = 0, _ = function(k, N, T) { + if (gs(C) && C >= N && C <= N + k.length) { + var D = C - N; + E.push(R(k.substring(0, D), M)), E = [R(k.substring(D), M)]; } else - w.push(j(k, O)); - O++; - }, L = function(k, D, M, N, I, R, v) { - var z = N7(E, N); - w.push(F(N, I, R, z)); - }, j = function(k, D) { + E.push(R(k, M)); + M++; + }, L = function(k, N, T, D, I, j, v) { + var z = U7(w, D); + E.push(F(D, I, j, z)); + }, R = function(k, N) { return /* @__PURE__ */ $.createElement("span", It({}, s("substring"), { - key: D + key: N }), k); - }, F = function(k, D, M, N) { + }, F = function(k, N, T, D) { var I = { id: k, - display: D, - key: N - }, R = xo.toArray(l)[M]; - return /* @__PURE__ */ $.cloneElement(R, I); + display: N, + key: D + }, j = wo.toArray(l)[T]; + return /* @__PURE__ */ $.cloneElement(j, I); }, P = function(k) { return /* @__PURE__ */ $.createElement("span", It({}, s("caret"), { ref: y, key: "caret" }), k); }; - return Sr(r, x, L, _), w.push(" "), w !== S && S.push(P(w)), /* @__PURE__ */ $.createElement("div", It({}, s, { + return Or(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { ref: i }), S); } -Sd.propTypes = { +Id.propTypes = { selectionStart: q.number, selectionEnd: q.number, value: q.string.isRequired, @@ -14581,7 +14581,7 @@ Sd.propTypes = { })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired }; -var L7 = Xa({ +var q7 = ti({ position: "relative", boxSizing: "border-box", width: "100%", @@ -14602,14 +14602,14 @@ var L7 = Xa({ return { "&singleLine": e.singleLine }; -}), F7 = L7(Sd); -function kd(e) { +}), Y7 = q7(Id); +function zd(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; e.className, e.classNames; var d = { onClick: a, onMouseEnter: i - }, h = function() { + }, p = function() { var y = f(), g = m(y); return s ? s(u, l, g, r, n) : g; }, f = function() { @@ -14618,16 +14618,16 @@ function kd(e) { var y = u.id, g = u.display; return y === void 0 || !g ? y : g; }, m = function(y) { - var g = Ed(y, l, o); + var g = Rd(y, l, o); return g === -1 ? /* @__PURE__ */ $.createElement("span", c("display"), y) : /* @__PURE__ */ $.createElement("span", c("display"), y.substring(0, g), /* @__PURE__ */ $.createElement("b", c("highlight"), y.substring(g, g + l.length)), y.substring(g + l.length)); }; return /* @__PURE__ */ $.createElement("li", It({ id: t, role: "option", "aria-selected": n - }, d, c), h()); + }, d, c), p()); } -kd.propTypes = { +zd.propTypes = { id: q.string.isRequired, query: q.string.isRequired, index: q.number.isRequired, @@ -14639,77 +14639,77 @@ kd.propTypes = { renderSuggestion: q.func, focused: q.bool }; -var R7 = Xa({ +var G7 = ti({ cursor: "pointer" }, function(e) { return { "&focused": e.focused }; -}), j7 = R7(kd); -function I7(e) { - var t = e.style, n = e.className, o = e.classNames, r = sc(z7, { +}), K7 = G7(zd); +function X7(e) { + var t = e.style, n = e.className, o = e.classNames, r = gc(Q7, { style: t, className: n, classNames: o }), a = r("spinner"); return /* @__PURE__ */ $.createElement("div", r, /* @__PURE__ */ $.createElement("div", a, /* @__PURE__ */ $.createElement("div", a(["element", "element1"])), /* @__PURE__ */ $.createElement("div", a(["element", "element2"])), /* @__PURE__ */ $.createElement("div", a(["element", "element3"])), /* @__PURE__ */ $.createElement("div", a(["element", "element4"])), /* @__PURE__ */ $.createElement("div", a(["element", "element5"])))); } -var z7 = {}; -function _d(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, f = e.onSelect, m = f === void 0 ? function() { +var Q7 = {}; +function Hd(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, p = e.isOpened, f = e.onSelect, m = f === void 0 ? function() { return null; - } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, E = e.onMouseEnter, w = ue(void 0), O = ka(w, 2), _ = O[0], L = O[1]; - ce(function() { + } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Na(E, 2), _ = M[0], L = M[1]; + ue(function() { if (!(!_ || _.offsetHeight >= _.scrollHeight || !c)) { - var M = _.scrollTop, N = _.children[a].getBoundingClientRect(), I = N.top, R = N.bottom, v = _.getBoundingClientRect(), z = v.top; - I = I - z + M, R = R - z + M, I < M ? _.scrollTop = I : R > _.offsetHeight && (_.scrollTop = R - _.offsetHeight); + var T = _.scrollTop, D = _.children[a].getBoundingClientRect(), I = D.top, j = D.bottom, v = _.getBoundingClientRect(), z = v.top; + I = I - z + T, j = j - z + T, I < T ? _.scrollTop = I : j > _.offsetHeight && (_.scrollTop = j - _.offsetHeight); } }, [a, c, _]); - var j = function() { - var N = /* @__PURE__ */ $.createElement("ul", It({ + var R = function() { + var D = /* @__PURE__ */ $.createElement("ul", It({ ref: L, id: t, role: "listbox", "aria-label": r - }, x("list")), Object.values(o).reduce(function(I, R) { - var v = R.results, z = R.queryInfo; - return [].concat(Ea(I), Ea(v.map(function(B, A) { + }, x("list")), Object.values(o).reduce(function(I, j) { + var v = j.results, z = j.queryInfo; + return [].concat(Ta(I), Ta(v.map(function(B, A) { return F(B, z, I.length + A); }))); }, [])); - return C ? C(N) : N; - }, F = function(N, I, R) { - var v = R === a, z = I.childIndex, B = I.query, A = xo.toArray(g)[z].props.renderSuggestion; - return /* @__PURE__ */ $.createElement(j7, { + return C ? C(D) : D; + }, F = function(D, I, j) { + var v = j === a, z = I.childIndex, B = I.query, A = wo.toArray(g)[z].props.renderSuggestion; + return /* @__PURE__ */ $.createElement(K7, { style: x("item"), - key: "".concat(z, "-").concat(D(N)), - id: wd(t, R), + key: "".concat(z, "-").concat(N(D)), + id: jd(t, j), query: B, - index: R, + index: j, ignoreAccents: b, renderSuggestion: A, - suggestion: N, + suggestion: D, focused: v, onClick: function() { - return k(N, I); + return k(D, I); }, onMouseEnter: function() { - return V(R); + return V(j); } }); }, P = function() { if (d) - return /* @__PURE__ */ $.createElement(I7, { + return /* @__PURE__ */ $.createElement(X7, { style: x("loadingIndicator") }); - }, V = function(N, I) { - E && E(N); - }, k = function(N, I) { - m(N, I); - }, D = function(N) { - return typeof N == "string" ? N : N.id; + }, V = function(D, I) { + w && w(D); + }, k = function(D, I) { + m(D, I); + }, N = function(D) { + return typeof D == "string" ? D : D.id; }; - return h ? /* @__PURE__ */ $.createElement("div", It({}, c7({ + return p ? /* @__PURE__ */ $.createElement("div", It({}, E7({ position: i || "absolute", left: l, right: s, @@ -14717,9 +14717,9 @@ function _d(e) { }, x), { onMouseDown: S, ref: y - }), j(), P()) : null; + }), R(), P()) : null; } -_d.propTypes = { +Hd.propTypes = { id: q.string.isRequired, suggestions: q.object.isRequired, a11ySuggestionsListLabel: q.string, @@ -14738,7 +14738,7 @@ _d.propTypes = { current: typeof Element > "u" ? q.any : q.instanceOf(Element) })]) }; -var H7 = Xa({ +var J7 = ti({ zIndex: 1, backgroundColor: "white", marginTop: 14, @@ -14748,8 +14748,8 @@ var H7 = Xa({ padding: 0, listStyleType: "none" } -}), P7 = H7(_d); -function j2(e, t) { +}), e9 = J7(Hd); +function q2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -14759,30 +14759,30 @@ function j2(e, t) { } return n; } -function Zt(e) { +function Ut(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? j2(Object(n), !0).forEach(function(o) { + t % 2 ? q2(Object(n), !0).forEach(function(o) { be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j2(Object(n)).forEach(function(o) { + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -function B7(e) { - var t = V7(); +function t9(e) { + var t = n9(); return function() { - var o = Sa(e), r; + var o = Oa(e), r; if (t) { - var a = Sa(this).constructor; + var a = Oa(this).constructor; r = Reflect.construct(o, arguments, a); } else r = o.apply(this, arguments); - return H8(this, r); + return J8(this, r); }; } -function V7() { +function n9() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { @@ -14792,27 +14792,27 @@ function V7() { return !1; } } -var $7 = function(t) { +var o9 = function(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (t instanceof RegExp) return t; - var o = n.allowSpaceInQuery, r = ua(t); + var o = n.allowSpaceInQuery, r = ma(t); return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, W7 = function(t, n) { +}, r9 = 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; - Ed(s, o, n) >= 0 && a.push(t[i]); + Rd(s, o, n) >= 0 && a.push(t[i]); } return a; } : t; -}, ro = { +}, io = { TAB: 9, RETURN: 13, ESC: 27, UP: 38, DOWN: 40 -}, Wr = !1, Ad = { +}, Gr = !1, Pd = { /** * If set to `true` a regular text input element will be rendered * instead of a textarea @@ -14834,21 +14834,21 @@ var $7 = function(t) { current: typeof Element > "u" ? q.any : q.instanceOf(Element) })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired -}, uc = /* @__PURE__ */ function(e) { - z8(n, e); - var t = B7(n); +}, bc = /* @__PURE__ */ function(e) { + Q8(n, e); + var t = t9(n); function n(o) { var r; - return R8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { + return G8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { r.containerElement = a; }), be(ve(r), "getInputProps", function() { - var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = O7( + var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = W7( r.props, ["style", "classNames", "className"], // substyle props - T7(Ad) + $7(Pd) ); - return Zt(Zt(Zt(Zt({}, u), s("input")), {}, { + return Ut(Ut(Ut(Ut({}, u), s("input")), {}, { value: r.getPlainText(), onScroll: r.updateHighlighterScroll }, !i && !l && { @@ -14864,7 +14864,7 @@ var $7 = function(t) { "aria-expanded": !0, "aria-autocomplete": "list", "aria-haspopup": "listbox", - "aria-activedescendant": wd(r.uuidSuggestionsOverlay, r.state.focusIndex) + "aria-activedescendant": jd(r.uuidSuggestionsOverlay, r.state.focusIndex) }); }), be(ve(r), "renderControl", function() { var a = r.props, i = a.singleLine, l = a.style, s = r.getInputProps(); @@ -14885,9 +14885,9 @@ var $7 = function(t) { }), be(ve(r), "setSuggestionsElement", function(a) { r.suggestionsElement = a; }), be(ve(r), "renderSuggestionsOverlay", function() { - if (!us(r.state.selectionStart)) + if (!gs(r.state.selectionStart)) return null; - var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(P7, { + var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(e9, { id: r.uuidSuggestionsOverlay, style: r.props.style("suggestions"), position: i, @@ -14907,12 +14907,12 @@ var $7 = function(t) { ignoreAccents: r.props.ignoreAccents, a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel }, r.props.children); - return r.props.suggestionsPortalHost ? /* @__PURE__ */ P5.createPortal(c, r.props.suggestionsPortalHost) : c; + return r.props.suggestionsPortalHost ? /* @__PURE__ */ r4.createPortal(c, r.props.suggestionsPortalHost) : c; }), be(ve(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__ */ $.createElement(F7, { + var a = r.state, i = a.selectionStart, l = a.selectionEnd, s = r.props, u = s.singleLine, c = s.children, d = s.value, p = s.style; + return /* @__PURE__ */ $.createElement(Y7, { containerRef: r.setHighlighterElement, - style: h("highlighter"), + style: p("highlighter"), value: d, singleLine: u, selectionStart: i, @@ -14926,7 +14926,7 @@ var $7 = function(t) { caretPosition: a }); }), be(ve(r), "getPlainText", function() { - return Hn(r.props.value || "", An(r.props.children)); + return Pn(r.props.value || "", On(r.props.children)); }), be(ve(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]; @@ -14939,67 +14939,67 @@ var $7 = function(t) { return (c = r.props.valueLink).requestChange.apply(c, [a.target.value].concat(l)); } }), be(ve(r), "handleChange", function(a) { - if (Wr = !1, M7()) { + if (Gr = !1, V7()) { var i = document.activeElement && document.activeElement.contentDocument || document; if (i.activeElement !== a.target) return; } - var l = r.props.value || "", s = An(r.props.children), u = a.target.value, c = r.state.selectionStart; + var l = r.props.value || "", s = On(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 = x7(l, u, { + var p = j7(l, u, { selectionStartBefore: c, selectionEndBefore: d, selectionEndAfter: a.target.selectionEnd }, s); - u = Hn(h, s); - var f = a.target.selectionStart, m = a.target.selectionEnd, b = !1, y = N2(l, s, f); + u = Pn(p, s); + var f = a.target.selectionStart, m = a.target.selectionEnd, b = !1, y = $2(l, s, f); y !== void 0 && r.state.selectionEnd > y && (f = y + (a.nativeEvent.data ? a.nativeEvent.data.length : 0), m = f, b = !0), r.setState({ selectionStart: f, selectionEnd: m, setSelectionAfterMentionChange: b }); - var g = qo(h, s); + var g = Jo(p, s); a.nativeEvent.isComposing && f === m && r.updateMentionsQueries(r.inputElement.value, f); var x = { target: { - value: h + value: p } }; - r.executeOnChange(x, h, u, g); + r.executeOnChange(x, p, u, g); }), be(ve(r), "handleSelect", function(a) { if (r.setState({ selectionStart: a.target.selectionStart, selectionEnd: a.target.selectionEnd - }), !Wr) { + }), !Gr) { 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); } }), be(ve(r), "handleKeyDown", function(a) { - var i = $r(r.state.suggestions); + var i = Yr(r.state.suggestions); if (i === 0 || !r.suggestionsElement) { r.props.onKeyDown(a); return; } - switch (Object.values(ro).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { - case ro.ESC: { + switch (Object.values(io).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { + case io.ESC: { r.clearSuggestions(); return; } - case ro.DOWN: { + case io.DOWN: { r.shiftFocus(1); return; } - case ro.UP: { + case io.UP: { r.shiftFocus(-1); return; } - case ro.RETURN: { + case io.RETURN: { r.selectFocused(); return; } - case ro.TAB: { + case io.TAB: { r.selectFocused(); return; } @@ -15007,15 +15007,15 @@ var $7 = function(t) { return; } }), be(ve(r), "shiftFocus", function(a) { - var i = $r(r.state.suggestions); + var i = Yr(r.state.suggestions); r.setState({ focusIndex: (i + r.state.focusIndex + a) % i, scrollFocusedIntoView: !0 }); }), be(ve(r), "selectFocused", function() { - var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, h) { - var f = h.results, m = h.queryInfo; - return [].concat(Ea(d), Ea(f.map(function(b) { + var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, p) { + var f = p.results, m = p.queryInfo; + return [].concat(Ta(d), Ta(f.map(function(b) { return { result: b, queryInfo: m @@ -15043,21 +15043,21 @@ var $7 = function(t) { }), be(ve(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(), f = wl(d, "font-size"), m = { - left: h.left + a.left, - top: h.top + a.top + f + var c = r.suggestionsElement, d = r.highlighterElement, p = d.getBoundingClientRect(), f = _l(d, "font-size"), m = { + left: p.left + a.left, + top: p.top + a.top + f }, b = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); if (c) { var y = {}; if (l) { y.position = "fixed"; var g = m.left, x = m.top; - g -= wl(c, "margin-left"), x -= wl(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; + g -= _l(c, "margin-left"), x -= _l(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; var C = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); g + c.offsetWidth > C ? y.left = Math.max(0, C - c.offsetWidth) : y.left = g, s && x + c.offsetHeight > b && c.offsetHeight < x - f || u ? y.top = Math.max(0, x - c.offsetHeight - f) : y.top = x; } else { - var S = a.left - d.scrollLeft, E = a.top - d.scrollTop; - S + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = S, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < h.top - f - d.scrollTop || u ? y.top = E - c.offsetHeight - f : y.top = E; + var S = a.left - d.scrollLeft, w = a.top - d.scrollTop; + S + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = S, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < p.top - f - d.scrollTop || u ? y.top = w - c.offsetHeight - f : y.top = w; } y.left === r.state.suggestionsPosition.left && y.top === r.state.suggestionsPosition.top && y.position === r.state.suggestionsPosition.position || r.setState({ suggestionsPosition: y @@ -15068,9 +15068,9 @@ var $7 = function(t) { var a = r.inputElement, i = r.highlighterElement; !a || !i || (i.scrollLeft = a.scrollLeft, i.scrollTop = a.scrollTop, i.height = a.height); }), be(ve(r), "handleCompositionStart", function() { - Wr = !0; + Gr = !0; }), be(ve(r), "handleCompositionEnd", function() { - Wr = !1; + Gr = !1; }), be(ve(r), "setSelection", function(a, i) { if (!(a === null || i === null)) { var l = r.inputElement; @@ -15085,14 +15085,14 @@ var $7 = function(t) { r._queryId++, r.suggestions = {}, r.setState({ suggestions: {} }); - var l = r.props.value || "", s = r.props.children, u = An(s), c = mt(l, u, i, "NULL"); + var l = r.props.value || "", s = r.props.children, u = On(s), c = mt(l, u, i, "NULL"); if (c !== null) { - var d = w7(l.substring(0, c), u), h = a.substring(d, i); + var d = R7(l.substring(0, c), u), p = a.substring(d, i); $.Children.forEach(s, function(f, m) { if (f) { - var b = $7(f.props.trigger, r.props), y = h.match(b); + var b = o9(f.props.trigger, r.props), y = p.match(b); if (y) { - var g = d + h.indexOf(y[1], y.index); + var g = d + p.indexOf(y[1], y.index); r.queryData(y[2], m, g, g + y[1].length, a); } } @@ -15104,11 +15104,11 @@ var $7 = function(t) { focusIndex: 0 }); }), be(ve(r), "queryData", function(a, i, l, s, u) { - var c = r.props, d = c.children, h = c.ignoreAccents, f = xo.toArray(d)[i], m = W7(f.props.data, h), b = m(a, r.updateSuggestions.bind(null, r._queryId, i, a, l, s, u)); + var c = r.props, d = c.children, p = c.ignoreAccents, f = wo.toArray(d)[i], m = r9(f.props.data, p), 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); }), be(ve(r), "updateSuggestions", function(a, i, l, s, u, c, d) { if (a === r._queryId) { - r.suggestions = Zt(Zt({}, r.suggestions), {}, be({}, i, { + r.suggestions = Ut(Ut({}, r.suggestions), {}, be({}, i, { queryInfo: { childIndex: i, query: l, @@ -15118,38 +15118,38 @@ var $7 = function(t) { }, results: d })); - var h = r.state.focusIndex, f = $r(r.suggestions); + var p = r.state.focusIndex, f = Yr(r.suggestions); r.setState({ suggestions: r.suggestions, - focusIndex: h >= f ? Math.max(f - 1, 0) : h + focusIndex: p >= f ? Math.max(f - 1, 0) : p }); } }), be(ve(r), "addMention", function(a, i) { - var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, h = i.plainTextValue, f = r.props.value || "", m = An(r.props.children), b = xo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, E = mt(f, m, c, "START"), w = E + d - c, O = k7(g, l, s); - C && (O += " "); - var _ = Qo(f, E, w, O); + var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, f = r.props.value || "", m = On(r.props.children), b = wo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(f, m, c, "START"), E = w + d - c, M = H7(g, l, s); + C && (M += " "); + var _ = or(f, w, E, M); r.inputElement.focus(); var L = x(l, s); C && (L += " "); - var j = c + L.length; + var R = c + L.length; r.setState({ - selectionStart: j, - selectionEnd: j, + selectionStart: R, + selectionEnd: R, setSelectionAfterMentionChange: !0 }); var F = { target: { value: _ } - }, P = qo(_, m), V = Qo(h, c, d, L); - r.executeOnChange(F, _, V, P), S && S(l, s, E, w), r.clearSuggestions(); + }, P = Jo(_, m), V = or(p, c, d, L); + r.executeOnChange(F, _, V, P), S && S(l, s, w, E), r.clearSuggestions(); }), be(ve(r), "isLoading", function() { var a = !1; return $.Children.forEach(r.props.children, function(i) { a = a || i && i.props.isLoading; }), a; }), be(ve(r), "isOpened", function() { - return us(r.state.selectionStart) && ($r(r.state.suggestions) !== 0 || r.isLoading()); + return gs(r.state.selectionStart) && (Yr(r.state.suggestions) !== 0 || r.isLoading()); }), be(ve(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(ve(r)), r.handleCut = r.handleCut.bind(ve(r)), r.handlePaste = r.handlePaste.bind(ve(r)), r.state = { focusIndex: 0, selectionStart: null, @@ -15160,7 +15160,7 @@ var $7 = function(t) { setSelectionAfterHandlePaste: !1 }, r; } - return I8(n, [{ + return X8(n, [{ key: "componentDidMount", value: function() { document.addEventListener("copy", this.handleCopy), document.addEventListener("cut", this.handleCut), document.addEventListener("paste", this.handlePaste), this.updateSuggestionsPosition(); @@ -15191,13 +15191,13 @@ var $7 = function(t) { 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 = An(c), h = mt(u, d, i, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = Qo(u, h, f, m || b).replace(/\r/g, ""), g = Hn(y, d), x = { - target: Zt(Zt({}, r.target), {}, { + var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.value, c = s.children, d = On(c), p = mt(u, d, i, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = or(u, p, f, m || b).replace(/\r/g, ""), g = Pn(y, d), x = { + target: Ut(Ut({}, r.target), {}, { value: y }) }; - this.executeOnChange(x, y, g, qo(y, d)); - var C = N2(u, d, i), S = (C || i) + Hn(m || b, d).length; + this.executeOnChange(x, y, g, Jo(y, d)); + var C = $2(u, d, i), S = (C || i) + Pn(m || b, d).length; this.setState({ selectionStart: S, selectionEnd: S, @@ -15208,8 +15208,8 @@ var $7 = function(t) { }, { key: "saveSelectionToClipboard", value: function(r) { - var a = this.inputElement.selectionStart, i = this.inputElement.selectionEnd, l = this.props, s = l.children, u = l.value, c = An(s), d = mt(u, c, a, "START"), h = mt(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)); + var a = this.inputElement.selectionStart, i = this.inputElement.selectionEnd, l = this.props, s = l.children, u = l.value, c = On(s), d = mt(u, c, a, "START"), p = mt(u, c, i, "END"); + r.clipboardData.setData("text/plain", r.target.value.slice(a, i)), r.clipboardData.setData("text/react-mentions", u.slice(d, p)); } }, { key: "supportsClipboardActions", @@ -15226,19 +15226,19 @@ var $7 = function(t) { 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 = An(u), h = mt(c, d, i, "START"), f = mt(c, d, l, "END"), m = [c.slice(0, h), c.slice(f)].join(""), b = Hn(m, d), y = { - target: Zt(Zt({}, r.target), {}, { + var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.children, c = s.value, d = On(u), p = mt(c, d, i, "START"), f = mt(c, d, l, "END"), m = [c.slice(0, p), c.slice(f)].join(""), b = Pn(m, d), y = { + target: Ut(Ut({}, r.target), {}, { value: b }) }; - this.executeOnChange(y, m, b, qo(c, d)); + this.executeOnChange(y, m, b, Jo(c, d)); } } // Handle input element's change event }]), n; }($.Component); -be(uc, "propTypes", Ad); -be(uc, "defaultProps", { +be(bc, "propTypes", Pd); +be(bc, "defaultProps", { ignoreAccents: !1, singleLine: !1, allowSuggestionsAboveCursor: !1, @@ -15252,10 +15252,10 @@ be(uc, "defaultProps", { return null; } }); -var wl = function(t, n) { +var _l = function(t, n) { var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); return isFinite(o) ? o : 0; -}, Z7 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), U7 = Xa({ +}, a9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), i9 = ti({ position: "relative", overflowY: "visible", input: { @@ -15272,12 +15272,12 @@ var wl = function(t, n) { letterSpacing: "inherit" }, "&multiLine": { - input: Zt({ + input: Ut({ height: "100%", bottom: 0, overflow: "hidden", resize: "none" - }, Z7 ? { + }, a9 ? { marginTop: 1, marginLeft: -3 } : null) @@ -15288,17 +15288,17 @@ var wl = function(t, n) { "&singleLine": t, "&multiLine": !t }; -}), q7 = U7(uc), Y7 = { +}), l9 = i9(bc), s9 = { fontWeight: "inherit" -}, dc = function(t) { - var n = t.display, o = t.style, r = t.className, a = t.classNames, i = sc(Y7, { +}, yc = function(t) { + var n = t.display, o = t.style, r = t.className, a = t.classNames, i = gc(s9, { style: o, className: r, classNames: a }); return /* @__PURE__ */ $.createElement("strong", i, n); }; -dc.propTypes = { +yc.propTypes = { /** * Called when a new mention is added in the input * @@ -15322,7 +15322,7 @@ dc.propTypes = { allowSpaceInQuery: q.bool, isLoading: q.bool }; -dc.defaultProps = { +yc.defaultProps = { trigger: "@", markup: "@[__display__](__id__)", displayTransform: function(t, n) { @@ -15338,7 +15338,7 @@ dc.defaultProps = { isLoading: !1, appendSpaceOnAdd: !1 }; -const G7 = { +const c9 = { "&multiLine": { minHeight: "40px" }, @@ -15368,7 +15368,7 @@ const G7 = { } } } -}, K7 = ({ +}, u9 = ({ value: e, setValue: t, users: n, @@ -15385,35 +15385,35 @@ const G7 = { }, s = (u) => { t(u.target.value); }; - return /* @__PURE__ */ p.jsx( - q7, + return /* @__PURE__ */ h.jsx( + l9, { autoFocus: !0, value: e, onChange: s, style: { - ...G7, + ...c9, minHeight: "40px", marginBottom: "10px" }, placeholder: o, className: "mentions-input", onKeyDown: i, - children: /* @__PURE__ */ p.jsx( - dc, + children: /* @__PURE__ */ h.jsx( + yc, { displayTransform: (u, c) => `@${c}`, trigger: "@", markup: "@[__id__](__display__)", data: a, appendSpaceOnAdd: !0, - renderSuggestion: (u, c) => /* @__PURE__ */ p.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), + renderSuggestion: (u, c) => /* @__PURE__ */ h.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), onAdd: l } ) } ); -}, Md = ({ +}, Bd = ({ comment: e, setComment: t, loading: n, @@ -15421,10 +15421,10 @@ const G7 = { currentUser: r, placeholder: a, onEnterKeypress: i -}) => /* @__PURE__ */ p.jsxs("div", { className: Cn.conversationInputForm, children: [ - r ? /* @__PURE__ */ p.jsx(dd, { user: r }) : null, - /* @__PURE__ */ p.jsx( - K7, +}) => /* @__PURE__ */ h.jsxs("div", { className: xn.conversationInputForm, children: [ + r ? /* @__PURE__ */ h.jsx(Sd, { user: r }) : null, + /* @__PURE__ */ h.jsx( + u9, { value: e, setValue: t, @@ -15433,15 +15433,15 @@ const G7 = { onEnterKeypress: i } ), - /* @__PURE__ */ p.jsx($a, { loading: n, color: "primary", children: /* @__PURE__ */ p.jsx(a8, {}) }) -] }), Td = ({ + /* @__PURE__ */ h.jsx(jo, { loading: n, color: "primary", children: /* @__PURE__ */ h.jsx(C8, {}) }) +] }), Vd = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { if (!e) return null; const r = o ? `${t} (${o})` : t; - return /* @__PURE__ */ p.jsx("div", { className: Cn.highlightText, children: /* @__PURE__ */ p.jsx( - Er, + return /* @__PURE__ */ h.jsx("div", { className: xn.highlightText, children: /* @__PURE__ */ h.jsx( + Tr, { code: e, language: n ? "markdown" : "sql", @@ -15450,21 +15450,21 @@ const G7 = { theme: "light" } ) }); -}, X7 = () => { - const e = je( +}, d9 = () => { + const e = Ie( (c) => c.users - ), t = je( + ), t = Ie( (c) => c.newConversation - ), n = je( + ), n = Ie( (c) => c.currentUserId ? c.users[c.currentUserId] : null - ), o = je( + ), o = Ie( (c) => c.shareId - ), r = Ht(), [a, i] = ue(!1), [l, s] = ue(""), u = async (c) => { + ), r = Pt(), [a, i] = ce(!1), [l, s] = ce(""), 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 u8( + const d = await S8( o, { ...t, @@ -15487,19 +15487,19 @@ const G7 = { } catch (d) { console.error("error while saving conversation", t, d); } - r(od()), i(!1), r(rc(!0)), r(ac()), s(""); + r(md()), i(!1), r(dc(!0)), r(fc()), s(""); } }; - return /* @__PURE__ */ p.jsx(sn, { className: Cn.newConversationForm, children: /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ p.jsx("h4", { children: "Add comment" }), - /* @__PURE__ */ p.jsx( - Td, + return /* @__PURE__ */ h.jsx(zt, { className: xn.newConversationForm, children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsxs("form", { onSubmit: u, children: [ + /* @__PURE__ */ h.jsx("h4", { children: "Add comment" }), + /* @__PURE__ */ h.jsx( + Vd, { meta: (t == null ? void 0 : t.meta) || {} } ), - /* @__PURE__ */ p.jsx( - Md, + /* @__PURE__ */ h.jsx( + Bd, { comment: l, setComment: s, @@ -15512,63 +15512,63 @@ const G7 = { ) ] }) }) }); }; -var Od = { exports: {} }; +var $d = { exports: {} }; (function(e, t) { (function(n, o) { e.exports = o(); - })(qn, function() { - var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", h = "quarter", f = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { - var D = ["th", "st", "nd", "rd"], M = k % 100; - return "[" + k + (D[(M - 20) % 10] || D[M] || D[0]) + "]"; - } }, C = function(k, D, M) { - var N = String(k); - return !N || N.length >= D ? k : "" + Array(D + 1 - N.length).join(M) + k; + })(Kn, function() { + var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", p = "quarter", f = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { + var N = ["th", "st", "nd", "rd"], T = k % 100; + return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; + } }, C = function(k, N, T) { + var D = String(k); + return !D || D.length >= N ? k : "" + Array(N + 1 - D.length).join(T) + k; }, S = { s: C, z: function(k) { - var D = -k.utcOffset(), M = Math.abs(D), N = Math.floor(M / 60), I = M % 60; - return (D <= 0 ? "+" : "-") + C(N, 2, "0") + ":" + C(I, 2, "0"); - }, m: function k(D, M) { - if (D.date() < M.date()) return -k(M, D); - var N = 12 * (M.year() - D.year()) + (M.month() - D.month()), I = D.clone().add(N, d), R = M - I < 0, v = D.clone().add(N + (R ? -1 : 1), d); - return +(-(N + (M - I) / (R ? I - v : v - I)) || 0); + var N = -k.utcOffset(), T = Math.abs(N), D = Math.floor(T / 60), I = T % 60; + return (N <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(I, 2, "0"); + }, m: function k(N, T) { + if (N.date() < T.date()) return -k(T, N); + var D = 12 * (T.year() - N.year()) + (T.month() - N.month()), I = N.clone().add(D, d), j = T - I < 0, v = N.clone().add(D + (j ? -1 : 1), d); + return +(-(D + (T - I) / (j ? I - v : v - I)) || 0); }, a: function(k) { return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); }, p: function(k) { - return { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: h }[k] || String(k || "").toLowerCase().replace(/s$/, ""); + return { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: p }[k] || String(k || "").toLowerCase().replace(/s$/, ""); }, u: function(k) { return k === void 0; - } }, E = "en", w = {}; - w[E] = x; - var O = "$isDayjsObject", _ = function(k) { - return k instanceof P || !(!k || !k[O]); - }, L = function k(D, M, N) { + } }, w = "en", E = {}; + E[w] = x; + var M = "$isDayjsObject", _ = function(k) { + return k instanceof P || !(!k || !k[M]); + }, L = function k(N, T, D) { var I; - if (!D) return E; - if (typeof D == "string") { - var R = D.toLowerCase(); - w[R] && (I = R), M && (w[R] = M, I = R); - var v = D.split("-"); + if (!N) return w; + if (typeof N == "string") { + var j = N.toLowerCase(); + E[j] && (I = j), T && (E[j] = T, I = j); + var v = N.split("-"); if (!I && v.length > 1) return k(v[0]); } else { - var z = D.name; - w[z] = D, I = z; + var z = N.name; + E[z] = N, I = z; } - return !N && I && (E = I), I || !N && E; - }, j = function(k, D) { + return !D && I && (w = I), I || !D && w; + }, R = function(k, N) { if (_(k)) return k.clone(); - var M = typeof D == "object" ? D : {}; - return M.date = k, M.args = arguments, new P(M); + var T = typeof N == "object" ? N : {}; + return T.date = k, T.args = arguments, new P(T); }, F = S; - F.l = L, F.i = _, F.w = function(k, D) { - return j(k, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset }); + F.l = L, F.i = _, F.w = function(k, N) { + return R(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); }; var P = function() { - function k(M) { - this.$L = L(M.locale, null, !0), this.parse(M), this.$x = this.$x || M.x || {}, this[O] = !0; + function k(T) { + this.$L = L(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[M] = !0; } - var D = k.prototype; - return D.parse = function(M) { - this.$d = function(N) { - var I = N.date, R = N.utc; + var N = k.prototype; + return N.parse = function(T) { + this.$d = function(D) { + var I = D.date, j = D.utc; if (I === null) return /* @__PURE__ */ new Date(NaN); if (F.u(I)) return /* @__PURE__ */ new Date(); if (I instanceof Date) return new Date(I); @@ -15576,46 +15576,46 @@ var Od = { exports: {} }; var v = I.match(y); if (v) { var z = v[2] - 1 || 0, B = (v[7] || "0").substring(0, 3); - return R ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); + return j ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); } } return new Date(I); - }(M), this.init(); - }, D.init = function() { - var M = this.$d; - this.$y = M.getFullYear(), this.$M = M.getMonth(), this.$D = M.getDate(), this.$W = M.getDay(), this.$H = M.getHours(), this.$m = M.getMinutes(), this.$s = M.getSeconds(), this.$ms = M.getMilliseconds(); - }, D.$utils = function() { + }(T), this.init(); + }, N.init = function() { + var T = this.$d; + this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds(); + }, N.$utils = function() { return F; - }, D.isValid = function() { + }, N.isValid = function() { return this.$d.toString() !== b; - }, D.isSame = function(M, N) { - var I = j(M); - return this.startOf(N) <= I && I <= this.endOf(N); - }, D.isAfter = function(M, N) { - return j(M) < this.startOf(N); - }, D.isBefore = function(M, N) { - return this.endOf(N) < j(M); - }, D.$g = function(M, N, I) { - return F.u(M) ? this[N] : this.set(I, M); - }, D.unix = function() { + }, N.isSame = function(T, D) { + var I = R(T); + return this.startOf(D) <= I && I <= this.endOf(D); + }, N.isAfter = function(T, D) { + return R(T) < this.startOf(D); + }, N.isBefore = function(T, D) { + return this.endOf(D) < R(T); + }, N.$g = function(T, D, I) { + return F.u(T) ? this[D] : this.set(I, T); + }, N.unix = function() { return Math.floor(this.valueOf() / 1e3); - }, D.valueOf = function() { + }, N.valueOf = function() { return this.$d.getTime(); - }, D.startOf = function(M, N) { - var I = this, R = !!F.u(N) || N, v = F.p(M), z = function(oe, U) { + }, N.startOf = function(T, D) { + var I = this, j = !!F.u(D) || D, v = F.p(T), z = function(oe, U) { var ge = F.w(I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I); - return R ? ge : ge.endOf(u); + return j ? ge : ge.endOf(u); }, B = function(oe, U) { - return F.w(I.toDate()[oe].apply(I.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); + return F.w(I.toDate()[oe].apply(I.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); }, A = this.$W, W = this.$M, Y = this.$D, K = "set" + (this.$u ? "UTC" : ""); switch (v) { case f: - return R ? z(1, 0) : z(31, 11); + return j ? z(1, 0) : z(31, 11); case d: - return R ? z(1, W) : z(0, W + 1); + return j ? z(1, W) : z(0, W + 1); case c: var Q = this.$locale().weekStart || 0, ne = (A < Q ? A + 7 : A) - Q; - return z(R ? Y - ne : Y + (6 - ne), W); + return z(j ? Y - ne : Y + (6 - ne), W); case u: case m: return B(K + "Hours", 0); @@ -15628,52 +15628,52 @@ var Od = { exports: {} }; default: return this.clone(); } - }, D.endOf = function(M) { - return this.startOf(M, !1); - }, D.$set = function(M, N) { - var I, R = F.p(M), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[f] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[i] = v + "Seconds", I[a] = v + "Milliseconds", I)[R], B = R === u ? this.$D + (N - this.$W) : N; - if (R === d || R === f) { + }, N.endOf = function(T) { + return this.startOf(T, !1); + }, N.$set = function(T, D) { + var I, j = F.p(T), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[f] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[i] = v + "Seconds", I[a] = v + "Milliseconds", I)[j], B = j === u ? this.$D + (D - this.$W) : D; + if (j === d || j === f) { var A = this.clone().set(m, 1); A.$d[z](B), A.init(), this.$d = A.set(m, Math.min(this.$D, A.daysInMonth())).$d; } else z && this.$d[z](B); return this.init(), this; - }, D.set = function(M, N) { - return this.clone().$set(M, N); - }, D.get = function(M) { - return this[F.p(M)](); - }, D.add = function(M, N) { - var I, R = this; - M = Number(M); - var v = F.p(N), z = function(W) { - var Y = j(R); - return F.w(Y.date(Y.date() + Math.round(W * M)), R); + }, N.set = function(T, D) { + return this.clone().$set(T, D); + }, N.get = function(T) { + return this[F.p(T)](); + }, N.add = function(T, D) { + var I, j = this; + T = Number(T); + var v = F.p(D), z = function(W) { + var Y = R(j); + return F.w(Y.date(Y.date() + Math.round(W * T)), j); }; - if (v === d) return this.set(d, this.$M + M); - if (v === f) return this.set(f, this.$y + M); + if (v === d) return this.set(d, this.$M + T); + if (v === f) return this.set(f, this.$y + T); if (v === u) return z(1); if (v === c) return z(7); - var B = (I = {}, I[l] = o, I[s] = r, I[i] = n, I)[v] || 1, A = this.$d.getTime() + M * B; + var B = (I = {}, I[l] = o, I[s] = r, I[i] = n, I)[v] || 1, A = this.$d.getTime() + T * B; return F.w(A, this); - }, D.subtract = function(M, N) { - return this.add(-1 * M, N); - }, D.format = function(M) { - var N = this, I = this.$locale(); + }, N.subtract = function(T, D) { + return this.add(-1 * T, D); + }, N.format = function(T) { + var D = this, I = this.$locale(); if (!this.isValid()) return I.invalidDate || b; - var R = M || "YYYY-MM-DDTHH:mm:ssZ", v = F.z(this), z = this.$H, B = this.$m, A = this.$M, W = I.weekdays, Y = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { - return U && (U[ge] || U(N, R)) || J[ge].slice(0, ke); + var j = T || "YYYY-MM-DDTHH:mm:ssZ", v = F.z(this), z = this.$H, B = this.$m, A = this.$M, W = I.weekdays, Y = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { + return U && (U[ge] || U(D, j)) || J[ge].slice(0, ke); }, ne = function(U) { return F.s(z % 12 || 12, U, "0"); }, oe = K || function(U, ge, J) { var ke = U < 12 ? "AM" : "PM"; return J ? ke.toLowerCase() : ke; }; - return R.replace(g, function(U, ge) { + return j.replace(g, function(U, ge) { return ge || function(J) { switch (J) { case "YY": - return String(N.$y).slice(-2); + return String(D.$y).slice(-2); case "YYYY": - return F.s(N.$y, 4, "0"); + return F.s(D.$y, 4, "0"); case "M": return A + 1; case "MM": @@ -15683,17 +15683,17 @@ var Od = { exports: {} }; case "MMMM": return Q(Y, A); case "D": - return N.$D; + return D.$D; case "DD": - return F.s(N.$D, 2, "0"); + return F.s(D.$D, 2, "0"); case "d": - return String(N.$W); + return String(D.$W); case "dd": - return Q(I.weekdaysMin, N.$W, W, 2); + return Q(I.weekdaysMin, D.$W, W, 2); case "ddd": - return Q(I.weekdaysShort, N.$W, W, 3); + return Q(I.weekdaysShort, D.$W, W, 3); case "dddd": - return W[N.$W]; + return W[D.$W]; case "H": return String(z); case "HH": @@ -15711,148 +15711,148 @@ var Od = { exports: {} }; case "mm": return F.s(B, 2, "0"); case "s": - return String(N.$s); + return String(D.$s); case "ss": - return F.s(N.$s, 2, "0"); + return F.s(D.$s, 2, "0"); case "SSS": - return F.s(N.$ms, 3, "0"); + return F.s(D.$ms, 3, "0"); case "Z": return v; } return null; }(U) || v.replace(":", ""); }); - }, D.utcOffset = function() { + }, N.utcOffset = function() { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, D.diff = function(M, N, I) { - var R, v = this, z = F.p(N), B = j(M), A = (B.utcOffset() - this.utcOffset()) * o, W = this - B, Y = function() { + }, N.diff = function(T, D, I) { + var j, v = this, z = F.p(D), B = R(T), A = (B.utcOffset() - this.utcOffset()) * o, W = this - B, Y = function() { return F.m(v, B); }; switch (z) { case f: - R = Y() / 12; + j = Y() / 12; break; case d: - R = Y(); + j = Y(); break; - case h: - R = Y() / 3; + case p: + j = Y() / 3; break; case c: - R = (W - A) / 6048e5; + j = (W - A) / 6048e5; break; case u: - R = (W - A) / 864e5; + j = (W - A) / 864e5; break; case s: - R = W / r; + j = W / r; break; case l: - R = W / o; + j = W / o; break; case i: - R = W / n; + j = W / n; break; default: - R = W; + j = W; } - return I ? R : F.a(R); - }, D.daysInMonth = function() { + return I ? j : F.a(j); + }, N.daysInMonth = function() { return this.endOf(d).$D; - }, D.$locale = function() { - return w[this.$L]; - }, D.locale = function(M, N) { - if (!M) return this.$L; - var I = this.clone(), R = L(M, N, !0); - return R && (I.$L = R), I; - }, D.clone = function() { + }, N.$locale = function() { + return E[this.$L]; + }, N.locale = function(T, D) { + if (!T) return this.$L; + var I = this.clone(), j = L(T, D, !0); + return j && (I.$L = j), I; + }, N.clone = function() { return F.w(this.$d, this); - }, D.toDate = function() { + }, N.toDate = function() { return new Date(this.valueOf()); - }, D.toJSON = function() { + }, N.toJSON = function() { return this.isValid() ? this.toISOString() : null; - }, D.toISOString = function() { + }, N.toISOString = function() { return this.$d.toISOString(); - }, D.toString = function() { + }, N.toString = function() { return this.$d.toUTCString(); }, k; }(), V = P.prototype; - return j.prototype = V, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", f], ["$D", m]].forEach(function(k) { - V[k[1]] = function(D) { - return this.$g(D, k[0], k[1]); + return R.prototype = V, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", f], ["$D", m]].forEach(function(k) { + V[k[1]] = function(N) { + return this.$g(N, k[0], k[1]); }; - }), j.extend = function(k, D) { - return k.$i || (k(D, P, j), k.$i = !0), j; - }, j.locale = L, j.isDayjs = _, j.unix = function(k) { - return j(1e3 * k); - }, j.en = w[E], j.Ls = w, j.p = {}, j; + }), R.extend = function(k, N) { + return k.$i || (k(N, P, R), k.$i = !0), R; + }, R.locale = L, R.isDayjs = _, R.unix = function(k) { + return R(1e3 * k); + }, R.en = E[w], R.Ls = E, R.p = {}, R; }); -})(Od); -var Q7 = Od.exports; -const ds = /* @__PURE__ */ un(Q7), J7 = ({ +})($d); +var f9 = $d.exports; +const ms = /* @__PURE__ */ dn(f9), h9 = ({ conversationGroupId: e, shareId: t }) => { - const { onResolve: n, source: o } = ir(), [r, a] = ue(!1), i = async () => { - e && (a(!0), await p8(t, e, o), n(), a(!1)); + const { onResolve: n, source: o } = fr(), [r, a] = ce(!1), i = async () => { + e && (a(!0), await M8(t, e, o), n(), a(!1)); }; - return e ? /* @__PURE__ */ p.jsx( - Wn, + return e ? /* @__PURE__ */ h.jsx( + qn, { disabled: r, - className: Cn.resolveButton, + className: xn.resolveButton, title: "Resolve conversation", onClick: i, - children: /* @__PURE__ */ p.jsx(t8, {}) + children: /* @__PURE__ */ h.jsx(g8, {}) } ) : null; -}, Dd = ({ +}, Wd = ({ user: e, timestamp: t, showResolveButton: n, conversationGroupId: o, shareId: r -}) => /* @__PURE__ */ p.jsxs(wr, { className: "d-flex align-items-center justify-content-between mb-0", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ - /* @__PURE__ */ p.jsx(dd, { user: e }), - /* @__PURE__ */ p.jsxs("h4", { children: [ +}) => /* @__PURE__ */ h.jsxs(Fo, { className: "d-flex align-items-center justify-content-between mb-0", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ + /* @__PURE__ */ h.jsx(Sd, { user: e }), + /* @__PURE__ */ h.jsxs("h4", { children: [ e == null ? void 0 : e.first_name, " ", e == null ? void 0 : e.last_name ] }), - /* @__PURE__ */ p.jsx("span", { children: ds(t).format("HH:mm, DD MMM YY") }) + /* @__PURE__ */ h.jsx("span", { children: ms(t).format("HH:mm, DD MMM YY") }) ] }), - n ? /* @__PURE__ */ p.jsx( - J7, + n ? /* @__PURE__ */ h.jsx( + h9, { conversationGroupId: o, shareId: r } ) : null -] }), e9 = ({ conversation: e, shareId: t }) => { - const { users: n } = ir(), o = He(() => { +] }), p9 = ({ conversation: e, shareId: t }) => { + const { users: n } = fr(), o = Be(() => { if (e != null && e.user_id) return n[e.user_id]; }, [e.user_id, n]); - return /* @__PURE__ */ p.jsxs(sn, { children: [ - /* @__PURE__ */ p.jsx( - Dd, + return /* @__PURE__ */ h.jsxs(zt, { children: [ + /* @__PURE__ */ h.jsx( + Wd, { user: o, timestamp: e.timestamp, shareId: t } ), - /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) + /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) ] }); -}, t9 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: a } = ir(), i = Object.values(o), [l, s] = ue(""), [u, c] = ue(!1), d = async (h) => { - if (h == null || h.stopPropagation(), h == null || h.preventDefault(), !(!t || !e)) { +}, g9 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: a } = fr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { + if (p == null || p.stopPropagation(), p == null || p.preventDefault(), !(!t || !e)) { c(!0), console.log("saving reply", t, e, { message: l }); try { - await d8( + await k8( t, e, { @@ -15866,8 +15866,8 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ c(!1), s(""); } }; - return /* @__PURE__ */ p.jsx("div", { className: Cn.replyForm, children: /* @__PURE__ */ p.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ p.jsx( - Md, + return /* @__PURE__ */ h.jsx("div", { className: xn.replyForm, children: /* @__PURE__ */ h.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ h.jsx( + Bd, { comment: l, setComment: s, @@ -15877,16 +15877,16 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ onEnterKeypress: d } ) }) }); -}, n9 = ({ +}, m9 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { - var h; - const { users: o } = ir(), r = He(() => { + var p; + const { users: o } = fr(), r = Be(() => { if (e.owner) return o[e.owner]; - }, [e.owner, o]), { isSelected: a } = ir(), [i, l] = ue(!1), s = Me( + }, [e.owner, o]), { isSelected: a } = fr(), [i, l] = ce(!1), s = Me( (f) => { !a || !f || (console.log( "ConversationGroupComponent scrolling", @@ -15900,12 +15900,12 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ }, [e.conversation_group_id, a] ); - if (!((h = e == null ? void 0 : e.conversations) != null && h.length) || (e == null ? void 0 : e.status) !== "Pending") + if (!((p = e == null ? void 0 : e.conversations) != null && p.length) || (e == null ? void 0 : e.status) !== "Pending") return null; const [u, ...c] = e.conversations, d = c.length ? c.length > 1 ? `${c.length} replies` : `${c.length} reply` : "Reply"; - return /* @__PURE__ */ p.jsx("div", { ref: s, className: Cn.conversationGroup, children: /* @__PURE__ */ p.jsxs(sn, { className: `${a ? "active" : ""}`, onClick: n, children: [ - /* @__PURE__ */ p.jsx( - Dd, + return /* @__PURE__ */ h.jsx("div", { ref: s, className: xn.conversationGroup, children: /* @__PURE__ */ h.jsxs(zt, { className: `${a ? "active" : ""}`, onClick: n, children: [ + /* @__PURE__ */ h.jsx( + Wd, { user: r, timestamp: u.timestamp, @@ -15914,20 +15914,20 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ shareId: t } ), - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx(Td, { meta: e.meta }), - /* @__PURE__ */ p.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ p.jsx($e, { onClick: () => l((f) => !f), color: "link", children: d }), - c.length ? /* @__PURE__ */ p.jsx(p.Fragment, { children: i ? /* @__PURE__ */ p.jsx(p.Fragment, { children: c.map((f) => /* @__PURE__ */ p.jsx( - e9, + /* @__PURE__ */ h.jsxs(un, { children: [ + /* @__PURE__ */ h.jsx(Vd, { meta: e.meta }), + /* @__PURE__ */ h.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), + /* @__PURE__ */ h.jsx(Re, { onClick: () => l((f) => !f), color: "link", children: d }), + c.length ? /* @__PURE__ */ h.jsx(h.Fragment, { children: i ? /* @__PURE__ */ h.jsx(h.Fragment, { children: c.map((f) => /* @__PURE__ */ h.jsx( + p9, { conversation: f, shareId: t }, f.conversation_id )) }) : null }) : null, - i ? /* @__PURE__ */ p.jsx( - t9, + i ? /* @__PURE__ */ h.jsx( + g9, { conversationGroupId: e.conversation_group_id, shareId: t @@ -15935,7 +15935,7 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ ) : null ] }) ] }) }); -}, Nd = zt({ +}, Zd = Ht({ users: {}, conversationGroup: void 0, currentUser: void 0, @@ -15944,8 +15944,8 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ onSelect: () => null, onResolve: () => null, onReplyAdd: () => null, - source: Gs.DBT_DOCS -}), o9 = ({ + source: nc.DBT_DOCS +}), b9 = ({ currentUser: e, conversationGroup: t, shareId: n, @@ -15956,7 +15956,7 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ onReplyAdd: l, source: s }) => { - const u = He( + const u = Be( () => ({ currentUser: e, conversationGroup: t, @@ -15980,39 +15980,39 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ s ] ); - return !t || !n ? null : /* @__PURE__ */ p.jsx(Nd.Provider, { value: u, children: /* @__PURE__ */ p.jsx( - n9, + return !t || !n ? null : /* @__PURE__ */ h.jsx(Zd.Provider, { value: u, children: /* @__PURE__ */ h.jsx( + m9, { conversationGroup: t, shareId: n, onSelect: o } ) }); -}, ir = () => Je(Nd), r9 = () => { - const e = je( +}, fr = () => Je(Zd), y9 = () => { + const e = Ie( (d) => d.source - ), t = je( + ), t = Ie( (d) => d.conversations - ), n = je( + ), n = Ie( (d) => d.selectedConversationId - ), o = je( + ), o = Ie( (d) => d.shareId - ), r = je( + ), r = Ie( (d) => d.users - ), a = je( + ), a = Ie( (d) => d.currentUserId - ), i = Ht(); + ), i = Pt(); if (!a || !o) return null; const l = r[a], s = (d) => { - i(I6({ shareId: o, conversationGroupId: d })); + i(X6({ shareId: o, conversationGroupId: d })); }, u = (d) => { - i(oc(d)); + i(uc(d)); }, c = (d) => { - console.log("onReplyAdd", d), i(od()); + console.log("onReplyAdd", d), i(md()); }; - return !t || !Object.keys(t).length ? /* @__PURE__ */ p.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ p.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ p.jsx( - o9, + return !t || !Object.keys(t).length ? /* @__PURE__ */ h.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ h.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ h.jsx( + b9, { conversationGroup: d, shareId: o, @@ -16026,174 +16026,174 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ }, d.conversation_group_id )) }); -}, a9 = () => { - const e = je( +}, C9 = () => { + const e = Ie( (i) => i.isRightPanelOpen - ), t = je( + ), t = Ie( (i) => i.selectedConversationId - ), n = je( + ), n = Ie( (i) => i.newConversation - ), o = Ht(), r = () => { - o(rc(!1)), o(oc(void 0)), o(ac()); + ), o = Pt(), r = () => { + o(dc(!1)), o(uc(void 0)), o(fc()); }; - return !!n || e || t ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - _5, + return !!n || e || t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx( + V5, { onClick: r, - className: Cn.conversationRightPanelCloseButton + className: xn.conversationRightPanelCloseButton } ), - /* @__PURE__ */ p.jsxs("div", { className: Cn.conversationRightPanel, children: [ - /* @__PURE__ */ p.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ p.jsx(X7, {}) : /* @__PURE__ */ p.jsx(r9, {}) + /* @__PURE__ */ h.jsxs("div", { className: xn.conversationRightPanel, children: [ + /* @__PURE__ */ h.jsx("h3", { children: "Comments" }), + n ? /* @__PURE__ */ h.jsx(d9, {}) : /* @__PURE__ */ h.jsx(y9, {}) ] }) ] }) : null; -}, i9 = 10, l9 = () => { - const e = he(), t = je( +}, v9 = 10, x9 = () => { + const e = he(), t = Ie( (i) => i.shareId - ), n = je( + ), n = Ie( (i) => i.conversationsLoadingState - ), o = Ht(), r = je( + ), o = Pt(), r = Ie( (i) => Object.keys(i.conversations || {}) ), a = Me( (i) => { - clearTimeout(e.current), f8(i).then((l) => { - console.log("useConversations", l), o(j6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { + clearTimeout(e.current), _8(i).then((l) => { + console.log("useConversations", l), o(K6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { a(i); - }, i9 * 1e3); + }, v9 * 1e3); }).catch( (l) => console.error("error while fetching conversations list", l) ).finally(() => { - o(p2(Ft.INITIALIZED)); + o(S2(jt.INITIALIZED)); }); }, [o] ); - return ce(() => { - n !== Ft.UNINITIALIZED || !t || (o(p2(Ft.LOADING)), a(t)); - }, [o, n, r, t, a]), { isLoading: n === Ft.LOADING }; -}, s9 = () => { - const e = Ht(), t = je( + return ue(() => { + n !== jt.UNINITIALIZED || !t || (o(S2(jt.LOADING)), a(t)); + }, [o, n, r, t, a]), { isLoading: n === jt.LOADING }; +}, w9 = () => { + const e = Pt(), t = Ie( (r) => Object.keys(r.users || {}) - ), [n, o] = ue(Ft.UNINITIALIZED); - return ce(() => { - n !== Ft.UNINITIALIZED || Object.keys(t).length || (o(Ft.LOADING), h8().then((r) => { - console.log("useConversationUsers", r), e(R6(r)); + ), [n, o] = ce(jt.UNINITIALIZED); + return ue(() => { + n !== jt.UNINITIALIZED || Object.keys(t).length || (o(jt.LOADING), A8().then((r) => { + console.log("useConversationUsers", r), e(G6(r)); }).catch((r) => console.error("error while fetching users list", r)).finally(() => { - o(Ft.INITIALIZED); + o(jt.INITIALIZED); })); - }, [e, n, t]), { isLoading: n === Ft.LOADING }; -}, c9 = () => (s9(), l9(), /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx(a9, {}), - /* @__PURE__ */ p.jsx(y8, {}) -] })), Ld = ({ target: e, ...t }) => Jn( - /* @__PURE__ */ p.jsx( - Wn, + }, [e, n, t]), { isLoading: n === jt.LOADING }; +}, E9 = () => (w9(), x9(), /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx(C9, {}), + /* @__PURE__ */ h.jsx(D8, {}) +] })), Ud = ({ target: e, ...t }) => Rn( + /* @__PURE__ */ h.jsx( + qn, { - className: Cn.hotspotButton, + className: xn.hotspotButton, title: "Click to start conversation", ...t, - children: /* @__PURE__ */ p.jsx(ld, {}) + children: /* @__PURE__ */ h.jsx(vd, {}) } ), e -), u9 = () => { +), S9 = () => { var s; - const e = Ht(), t = je( + const e = Pt(), t = Ie( (u) => u.codeblockLoaded - ), n = je( + ), n = Ie( (u) => u.manifest - ), [o, r] = ue(0), a = (s = Xs()) == null ? void 0 : s.parentElement, i = () => { - var h; + ), [o, r] = ce(0), a = (s = rc()) == null ? void 0 : s.parentElement, i = () => { + var p; if (!a || !n.nodes) return; - const u = Qs(); + const u = ac(); 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(` + highlight: ((p = n.nodes[u[2]]) == null ? void 0 : p.raw_code).split(` `)[o], range: { end: { line: o, character: 0 }, start: { line: o, character: 0 } } }; - e(ic({ meta: d })); + e(hc({ meta: d })); }, l = Me( (u) => { if (!a) return; const c = u.y, d = a.querySelectorAll( ".line-numbers-rows > span" - ), h = Array.from(d).findIndex((f) => { + ), p = Array.from(d).findIndex((f) => { const { height: m, y: b } = f.getBoundingClientRect(); return c >= b && c <= b + m; }); - r(h); + r(p); }, [a] ); - return ce(() => { + return ue(() => { if (!(!t || !a)) return a.addEventListener("mousemove", l), () => { a.removeEventListener("mousemove", l); }; - }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ p.jsx( - Ld, + }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ h.jsx( + Ud, { target: a, onClick: i, style: { top: o * 21.2 } } ); -}, d9 = () => { - const e = Ht(), t = je( +}, k9 = () => { + const e = Pt(), t = Ie( (r) => r.codeblockLoaded - ), n = Js(), o = () => { + ), n = ic(), o = () => { const r = { field: "description", highlight: n == null ? void 0 : n.innerText }; - e(ic({ meta: r })); + e(hc({ meta: r })); }; - return !t || !n ? null : /* @__PURE__ */ p.jsx(Ld, { target: n, onClick: o }); -}, f9 = () => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx(d9, {}), - /* @__PURE__ */ p.jsx(u9, {}) -] }), h9 = z5(() => import("./DbtDocsRenderer.js")), p9 = () => { - const { loading: e, shareDetails: t } = g8(), n = Ht(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = m8(), i = (l) => { + return !t || !n ? null : /* @__PURE__ */ h.jsx(Ud, { target: n, onClick: o }); +}, _9 = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx(k9, {}), + /* @__PURE__ */ h.jsx(S9, {}) +] }), A9 = n4(() => import("./DbtDocsRenderer.js")), M9 = () => { + const { loading: e, shareDetails: t } = T8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = O8(), i = (l) => { l.stopPropagation(); const s = o(); - s && n(ic(s)); + s && n(hc(s)); }; - return e ? /* @__PURE__ */ p.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ p.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ - /* @__PURE__ */ p.jsx(f9, {}), - /* @__PURE__ */ p.jsx(s8, {}) + return e ? /* @__PURE__ */ h.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ h.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ + /* @__PURE__ */ h.jsx(_9, {}), + /* @__PURE__ */ h.jsx(w8, {}) ] }), - /* @__PURE__ */ p.jsx(c9, {}), - /* @__PURE__ */ p.jsx( - h9, + /* @__PURE__ */ h.jsx(E9, {}), + /* @__PURE__ */ h.jsx( + A9, { shareDetails: t, onSelectionEnd: a } ), - r ? /* @__PURE__ */ p.jsx(l8, { pos: r, onAddComment: i }) : null + r ? /* @__PURE__ */ h.jsx(x8, { pos: r, onAddComment: i }) : null ] }); -}, Q_ = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ p.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ p.jsx( - H6, +}, dA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ h.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ h.jsx( + J6, { shareId: e, userId: t, conversationGroupId: n, source: o, - children: /* @__PURE__ */ p.jsx(p9, {}) + children: /* @__PURE__ */ h.jsx(M9, {}) } -) }), g9 = { +) }), T9 = { selectedTable: "", moreTables: {}, sidebarScreen: "", @@ -16217,9 +16217,9 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ nodeSavingsPerformance: {}, nodesCost: {}, errors: {} -}, _a = nc({ +}, Da = cc({ name: "lineageState", - initialState: g9, + initialState: T9, reducers: { setAllowSyncColumnsWithDB: (e, t) => { e.allowSyncColumnsWithDB = t.payload; @@ -16328,35 +16328,35 @@ const ds = /* @__PURE__ */ un(Q7), J7 = ({ } } }), { - setSelectedTable: Kn, - setMoreTables: fc, - mergeSeeMoreTables: hc, - setSidebarScreen: an, - setSelectedColumn: Bn, - setCollectColumns: lr, - mergeCollectColumns: pc, - setConfidence: m9, - updateConfidenceWithOperatorList: gc, - setLeftExpansion: El, - setRightExpansion: Sl, - setMinRange: sr, - setNodeCount: So, - setSelectCheck: Fd, - setNonSelectCheck: Rd, - setDefaultExpansion: jd, - setAiEnabled: b9, - setModalArgs: ko, - setTheme: y9, - setLineageType: J_, - setStaticLineage: eA, - setAllowSyncColumnsWithDB: tA, - setSqlLineageDetails: C9, - setHighlightedNodes: v9, - setSelectedNode: x9, - setNodesSavingsPerformance: w9, - setNodesCost: E9, - setErrors: mc -} = _a.actions; + setSelectedTable: Jn, + setMoreTables: Cc, + mergeSeeMoreTables: vc, + setSidebarScreen: Gt, + setSelectedColumn: Wn, + setCollectColumns: hr, + mergeCollectColumns: xc, + setConfidence: O9, + updateConfidenceWithOperatorList: wc, + setLeftExpansion: Al, + setRightExpansion: Ml, + setMinRange: pr, + setNodeCount: ko, + setSelectCheck: qd, + setNonSelectCheck: Yd, + setDefaultExpansion: Gd, + setAiEnabled: N9, + setModalArgs: _o, + setTheme: D9, + setLineageType: fA, + setStaticLineage: hA, + setAllowSyncColumnsWithDB: pA, + setSqlLineageDetails: L9, + setHighlightedNodes: F9, + setSelectedNode: j9, + setNodesSavingsPerformance: R9, + setNodesCost: I9, + setErrors: Ec +} = Da.actions; function bt(e) { if (typeof e == "string" || typeof e == "number") return "" + e; let t = ""; @@ -16368,7 +16368,7 @@ function bt(e) { e[n] && (t += (t && " ") + n); return t; } -var fs = { exports: {} }, kl = {}, Zr = { exports: {} }, _l = {}; +var bs = { exports: {} }, Tl = {}, Kr = { exports: {} }, Ol = {}; /** * @license React * use-sync-external-store-shim.production.min.js @@ -16378,42 +16378,42 @@ var fs = { exports: {} }, kl = {}, Zr = { exports: {} }, _l = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var I2; -function S9() { - if (I2) return _l; - I2 = 1; +var Y2; +function z9() { + if (Y2) return Ol; + Y2 = 1; var e = $; - function t(d, h) { - return d === h && (d !== 0 || 1 / d === 1 / h) || d !== d && h !== h; + function t(d, p) { + return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p; } 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 f = h(), m = o({ inst: { value: f, getSnapshot: h } }), b = m[0].inst, y = m[1]; + function l(d, p) { + var f = p(), m = o({ inst: { value: f, getSnapshot: p } }), b = m[0].inst, y = m[1]; return a(function() { - b.value = f, b.getSnapshot = h, s(b) && y({ inst: b }); - }, [d, f, h]), r(function() { + b.value = f, b.getSnapshot = p, s(b) && y({ inst: b }); + }, [d, f, p]), r(function() { return s(b) && y({ inst: b }), d(function() { s(b) && y({ inst: b }); }); }, [d]), i(f), f; } function s(d) { - var h = d.getSnapshot; + var p = d.getSnapshot; d = d.value; try { - var f = h(); + var f = p(); return !n(d, f); } catch { return !0; } } - function u(d, h) { - return h(); + function u(d, p) { + return p(); } var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : l; - return _l.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, _l; + return Ol.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Ol; } -var Al = {}; +var Nl = {}; /** * @license React * use-sync-external-store-shim.development.js @@ -16423,23 +16423,23 @@ var Al = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var z2; -function k9() { - return z2 || (z2 = 1, process.env.NODE_ENV !== "production" && function() { +var G2; +function H9() { + return G2 || (G2 = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); var e = $, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function n(C) { { - for (var S = arguments.length, E = new Array(S > 1 ? S - 1 : 0), w = 1; w < S; w++) - E[w - 1] = arguments[w]; - o("error", C, E); + for (var S = arguments.length, w = new Array(S > 1 ? S - 1 : 0), E = 1; E < S; E++) + w[E - 1] = arguments[E]; + o("error", C, w); } } - function o(C, S, E) { + function o(C, S, w) { { - var w = t.ReactDebugCurrentFrame, O = w.getStackAddendum(); - O !== "" && (S += "%s", E = E.concat([O])); - var _ = E.map(function(L) { + var E = t.ReactDebugCurrentFrame, M = E.getStackAddendum(); + M !== "" && (S += "%s", w = w.concat([M])); + var _ = w.map(function(L) { return String(L); }); _.unshift("Warning: " + S), Function.prototype.apply.call(console[C], console, _); @@ -16449,54 +16449,54 @@ function k9() { return C === S && (C !== 0 || 1 / C === 1 / S) || C !== C && S !== S; } 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(C, S, E) { + function p(C, S, w) { c || e.startTransition !== void 0 && (c = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.")); - var w = S(); + var E = S(); if (!d) { - var O = S(); - a(w, O) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0); + var M = S(); + a(E, M) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0); } var _ = i({ inst: { - value: w, + value: E, getSnapshot: S } - }), L = _[0].inst, j = _[1]; + }), L = _[0].inst, R = _[1]; return s(function() { - L.value = w, L.getSnapshot = S, f(L) && j({ + L.value = E, L.getSnapshot = S, f(L) && R({ inst: L }); - }, [C, w, S]), l(function() { - f(L) && j({ + }, [C, E, S]), l(function() { + f(L) && R({ inst: L }); var F = function() { - f(L) && j({ + f(L) && R({ inst: L }); }; return C(F); - }, [C]), u(w), w; + }, [C]), u(E), E; } function f(C) { - var S = C.getSnapshot, E = C.value; + var S = C.getSnapshot, w = C.value; try { - var w = S(); - return !a(E, w); + var E = S(); + return !a(w, E); } catch { return !0; } } - function m(C, S, E) { + function m(C, S, w) { return S(); } - var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !b, g = y ? m : h, x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; - Al.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Al; + var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !b, g = y ? m : p, x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; + Nl.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + }()), Nl; } -var H2; -function Id() { - return H2 || (H2 = 1, process.env.NODE_ENV === "production" ? Zr.exports = S9() : Zr.exports = k9()), Zr.exports; +var K2; +function Kd() { + return K2 || (K2 = 1, process.env.NODE_ENV === "production" ? Kr.exports = z9() : Kr.exports = H9()), Kr.exports; } /** * @license React @@ -16507,48 +16507,48 @@ function Id() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var P2; -function _9() { - if (P2) return kl; - P2 = 1; - var e = $, t = Id(); +var X2; +function P9() { + if (X2) return Tl; + X2 = 1; + var e = $, t = Kd(); function n(u, c) { return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== c; } var o = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, a = e.useRef, i = e.useEffect, l = e.useMemo, s = e.useDebugValue; - return kl.useSyncExternalStoreWithSelector = function(u, c, d, h, f) { + return Tl.useSyncExternalStoreWithSelector = function(u, c, d, p, f) { 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 g(w) { + function g(E) { if (!x) { - if (x = !0, C = w, w = h(w), f !== void 0 && b.hasValue) { - var O = b.value; - if (f(O, w)) return S = O; + if (x = !0, C = E, E = p(E), f !== void 0 && b.hasValue) { + var M = b.value; + if (f(M, E)) return S = M; } - return S = w; + return S = E; } - if (O = S, o(C, w)) return O; - var _ = h(w); - return f !== void 0 && f(O, _) ? O : (C = w, S = _); + if (M = S, o(C, E)) return M; + var _ = p(E); + return f !== void 0 && f(M, _) ? M : (C = E, S = _); } - var x = !1, C, S, E = d === void 0 ? null : d; + var x = !1, C, S, w = d === void 0 ? null : d; return [function() { return g(c()); - }, E === null ? void 0 : function() { - return g(E()); + }, w === null ? void 0 : function() { + return g(w()); }]; - }, [c, d, h, f]); + }, [c, d, p, f]); var y = r(u, m[0], m[1]); return i(function() { b.hasValue = !0, b.value = y; }, [y]), s(y), y; - }, kl; + }, Tl; } -var Ml = {}; +var Dl = {}; /** * @license React * use-sync-external-store-shim/with-selector.development.js @@ -16558,84 +16558,84 @@ var Ml = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var B2; -function A9() { - return B2 || (B2 = 1, process.env.NODE_ENV !== "production" && function() { +var Q2; +function B9() { + return Q2 || (Q2 = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = Id(); + var e = $, t = Kd(); 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, f, m) { + function u(c, d, p, f, m) { var b = a(null), y; b.current === null ? (y = { hasValue: !1, value: null }, b.current = y) : y = b.current; var g = l(function() { - var E = !1, w, O, _ = function(P) { - if (!E) { - E = !0, w = P; + var w = !1, E, M, _ = function(P) { + if (!w) { + w = !0, E = P; var V = f(P); if (m !== void 0 && y.hasValue) { var k = y.value; if (m(k, V)) - return O = k, k; + return M = k, k; } - return O = V, V; + return M = V, V; } - var D = w, M = O; - if (o(D, P)) - return M; - var N = f(P); - return m !== void 0 && m(M, N) ? M : (w = P, O = N, N); - }, L = h === void 0 ? null : h, j = function() { + var N = E, T = M; + if (o(N, P)) + return T; + var D = f(P); + return m !== void 0 && m(T, D) ? T : (E = P, M = D, D); + }, L = p === void 0 ? null : p, R = function() { return _(d()); }, F = L === null ? void 0 : function() { return _(L()); }; - return [j, F]; - }, [d, h, f, m]), x = g[0], C = g[1], S = r(c, x, C); + return [R, F]; + }, [d, p, f, m]), x = g[0], C = g[1], S = r(c, x, C); return i(function() { y.hasValue = !0, y.value = S; }, [S]), s(S), S; } - Ml.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Ml; + Dl.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + }()), Dl; } -process.env.NODE_ENV === "production" ? fs.exports = _9() : fs.exports = A9(); -var M9 = fs.exports; -const T9 = /* @__PURE__ */ un(M9), O9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, V2 = (e) => { +process.env.NODE_ENV === "production" ? bs.exports = P9() : bs.exports = B9(); +var V9 = bs.exports; +const $9 = /* @__PURE__ */ dn(V9), W9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, J2 = (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 p = typeof c == "function" ? c(t) : c; + if (!Object.is(p, t)) { const f = t; - t = d ?? (typeof h != "object" || h === null) ? h : Object.assign({}, t, h), n.forEach((m) => m(t, f)); + t = d ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((m) => m(t, f)); } }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - (O9 ? "production" : void 0) !== "production" && console.warn( + (W9 ? "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; -}, D9 = (e) => e ? V2(e) : V2, { useDebugValue: N9 } = $, { useSyncExternalStoreWithSelector: L9 } = T9, F9 = (e) => e; -function zd(e, t = F9, n) { - const o = L9( +}, Z9 = (e) => e ? J2(e) : J2, { useDebugValue: U9 } = $, { useSyncExternalStoreWithSelector: q9 } = $9, Y9 = (e) => e; +function Xd(e, t = Y9, n) { + const o = q9( e.subscribe, e.getState, e.getServerState || e.getInitialState, t, n ); - return N9(o), o; + return U9(o), o; } -const $2 = (e, t) => { - const n = D9(e), o = (r, a = t) => zd(n, r, a); +const eu = (e, t) => { + const n = Z9(e), o = (r, a = t) => Xd(n, r, a); return Object.assign(o, n), o; -}, R9 = (e, t) => e ? $2(e, t) : $2; -function lt(e, t) { +}, G9 = (e, t) => e ? eu(e, t) : eu; +function ut(e, t) { if (Object.is(e, t)) return !0; if (typeof e != "object" || e === null || typeof t != "object" || t === null) @@ -16662,43 +16662,43 @@ function lt(e, t) { return !1; return !0; } -var j9 = { value: () => { +var K9 = { value: () => { } }; -function Qa() { +function ni() { for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) throw new Error("illegal type: " + o); n[o] = []; } - return new da(n); + return new ba(n); } -function da(e) { +function ba(e) { this._ = e; } -function I9(e, t) { +function X9(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 }; }); } -da.prototype = Qa.prototype = { - constructor: da, +ba.prototype = ni.prototype = { + constructor: ba, on: function(e, t) { - var n = this._, o = I9(e + "", n), r, a = -1, i = o.length; + var n = this._, o = X9(e + "", n), r, a = -1, i = o.length; if (arguments.length < 2) { - for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = z9(n[r], e.name))) return r; + for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = Q9(n[r], e.name))) return r; return; } if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); for (; ++a < i; ) - if (r = (e = o[a]).type) n[r] = W2(n[r], e.name, t); - else if (t == null) for (r in n) n[r] = W2(n[r], e.name, null); + if (r = (e = o[a]).type) n[r] = tu(n[r], e.name, t); + else if (t == null) for (r in n) n[r] = tu(n[r], e.name, null); return this; }, copy: function() { var e = {}, t = this._; for (var n in t) e[n] = t[n].slice(); - return new da(e); + return new ba(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]; @@ -16710,135 +16710,135 @@ da.prototype = Qa.prototype = { for (var o = this._[e], r = 0, a = o.length; r < a; ++r) o[r].value.apply(t, n); } }; -function z9(e, t) { +function Q9(e, t) { for (var n = 0, o = e.length, r; n < o; ++n) if ((r = e[n]).name === t) return r.value; } -function W2(e, t, n) { +function tu(e, t, n) { for (var o = 0, r = e.length; o < r; ++o) if (e[o].name === t) { - e[o] = j9, e = e.slice(0, o).concat(e.slice(o + 1)); + e[o] = K9, e = e.slice(0, o).concat(e.slice(o + 1)); break; } return n != null && e.push({ name: t, value: n }), e; } -var hs = "http://www.w3.org/1999/xhtml"; -const Z2 = { +var ys = "http://www.w3.org/1999/xhtml"; +const nu = { svg: "http://www.w3.org/2000/svg", - xhtml: hs, + xhtml: ys, xlink: "http://www.w3.org/1999/xlink", xml: "http://www.w3.org/XML/1998/namespace", xmlns: "http://www.w3.org/2000/xmlns/" }; -function Ja(e) { +function oi(e) { var t = e += "", n = t.indexOf(":"); - return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Z2.hasOwnProperty(t) ? { space: Z2[t], local: e } : e; + return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), nu.hasOwnProperty(t) ? { space: nu[t], local: e } : e; } -function H9(e) { +function J9(e) { return function() { var t = this.ownerDocument, n = this.namespaceURI; - return n === hs && t.documentElement.namespaceURI === hs ? t.createElement(e) : t.createElementNS(n, e); + return n === ys && t.documentElement.namespaceURI === ys ? t.createElement(e) : t.createElementNS(n, e); }; } -function P9(e) { +function eh(e) { return function() { return this.ownerDocument.createElementNS(e.space, e.local); }; } -function Hd(e) { - var t = Ja(e); - return (t.local ? P9 : H9)(t); +function Qd(e) { + var t = oi(e); + return (t.local ? eh : J9)(t); } -function B9() { +function th() { } -function bc(e) { - return e == null ? B9 : function() { +function Sc(e) { + return e == null ? th : function() { return this.querySelector(e); }; } -function V9(e) { - typeof e != "function" && (e = bc(e)); +function nh(e) { + typeof e != "function" && (e = Sc(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); - return new At(o, this._parents); + return new Tt(o, this._parents); } -function $9(e) { +function oh(e) { return e == null ? [] : Array.isArray(e) ? e : Array.from(e); } -function W9() { +function rh() { return []; } -function Pd(e) { - return e == null ? W9 : function() { +function Jd(e) { + return e == null ? rh : function() { return this.querySelectorAll(e); }; } -function Z9(e) { +function ah(e) { return function() { - return $9(e.apply(this, arguments)); + return oh(e.apply(this, arguments)); }; } -function U9(e) { - typeof e == "function" ? e = Z9(e) : e = Pd(e); +function ih(e) { + typeof e == "function" ? e = ah(e) : e = Jd(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 At(o, r); + return new Tt(o, r); } -function Bd(e) { +function e3(e) { return function() { return this.matches(e); }; } -function Vd(e) { +function t3(e) { return function(t) { return t.matches(e); }; } -var q9 = Array.prototype.find; -function Y9(e) { +var lh = Array.prototype.find; +function sh(e) { return function() { - return q9.call(this.children, e); + return lh.call(this.children, e); }; } -function G9() { +function ch() { return this.firstElementChild; } -function K9(e) { - return this.select(e == null ? G9 : Y9(typeof e == "function" ? e : Vd(e))); +function uh(e) { + return this.select(e == null ? ch : sh(typeof e == "function" ? e : t3(e))); } -var X9 = Array.prototype.filter; -function Q9() { +var dh = Array.prototype.filter; +function fh() { return Array.from(this.children); } -function J9(e) { +function hh(e) { return function() { - return X9.call(this.children, e); + return dh.call(this.children, e); }; } -function eh(e) { - return this.selectAll(e == null ? Q9 : J9(typeof e == "function" ? e : Vd(e))); +function ph(e) { + return this.selectAll(e == null ? fh : hh(typeof e == "function" ? e : t3(e))); } -function th(e) { - typeof e != "function" && (e = Bd(e)); +function gh(e) { + typeof e != "function" && (e = e3(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 At(o, this._parents); + return new Tt(o, this._parents); } -function $d(e) { +function n3(e) { return new Array(e.length); } -function nh() { - return new At(this._enter || this._groups.map($d), this._parents); +function mh() { + return new Tt(this._enter || this._groups.map(n3), this._parents); } -function Aa(e, t) { +function La(e, t) { this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; } -Aa.prototype = { - constructor: Aa, +La.prototype = { + constructor: La, appendChild: function(e) { return this._parent.insertBefore(e, this._next); }, @@ -16852,91 +16852,91 @@ Aa.prototype = { return this._parent.querySelectorAll(e); } }; -function oh(e) { +function bh(e) { return function() { return e; }; } -function rh(e, t, n, o, r, a) { +function yh(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 Aa(e, a[i]); + (l = t[i]) ? (l.__data__ = a[i], o[i] = l) : n[i] = new La(e, a[i]); for (; i < s; ++i) (l = t[i]) && (r[i] = l); } -function ah(e, t, n, o, r, a, i) { - var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, h = new Array(c), f; +function Ch(e, t, n, o, r, a, i) { + var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, p = new Array(c), f; for (l = 0; l < c; ++l) - (s = t[l]) && (h[l] = f = i.call(s, s.__data__, l, t) + "", u.has(f) ? r[l] = s : u.set(f, s)); + (s = t[l]) && (p[l] = f = i.call(s, s.__data__, l, t) + "", u.has(f) ? r[l] = s : u.set(f, s)); for (l = 0; l < d; ++l) - f = i.call(e, a[l], l, a) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = a[l], u.delete(f)) : n[l] = new Aa(e, a[l]); + f = i.call(e, a[l], l, a) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = a[l], u.delete(f)) : n[l] = new La(e, a[l]); for (l = 0; l < c; ++l) - (s = t[l]) && u.get(h[l]) === s && (r[l] = s); + (s = t[l]) && u.get(p[l]) === s && (r[l] = s); } -function ih(e) { +function vh(e) { return e.__data__; } -function lh(e, t) { - if (!arguments.length) return Array.from(this, ih); - var n = t ? ah : rh, o = this._parents, r = this._groups; - typeof e != "function" && (e = oh(e)); +function xh(e, t) { + if (!arguments.length) return Array.from(this, vh); + var n = t ? Ch : yh, o = this._parents, r = this._groups; + typeof e != "function" && (e = bh(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, f = sh(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(h); + var c = o[u], d = r[u], p = d.length, f = wh(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); n(c, d, b, y, g, f, t); - for (var x = 0, C = 0, S, E; x < m; ++x) + for (var x = 0, C = 0, S, w; x < m; ++x) if (S = b[x]) { - for (x >= C && (C = x + 1); !(E = y[C]) && ++C < m; ) ; - S._next = E || null; + for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ) ; + S._next = w || null; } } - return i = new At(i, o), i._enter = l, i._exit = s, i; + return i = new Tt(i, o), i._enter = l, i._exit = s, i; } -function sh(e) { +function wh(e) { return typeof e == "object" && "length" in e ? e : Array.from(e); } -function ch() { - return new At(this._exit || this._groups.map($d), this._parents); +function Eh() { + return new Tt(this._exit || this._groups.map(n3), this._parents); } -function uh(e, t, n) { +function Sh(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; } -function dh(e) { +function kh(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), f, m = 0; m < d; ++m) - (f = u[m] || c[m]) && (h[m] = f); + for (var u = n[s], c = o[s], d = u.length, p = l[s] = new Array(d), f, m = 0; m < d; ++m) + (f = u[m] || c[m]) && (p[m] = f); for (; s < r; ++s) l[s] = n[s]; - return new At(l, this._parents); + return new Tt(l, this._parents); } -function fh() { +function _h() { 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); return this; } -function hh(e) { - e || (e = ph); - function t(d, h) { - return d && h ? e(d.__data__, h.__data__) : !d - !h; +function Ah(e) { + e || (e = Mh); + function t(d, p) { + return d && p ? e(d.__data__, p.__data__) : !d - !p; } 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); } - return new At(r, this._parents).order(); + return new Tt(r, this._parents).order(); } -function ph(e, t) { +function Mh(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function gh() { +function Th() { var e = arguments[0]; return arguments[0] = this, e.apply(null, arguments), this; } -function mh() { +function Oh() { return Array.from(this); } -function bh() { +function Nh() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length; r < a; ++r) { var i = o[r]; @@ -16944,114 +16944,114 @@ function bh() { } return null; } -function yh() { +function Dh() { let e = 0; for (const t of this) ++e; return e; } -function Ch() { +function Lh() { return !this.node(); } -function vh(e) { +function Fh(e) { for (var t = this._groups, n = 0, o = t.length; n < o; ++n) for (var r = t[n], a = 0, i = r.length, l; a < i; ++a) (l = r[a]) && e.call(l, l.__data__, a, r); return this; } -function xh(e) { +function jh(e) { return function() { this.removeAttribute(e); }; } -function wh(e) { +function Rh(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function Eh(e, t) { +function Ih(e, t) { return function() { this.setAttribute(e, t); }; } -function Sh(e, t) { +function zh(e, t) { return function() { this.setAttributeNS(e.space, e.local, t); }; } -function kh(e, t) { +function Hh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttribute(e) : this.setAttribute(e, n); }; } -function _h(e, t) { +function Ph(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); }; } -function Ah(e, t) { - var n = Ja(e); +function Bh(e, t) { + var n = oi(e); if (arguments.length < 2) { var o = this.node(); return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - return this.each((t == null ? n.local ? wh : xh : typeof t == "function" ? n.local ? _h : kh : n.local ? Sh : Eh)(n, t)); + return this.each((t == null ? n.local ? Rh : jh : typeof t == "function" ? n.local ? Ph : Hh : n.local ? zh : Ih)(n, t)); } -function Wd(e) { +function o3(e) { return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; } -function Mh(e) { +function Vh(e) { return function() { this.style.removeProperty(e); }; } -function Th(e, t, n) { +function $h(e, t, n) { return function() { this.style.setProperty(e, t, n); }; } -function Oh(e, t, n) { +function Wh(e, t, n) { return function() { var o = t.apply(this, arguments); o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; } -function Dh(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? Mh : typeof t == "function" ? Oh : Th)(e, t, n ?? "")) : _o(this.node(), e); +function Zh(e, t, n) { + return arguments.length > 1 ? this.each((t == null ? Vh : typeof t == "function" ? Wh : $h)(e, t, n ?? "")) : Ao(this.node(), e); } -function _o(e, t) { - return e.style.getPropertyValue(t) || Wd(e).getComputedStyle(e, null).getPropertyValue(t); +function Ao(e, t) { + return e.style.getPropertyValue(t) || o3(e).getComputedStyle(e, null).getPropertyValue(t); } -function Nh(e) { +function Uh(e) { return function() { delete this[e]; }; } -function Lh(e, t) { +function qh(e, t) { return function() { this[e] = t; }; } -function Fh(e, t) { +function Yh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? delete this[e] : this[e] = n; }; } -function Rh(e, t) { - return arguments.length > 1 ? this.each((t == null ? Nh : typeof t == "function" ? Fh : Lh)(e, t)) : this.node()[e]; +function Gh(e, t) { + return arguments.length > 1 ? this.each((t == null ? Uh : typeof t == "function" ? Yh : qh)(e, t)) : this.node()[e]; } -function Zd(e) { +function r3(e) { return e.trim().split(/^|\s+/); } -function yc(e) { - return e.classList || new Ud(e); +function kc(e) { + return e.classList || new a3(e); } -function Ud(e) { - this._node = e, this._names = Zd(e.getAttribute("class") || ""); +function a3(e) { + this._node = e, this._names = r3(e.getAttribute("class") || ""); } -Ud.prototype = { +a3.prototype = { add: function(e) { var t = this._names.indexOf(e); t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" "))); @@ -17064,129 +17064,129 @@ Ud.prototype = { return this._names.indexOf(e) >= 0; } }; -function qd(e, t) { - for (var n = yc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); +function i3(e, t) { + for (var n = kc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); } -function Yd(e, t) { - for (var n = yc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); +function l3(e, t) { + for (var n = kc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); } -function jh(e) { +function Kh(e) { return function() { - qd(this, e); + i3(this, e); }; } -function Ih(e) { +function Xh(e) { return function() { - Yd(this, e); + l3(this, e); }; } -function zh(e, t) { +function Qh(e, t) { return function() { - (t.apply(this, arguments) ? qd : Yd)(this, e); + (t.apply(this, arguments) ? i3 : l3)(this, e); }; } -function Hh(e, t) { - var n = Zd(e + ""); +function Jh(e, t) { + var n = r3(e + ""); if (arguments.length < 2) { - for (var o = yc(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; + for (var o = kc(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; return !0; } - return this.each((typeof t == "function" ? zh : t ? jh : Ih)(n, t)); + return this.each((typeof t == "function" ? Qh : t ? Kh : Xh)(n, t)); } -function Ph() { +function ep() { this.textContent = ""; } -function Bh(e) { +function tp(e) { return function() { this.textContent = e; }; } -function Vh(e) { +function np(e) { return function() { var t = e.apply(this, arguments); this.textContent = t ?? ""; }; } -function $h(e) { - return arguments.length ? this.each(e == null ? Ph : (typeof e == "function" ? Vh : Bh)(e)) : this.node().textContent; +function op(e) { + return arguments.length ? this.each(e == null ? ep : (typeof e == "function" ? np : tp)(e)) : this.node().textContent; } -function Wh() { +function rp() { this.innerHTML = ""; } -function Zh(e) { +function ap(e) { return function() { this.innerHTML = e; }; } -function Uh(e) { +function ip(e) { return function() { var t = e.apply(this, arguments); this.innerHTML = t ?? ""; }; } -function qh(e) { - return arguments.length ? this.each(e == null ? Wh : (typeof e == "function" ? Uh : Zh)(e)) : this.node().innerHTML; +function lp(e) { + return arguments.length ? this.each(e == null ? rp : (typeof e == "function" ? ip : ap)(e)) : this.node().innerHTML; } -function Yh() { +function sp() { this.nextSibling && this.parentNode.appendChild(this); } -function Gh() { - return this.each(Yh); +function cp() { + return this.each(sp); } -function Kh() { +function up() { this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); } -function Xh() { - return this.each(Kh); +function dp() { + return this.each(up); } -function Qh(e) { - var t = typeof e == "function" ? e : Hd(e); +function fp(e) { + var t = typeof e == "function" ? e : Qd(e); return this.select(function() { return this.appendChild(t.apply(this, arguments)); }); } -function Jh() { +function hp() { return null; } -function ep(e, t) { - var n = typeof e == "function" ? e : Hd(e), o = t == null ? Jh : typeof t == "function" ? t : bc(t); +function pp(e, t) { + var n = typeof e == "function" ? e : Qd(e), o = t == null ? hp : typeof t == "function" ? t : Sc(t); return this.select(function() { return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); }); } -function tp() { +function gp() { var e = this.parentNode; e && e.removeChild(this); } -function np() { - return this.each(tp); +function mp() { + return this.each(gp); } -function op() { +function bp() { var e = this.cloneNode(!1), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function rp() { +function yp() { var e = this.cloneNode(!0), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function ap(e) { - return this.select(e ? rp : op); +function Cp(e) { + return this.select(e ? yp : bp); } -function ip(e) { +function vp(e) { return arguments.length ? this.property("__data__", e) : this.node().__data__; } -function lp(e) { +function xp(e) { return function(t) { e.call(this, t, this.__data__); }; } -function sp(e) { +function wp(e) { return e.trim().split(/^|\s+/).map(function(t) { var n = "", o = t.indexOf("."); return o >= 0 && (n = t.slice(o + 1), t = t.slice(0, o)), { type: t, name: n }; }); } -function cp(e) { +function Ep(e) { return function() { var t = this.__on; if (t) { @@ -17196,9 +17196,9 @@ function cp(e) { } }; } -function up(e, t, n) { +function Sp(e, t, n) { return function() { - var o = this.__on, r, a = lp(t); + var o = this.__on, r, a = xp(t); if (o) { for (var i = 0, l = o.length; i < l; ++i) if ((r = o[i]).type === e.type && r.name === e.name) { @@ -17209,8 +17209,8 @@ function up(e, t, n) { 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 dp(e, t, n) { - var o = sp(e + ""), r, a = o.length, i; +function kp(e, t, n) { + var o = wp(e + ""), r, a = o.length, i; if (arguments.length < 2) { var l = this.node().__on; if (l) { @@ -17221,89 +17221,89 @@ function dp(e, t, n) { } return; } - for (l = t ? up : cp, r = 0; r < a; ++r) this.each(l(o[r], t, n)); + for (l = t ? Sp : Ep, r = 0; r < a; ++r) this.each(l(o[r], t, n)); return this; } -function Gd(e, t, n) { - var o = Wd(e), r = o.CustomEvent; +function s3(e, t, n) { + var o = o3(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 fp(e, t) { +function _p(e, t) { return function() { - return Gd(this, e, t); + return s3(this, e, t); }; } -function hp(e, t) { +function Ap(e, t) { return function() { - return Gd(this, e, t.apply(this, arguments)); + return s3(this, e, t.apply(this, arguments)); }; } -function pp(e, t) { - return this.each((typeof t == "function" ? hp : fp)(e, t)); +function Mp(e, t) { + return this.each((typeof t == "function" ? Ap : _p)(e, t)); } -function* gp() { +function* Tp() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length, i; r < a; ++r) (i = o[r]) && (yield i); } -var Kd = [null]; -function At(e, t) { +var c3 = [null]; +function Tt(e, t) { this._groups = e, this._parents = t; } -function kr() { - return new At([[document.documentElement]], Kd); +function Nr() { + return new Tt([[document.documentElement]], c3); } -function mp() { +function Op() { return this; } -At.prototype = kr.prototype = { - constructor: At, - select: V9, - selectAll: U9, - selectChild: K9, - selectChildren: eh, - filter: th, - data: lh, - enter: nh, - exit: ch, - join: uh, - merge: dh, - selection: mp, - order: fh, - sort: hh, - call: gh, - nodes: mh, - node: bh, - size: yh, - empty: Ch, - each: vh, - attr: Ah, - style: Dh, - property: Rh, - classed: Hh, - text: $h, - html: qh, - raise: Gh, - lower: Xh, - append: Qh, - insert: ep, - remove: np, - clone: ap, - datum: ip, - on: dp, - dispatch: pp, - [Symbol.iterator]: gp +Tt.prototype = Nr.prototype = { + constructor: Tt, + select: nh, + selectAll: ih, + selectChild: uh, + selectChildren: ph, + filter: gh, + data: xh, + enter: mh, + exit: Eh, + join: Sh, + merge: kh, + selection: Op, + order: _h, + sort: Ah, + call: Th, + nodes: Oh, + node: Nh, + size: Dh, + empty: Lh, + each: Fh, + attr: Bh, + style: Zh, + property: Gh, + classed: Jh, + text: op, + html: lp, + raise: cp, + lower: dp, + append: fp, + insert: pp, + remove: mp, + clone: Cp, + datum: vp, + on: kp, + dispatch: Mp, + [Symbol.iterator]: Tp }; -function Ut(e) { - return typeof e == "string" ? new At([[document.querySelector(e)]], [document.documentElement]) : new At([[e]], Kd); +function qt(e) { + return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], c3); } -function bp(e) { +function Np(e) { let t; for (; t = e.sourceEvent; ) e = t; return e; } -function nn(e, t) { - if (e = bp(e), t === void 0 && (t = e.currentTarget), t) { +function rn(e, t) { + if (e = Np(e), t === void 0 && (t = e.currentTarget), t) { var n = t.ownerSVGElement || t; if (n.createSVGPoint) { var o = n.createSVGPoint(); @@ -17316,25 +17316,25 @@ function nn(e, t) { } return [e.pageX, e.pageY]; } -const yp = { passive: !1 }, cr = { capture: !0, passive: !1 }; -function Tl(e) { +const Dp = { passive: !1 }, gr = { capture: !0, passive: !1 }; +function Ll(e) { e.stopImmediatePropagation(); } -function po(e) { +function go(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function Xd(e) { - var t = e.document.documentElement, n = Ut(e).on("dragstart.drag", po, cr); - "onselectstart" in t ? n.on("selectstart.drag", po, cr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); +function u3(e) { + var t = e.document.documentElement, n = qt(e).on("dragstart.drag", go, gr); + "onselectstart" in t ? n.on("selectstart.drag", go, gr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); } -function Qd(e, t) { - var n = e.document.documentElement, o = Ut(e).on("dragstart.drag", null); - t && (o.on("click.drag", po, cr), setTimeout(function() { +function d3(e, t) { + var n = e.document.documentElement, o = qt(e).on("dragstart.drag", null); + t && (o.on("click.drag", go, gr), setTimeout(function() { o.on("click.drag", null); }, 0)), "onselectstart" in n ? o.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect); } -const Ur = (e) => () => e; -function ps(e, { +const Xr = (e) => () => e; +function Cs(e, { sourceEvent: t, subject: n, target: o, @@ -17360,132 +17360,132 @@ function ps(e, { _: { value: c } }); } -ps.prototype.on = function() { +Cs.prototype.on = function() { var e = this._.on.apply(this._, arguments); return e === this._ ? this : e; }; -function Cp(e) { +function Lp(e) { return !e.ctrlKey && !e.button; } -function vp() { +function Fp() { return this.parentNode; } -function xp(e, t) { +function jp(e, t) { return t ?? { x: e.x, y: e.y }; } -function wp() { +function Rp() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function Ep() { - var e = Cp, t = vp, n = xp, o = wp, r = {}, a = Qa("start", "drag", "end"), i = 0, l, s, u, c, d = 0; - function h(S) { - S.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, yp).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); +function Ip() { + var e = Lp, t = Fp, n = jp, o = Rp, r = {}, a = ni("start", "drag", "end"), i = 0, l, s, u, c, d = 0; + function p(S) { + S.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Dp).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } - function f(S, E) { - if (!(c || !e.call(this, S, E))) { - var w = C(this, t.call(this, S, E), S, E, "mouse"); - w && (Ut(S.view).on("mousemove.drag", m, cr).on("mouseup.drag", b, cr), Xd(S.view), Tl(S), u = !1, l = S.clientX, s = S.clientY, w("start", S)); + function f(S, w) { + if (!(c || !e.call(this, S, w))) { + var E = C(this, t.call(this, S, w), S, w, "mouse"); + E && (qt(S.view).on("mousemove.drag", m, gr).on("mouseup.drag", b, gr), u3(S.view), Ll(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); } } function m(S) { - if (po(S), !u) { - var E = S.clientX - l, w = S.clientY - s; - u = E * E + w * w > d; + if (go(S), !u) { + var w = S.clientX - l, E = S.clientY - s; + u = w * w + E * E > d; } r.mouse("drag", S); } function b(S) { - Ut(S.view).on("mousemove.drag mouseup.drag", null), Qd(S.view, u), po(S), r.mouse("end", S); + qt(S.view).on("mousemove.drag mouseup.drag", null), d3(S.view, u), go(S), r.mouse("end", S); } - function y(S, E) { - if (e.call(this, S, E)) { - var w = S.changedTouches, O = t.call(this, S, E), _ = w.length, L, j; + function y(S, w) { + if (e.call(this, S, w)) { + var E = S.changedTouches, M = t.call(this, S, w), _ = E.length, L, R; for (L = 0; L < _; ++L) - (j = C(this, O, S, E, w[L].identifier, w[L])) && (Tl(S), j("start", S, w[L])); + (R = C(this, M, S, w, E[L].identifier, E[L])) && (Ll(S), R("start", S, E[L])); } } function g(S) { - var E = S.changedTouches, w = E.length, O, _; - for (O = 0; O < w; ++O) - (_ = r[E[O].identifier]) && (po(S), _("drag", S, E[O])); + var w = S.changedTouches, E = w.length, M, _; + for (M = 0; M < E; ++M) + (_ = r[w[M].identifier]) && (go(S), _("drag", S, w[M])); } function x(S) { - var E = S.changedTouches, w = E.length, O, _; + var w = S.changedTouches, E = w.length, M, _; for (c && clearTimeout(c), c = setTimeout(function() { c = null; - }, 500), O = 0; O < w; ++O) - (_ = r[E[O].identifier]) && (Tl(S), _("end", S, E[O])); - } - function C(S, E, w, O, _, L) { - var j = a.copy(), F = nn(L || w, E), P, V, k; - if ((k = n.call(S, new ps("beforestart", { - sourceEvent: w, - target: h, + }, 500), M = 0; M < E; ++M) + (_ = r[w[M].identifier]) && (Ll(S), _("end", S, w[M])); + } + function C(S, w, E, M, _, L) { + var R = a.copy(), F = rn(L || E, w), P, V, k; + if ((k = n.call(S, new Cs("beforestart", { + sourceEvent: E, + target: p, identifier: _, active: i, x: F[0], y: F[1], dx: 0, dy: 0, - dispatch: j - }), O)) != null) - return P = k.x - F[0] || 0, V = k.y - F[1] || 0, function D(M, N, I) { - var R = F, v; - switch (M) { + dispatch: R + }), M)) != null) + return P = k.x - F[0] || 0, V = k.y - F[1] || 0, function N(T, D, I) { + var j = F, v; + switch (T) { case "start": - r[_] = D, v = i++; + r[_] = N, v = i++; break; case "end": delete r[_], --i; case "drag": - F = nn(I || N, E), v = i; + F = rn(I || D, w), v = i; break; } - j.call( - M, + R.call( + T, S, - new ps(M, { - sourceEvent: N, + new Cs(T, { + sourceEvent: D, subject: k, - target: h, + target: p, identifier: _, active: v, x: F[0] + P, y: F[1] + V, - dx: F[0] - R[0], - dy: F[1] - R[1], - dispatch: j + dx: F[0] - j[0], + dy: F[1] - j[1], + dispatch: R }), - O + M ); }; } - return h.filter = function(S) { - return arguments.length ? (e = typeof S == "function" ? S : Ur(!!S), h) : e; - }, h.container = function(S) { - return arguments.length ? (t = typeof S == "function" ? S : Ur(S), h) : t; - }, h.subject = function(S) { - return arguments.length ? (n = typeof S == "function" ? S : Ur(S), h) : n; - }, h.touchable = function(S) { - return arguments.length ? (o = typeof S == "function" ? S : Ur(!!S), h) : o; - }, h.on = function() { + return p.filter = function(S) { + return arguments.length ? (e = typeof S == "function" ? S : Xr(!!S), p) : e; + }, p.container = function(S) { + return arguments.length ? (t = typeof S == "function" ? S : Xr(S), p) : t; + }, p.subject = function(S) { + return arguments.length ? (n = typeof S == "function" ? S : Xr(S), p) : n; + }, p.touchable = function(S) { + return arguments.length ? (o = typeof S == "function" ? S : Xr(!!S), p) : o; + }, p.on = function() { var S = a.on.apply(a, arguments); - return S === a ? h : S; - }, h.clickDistance = function(S) { - return arguments.length ? (d = (S = +S) * S, h) : Math.sqrt(d); - }, h; + return S === a ? p : S; + }, p.clickDistance = function(S) { + return arguments.length ? (d = (S = +S) * S, p) : Math.sqrt(d); + }, p; } -function Cc(e, t, n) { +function _c(e, t, n) { e.prototype = t.prototype = n, n.constructor = e; } -function Jd(e, t) { +function f3(e, t) { var n = Object.create(e.prototype); for (var o in t) n[o] = t[o]; return n; } -function _r() { +function Dr() { } -var ur = 0.7, Ma = 1 / ur, go = "\\s*([+-]?\\d+)\\s*", dr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ln = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Sp = /^#([0-9a-f]{3,8})$/, kp = new RegExp(`^rgb\\(${go},${go},${go}\\)$`), _p = new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`), Ap = new RegExp(`^rgba\\(${go},${go},${go},${dr}\\)$`), Mp = new RegExp(`^rgba\\(${ln},${ln},${ln},${dr}\\)$`), Tp = new RegExp(`^hsl\\(${dr},${ln},${ln}\\)$`), Op = new RegExp(`^hsla\\(${dr},${ln},${ln},${dr}\\)$`), U2 = { +var mr = 0.7, Fa = 1 / mr, mo = "\\s*([+-]?\\d+)\\s*", br = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", sn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", zp = /^#([0-9a-f]{3,8})$/, Hp = new RegExp(`^rgb\\(${mo},${mo},${mo}\\)$`), Pp = new RegExp(`^rgb\\(${sn},${sn},${sn}\\)$`), Bp = new RegExp(`^rgba\\(${mo},${mo},${mo},${br}\\)$`), Vp = new RegExp(`^rgba\\(${sn},${sn},${sn},${br}\\)$`), $p = new RegExp(`^hsl\\(${br},${sn},${sn}\\)$`), Wp = new RegExp(`^hsla\\(${br},${sn},${sn},${br}\\)$`), ou = { aliceblue: 15792383, antiquewhite: 16444375, aqua: 65535, @@ -17635,203 +17635,203 @@ var ur = 0.7, Ma = 1 / ur, go = "\\s*([+-]?\\d+)\\s*", dr = "\\s*([+-]?(?:\\d*\\ yellow: 16776960, yellowgreen: 10145074 }; -Cc(_r, fr, { +_c(Dr, yr, { copy(e) { return Object.assign(new this.constructor(), this, e); }, displayable() { return this.rgb().displayable(); }, - hex: q2, + hex: ru, // Deprecated! Use color.formatHex. - formatHex: q2, - formatHex8: Dp, - formatHsl: Np, - formatRgb: Y2, - toString: Y2 + formatHex: ru, + formatHex8: Zp, + formatHsl: Up, + formatRgb: au, + toString: au }); -function q2() { +function ru() { return this.rgb().formatHex(); } -function Dp() { +function Zp() { return this.rgb().formatHex8(); } -function Np() { - return e3(this).formatHsl(); +function Up() { + return h3(this).formatHsl(); } -function Y2() { +function au() { return this.rgb().formatRgb(); } -function fr(e) { +function yr(e) { var t, n; - return e = (e + "").trim().toLowerCase(), (t = Sp.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? G2(t) : n === 3 ? new vt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? qr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? qr(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = kp.exec(e)) ? new vt(t[1], t[2], t[3], 1) : (t = _p.exec(e)) ? new vt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Ap.exec(e)) ? qr(t[1], t[2], t[3], t[4]) : (t = Mp.exec(e)) ? qr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Tp.exec(e)) ? Q2(t[1], t[2] / 100, t[3] / 100, 1) : (t = Op.exec(e)) ? Q2(t[1], t[2] / 100, t[3] / 100, t[4]) : U2.hasOwnProperty(e) ? G2(U2[e]) : e === "transparent" ? new vt(NaN, NaN, NaN, 0) : null; + return e = (e + "").trim().toLowerCase(), (t = zp.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iu(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Qr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Qr(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Hp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Pp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Bp.exec(e)) ? Qr(t[1], t[2], t[3], t[4]) : (t = Vp.exec(e)) ? Qr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = $p.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, 1) : (t = Wp.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, t[4]) : ou.hasOwnProperty(e) ? iu(ou[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; } -function G2(e) { - return new vt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); +function iu(e) { + return new xt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); } -function qr(e, t, n, o) { - return o <= 0 && (e = t = n = NaN), new vt(e, t, n, o); +function Qr(e, t, n, o) { + return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); } -function Lp(e) { - return e instanceof _r || (e = fr(e)), e ? (e = e.rgb(), new vt(e.r, e.g, e.b, e.opacity)) : new vt(); +function qp(e) { + return e instanceof Dr || (e = yr(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); } -function gs(e, t, n, o) { - return arguments.length === 1 ? Lp(e) : new vt(e, t, n, o ?? 1); +function vs(e, t, n, o) { + return arguments.length === 1 ? qp(e) : new xt(e, t, n, o ?? 1); } -function vt(e, t, n, o) { +function xt(e, t, n, o) { this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; } -Cc(vt, gs, Jd(_r, { +_c(xt, vs, f3(Dr, { brighter(e) { - return e = e == null ? Ma : Math.pow(Ma, e), new vt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? Fa : Math.pow(Fa, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, darker(e) { - return e = e == null ? ur : Math.pow(ur, e), new vt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? mr : Math.pow(mr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, rgb() { return this; }, clamp() { - return new vt(Zn(this.r), Zn(this.g), Zn(this.b), Ta(this.opacity)); + return new xt(Yn(this.r), Yn(this.g), Yn(this.b), ja(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: K2, + hex: lu, // Deprecated! Use color.formatHex. - formatHex: K2, - formatHex8: Fp, - formatRgb: X2, - toString: X2 + formatHex: lu, + formatHex8: Yp, + formatRgb: su, + toString: su })); -function K2() { - return `#${Vn(this.r)}${Vn(this.g)}${Vn(this.b)}`; +function lu() { + return `#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}`; } -function Fp() { - return `#${Vn(this.r)}${Vn(this.g)}${Vn(this.b)}${Vn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; +function Yp() { + return `#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}${Zn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; } -function X2() { - const e = Ta(this.opacity); - return `${e === 1 ? "rgb(" : "rgba("}${Zn(this.r)}, ${Zn(this.g)}, ${Zn(this.b)}${e === 1 ? ")" : `, ${e})`}`; +function su() { + const e = ja(this.opacity); + return `${e === 1 ? "rgb(" : "rgba("}${Yn(this.r)}, ${Yn(this.g)}, ${Yn(this.b)}${e === 1 ? ")" : `, ${e})`}`; } -function Ta(e) { +function ja(e) { return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); } -function Zn(e) { +function Yn(e) { return Math.max(0, Math.min(255, Math.round(e) || 0)); } -function Vn(e) { - return e = Zn(e), (e < 16 ? "0" : "") + e.toString(16); +function Zn(e) { + return e = Yn(e), (e < 16 ? "0" : "") + e.toString(16); } -function Q2(e, t, n, o) { - return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new qt(e, t, n, o); +function cu(e, t, n, o) { + return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Yt(e, t, n, o); } -function e3(e) { - if (e instanceof qt) return new qt(e.h, e.s, e.l, e.opacity); - if (e instanceof _r || (e = fr(e)), !e) return new qt(); - if (e instanceof qt) return e; +function h3(e) { + if (e instanceof Yt) return new Yt(e.h, e.s, e.l, e.opacity); + if (e instanceof Dr || (e = yr(e)), !e) return new Yt(); + if (e instanceof Yt) 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 qt(i, l, s, e.opacity); + 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 Yt(i, l, s, e.opacity); } -function Rp(e, t, n, o) { - return arguments.length === 1 ? e3(e) : new qt(e, t, n, o ?? 1); +function Gp(e, t, n, o) { + return arguments.length === 1 ? h3(e) : new Yt(e, t, n, o ?? 1); } -function qt(e, t, n, o) { +function Yt(e, t, n, o) { this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; } -Cc(qt, Rp, Jd(_r, { +_c(Yt, Gp, f3(Dr, { brighter(e) { - return e = e == null ? Ma : Math.pow(Ma, e), new qt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? Fa : Math.pow(Fa, e), new Yt(this.h, this.s, this.l * e, this.opacity); }, darker(e) { - return e = e == null ? ur : Math.pow(ur, e), new qt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? mr : Math.pow(mr, e), new Yt(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 vt( - Ol(e >= 240 ? e - 240 : e + 120, r, o), - Ol(e, r, o), - Ol(e < 120 ? e + 240 : e - 120, r, o), + return new xt( + Fl(e >= 240 ? e - 240 : e + 120, r, o), + Fl(e, r, o), + Fl(e < 120 ? e + 240 : e - 120, r, o), this.opacity ); }, clamp() { - return new qt(J2(this.h), Yr(this.s), Yr(this.l), Ta(this.opacity)); + return new Yt(uu(this.h), Jr(this.s), Jr(this.l), ja(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 = Ta(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${J2(this.h)}, ${Yr(this.s) * 100}%, ${Yr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + const e = ja(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${uu(this.h)}, ${Jr(this.s) * 100}%, ${Jr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; } })); -function J2(e) { +function uu(e) { return e = (e || 0) % 360, e < 0 ? e + 360 : e; } -function Yr(e) { +function Jr(e) { return Math.max(0, Math.min(1, e || 0)); } -function Ol(e, t, n) { +function Fl(e, t, n) { return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; } -const t3 = (e) => () => e; -function jp(e, t) { +const p3 = (e) => () => e; +function Kp(e, t) { return function(n) { return e + n * t; }; } -function Ip(e, t, n) { +function Xp(e, t, n) { return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(o) { return Math.pow(e + o * t, n); }; } -function zp(e) { - return (e = +e) == 1 ? n3 : function(t, n) { - return n - t ? Ip(t, n, e) : t3(isNaN(t) ? n : t); +function Qp(e) { + return (e = +e) == 1 ? g3 : function(t, n) { + return n - t ? Xp(t, n, e) : p3(isNaN(t) ? n : t); }; } -function n3(e, t) { +function g3(e, t) { var n = t - e; - return n ? jp(e, n) : t3(isNaN(e) ? t : e); + return n ? Kp(e, n) : p3(isNaN(e) ? t : e); } -const eu = function e(t) { - var n = zp(t); +const du = function e(t) { + var n = Qp(t); function o(r, a) { - var i = n((r = gs(r)).r, (a = gs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = n3(r.opacity, a.opacity); + var i = n((r = vs(r)).r, (a = vs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = g3(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); -function Mn(e, t) { +function Nn(e, t) { return e = +e, t = +t, function(n) { return e * (1 - n) + t * n; }; } -var ms = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Dl = new RegExp(ms.source, "g"); -function Hp(e) { +var xs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, jl = new RegExp(xs.source, "g"); +function Jp(e) { return function() { return e; }; } -function Pp(e) { +function eg(e) { return function(t) { return e(t) + ""; }; } -function Bp(e, t) { - var n = ms.lastIndex = Dl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; - for (e = e + "", t = t + ""; (o = ms.exec(e)) && (r = Dl.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: Mn(o, r) })), n = Dl.lastIndex; - return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? Pp(s[0].x) : Hp(t) : (t = s.length, function(u) { +function tg(e, t) { + var n = xs.lastIndex = jl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; + for (e = e + "", t = t + ""; (o = xs.exec(e)) && (r = jl.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 = jl.lastIndex; + return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? eg(s[0].x) : Jp(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 tu = 180 / Math.PI, bs = { +var fu = 180 / Math.PI, ws = { translateX: 0, translateY: 0, rotate: 0, @@ -17839,84 +17839,84 @@ var tu = 180 / Math.PI, bs = { scaleX: 1, scaleY: 1 }; -function o3(e, t, n, o, r, a) { +function m3(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) * tu, - skewX: Math.atan(s) * tu, + rotate: Math.atan2(t, e) * fu, + skewX: Math.atan(s) * fu, scaleX: i, scaleY: l }; } -var Gr; -function Vp(e) { +var ea; +function ng(e) { const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); - return t.isIdentity ? bs : o3(t.a, t.b, t.c, t.d, t.e, t.f); + return t.isIdentity ? ws : m3(t.a, t.b, t.c, t.d, t.e, t.f); } -function $p(e) { - return e == null || (Gr || (Gr = document.createElementNS("http://www.w3.org/2000/svg", "g")), Gr.setAttribute("transform", e), !(e = Gr.transform.baseVal.consolidate())) ? bs : (e = e.matrix, o3(e.a, e.b, e.c, e.d, e.e, e.f)); +function og(e) { + return e == null || (ea || (ea = document.createElementNS("http://www.w3.org/2000/svg", "g")), ea.setAttribute("transform", e), !(e = ea.transform.baseVal.consolidate())) ? ws : (e = e.matrix, m3(e.a, e.b, e.c, e.d, e.e, e.f)); } -function r3(e, t, n, o) { +function b3(e, t, n, o) { function r(u) { return u.length ? u.pop() + " " : ""; } - function a(u, c, d, h, f, m) { - if (u !== d || c !== h) { + function a(u, c, d, p, f, m) { + if (u !== d || c !== p) { var b = f.push("translate(", null, t, null, n); - m.push({ i: b - 4, x: Mn(u, d) }, { i: b - 2, x: Mn(c, h) }); - } else (d || h) && f.push("translate(" + d + t + h + n); + m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); + } else (d || p) && f.push("translate(" + d + t + p + 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: Mn(u, c) })) : c && d.push(r(d) + "rotate(" + c + o); + function i(u, c, d, p) { + u !== c ? (u - c > 180 ? c += 360 : c - u > 180 && (u += 360), p.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: Mn(u, c) }) : c && d.push(r(d) + "skewX(" + c + o); + function l(u, c, d, p) { + u !== c ? p.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, f, m) { - if (u !== d || c !== h) { + function s(u, c, d, p, f, m) { + if (u !== d || c !== p) { var b = f.push(r(f) + "scale(", null, ",", null, ")"); - m.push({ i: b - 4, x: Mn(u, d) }, { i: b - 2, x: Mn(c, h) }); - } else (d !== 1 || h !== 1) && f.push(r(f) + "scale(" + d + "," + h + ")"); + m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); + } else (d !== 1 || p !== 1) && f.push(r(f) + "scale(" + d + "," + p + ")"); } 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(f) { - for (var m = -1, b = h.length, y; ++m < b; ) d[(y = h[m]).i] = y.x(f); + var d = [], p = []; + return u = e(u), c = e(c), a(u.translateX, u.translateY, c.translateX, c.translateY, d, p), i(u.rotate, c.rotate, d, p), l(u.skewX, c.skewX, d, p), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, p), u = c = null, function(f) { + for (var m = -1, b = p.length, y; ++m < b; ) d[(y = p[m]).i] = y.x(f); return d.join(""); }; }; } -var Wp = r3(Vp, "px, ", "px)", "deg)"), Zp = r3($p, ", ", ")", ")"), Up = 1e-12; -function nu(e) { +var rg = b3(ng, "px, ", "px)", "deg)"), ag = b3(og, ", ", ")", ")"), ig = 1e-12; +function hu(e) { return ((e = Math.exp(e)) + 1 / e) / 2; } -function qp(e) { +function lg(e) { return ((e = Math.exp(e)) - 1 / e) / 2; } -function Yp(e) { +function sg(e) { return ((e = Math.exp(2 * e)) - 1) / (e + 1); } -const Gp = function e(t, n, o) { +const cg = 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], f = c - l, m = d - s, b = f * f + m * m, y, g; - if (b < Up) - g = Math.log(h / u) / t, y = function(O) { + var l = a[0], s = a[1], u = a[2], c = i[0], d = i[1], p = i[2], f = c - l, m = d - s, b = f * f + m * m, y, g; + if (b < ig) + g = Math.log(p / u) / t, y = function(M) { return [ - l + O * f, - s + O * m, - u * Math.exp(t * O * g) + l + M * f, + s + M * m, + u * Math.exp(t * M * g) ]; }; else { - var x = Math.sqrt(b), C = (h * h - u * u + o * b) / (2 * u * n * x), S = (h * h - u * u - o * b) / (2 * h * n * x), E = Math.log(Math.sqrt(C * C + 1) - C), w = Math.log(Math.sqrt(S * S + 1) - S); - g = (w - E) / t, y = function(O) { - var _ = O * g, L = nu(E), j = u / (n * x) * (L * Yp(t * _ + E) - qp(E)); + var x = Math.sqrt(b), C = (p * p - u * u + o * b) / (2 * u * n * x), S = (p * p - u * u - o * b) / (2 * p * n * x), w = Math.log(Math.sqrt(C * C + 1) - C), E = Math.log(Math.sqrt(S * S + 1) - S); + g = (E - w) / t, y = function(M) { + var _ = M * g, L = hu(w), R = u / (n * x) * (L * sg(t * _ + w) - lg(w)); return [ - l + j * f, - s + j * m, - u * L / nu(t * _ + E) + l + R * f, + s + R * m, + u * L / hu(t * _ + w) ]; }; } @@ -17927,138 +17927,138 @@ const Gp = function e(t, n, o) { return e(i, l, s); }, r; }(Math.SQRT2, 2, 4); -var Ao = 0, Yo = 0, Po = 0, a3 = 1e3, Oa, Go, Da = 0, Xn = 0, ei = 0, hr = typeof performance == "object" && performance.now ? performance : Date, i3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { +var Mo = 0, er = 0, Uo = 0, y3 = 1e3, Ra, tr, Ia = 0, eo = 0, ri = 0, Cr = typeof performance == "object" && performance.now ? performance : Date, C3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { setTimeout(e, 17); }; -function vc() { - return Xn || (i3(Kp), Xn = hr.now() + ei); +function Ac() { + return eo || (C3(ug), eo = Cr.now() + ri); } -function Kp() { - Xn = 0; +function ug() { + eo = 0; } -function Na() { +function za() { this._call = this._time = this._next = null; } -Na.prototype = l3.prototype = { - constructor: Na, +za.prototype = v3.prototype = { + constructor: za, restart: function(e, t, n) { if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? vc() : +n) + (t == null ? 0 : +t), !this._next && Go !== this && (Go ? Go._next = this : Oa = this, Go = this), this._call = e, this._time = n, ys(); + n = (n == null ? Ac() : +n) + (t == null ? 0 : +t), !this._next && tr !== this && (tr ? tr._next = this : Ra = this, tr = this), this._call = e, this._time = n, Es(); }, stop: function() { - this._call && (this._call = null, this._time = 1 / 0, ys()); + this._call && (this._call = null, this._time = 1 / 0, Es()); } }; -function l3(e, t, n) { - var o = new Na(); +function v3(e, t, n) { + var o = new za(); return o.restart(e, t, n), o; } -function Xp() { - vc(), ++Ao; - for (var e = Oa, t; e; ) - (t = Xn - e._time) >= 0 && e._call.call(void 0, t), e = e._next; - --Ao; +function dg() { + Ac(), ++Mo; + for (var e = Ra, t; e; ) + (t = eo - e._time) >= 0 && e._call.call(void 0, t), e = e._next; + --Mo; } -function ou() { - Xn = (Da = hr.now()) + ei, Ao = Yo = 0; +function pu() { + eo = (Ia = Cr.now()) + ri, Mo = er = 0; try { - Xp(); + dg(); } finally { - Ao = 0, Jp(), Xn = 0; + Mo = 0, hg(), eo = 0; } } -function Qp() { - var e = hr.now(), t = e - Da; - t > a3 && (ei -= t, Da = e); +function fg() { + var e = Cr.now(), t = e - Ia; + t > y3 && (ri -= t, Ia = e); } -function Jp() { - for (var e, t = Oa, 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 : Oa = n); - Go = e, ys(o); +function hg() { + for (var e, t = Ra, 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 : Ra = n); + tr = e, Es(o); } -function ys(e) { - if (!Ao) { - Yo && (Yo = clearTimeout(Yo)); - var t = e - Xn; - t > 24 ? (e < 1 / 0 && (Yo = setTimeout(ou, e - hr.now() - ei)), Po && (Po = clearInterval(Po))) : (Po || (Da = hr.now(), Po = setInterval(Qp, a3)), Ao = 1, i3(ou)); +function Es(e) { + if (!Mo) { + er && (er = clearTimeout(er)); + var t = e - eo; + t > 24 ? (e < 1 / 0 && (er = setTimeout(pu, e - Cr.now() - ri)), Uo && (Uo = clearInterval(Uo))) : (Uo || (Ia = Cr.now(), Uo = setInterval(fg, y3)), Mo = 1, C3(pu)); } } -function ru(e, t, n) { - var o = new Na(); +function gu(e, t, n) { + var o = new za(); return t = t == null ? 0 : +t, o.restart((r) => { o.stop(), e(r + t); }, t, n), o; } -var eg = Qa("start", "end", "cancel", "interrupt"), tg = [], s3 = 0, au = 1, Cs = 2, fa = 3, iu = 4, vs = 5, ha = 6; -function ti(e, t, n, o, r, a) { +var pg = ni("start", "end", "cancel", "interrupt"), gg = [], x3 = 0, mu = 1, Ss = 2, ya = 3, bu = 4, ks = 5, Ca = 6; +function ai(e, t, n, o, r, a) { var i = e.__transition; if (!i) e.__transition = {}; else if (n in i) return; - ng(e, n, { + mg(e, n, { name: t, index: o, // For context during callback. group: r, // For context during callback. - on: eg, - tween: tg, + on: pg, + tween: gg, time: a.time, delay: a.delay, duration: a.duration, ease: a.ease, timer: null, - state: s3 + state: x3 }); } -function xc(e, t) { - var n = Kt(e, t); - if (n.state > s3) throw new Error("too late; already scheduled"); +function Mc(e, t) { + var n = Qt(e, t); + if (n.state > x3) throw new Error("too late; already scheduled"); return n; } -function dn(e, t) { - var n = Kt(e, t); - if (n.state > fa) throw new Error("too late; already running"); +function fn(e, t) { + var n = Qt(e, t); + if (n.state > ya) throw new Error("too late; already running"); return n; } -function Kt(e, t) { +function Qt(e, t) { var n = e.__transition; if (!n || !(n = n[t])) throw new Error("transition not found"); return n; } -function ng(e, t, n) { +function mg(e, t, n) { var o = e.__transition, r; - o[t] = n, n.timer = l3(a, 0, n.time); + o[t] = n, n.timer = v3(a, 0, n.time); function a(u) { - n.state = au, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); + n.state = mu, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); } function i(u) { - var c, d, h, f; - if (n.state !== au) return s(); + var c, d, p, f; + if (n.state !== mu) return s(); for (c in o) if (f = o[c], f.name === n.name) { - if (f.state === fa) return ru(i); - f.state === iu ? (f.state = ha, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = ha, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); + if (f.state === ya) return gu(i); + f.state === bu ? (f.state = Ca, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = Ca, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); } - if (ru(function() { - n.state === fa && (n.state = iu, n.timer.restart(l, n.delay, n.time), l(u)); - }), n.state = Cs, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Cs) { - for (n.state = fa, r = new Array(h = n.tween.length), c = 0, d = -1; c < h; ++c) + if (gu(function() { + n.state === ya && (n.state = bu, n.timer.restart(l, n.delay, n.time), l(u)); + }), n.state = Ss, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Ss) { + for (n.state = ya, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = f); r.length = d + 1; } } function l(u) { - for (var c = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(s), n.state = vs, 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 = ks, 1), d = -1, p = r.length; ++d < p; ) r[d].call(e, c); - n.state === vs && (n.on.call("end", e, e.__data__, n.index, n.group), s()); + n.state === ks && (n.on.call("end", e, e.__data__, n.index, n.group), s()); } function s() { - n.state = ha, n.timer.stop(), delete o[t]; + n.state = Ca, n.timer.stop(), delete o[t]; for (var u in o) return; delete e.__transition; } } -function pa(e, t) { +function va(e, t) { var n = e.__transition, o, r, a = !0, i; if (n) { t = t == null ? null : t + ""; @@ -18067,20 +18067,20 @@ function pa(e, t) { a = !1; continue; } - r = o.state > Cs && o.state < vs, o.state = ha, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; + r = o.state > Ss && o.state < ks, o.state = Ca, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; } a && delete e.__transition; } } -function og(e) { +function bg(e) { return this.each(function() { - pa(this, e); + va(this, e); }); } -function rg(e, t) { +function yg(e, t) { var n, o; return function() { - var r = dn(this, e), a = r.tween; + var r = fn(this, e), a = r.tween; if (a !== n) { o = n = a; for (var i = 0, l = o.length; i < l; ++i) @@ -18092,11 +18092,11 @@ function rg(e, t) { r.tween = o; }; } -function ag(e, t, n) { +function Cg(e, t, n) { var o, r; if (typeof n != "function") throw new Error(); return function() { - var a = dn(this, e), i = a.tween; + var a = fn(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) @@ -18109,406 +18109,406 @@ function ag(e, t, n) { a.tween = r; }; } -function ig(e, t) { +function vg(e, t) { var n = this._id; if (e += "", arguments.length < 2) { - for (var o = Kt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) + for (var o = Qt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) if ((i = o[r]).name === e) return i.value; return null; } - return this.each((t == null ? rg : ag)(n, e, t)); + return this.each((t == null ? yg : Cg)(n, e, t)); } -function wc(e, t, n) { +function Tc(e, t, n) { var o = e._id; return e.each(function() { - var r = dn(this, o); + var r = fn(this, o); (r.value || (r.value = {}))[t] = n.apply(this, arguments); }), function(r) { - return Kt(r, o).value[t]; + return Qt(r, o).value[t]; }; } -function c3(e, t) { +function w3(e, t) { var n; - return (typeof t == "number" ? Mn : t instanceof fr ? eu : (n = fr(t)) ? (t = n, eu) : Bp)(e, t); + return (typeof t == "number" ? Nn : t instanceof yr ? du : (n = yr(t)) ? (t = n, du) : tg)(e, t); } -function lg(e) { +function xg(e) { return function() { this.removeAttribute(e); }; } -function sg(e) { +function wg(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function cg(e, t, n) { +function Eg(e, t, n) { var o, r = n + "", a; return function() { var i = this.getAttribute(e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function ug(e, t, n) { +function Sg(e, t, n) { 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); }; } -function dg(e, t, n) { +function kg(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))); }; } -function fg(e, t, n) { +function _g(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))); }; } -function hg(e, t) { - var n = Ja(e), o = n === "transform" ? Zp : c3; - return this.attrTween(e, typeof t == "function" ? (n.local ? fg : dg)(n, o, wc(this, "attr." + e, t)) : t == null ? (n.local ? sg : lg)(n) : (n.local ? ug : cg)(n, o, t)); +function Ag(e, t) { + var n = oi(e), o = n === "transform" ? ag : w3; + return this.attrTween(e, typeof t == "function" ? (n.local ? _g : kg)(n, o, Tc(this, "attr." + e, t)) : t == null ? (n.local ? wg : xg)(n) : (n.local ? Sg : Eg)(n, o, t)); } -function pg(e, t) { +function Mg(e, t) { return function(n) { this.setAttribute(e, t.call(this, n)); }; } -function gg(e, t) { +function Tg(e, t) { return function(n) { this.setAttributeNS(e.space, e.local, t.call(this, n)); }; } -function mg(e, t) { +function Og(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && gg(e, a)), n; + return a !== o && (n = (o = a) && Tg(e, a)), n; } return r._value = t, r; } -function bg(e, t) { +function Ng(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && pg(e, a)), n; + return a !== o && (n = (o = a) && Mg(e, a)), n; } return r._value = t, r; } -function yg(e, t) { +function Dg(e, t) { var n = "attr." + e; if (arguments.length < 2) return (n = this.tween(n)) && n._value; if (t == null) return this.tween(n, null); if (typeof t != "function") throw new Error(); - var o = Ja(e); - return this.tween(n, (o.local ? mg : bg)(o, t)); + var o = oi(e); + return this.tween(n, (o.local ? Og : Ng)(o, t)); } -function Cg(e, t) { +function Lg(e, t) { return function() { - xc(this, e).delay = +t.apply(this, arguments); + Mc(this, e).delay = +t.apply(this, arguments); }; } -function vg(e, t) { +function Fg(e, t) { return t = +t, function() { - xc(this, e).delay = t; + Mc(this, e).delay = t; }; } -function xg(e) { +function jg(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Cg : vg)(t, e)) : Kt(this.node(), t).delay; + return arguments.length ? this.each((typeof e == "function" ? Lg : Fg)(t, e)) : Qt(this.node(), t).delay; } -function wg(e, t) { +function Rg(e, t) { return function() { - dn(this, e).duration = +t.apply(this, arguments); + fn(this, e).duration = +t.apply(this, arguments); }; } -function Eg(e, t) { +function Ig(e, t) { return t = +t, function() { - dn(this, e).duration = t; + fn(this, e).duration = t; }; } -function Sg(e) { +function zg(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? wg : Eg)(t, e)) : Kt(this.node(), t).duration; + return arguments.length ? this.each((typeof e == "function" ? Rg : Ig)(t, e)) : Qt(this.node(), t).duration; } -function kg(e, t) { +function Hg(e, t) { if (typeof t != "function") throw new Error(); return function() { - dn(this, e).ease = t; + fn(this, e).ease = t; }; } -function _g(e) { +function Pg(e) { var t = this._id; - return arguments.length ? this.each(kg(t, e)) : Kt(this.node(), t).ease; + return arguments.length ? this.each(Hg(t, e)) : Qt(this.node(), t).ease; } -function Ag(e, t) { +function Bg(e, t) { return function() { var n = t.apply(this, arguments); if (typeof n != "function") throw new Error(); - dn(this, e).ease = n; + fn(this, e).ease = n; }; } -function Mg(e) { +function Vg(e) { if (typeof e != "function") throw new Error(); - return this.each(Ag(this._id, e)); + return this.each(Bg(this._id, e)); } -function Tg(e) { - typeof e != "function" && (e = Bd(e)); +function $g(e) { + typeof e != "function" && (e = e3(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 vn(o, this._parents, this._name, this._id); + return new wn(o, this._parents, this._name, this._id); } -function Og(e) { +function Wg(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, f = 0; f < c; ++f) - (h = s[f] || u[f]) && (d[f] = h); + for (var s = t[l], u = n[l], c = s.length, d = i[l] = new Array(c), p, f = 0; f < c; ++f) + (p = s[f] || u[f]) && (d[f] = p); for (; l < o; ++l) i[l] = t[l]; - return new vn(i, this._parents, this._name, this._id); + return new wn(i, this._parents, this._name, this._id); } -function Dg(e) { +function Zg(e) { return (e + "").trim().split(/^|\s+/).every(function(t) { var n = t.indexOf("."); return n >= 0 && (t = t.slice(0, n)), !t || t === "start"; }); } -function Ng(e, t, n) { - var o, r, a = Dg(t) ? xc : dn; +function Ug(e, t, n) { + var o, r, a = Zg(t) ? Mc : fn; return function() { var i = a(this, e), l = i.on; l !== o && (r = (o = l).copy()).on(t, n), i.on = r; }; } -function Lg(e, t) { +function qg(e, t) { var n = this._id; - return arguments.length < 2 ? Kt(this.node(), n).on.on(e) : this.each(Ng(n, e, t)); + return arguments.length < 2 ? Qt(this.node(), n).on.on(e) : this.each(Ug(n, e, t)); } -function Fg(e) { +function Yg(e) { return function() { var t = this.parentNode; for (var n in this.__transition) if (+n !== e) return; t && t.removeChild(this); }; } -function Rg() { - return this.on("end.remove", Fg(this._id)); +function Gg() { + return this.on("end.remove", Yg(this._id)); } -function jg(e) { +function Kg(e) { var t = this._name, n = this._id; - typeof e != "function" && (e = bc(e)); + typeof e != "function" && (e = Sc(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, ti(u[h], t, n, h, u, Kt(c, n))); - return new vn(a, this._parents, t, n); + for (var l = o[i], s = l.length, u = a[i] = new Array(s), c, d, p = 0; p < s; ++p) + (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ai(u[p], t, n, p, u, Qt(c, n))); + return new wn(a, this._parents, t, n); } -function Ig(e) { +function Xg(e) { var t = this._name, n = this._id; - typeof e != "function" && (e = Pd(e)); + typeof e != "function" && (e = Jd(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), f, m = Kt(c, n), b = 0, y = h.length; b < y; ++b) - (f = h[b]) && ti(f, t, n, b, h, m); - a.push(h), i.push(c); + for (var p = e.call(c, c.__data__, d, s), f, m = Qt(c, n), b = 0, y = p.length; b < y; ++b) + (f = p[b]) && ai(f, t, n, b, p, m); + a.push(p), i.push(c); } - return new vn(a, i, t, n); + return new wn(a, i, t, n); } -var zg = kr.prototype.constructor; -function Hg() { - return new zg(this._groups, this._parents); +var Qg = Nr.prototype.constructor; +function Jg() { + return new Qg(this._groups, this._parents); } -function Pg(e, t) { +function em(e, t) { var n, o, r; return function() { - var a = _o(this, e), i = (this.style.removeProperty(e), _o(this, e)); + var a = Ao(this, e), i = (this.style.removeProperty(e), Ao(this, e)); return a === i ? null : a === n && i === o ? r : r = t(n = a, o = i); }; } -function u3(e) { +function E3(e) { return function() { this.style.removeProperty(e); }; } -function Bg(e, t, n) { +function tm(e, t, n) { var o, r = n + "", a; return function() { - var i = _o(this, e); + var i = Ao(this, e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function Vg(e, t, n) { +function nm(e, t, n) { var o, r, a; return function() { - var i = _o(this, e), l = n(this), s = l + ""; - return l == null && (s = l = (this.style.removeProperty(e), _o(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); + var i = Ao(this, e), l = n(this), s = l + ""; + return l == null && (s = l = (this.style.removeProperty(e), Ao(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); }; } -function $g(e, t) { +function om(e, t) { var n, o, r, a = "style." + t, i = "end." + a, l; return function() { - var s = dn(this, e), u = s.on, c = s.value[a] == null ? l || (l = u3(t)) : void 0; + var s = fn(this, e), u = s.on, c = s.value[a] == null ? l || (l = E3(t)) : void 0; (u !== n || r !== c) && (o = (n = u).copy()).on(i, r = c), s.on = o; }; } -function Wg(e, t, n) { - var o = (e += "") == "transform" ? Wp : c3; - return t == null ? this.styleTween(e, Pg(e, o)).on("end.style." + e, u3(e)) : typeof t == "function" ? this.styleTween(e, Vg(e, o, wc(this, "style." + e, t))).each($g(this._id, e)) : this.styleTween(e, Bg(e, o, t), n).on("end.style." + e, null); +function rm(e, t, n) { + var o = (e += "") == "transform" ? rg : w3; + return t == null ? this.styleTween(e, em(e, o)).on("end.style." + e, E3(e)) : typeof t == "function" ? this.styleTween(e, nm(e, o, Tc(this, "style." + e, t))).each(om(this._id, e)) : this.styleTween(e, tm(e, o, t), n).on("end.style." + e, null); } -function Zg(e, t, n) { +function am(e, t, n) { return function(o) { this.style.setProperty(e, t.call(this, o), n); }; } -function Ug(e, t, n) { +function im(e, t, n) { var o, r; function a() { var i = t.apply(this, arguments); - return i !== r && (o = (r = i) && Zg(e, i, n)), o; + return i !== r && (o = (r = i) && am(e, i, n)), o; } return a._value = t, a; } -function qg(e, t, n) { +function lm(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, Ug(e, t, n ?? "")); + return this.tween(o, im(e, t, n ?? "")); } -function Yg(e) { +function sm(e) { return function() { this.textContent = e; }; } -function Gg(e) { +function cm(e) { return function() { var t = e(this); this.textContent = t ?? ""; }; } -function Kg(e) { - return this.tween("text", typeof e == "function" ? Gg(wc(this, "text", e)) : Yg(e == null ? "" : e + "")); +function um(e) { + return this.tween("text", typeof e == "function" ? cm(Tc(this, "text", e)) : sm(e == null ? "" : e + "")); } -function Xg(e) { +function dm(e) { return function(t) { this.textContent = e.call(this, t); }; } -function Qg(e) { +function fm(e) { var t, n; function o() { var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && Xg(r)), t; + return r !== n && (t = (n = r) && dm(r)), t; } return o._value = e, o; } -function Jg(e) { +function hm(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, Qg(e)); + return this.tween(t, fm(e)); } -function em() { - for (var e = this._name, t = this._id, n = d3(), o = this._groups, r = o.length, a = 0; a < r; ++a) +function pm() { + for (var e = this._name, t = this._id, n = S3(), 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 = Kt(s, t); - ti(s, e, n, u, i, { + var c = Qt(s, t); + ai(s, e, n, u, i, { time: c.time + c.delay + c.duration, delay: 0, duration: c.duration, ease: c.ease }); } - return new vn(o, this._parents, e, n); + return new wn(o, this._parents, e, n); } -function tm() { +function gm() { 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 = dn(this, o), c = u.on; + var u = fn(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 nm = 0; -function vn(e, t, n, o) { +var mm = 0; +function wn(e, t, n, o) { this._groups = e, this._parents = t, this._name = n, this._id = o; } -function d3() { - return ++nm; -} -var pn = kr.prototype; -vn.prototype = { - constructor: vn, - select: jg, - selectAll: Ig, - selectChild: pn.selectChild, - selectChildren: pn.selectChildren, - filter: Tg, - merge: Og, - selection: Hg, - transition: em, - call: pn.call, - nodes: pn.nodes, - node: pn.node, - size: pn.size, - empty: pn.empty, - each: pn.each, - on: Lg, - attr: hg, - attrTween: yg, - style: Wg, - styleTween: qg, - text: Kg, - textTween: Jg, - remove: Rg, - tween: ig, - delay: xg, - duration: Sg, - ease: _g, - easeVarying: Mg, - end: tm, - [Symbol.iterator]: pn[Symbol.iterator] +function S3() { + return ++mm; +} +var gn = Nr.prototype; +wn.prototype = { + constructor: wn, + select: Kg, + selectAll: Xg, + selectChild: gn.selectChild, + selectChildren: gn.selectChildren, + filter: $g, + merge: Wg, + selection: Jg, + transition: pm, + call: gn.call, + nodes: gn.nodes, + node: gn.node, + size: gn.size, + empty: gn.empty, + each: gn.each, + on: qg, + attr: Ag, + attrTween: Dg, + style: rm, + styleTween: lm, + text: um, + textTween: hm, + remove: Gg, + tween: vg, + delay: jg, + duration: zg, + ease: Pg, + easeVarying: Vg, + end: gm, + [Symbol.iterator]: gn[Symbol.iterator] }; -function om(e) { +function bm(e) { return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; } -var rm = { +var ym = { time: null, // Set on use. delay: 0, duration: 250, - ease: om + ease: bm }; -function am(e, t) { +function Cm(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 im(e) { +function vm(e) { var t, n; - e instanceof vn ? (t = e._id, e = e._name) : (t = d3(), (n = rm).time = vc(), e = e == null ? null : e + ""); + e instanceof wn ? (t = e._id, e = e._name) : (t = S3(), (n = ym).time = Ac(), 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]) && ti(s, e, t, u, i, n || am(s, t)); - return new vn(o, this._parents, e, t); + (s = i[u]) && ai(s, e, t, u, i, n || Cm(s, t)); + return new wn(o, this._parents, e, t); } -kr.prototype.interrupt = og; -kr.prototype.transition = im; -const Kr = (e) => () => e; -function lm(e, { +Nr.prototype.interrupt = bg; +Nr.prototype.transition = vm; +const ta = (e) => () => e; +function xm(e, { sourceEvent: t, target: n, transform: o, @@ -18522,16 +18522,16 @@ function lm(e, { _: { value: r } }); } -function mn(e, t, n) { +function bn(e, t, n) { this.k = e, this.x = t, this.y = n; } -mn.prototype = { - constructor: mn, +bn.prototype = { + constructor: bn, scale: function(e) { - return e === 1 ? this : new mn(this.k * e, this.x, this.y); + return e === 1 ? this : new bn(this.k * e, this.x, this.y); }, translate: function(e, t) { - return e === 0 & t === 0 ? this : new mn(this.k, this.x + this.k * e, this.y + this.k * t); + return e === 0 & t === 0 ? this : new bn(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]; @@ -18561,215 +18561,215 @@ mn.prototype = { return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; } }; -var Dn = new mn(1, 0, 0); -mn.prototype; -function Nl(e) { +var Fn = new bn(1, 0, 0); +bn.prototype; +function Rl(e) { e.stopImmediatePropagation(); } -function Bo(e) { +function qo(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function sm(e) { +function wm(e) { return (!e.ctrlKey || e.type === "wheel") && !e.button; } -function cm() { +function Em() { 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 lu() { - return this.__zoom || Dn; +function yu() { + return this.__zoom || Fn; } -function um(e) { +function Sm(e) { return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); } -function dm() { +function km() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function fm(e, t, n) { +function _m(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 hm() { - var e = sm, t = cm, n = fm, o = um, r = dm, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = Gp, u = Qa("start", "zoom", "end"), c, d, h, f = 500, m = 150, b = 0, y = 10; +function Am() { + var e = wm, t = Em, n = _m, o = Sm, r = km, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = cg, u = ni("start", "zoom", "end"), c, d, p, f = 500, m = 150, b = 0, y = 10; function g(k) { - k.property("__zoom", lu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", j).filter(r).on("touchstart.zoom", F).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + k.property("__zoom", yu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", R).filter(r).on("touchstart.zoom", F).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } - g.transform = function(k, D, M, N) { + g.transform = function(k, N, T, D) { var I = k.selection ? k.selection() : k; - I.property("__zoom", lu), k !== I ? E(k, D, M, N) : I.interrupt().each(function() { - w(this, arguments).event(N).start().zoom(null, typeof D == "function" ? D.apply(this, arguments) : D).end(); + I.property("__zoom", yu), k !== I ? w(k, N, T, D) : I.interrupt().each(function() { + E(this, arguments).event(D).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end(); }); - }, g.scaleBy = function(k, D, M, N) { + }, g.scaleBy = function(k, N, T, D) { g.scaleTo(k, function() { - var I = this.__zoom.k, R = typeof D == "function" ? D.apply(this, arguments) : D; - return I * R; - }, M, N); - }, g.scaleTo = function(k, D, M, N) { + var I = this.__zoom.k, j = typeof N == "function" ? N.apply(this, arguments) : N; + return I * j; + }, T, D); + }, g.scaleTo = function(k, N, T, D) { g.transform(k, function() { - var I = t.apply(this, arguments), R = this.__zoom, v = M == null ? S(I) : typeof M == "function" ? M.apply(this, arguments) : M, z = R.invert(v), B = typeof D == "function" ? D.apply(this, arguments) : D; - return n(C(x(R, B), v, z), I, i); - }, M, N); - }, g.translateBy = function(k, D, M, N) { + var I = t.apply(this, arguments), j = this.__zoom, v = T == null ? S(I) : typeof T == "function" ? T.apply(this, arguments) : T, z = j.invert(v), B = typeof N == "function" ? N.apply(this, arguments) : N; + return n(C(x(j, B), v, z), I, i); + }, T, D); + }, g.translateBy = function(k, N, T, D) { g.transform(k, function() { return n(this.__zoom.translate( - typeof D == "function" ? D.apply(this, arguments) : D, - typeof M == "function" ? M.apply(this, arguments) : M + typeof N == "function" ? N.apply(this, arguments) : N, + typeof T == "function" ? T.apply(this, arguments) : T ), t.apply(this, arguments), i); - }, null, N); - }, g.translateTo = function(k, D, M, N, I) { + }, null, D); + }, g.translateTo = function(k, N, T, D, I) { g.transform(k, function() { - var R = t.apply(this, arguments), v = this.__zoom, z = N == null ? S(R) : typeof N == "function" ? N.apply(this, arguments) : N; - return n(Dn.translate(z[0], z[1]).scale(v.k).translate( - typeof D == "function" ? -D.apply(this, arguments) : -D, - typeof M == "function" ? -M.apply(this, arguments) : -M - ), R, i); - }, N, I); + var j = t.apply(this, arguments), v = this.__zoom, z = D == null ? S(j) : typeof D == "function" ? D.apply(this, arguments) : D; + return n(Fn.translate(z[0], z[1]).scale(v.k).translate( + typeof N == "function" ? -N.apply(this, arguments) : -N, + typeof T == "function" ? -T.apply(this, arguments) : -T + ), j, i); + }, D, I); }; - function x(k, D) { - return D = Math.max(a[0], Math.min(a[1], D)), D === k.k ? k : new mn(D, k.x, k.y); + function x(k, N) { + return N = Math.max(a[0], Math.min(a[1], N)), N === k.k ? k : new bn(N, k.x, k.y); } - function C(k, D, M) { - var N = D[0] - M[0] * k.k, I = D[1] - M[1] * k.k; - return N === k.x && I === k.y ? k : new mn(k.k, N, I); + function C(k, N, T) { + var D = N[0] - T[0] * k.k, I = N[1] - T[1] * k.k; + return D === k.x && I === k.y ? k : new bn(k.k, D, I); } function S(k) { return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; } - function E(k, D, M, N) { + function w(k, N, T, D) { k.on("start.zoom", function() { - w(this, arguments).event(N).start(); + E(this, arguments).event(D).start(); }).on("interrupt.zoom end.zoom", function() { - w(this, arguments).event(N).end(); + E(this, arguments).event(D).end(); }).tween("zoom", function() { - var I = this, R = arguments, v = w(I, R).event(N), z = t.apply(I, R), B = M == null ? S(z) : typeof M == "function" ? M.apply(I, R) : M, A = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, Y = typeof D == "function" ? D.apply(I, R) : D, K = s(W.invert(B).concat(A / W.k), Y.invert(B).concat(A / Y.k)); + var I = this, j = arguments, v = E(I, j).event(D), z = t.apply(I, j), B = T == null ? S(z) : typeof T == "function" ? T.apply(I, j) : T, A = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, Y = typeof N == "function" ? N.apply(I, j) : N, K = s(W.invert(B).concat(A / W.k), Y.invert(B).concat(A / Y.k)); return function(Q) { if (Q === 1) Q = Y; else { var ne = K(Q), oe = A / ne[2]; - Q = new mn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); + Q = new bn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); } v.zoom(null, Q); }; }); } - function w(k, D, M) { - return !M && k.__zooming || new O(k, D); + function E(k, N, T) { + return !T && k.__zooming || new M(k, N); } - function O(k, D) { - this.that = k, this.args = D, this.active = 0, this.sourceEvent = null, this.extent = t.apply(k, D), this.taps = 0; + function M(k, N) { + this.that = k, this.args = N, this.active = 0, this.sourceEvent = null, this.extent = t.apply(k, N), this.taps = 0; } - O.prototype = { + M.prototype = { event: function(k) { return k && (this.sourceEvent = k), this; }, start: function() { return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this; }, - zoom: function(k, D) { - return this.mouse && k !== "mouse" && (this.mouse[1] = D.invert(this.mouse[0])), this.touch0 && k !== "touch" && (this.touch0[1] = D.invert(this.touch0[0])), this.touch1 && k !== "touch" && (this.touch1[1] = D.invert(this.touch1[0])), this.that.__zoom = D, this.emit("zoom"), this; + zoom: function(k, N) { + return this.mouse && k !== "mouse" && (this.mouse[1] = N.invert(this.mouse[0])), this.touch0 && k !== "touch" && (this.touch0[1] = N.invert(this.touch0[0])), this.touch1 && k !== "touch" && (this.touch1[1] = N.invert(this.touch1[0])), this.that.__zoom = N, this.emit("zoom"), this; }, end: function() { return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this; }, emit: function(k) { - var D = Ut(this.that).datum(); + var N = qt(this.that).datum(); u.call( k, this.that, - new lm(k, { + new xm(k, { sourceEvent: this.sourceEvent, target: g, type: k, transform: this.that.__zoom, dispatch: u }), - D + N ); } }; - function _(k, ...D) { + function _(k, ...N) { if (!e.apply(this, arguments)) return; - var M = w(this, D).event(k), N = this.__zoom, I = Math.max(a[0], Math.min(a[1], N.k * Math.pow(2, o.apply(this, arguments)))), R = nn(k); - if (M.wheel) - (M.mouse[0][0] !== R[0] || M.mouse[0][1] !== R[1]) && (M.mouse[1] = N.invert(M.mouse[0] = R)), clearTimeout(M.wheel); + var T = E(this, N).event(k), D = this.__zoom, I = Math.max(a[0], Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments)))), j = rn(k); + if (T.wheel) + (T.mouse[0][0] !== j[0] || T.mouse[0][1] !== j[1]) && (T.mouse[1] = D.invert(T.mouse[0] = j)), clearTimeout(T.wheel); else { - if (N.k === I) return; - M.mouse = [R, N.invert(R)], pa(this), M.start(); + if (D.k === I) return; + T.mouse = [j, D.invert(j)], va(this), T.start(); } - Bo(k), M.wheel = setTimeout(v, m), M.zoom("mouse", n(C(x(N, I), M.mouse[0], M.mouse[1]), M.extent, i)); + qo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); function v() { - M.wheel = null, M.end(); + T.wheel = null, T.end(); } } - function L(k, ...D) { - if (h || !e.apply(this, arguments)) return; - var M = k.currentTarget, N = w(this, D, !0).event(k), I = Ut(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), R = nn(k, M), v = k.clientX, z = k.clientY; - Xd(k.view), Nl(k), N.mouse = [R, this.__zoom.invert(R)], pa(this), N.start(); + function L(k, ...N) { + if (p || !e.apply(this, arguments)) return; + var T = k.currentTarget, D = E(this, N, !0).event(k), I = qt(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), j = rn(k, T), v = k.clientX, z = k.clientY; + u3(k.view), Rl(k), D.mouse = [j, this.__zoom.invert(j)], va(this), D.start(); function B(W) { - if (Bo(W), !N.moved) { + if (qo(W), !D.moved) { var Y = W.clientX - v, K = W.clientY - z; - N.moved = Y * Y + K * K > b; + D.moved = Y * Y + K * K > b; } - N.event(W).zoom("mouse", n(C(N.that.__zoom, N.mouse[0] = nn(W, M), N.mouse[1]), N.extent, i)); + D.event(W).zoom("mouse", n(C(D.that.__zoom, D.mouse[0] = rn(W, T), D.mouse[1]), D.extent, i)); } function A(W) { - I.on("mousemove.zoom mouseup.zoom", null), Qd(W.view, N.moved), Bo(W), N.event(W).end(); + I.on("mousemove.zoom mouseup.zoom", null), d3(W.view, D.moved), qo(W), D.event(W).end(); } } - function j(k, ...D) { + function R(k, ...N) { if (e.apply(this, arguments)) { - var M = this.__zoom, N = nn(k.changedTouches ? k.changedTouches[0] : k, this), I = M.invert(N), R = M.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(M, R), N, I), t.apply(this, D), i); - Bo(k), l > 0 ? Ut(this).transition().duration(l).call(E, v, N, k) : Ut(this).call(g.transform, v, N, k); + var T = this.__zoom, D = rn(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(D), j = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, j), D, I), t.apply(this, N), i); + qo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); } } - function F(k, ...D) { + function F(k, ...N) { if (e.apply(this, arguments)) { - var M = k.touches, N = M.length, I = w(this, D, k.changedTouches.length === N).event(k), R, v, z, B; - for (Nl(k), v = 0; v < N; ++v) - z = M[v], B = nn(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, R = !0, I.taps = 1 + !!c); - c && (c = clearTimeout(c)), R && (I.taps < 2 && (d = B[0], c = setTimeout(function() { + var T = k.touches, D = T.length, I = E(this, N, k.changedTouches.length === D).event(k), j, v, z, B; + for (Rl(k), v = 0; v < D; ++v) + z = T[v], B = rn(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, j = !0, I.taps = 1 + !!c); + c && (c = clearTimeout(c)), j && (I.taps < 2 && (d = B[0], c = setTimeout(function() { c = null; - }, f)), pa(this), I.start()); + }, f)), va(this), I.start()); } } - function P(k, ...D) { + function P(k, ...N) { if (this.__zooming) { - var M = w(this, D).event(k), N = k.changedTouches, I = N.length, R, v, z, B; - for (Bo(k), R = 0; R < I; ++R) - v = N[R], z = nn(v, this), M.touch0 && M.touch0[2] === v.identifier ? M.touch0[0] = z : M.touch1 && M.touch1[2] === v.identifier && (M.touch1[0] = z); - if (v = M.that.__zoom, M.touch1) { - var A = M.touch0[0], W = M.touch0[1], Y = M.touch1[0], K = M.touch1[1], Q = (Q = Y[0] - A[0]) * Q + (Q = Y[1] - A[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; + var T = E(this, N).event(k), D = k.changedTouches, I = D.length, j, v, z, B; + for (qo(k), j = 0; j < I; ++j) + v = D[j], z = rn(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); + if (v = T.that.__zoom, T.touch1) { + var A = T.touch0[0], W = T.touch0[1], Y = T.touch1[0], K = T.touch1[1], Q = (Q = Y[0] - A[0]) * Q + (Q = Y[1] - A[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; v = x(v, Math.sqrt(Q / ne)), z = [(A[0] + Y[0]) / 2, (A[1] + Y[1]) / 2], B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]; - } else if (M.touch0) z = M.touch0[0], B = M.touch0[1]; + } else if (T.touch0) z = T.touch0[0], B = T.touch0[1]; else return; - M.zoom("touch", n(C(v, z, B), M.extent, i)); + T.zoom("touch", n(C(v, z, B), T.extent, i)); } } - function V(k, ...D) { + function V(k, ...N) { if (this.__zooming) { - var M = w(this, D).event(k), N = k.changedTouches, I = N.length, R, v; - for (Nl(k), h && clearTimeout(h), h = setTimeout(function() { - h = null; - }, f), R = 0; R < I; ++R) - v = N[R], M.touch0 && M.touch0[2] === v.identifier ? delete M.touch0 : M.touch1 && M.touch1[2] === v.identifier && delete M.touch1; - if (M.touch1 && !M.touch0 && (M.touch0 = M.touch1, delete M.touch1), M.touch0) M.touch0[1] = this.__zoom.invert(M.touch0[0]); - else if (M.end(), M.taps === 2 && (v = nn(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { - var z = Ut(this).on("dblclick.zoom"); + var T = E(this, N).event(k), D = k.changedTouches, I = D.length, j, v; + for (Rl(k), p && clearTimeout(p), p = setTimeout(function() { + p = null; + }, f), j = 0; j < I; ++j) + v = D[j], T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; + if (T.touch1 && !T.touch0 && (T.touch0 = T.touch1, delete T.touch1), T.touch0) T.touch0[1] = this.__zoom.invert(T.touch0[0]); + else if (T.end(), T.taps === 2 && (v = rn(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { + var z = qt(this).on("dblclick.zoom"); z && z.apply(this, arguments); } } } return g.wheelDelta = function(k) { - return arguments.length ? (o = typeof k == "function" ? k : Kr(+k), g) : o; + return arguments.length ? (o = typeof k == "function" ? k : ta(+k), g) : o; }, g.filter = function(k) { - return arguments.length ? (e = typeof k == "function" ? k : Kr(!!k), g) : e; + return arguments.length ? (e = typeof k == "function" ? k : ta(!!k), g) : e; }, g.touchable = function(k) { - return arguments.length ? (r = typeof k == "function" ? k : Kr(!!k), g) : r; + return arguments.length ? (r = typeof k == "function" ? k : ta(!!k), g) : r; }, g.extent = function(k) { - return arguments.length ? (t = typeof k == "function" ? k : Kr([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; + return arguments.length ? (t = typeof k == "function" ? k : ta([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; }, g.scaleExtent = function(k) { return arguments.length ? (a[0] = +k[0], a[1] = +k[1], g) : [a[0], a[1]]; }, g.translateExtent = function(k) { @@ -18789,7 +18789,7 @@ function hm() { return arguments.length ? (y = +k, g) : y; }, g; } -const ni = zt(null), pm = ni.Provider, Gt = { +const ii = Ht(null), Mm = ii.Provider, Xt = { 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".`, @@ -18802,38 +18802,38 @@ const ni = zt(null), pm = ni.Provider, Gt = { 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.` -}, f3 = Gt.error001(); +}, k3 = Xt.error001(); function Ze(e, t) { - const n = Je(ni); + const n = Je(ii); if (n === null) - throw new Error(f3); - return zd(n, e, t); + throw new Error(k3); + return Xd(n, e, t); } -const nt = () => { - const e = Je(ni); +const rt = () => { + const e = Je(ii); if (e === null) - throw new Error(f3); - return He(() => ({ + throw new Error(k3); + return Be(() => ({ getState: e.getState, setState: e.setState, subscribe: e.subscribe, destroy: e.destroy }), [e]); -}, gm = (e) => e.userSelectionActive ? "none" : "all"; -function h3({ position: e, children: t, className: n, style: o, ...r }) { - const a = Ze(gm), i = `${e}`.split("-"); +}, Tm = (e) => e.userSelectionActive ? "none" : "all"; +function _3({ position: e, children: t, className: n, style: o, ...r }) { + const a = Ze(Tm), i = `${e}`.split("-"); return $.createElement("div", { className: bt(["react-flow__panel", n, ...i]), style: { ...o, pointerEvents: a }, ...r }, t); } -function mm({ proOptions: e, position: t = "bottom-right" }) { +function Om({ proOptions: e, position: t = "bottom-right" }) { return e != null && e.hideAttribution ? null : $.createElement( - h3, + _3, { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" }, $.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") ); } -const bm = ({ 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 = he(null), [h, f] = ue({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); - return ce(() => { +const Nm = ({ 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 = he(null), [p, f] = ce({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); + return ue(() => { if (d.current) { const b = d.current.getBBox(); f({ @@ -18845,128 +18845,128 @@ const bm = ({ x: e, y: t, label: n, labelStyle: o = {}, labelShowBg: r = !0, lab } }, [n]), typeof n > "u" || !n ? null : $.createElement( "g", - { transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, className: m, visibility: h.width ? "visible" : "hidden", ...c }, - r && $.createElement("rect", { width: h.width + 2 * 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 }), - $.createElement("text", { className: "react-flow__edge-text", y: h.height / 2, dy: "0.3em", ref: d, style: o }, n), + { transform: `translate(${e - p.width / 2} ${t - p.height / 2})`, className: m, visibility: p.width ? "visible" : "hidden", ...c }, + r && $.createElement("rect", { width: p.width + 2 * i[0], x: -i[0], y: -i[1], height: p.height + 2 * i[1], className: "react-flow__edge-textbg", style: a, rx: l, ry: l }), + $.createElement("text", { className: "react-flow__edge-text", y: p.height / 2, dy: "0.3em", ref: d, style: o }, n), s ); }; -var ym = Ye(bm); -const Ec = (e) => ({ +var Dm = Ye(Nm); +const Oc = (e) => ({ width: e.offsetWidth, height: e.offsetHeight -}), Mo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Sc = (e = { x: 0, y: 0 }, t) => ({ - x: Mo(e.x, t[0][0], t[1][0]), - y: Mo(e.y, t[0][1], t[1][1]) -}), su = (e, t, n) => e < t ? Mo(Math.abs(e - t), 1, 50) / 50 : e > n ? -Mo(Math.abs(e - n), 1, 50) / 50 : 0, p3 = (e, t) => { - const n = su(e.x, 35, t.width - 35) * 20, o = su(e.y, 35, t.height - 35) * 20; +}), To = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Nc = (e = { x: 0, y: 0 }, t) => ({ + x: To(e.x, t[0][0], t[1][0]), + y: To(e.y, t[0][1], t[1][1]) +}), Cu = (e, t, n) => e < t ? To(Math.abs(e - t), 1, 50) / 50 : e > n ? -To(Math.abs(e - n), 1, 50) / 50 : 0, A3 = (e, t) => { + const n = Cu(e.x, 35, t.width - 35) * 20, o = Cu(e.y, 35, t.height - 35) * 20; return [n, o]; -}, g3 = (e) => { +}, M3 = (e) => { var t; return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, Cm = (e, t) => ({ +}, Lm = (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) -}), kc = ({ x: e, y: t, width: n, height: o }) => ({ +}), Dc = ({ x: e, y: t, width: n, height: o }) => ({ x: e, y: t, x2: e + n, y2: t + o -}), vm = ({ x: e, y: t, x2: n, y2: o }) => ({ +}), Fm = ({ x: e, y: t, x2: n, y2: o }) => ({ x: e, y: t, width: n - e, height: o - t -}), cu = (e) => ({ +}), vu = (e) => ({ ...e.positionAbsolute || { x: 0, y: 0 }, width: e.width || 0, height: e.height || 0 -}), xs = (e, t) => { +}), _s = (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); -}, xm = (e) => jt(e.width) && jt(e.height) && jt(e.x) && jt(e.y), jt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), m3 = ["Enter", " ", "Escape"], b3 = (e, t) => { +}, jm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), T3 = ["Enter", " ", "Escape"], O3 = (e, t) => { process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, wm = (e) => "nativeEvent" in e; -function ws(e) { +}, Rm = (e) => "nativeEvent" in e; +function As(e) { var r, a; - const t = wm(e) ? e.nativeEvent : e, n = ((a = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : a[0]) || e.target; + const t = Rm(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")); } -const y3 = (e) => "clientX" in e, Nn = (e, t) => { +const N3 = (e) => "clientX" in e, jn = (e, t) => { var a, i; - const n = y3(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; + const n = N3(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) }; -}, La = () => { +}, Ha = () => { var e; return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0; -}, Lo = ({ 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: f = 20 }) => $.createElement( +}, zo = ({ 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: p, interactionWidth: f = 20 }) => $.createElement( $.Fragment, null, - $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: h }), + $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: p }), f && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: f, className: "react-flow__edge-interaction" }), - r && jt(n) && jt(o) ? $.createElement(ym, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null + r && Rt(n) && Rt(o) ? $.createElement(Dm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null ); -Lo.displayName = "BaseEdge"; -function Vo(e, t, n) { +zo.displayName = "BaseEdge"; +function Yo(e, t, n) { return n === void 0 ? n : (o) => { const r = t().edges.find((a) => a.id === e); r && n(o, { ...r }); }; } -function C3({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { +function D3({ 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 v3({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourceControlX: r, sourceControlY: a, targetControlX: i, targetControlY: l }) { +function L3({ 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]; } -var Qn; +var to; (function(e) { e.Strict = "strict", e.Loose = "loose"; -})(Qn || (Qn = {})); -var $n; +})(to || (to = {})); +var Un; (function(e) { e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})($n || ($n = {})); -var pr; +})(Un || (Un = {})); +var vr; (function(e) { e.Partial = "partial", e.Full = "full"; -})(pr || (pr = {})); -var On; +})(vr || (vr = {})); +var Ln; (function(e) { e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; -})(On || (On = {})); -var Fa; +})(Ln || (Ln = {})); +var Pa; (function(e) { e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Fa || (Fa = {})); +})(Pa || (Pa = {})); var ie; (function(e) { e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; })(ie || (ie = {})); -function uu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { +function xu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { return e === ie.Left || e === ie.Right ? [0.5 * (t + o), n] : [t, 0.5 * (n + r)]; } -function x3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top }) { - const [i, l] = uu({ +function F3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top }) { + const [i, l] = xu({ pos: n, x1: e, y1: t, x2: o, y2: r - }), [s, u] = uu({ + }), [s, u] = xu({ pos: a, x1: o, y1: r, x2: e, y2: t - }), [c, d, h, f] = v3({ + }), [c, d, p, f] = L3({ sourceX: e, sourceY: t, targetX: o, @@ -18980,12 +18980,12 @@ function x3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, `M${e},${t} C${i},${l} ${s},${u} ${o},${r}`, c, d, - h, + p, f ]; } -const _c = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: b }) => { - const [y, g, x] = x3({ +const Lc = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }) => { + const [y, g, x] = F3({ sourceX: e, sourceY: t, sourcePosition: r, @@ -18993,23 +18993,23 @@ const _c = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetY: o, targetPosition: a }); - return $.createElement(Lo, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: b }); + return $.createElement(zo, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }); }); -_c.displayName = "SimpleBezierEdge"; -const du = { +Lc.displayName = "SimpleBezierEdge"; +const wu = { [ie.Left]: { x: -1, y: 0 }, [ie.Right]: { x: 1, y: 0 }, [ie.Top]: { x: 0, y: -1 }, [ie.Bottom]: { x: 0, y: 1 } -}, Em = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, fu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function Sm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { - const i = du[t], l = du[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 = Em({ +}, Im = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, Eu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function zm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { + const i = wu[t], l = wu[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 = Im({ source: s, sourcePosition: t, target: u - }), d = c.x !== 0 ? "x" : "y", h = c[d]; + }), d = c.x !== 0 ? "x" : "y", p = c[d]; let f = [], m, b; - const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, S, E] = C3({ + const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, S, w] = D3({ sourceX: e.x, sourceY: e.y, targetX: n.x, @@ -19017,29 +19017,29 @@ function Sm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPositio }); if (i[d] * l[d] === -1) { m = r.x ?? x, b = r.y ?? C; - const O = [ + const M = [ { x: m, y: s.y }, { x: m, y: u.y } ], _ = [ { x: s.x, y: b }, { x: u.x, y: b } ]; - i[d] === h ? f = d === "x" ? O : _ : f = d === "x" ? _ : O; + i[d] === p ? f = d === "x" ? M : _ : f = d === "x" ? _ : M; } else { - const O = [{ x: s.x, y: u.y }], _ = [{ x: u.x, y: s.y }]; - if (d === "x" ? f = i.x === h ? _ : O : f = i.y === h ? O : _, t === o) { + const M = [{ x: s.x, y: u.y }], _ = [{ x: u.x, y: s.y }]; + if (d === "x" ? f = i.x === p ? _ : M : f = i.y === p ? M : _, t === o) { const V = Math.abs(e[d] - n[d]); if (V <= a) { const k = Math.min(a - 1, a - V); - i[d] === h ? y[d] = (s[d] > e[d] ? -1 : 1) * k : g[d] = (u[d] > n[d] ? -1 : 1) * k; + i[d] === p ? y[d] = (s[d] > e[d] ? -1 : 1) * k : g[d] = (u[d] > n[d] ? -1 : 1) * k; } } if (t !== o) { - const V = d === "x" ? "y" : "x", k = i[d] === l[V], D = s[V] > u[V], M = s[V] < u[V]; - (i[d] === 1 && (!k && D || k && M) || i[d] !== 1 && (!k && M || k && D)) && (f = d === "x" ? O : _); + const V = d === "x" ? "y" : "x", k = i[d] === l[V], N = s[V] > u[V], T = s[V] < u[V]; + (i[d] === 1 && (!k && N || k && T) || i[d] !== 1 && (!k && T || k && N)) && (f = d === "x" ? M : _); } - const L = { x: s.x + y.x, y: s.y + y.y }, j = { x: u.x + g.x, y: u.y + g.y }, F = Math.max(Math.abs(L.x - f[0].x), Math.abs(j.x - f[0].x)), P = Math.max(Math.abs(L.y - f[0].y), Math.abs(j.y - f[0].y)); - F >= P ? (m = (L.x + j.x) / 2, b = f[0].y) : (m = f[0].x, b = (L.y + j.y) / 2); + const L = { x: s.x + y.x, y: s.y + y.y }, R = { x: u.x + g.x, y: u.y + g.y }, F = Math.max(Math.abs(L.x - f[0].x), Math.abs(R.x - f[0].x)), P = Math.max(Math.abs(L.y - f[0].y), Math.abs(R.y - f[0].y)); + F >= P ? (m = (L.x + R.x) / 2, b = f[0].y) : (m = f[0].x, b = (L.y + R.y) / 2); } return [[ e, @@ -19047,10 +19047,10 @@ function Sm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPositio ...f, { x: u.x + g.x, y: u.y + g.y }, n - ], m, b, S, E]; + ], m, b, S, w]; } -function km(e, t, n, o) { - const r = Math.min(fu(e, t) / 2, fu(t, n) / 2, o), { x: a, y: i } = t; +function Hm(e, t, n, o) { + const r = Math.min(Eu(e, t) / 2, Eu(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) { @@ -19060,8 +19060,8 @@ function km(e, t, n, o) { 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 Es({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, h, f, m] = Sm({ +function Ms({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { + const [c, d, p, f, m] = zm({ source: { x: e, y: t }, sourcePosition: n, target: { x: o, y: r }, @@ -19071,33 +19071,33 @@ function Es({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, }); return [c.reduce((y, g, x) => { let C = ""; - return x > 0 && x < c.length - 1 ? C = km(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; - }, ""), d, h, f, m]; + return x > 0 && x < c.length - 1 ? C = Hm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; + }, ""), d, p, f, m]; } -const oi = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: h = ie.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = Es({ +const li = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { + const [g, x, C] = Ms({ sourceX: e, sourceY: t, sourcePosition: d, targetX: n, targetY: o, - targetPosition: h, + targetPosition: p, borderRadius: b == null ? void 0 : b.borderRadius, offset: b == null ? void 0 : b.offset }); - return $.createElement(Lo, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(zo, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); }); -oi.displayName = "SmoothStepEdge"; -const Ac = Ye((e) => { +li.displayName = "SmoothStepEdge"; +const Fc = Ye((e) => { var t; - return $.createElement(oi, { ...e, pathOptions: He(() => { + return $.createElement(li, { ...e, pathOptions: Be(() => { var n; return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); }); -Ac.displayName = "StepEdge"; -function _m({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const [r, a, i, l] = C3({ +Fc.displayName = "StepEdge"; +function Pm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const [r, a, i, l] = D3({ sourceX: e, sourceY: t, targetX: n, @@ -19105,42 +19105,42 @@ function _m({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { }); return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; } -const Mc = Ye(({ 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: f }) => { - const [m, b, y] = _m({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return $.createElement(Lo, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: f }); +const jc = Ye(({ 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: p, interactionWidth: f }) => { + const [m, b, y] = Pm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return $.createElement(zo, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: f }); }); -Mc.displayName = "StraightEdge"; -function Xr(e, t) { +jc.displayName = "StraightEdge"; +function na(e, t) { return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); } -function hu({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { +function Su({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { switch (e) { case ie.Left: - return [t - Xr(t - o, a), n]; + return [t - na(t - o, a), n]; case ie.Right: - return [t + Xr(o - t, a), n]; + return [t + na(o - t, a), n]; case ie.Top: - return [t, n - Xr(n - r, a)]; + return [t, n - na(n - r, a)]; case ie.Bottom: - return [t, n + Xr(r - n, a)]; + return [t, n + na(r - n, a)]; } } -function w3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { - const [l, s] = hu({ +function j3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { + const [l, s] = Su({ pos: n, x1: e, y1: t, x2: o, y2: r, c: i - }), [u, c] = hu({ + }), [u, c] = Su({ pos: a, x1: o, y1: r, x2: e, y2: t, c: i - }), [d, h, f, m] = v3({ + }), [d, p, f, m] = L3({ sourceX: e, sourceY: t, targetX: o, @@ -19153,13 +19153,13 @@ function w3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, return [ `M${e},${t} C${l},${s} ${u},${c} ${o},${r}`, d, - h, + p, f, m ]; } -const Ra = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = w3({ +const Ba = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { + const [g, x, C] = j3({ sourceX: e, sourceY: t, sourcePosition: r, @@ -19168,20 +19168,20 @@ const Ra = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetPosition: a, curvature: b == null ? void 0 : b.curvature }); - return $.createElement(Lo, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(zo, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: y }); }); -Ra.displayName = "BezierEdge"; -const Tc = zt(null), Am = Tc.Provider; -Tc.Consumer; -const Mm = () => Je(Tc), Tm = (e) => "id" in e && "source" in e && "target" in e, Om = (e) => "id" in e && !("source" in e) && !("target" in e), Dm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Ss = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Nm = (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)), Lm = (e, t) => { +Ba.displayName = "BezierEdge"; +const Rc = Ht(null), Bm = Rc.Provider; +Rc.Consumer; +const Vm = () => Je(Rc), $m = (e) => "id" in e && "source" in e && "target" in e, Wm = (e) => "id" in e && !("source" in e) && !("target" in e), Zm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Ts = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Um = (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)), qm = (e, t) => { if (!e.source || !e.target) - return b3("006", Gt.error006()), t; + return O3("006", Xt.error006()), t; let n; - return Tm(e) ? n = { ...e } : n = { + return $m(e) ? n = { ...e } : n = { ...e, - id: Dm(e) - }, Nm(n, t) ? t : t.concat(n); -}, ks = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { + id: Zm(e) + }, Um(n, t) ? t : t.concat(n); +}, Os = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { const s = { x: (e - n) / r, y: (t - o) / r @@ -19190,10 +19190,10 @@ const Mm = () => Je(Tc), Tm = (e) => "id" in e && "source" in e && "target" in e x: i * Math.round(s.x / i), y: l * Math.round(s.y / l) } : s; -}, E3 = ({ x: e, y: t }, [n, o, r]) => ({ +}, R3 = ({ x: e, y: t }, [n, o, r]) => ({ x: e * r + n, y: t * r + o -}), mo = (e, t = [0, 0]) => { +}), bo = (e, t = [0, 0]) => { if (!e) return { x: 0, @@ -19214,20 +19214,20 @@ const Mm = () => Je(Tc), Tm = (e) => "id" in e && "source" in e && "target" in e y: e.positionAbsolute.y - o } : r }; -}, Oc = (e, t = [0, 0]) => { +}, Ic = (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 } = mo(r, t).positionAbsolute; - return Cm(o, kc({ + const { x: a, y: i } = bo(r, t).positionAbsolute; + return Lm(o, Dc({ 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 vm(n); -}, S3 = (e, t, [n, o, r] = [0, 0, 1], a = !1, i = !1, l = [0, 0]) => { + return Fm(n); +}, I3 = (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, @@ -19235,25 +19235,25 @@ const Mm = () => Je(Tc), Tm = (e) => "id" in e && "source" in e && "target" in e height: t.height / r }, u = []; return e.forEach((c) => { - const { width: d, height: h, selectable: f = !0, hidden: m = !1 } = c; + const { width: d, height: p, selectable: f = !0, hidden: m = !1 } = c; if (i && !f || m) return !1; - const { positionAbsolute: b } = mo(c, l), y = { + const { positionAbsolute: b } = bo(c, l), y = { x: b.x, y: b.y, width: d || 0, - height: h || 0 - }, g = xs(s, y), x = typeof d > "u" || typeof h > "u" || d === null || h === null, C = a && g > 0, S = (d || 0) * (h || 0); + height: p || 0 + }, g = _s(s, y), x = typeof d > "u" || typeof p > "u" || d === null || p === null, C = a && g > 0, S = (d || 0) * (p || 0); (x || C || g >= S || c.dragging) && u.push(c); }), u; -}, k3 = (e, t) => { +}, z3 = (e, t) => { const n = e.map((o) => o.id); return t.filter((o) => n.includes(o.source) || n.includes(o.target)); -}, _3 = (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 = Mo(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, h = t / 2 - c * u, f = n / 2 - d * u; - return { x: h, y: f, zoom: u }; -}, zn = (e, t = 0) => e.transition().duration(t); -function pu(e, t, n, o) { +}, H3 = (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 = To(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, p = t / 2 - c * u, f = n / 2 - d * u; + return { x: p, y: f, zoom: u }; +}, Hn = (e, t = 0) => e.transition().duration(t); +function ku(e, t, n, o) { return (t[n] || []).reduce((r, a) => { var i, l; return `${e.id}-${a.id}-${n}` !== o && r.push({ @@ -19265,12 +19265,12 @@ function pu(e, t, n, o) { }), r; }, []); } -function Fm(e, t, n, o, r, a) { - const { x: i, y: l } = Nn(e), u = t.elementsFromPoint(i, l).find((m) => m.classList.contains("react-flow__handle")); +function Ym(e, t, n, o, r, a) { + const { x: i, y: l } = jn(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 = Dc(void 0, u), y = u.getAttribute("data-handleid"), g = a({ nodeId: m, id: y, type: b }); + const b = zc(void 0, u), y = u.getAttribute("data-handleid"), g = a({ nodeId: m, id: y, type: b }); if (g) { const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); return { @@ -19297,75 +19297,75 @@ function Fm(e, t, n, o, r, a) { }), d = b); } }), !c.length) - return { handle: null, validHandleResult: A3() }; + return { handle: null, validHandleResult: P3() }; if (c.length === 1) return c[0]; - const h = c.some(({ validHandleResult: m }) => m.isValid), f = c.some(({ handle: m }) => m.type === "target"); - return c.find(({ handle: m, validHandleResult: b }) => f ? m.type === "target" : h ? b.isValid : !0) || c[0]; + const p = c.some(({ validHandleResult: m }) => m.isValid), f = c.some(({ handle: m }) => m.type === "target"); + return c.find(({ handle: m, validHandleResult: b }) => f ? m.type === "target" : p ? b.isValid : !0) || c[0]; } -const Rm = { source: null, target: null, sourceHandle: null, targetHandle: null }, A3 = () => ({ +const Gm = { source: null, target: null, sourceHandle: null, targetHandle: null }, P3 = () => ({ handleDomNode: null, isValid: !1, - connection: Rm, + connection: Gm, endHandle: null }); -function M3(e, t, n, o, r, a, i) { +function B3(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 = { - ...A3(), + ...P3(), handleDomNode: s }; if (s) { - const c = Dc(void 0, s), d = s.getAttribute("data-nodeid"), h = s.getAttribute("data-handleid"), f = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { + const c = zc(void 0, s), d = s.getAttribute("data-nodeid"), p = s.getAttribute("data-handleid"), f = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { source: l ? d : n, - sourceHandle: l ? h : o, + sourceHandle: l ? p : o, target: l ? n : d, - targetHandle: l ? o : h + targetHandle: l ? o : p }; - u.connection = b, f && m && (t === Qn.Strict ? l && c === "source" || !l && c === "target" : d !== n || h !== o) && (u.endHandle = { + u.connection = b, f && m && (t === to.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { nodeId: d, - handleId: h, + handleId: p, type: c }, u.isValid = a(b)); } return u; } -function jm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { +function Km({ nodes: e, nodeId: t, handleId: n, handleType: o }) { return e.reduce((r, a) => { if (a[qe]) { const { handleBounds: i } = a[qe]; let l = [], s = []; - i && (l = pu(a, i, "source", `${t}-${n}-${o}`), s = pu(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); + i && (l = ku(a, i, "source", `${t}-${n}-${o}`), s = ku(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); } return r; }, []); } -function Dc(e, t) { +function zc(e, t) { return e || (t != null && t.classList.contains("target") ? "target" : t != null && t.classList.contains("source") ? "source" : null); } -function Ll(e) { +function Il(e) { e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); } -function Im(e, t) { +function Xm(e, t) { let n = null; return t ? n = "valid" : e && !t && (n = "invalid"), n; } -function T3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { - const c = g3(e.target), { connectionMode: d, domNode: h, autoPanOnConnect: f, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = a(); +function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { + const c = M3(e.target), { connectionMode: d, domNode: p, autoPanOnConnect: f, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = a(); let C = 0, S; - const { x: E, y: w } = Nn(e), O = c == null ? void 0 : c.elementFromPoint(E, w), _ = Dc(s, O), L = h == null ? void 0 : h.getBoundingClientRect(); + const { x: w, y: E } = jn(e), M = c == null ? void 0 : c.elementFromPoint(w, E), _ = zc(s, M), L = p == null ? void 0 : p.getBoundingClientRect(); if (!L || !_) return; - let j, F = Nn(e, L), P = !1, V = null, k = !1, D = null; - const M = jm({ + let R, F = jn(e, L), P = !1, V = null, k = !1, N = null; + const T = Km({ nodes: g(), nodeId: n, handleId: t, handleType: _ - }), N = () => { + }), D = () => { if (!f) return; - const [v, z] = p3(F, L); - y({ x: v, y: z }), C = requestAnimationFrame(N); + const [v, z] = A3(F, L); + y({ x: v, y: z }), C = requestAnimationFrame(D); }; i({ connectionPosition: F, @@ -19383,77 +19383,77 @@ function T3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getSt }), b == null || b(e, { nodeId: n, handleId: t, handleType: _ }); function I(v) { const { transform: z } = a(); - F = Nn(v, L); - const { handle: B, validHandleResult: A } = Fm(v, c, ks(F, z, !1, [1, 1]), m, M, (W) => M3(W, d, n, t, r ? "target" : "source", l, c)); - if (S = B, P || (N(), P = !0), D = A.handleDomNode, V = A.connection, k = A.isValid, i({ - connectionPosition: S && k ? E3({ + F = jn(v, L); + const { handle: B, validHandleResult: A } = Ym(v, c, Os(F, z, !1, [1, 1]), m, T, (W) => B3(W, d, n, t, r ? "target" : "source", l, c)); + if (S = B, P || (D(), P = !0), N = A.handleDomNode, V = A.connection, k = A.isValid, i({ + connectionPosition: S && k ? R3({ x: S.x, y: S.y }, z) : F, - connectionStatus: Im(!!S, k), + connectionStatus: Xm(!!S, k), connectionEndHandle: A.endHandle - }), !S && !k && !D) - return Ll(j); - V.source !== V.target && D && (Ll(j), j = D, D.classList.add("connecting", "react-flow__handle-connecting"), D.classList.toggle("valid", k), D.classList.toggle("react-flow__handle-valid", k)); + }), !S && !k && !N) + return Il(R); + V.source !== V.target && N && (Il(R), R = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", k), N.classList.toggle("react-flow__handle-valid", k)); } - function R(v) { + function j(v) { var z, B; - (S || D) && V && k && (o == null || o(V)), (B = (z = a()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), Ll(j), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, D = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", R), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", R); + (S || N) && V && k && (o == null || o(V)), (B = (z = a()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), Il(R), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, N = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", j), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", j); } - c.addEventListener("mousemove", I), c.addEventListener("mouseup", R), c.addEventListener("touchmove", I), c.addEventListener("touchend", R); + c.addEventListener("mousemove", I), c.addEventListener("mouseup", j), c.addEventListener("touchmove", I), c.addEventListener("touchend", j); } -const gu = () => !0, zm = (e) => ({ +const _u = () => !0, Qm = (e) => ({ connectionStartHandle: e.connectionStartHandle, connectOnClick: e.connectOnClick, noPanClassName: e.noPanClassName -}), Hm = (e, t, n) => (o) => { +}), Jm = (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 }; -}, O3 = qs(({ type: e = "source", position: t = ie.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 }, f) => { - var L, j; - const m = i || null, b = e === "target", y = nt(), g = Mm(), { connectOnClick: x, noPanClassName: C } = Ze(zm, lt), { connecting: S, clickConnecting: E } = Ze(Hm(g, m, e), lt); - g || (j = (L = y.getState()).onError) == null || j.call(L, "010", Gt.error010()); - const w = (F) => { - const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), D = { +}, $3 = Js(({ type: e = "source", position: t = ie.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...p }, f) => { + var L, R; + const m = i || null, b = e === "target", y = rt(), g = Vm(), { connectOnClick: x, noPanClassName: C } = Ze(Qm, ut), { connecting: S, clickConnecting: w } = Ze(Jm(g, m, e), ut); + g || (R = (L = y.getState()).onError) == null || R.call(L, "010", Xt.error010()); + const E = (F) => { + const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), N = { ...P, ...F }; if (k) { - const { edges: M, setEdges: N } = y.getState(); - N(Lm(D, M)); + const { edges: T, setEdges: D } = y.getState(); + D(qm(N, T)); } - V == null || V(D), l == null || l(D); - }, O = (F) => { + V == null || V(N), l == null || l(N); + }, M = (F) => { if (!g) return; - const P = y3(F); - r && (P && F.button === 0 || !P) && T3({ + const P = N3(F); + r && (P && F.button === 0 || !P) && V3({ event: F, handleId: m, nodeId: g, - onConnect: w, + onConnect: E, isTarget: b, getState: y.getState, setState: y.setState, - isValidConnection: n || y.getState().isValidConnection || gu + isValidConnection: n || y.getState().isValidConnection || _u }), P ? c == null || c(F) : d == null || d(F); }, _ = (F) => { - const { onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, connectionMode: D, isValidConnection: M } = y.getState(); + const { onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, connectionMode: N, isValidConnection: T } = y.getState(); if (!g || !k && !r) return; if (!k) { P == null || P(F, { nodeId: g, handleId: m, handleType: e }), y.setState({ connectionClickStartHandle: { nodeId: g, type: e, handleId: m } }); return; } - const N = g3(F.target), I = n || M || gu, { connection: R, isValid: v } = M3({ + const D = M3(F.target), I = n || T || _u, { connection: j, isValid: v } = B3({ nodeId: g, id: m, type: e - }, D, k.nodeId, k.handleId || null, k.type, I, N); - v && w(R), V == null || V(F), y.setState({ connectionClickStartHandle: null }); + }, N, k.nodeId, k.handleId || null, k.type, I, D); + v && E(j), V == null || V(F), y.setState({ connectionClickStartHandle: null }); }; return $.createElement("div", { "data-handleid": m, "data-nodeid": g, "data-handlepos": t, "data-id": `${g}-${m}-${e}`, className: bt([ "react-flow__handle", @@ -19467,62 +19467,62 @@ const gu = () => !0, zm = (e) => ({ connectable: o, connectablestart: r, connectableend: a, - connecting: E, + connecting: w, // this class is used to style the handle when the user is connecting connectionindicator: o && (r && !S || a && S) } - ]), onMouseDown: O, onTouchStart: O, onClick: x ? _ : void 0, ref: f, ...h }, s); + ]), onMouseDown: M, onTouchStart: M, onClick: x ? _ : void 0, ref: f, ...p }, s); }); -O3.displayName = "Handle"; -var Nt = Ye(O3); -const D3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top, sourcePosition: o = ie.Bottom }) => $.createElement( +$3.displayName = "Handle"; +var Lt = Ye($3); +const W3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top, sourcePosition: o = ie.Bottom }) => $.createElement( $.Fragment, null, - $.createElement(Nt, { type: "target", position: n, isConnectable: t }), + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label, - $.createElement(Nt, { type: "source", position: o, isConnectable: t }) + $.createElement(Lt, { type: "source", position: o, isConnectable: t }) ); -D3.displayName = "DefaultNode"; -var _s = Ye(D3); -const N3 = ({ data: e, isConnectable: t, sourcePosition: n = ie.Bottom }) => $.createElement( +W3.displayName = "DefaultNode"; +var Ns = Ye(W3); +const Z3 = ({ data: e, isConnectable: t, sourcePosition: n = ie.Bottom }) => $.createElement( $.Fragment, null, e == null ? void 0 : e.label, - $.createElement(Nt, { type: "source", position: n, isConnectable: t }) + $.createElement(Lt, { type: "source", position: n, isConnectable: t }) ); -N3.displayName = "InputNode"; -var L3 = Ye(N3); -const F3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top }) => $.createElement( +Z3.displayName = "InputNode"; +var U3 = Ye(Z3); +const q3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top }) => $.createElement( $.Fragment, null, - $.createElement(Nt, { type: "target", position: n, isConnectable: t }), + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label ); -F3.displayName = "OutputNode"; -var R3 = Ye(F3); -const Nc = () => null; -Nc.displayName = "GroupNode"; -const Pm = (e) => ({ +q3.displayName = "OutputNode"; +var Y3 = Ye(q3); +const Hc = () => null; +Hc.displayName = "GroupNode"; +const eb = (e) => ({ selectedNodes: e.getNodes().filter((t) => t.selected), selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), Qr = (e) => e.id; -function Bm(e, t) { - return lt(e.selectedNodes.map(Qr), t.selectedNodes.map(Qr)) && lt(e.selectedEdges.map(Qr), t.selectedEdges.map(Qr)); +}), oa = (e) => e.id; +function tb(e, t) { + return ut(e.selectedNodes.map(oa), t.selectedNodes.map(oa)) && ut(e.selectedEdges.map(oa), t.selectedEdges.map(oa)); } -const j3 = Ye(({ onSelectionChange: e }) => { - const t = nt(), { selectedNodes: n, selectedEdges: o } = Ze(Pm, Bm); - return ce(() => { +const G3 = Ye(({ onSelectionChange: e }) => { + const t = rt(), { selectedNodes: n, selectedEdges: o } = Ze(eb, tb); + return ue(() => { const r = { nodes: n, edges: o }; e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); }, [n, o, e]), null; }); -j3.displayName = "SelectionListener"; -const Vm = (e) => !!e.onSelectionChange; -function $m({ onSelectionChange: e }) { - const t = Ze(Vm); - return e || t ? $.createElement(j3, { onSelectionChange: e }) : null; +G3.displayName = "SelectionListener"; +const nb = (e) => !!e.onSelectionChange; +function ob({ onSelectionChange: e }) { + const t = Ze(nb); + return e || t ? $.createElement(G3, { onSelectionChange: e }) : null; } -const Wm = (e) => ({ +const rb = (e) => ({ setNodes: e.setNodes, setEdges: e.setEdges, setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, @@ -19532,25 +19532,25 @@ const Wm = (e) => ({ setNodeExtent: e.setNodeExtent, reset: e.reset }); -function ao(e, t) { - ce(() => { +function lo(e, t) { + ue(() => { typeof e < "u" && t(e); }, [e]); } function Ce(e, t, n) { - ce(() => { + ue(() => { typeof t < "u" && n({ [e]: t }); }, [t]); } -const Zm = ({ 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: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: E, snapGrid: w, snapToGrid: O, translateExtent: _, connectOnClick: L, defaultEdgeOptions: j, fitView: F, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: D, onNodeDragStart: M, onNodeDragStop: N, onSelectionDrag: I, onSelectionDragStart: R, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { - const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: Ve, reset: Ee } = Ze(Wm, lt), le = nt(); - return ce(() => { - const Ge = o == null ? void 0 : o.map((Tt) => ({ ...Tt, ...j })); +const ab = ({ 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: p, edgesUpdatable: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: F, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: j, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { + const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: $e, reset: Ee } = Ze(rb, ut), le = rt(); + return ue(() => { + const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...R })); return J(n, Ge), () => { Ee(); }; - }, []), Ce("defaultEdgeOptions", j, le.setState), Ce("connectionMode", E, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", h, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", O, le.setState), Ce("snapGrid", w, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", F, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", D, le.setState), Ce("onNodeDragStart", M, le.setState), Ce("onNodeDragStop", N, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", R, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), ao(e, U), ao(t, ge), ao(b, ke), ao(y, ae), ao(_, _e), ao(g, Ve), null; -}, mu = { display: "none" }, Um = { + }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", F, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", j, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), lo(e, U), lo(t, ge), lo(b, ke), lo(y, ae), lo(_, _e), lo(g, $e), null; +}, Au = { display: "none" }, ib = { position: "absolute", width: 1, height: 1, @@ -19560,83 +19560,83 @@ const Zm = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: r overflow: "hidden", clip: "rect(0px, 0px, 0px, 0px)", clipPath: "inset(100%)" -}, I3 = "react-flow__node-desc", z3 = "react-flow__edge-desc", qm = "react-flow__aria-live", Ym = (e) => e.ariaLiveMessage; -function Gm({ rfId: e }) { - const t = Ze(Ym); - return $.createElement("div", { id: `${qm}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: Um }, t); +}, K3 = "react-flow__node-desc", X3 = "react-flow__edge-desc", lb = "react-flow__aria-live", sb = (e) => e.ariaLiveMessage; +function cb({ rfId: e }) { + const t = Ze(sb); + return $.createElement("div", { id: `${lb}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: ib }, t); } -function Km({ rfId: e, disableKeyboardA11y: t }) { +function ub({ rfId: e, disableKeyboardA11y: t }) { return $.createElement( $.Fragment, null, $.createElement( "div", - { id: `${I3}-${e}`, style: mu }, + { id: `${K3}-${e}`, style: Au }, "Press enter or space to select a node.", !t && "You can then use the arrow keys to move the node around.", " Press delete to remove it and escape to cancel.", " " ), - $.createElement("div", { id: `${z3}-${e}`, style: mu }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && $.createElement(Gm, { rfId: e }) + $.createElement("div", { id: `${X3}-${e}`, style: Au }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), + !t && $.createElement(cb, { rfId: e }) ); } -var gr = (e = null, t = { actInsideInputWithModifier: !0 }) => { - const [n, o] = ue(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = He(() => { +var xr = (e = null, t = { actInsideInputWithModifier: !0 }) => { + const [n, o] = ce(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = Be(() => { if (e !== null) { - const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, h) => d.concat(...h), []); + const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, p) => d.concat(...p), []); return [u, c]; } return [[], []]; }, [e]); - return ce(() => { + return ue(() => { const s = typeof document < "u" ? document : null, u = (t == null ? void 0 : t.target) || s; if (e !== null) { const c = (f) => { - if (r.current = f.ctrlKey || f.metaKey || f.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && ws(f)) + if (r.current = f.ctrlKey || f.metaKey || f.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && As(f)) return !1; - const b = yu(f.code, l); - a.current.add(f[b]), bu(i, a.current, !1) && (f.preventDefault(), o(!0)); + const b = Tu(f.code, l); + a.current.add(f[b]), Mu(i, a.current, !1) && (f.preventDefault(), o(!0)); }, d = (f) => { - if ((!r.current || r.current && !t.actInsideInputWithModifier) && ws(f)) + if ((!r.current || r.current && !t.actInsideInputWithModifier) && As(f)) return !1; - const b = yu(f.code, l); - bu(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(f[b]), f.key === "Meta" && a.current.clear(), r.current = !1; - }, h = () => { + const b = Tu(f.code, l); + Mu(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(f[b]), f.key === "Meta" && a.current.clear(), r.current = !1; + }, p = () => { 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); + return u == null || u.addEventListener("keydown", c), u == null || u.addEventListener("keyup", d), window.addEventListener("blur", p), () => { + u == null || u.removeEventListener("keydown", c), u == null || u.removeEventListener("keyup", d), window.removeEventListener("blur", p); }; } }, [e, o]), n; }; -function bu(e, t, n) { +function Mu(e, t, n) { return e.filter((o) => n || o.length === t.size).some((o) => o.every((r) => t.has(r))); } -function yu(e, t) { +function Tu(e, t) { return t.includes(e) ? "code" : "key"; } -function H3(e, t, n, o) { +function Q3(e, t, n, o) { var l, s; const r = e.parentNode || e.parentId; if (!r) return n; - const a = t.get(r), i = mo(a, o); - return H3(a, t, { + const a = t.get(r), i = bo(a, o); + return Q3(a, t, { x: (n.x ?? 0) + i.x, y: (n.y ?? 0) + i.y, z: (((l = a[qe]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = a[qe]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 }, o); } -function P3(e, t, n) { +function J3(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 } = H3(o, e, { + const { x: i, y: l, z: s } = Q3(o, e, { ...o.position, z: ((a = o[qe]) == null ? void 0 : a.z) ?? 0 }, t); @@ -19647,11 +19647,11 @@ function P3(e, t, n) { } }); } -function Fl(e, t, n, o) { +function zl(e, t, n, o) { const r = /* @__PURE__ */ new Map(), a = {}, i = o ? 1e3 : 0; return e.forEach((l) => { var f; - const s = (jt(l.zIndex) ? l.zIndex : 0) + (l.selected ? i : 0), u = t.get(l.id), c = { + const s = (Rt(l.zIndex) ? l.zIndex : 0) + (l.selected ? i : 0), u = t.get(l.id), c = { ...l, positionAbsolute: { x: l.position.x, @@ -19659,32 +19659,32 @@ function Fl(e, t, n, o) { } }, 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; + const p = (u == null ? void 0 : u.type) && (u == null ? void 0 : u.type) !== l.type; Object.defineProperty(c, qe, { enumerable: !1, value: { - handleBounds: h || (f = u == null ? void 0 : u[qe]) == null ? void 0 : f.handleBounds, + handleBounds: p || (f = u == null ? void 0 : u[qe]) == null ? void 0 : f.handleBounds, z: s } }), r.set(l.id, c); - }), P3(r, n, a), r; + }), J3(r, n, a), r; } -function B3(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)) { +function ef(e, t = {}) { + const { getNodes: n, width: o, height: r, minZoom: a, maxZoom: i, d3Zoom: l, d3Selection: s, fitViewOnInitDone: u, fitViewOnInit: c, nodeOrigin: d } = e(), p = t.initial && !u && c; + if (l && s && (p || !t.initial)) { const m = n().filter((y) => { var x; const g = t.includeHiddenNodes ? y.width && y.height : !y.hidden; return (x = t.nodes) != null && x.length ? g && t.nodes.some((C) => C.id === y.id) : g; }), b = m.every((y) => y.width && y.height); if (m.length > 0 && b) { - const y = Oc(m, d), { x: g, y: x, zoom: C } = _3(y, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), S = Dn.translate(g, x).scale(C); - return typeof t.duration == "number" && t.duration > 0 ? l.transform(zn(s, t.duration), S) : l.transform(s, S), !0; + const y = Ic(m, d), { x: g, y: x, zoom: C } = H3(y, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), S = Fn.translate(g, x).scale(C); + return typeof t.duration == "number" && t.duration > 0 ? l.transform(Hn(s, t.duration), S) : l.transform(s, S), !0; } } return !1; } -function Xm(e, t) { +function db(e, t) { return e.forEach((n) => { const o = t.get(n.id); o && t.set(o.id, { @@ -19694,62 +19694,62 @@ function Xm(e, t) { }); }), new Map(t); } -function Qm(e, t) { +function fb(e, t) { return t.map((n) => { const o = e.find((r) => r.id === n.id); return o && (n.selected = o.selected), n; }); } -function Jr({ changedNodes: e, changedEdges: t, get: n, set: o }) { +function ra({ 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: Xm(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: Qm(t, a) }), l == null || l(t)); + e != null && e.length && (s && o({ nodeInternals: db(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: fb(t, a) }), l == null || l(t)); } -const io = () => { -}, Jm = { - zoomIn: io, - zoomOut: io, - zoomTo: io, +const so = () => { +}, hb = { + zoomIn: so, + zoomOut: so, + zoomTo: so, getZoom: () => 1, - setViewport: io, + setViewport: so, getViewport: () => ({ x: 0, y: 0, zoom: 1 }), fitView: () => !1, - setCenter: io, - fitBounds: io, + setCenter: so, + fitBounds: so, project: (e) => e, screenToFlowPosition: (e) => e, flowToScreenPosition: (e) => e, viewportInitialized: !1 -}, eb = (e) => ({ +}, pb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection -}), tb = () => { - const e = nt(), { d3Zoom: t, d3Selection: n } = Ze(eb, lt); - return He(() => n && t ? { - zoomIn: (r) => t.scaleBy(zn(n, r == null ? void 0 : r.duration), 1.2), - zoomOut: (r) => t.scaleBy(zn(n, r == null ? void 0 : r.duration), 1 / 1.2), - zoomTo: (r, a) => t.scaleTo(zn(n, a == null ? void 0 : a.duration), r), +}), gb = () => { + const e = rt(), { d3Zoom: t, d3Selection: n } = Ze(pb, ut); + return Be(() => n && t ? { + zoomIn: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), + zoomOut: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), + zoomTo: (r, a) => t.scaleTo(Hn(n, a == null ? void 0 : a.duration), r), getZoom: () => e.getState().transform[2], setViewport: (r, a) => { - const [i, l, s] = e.getState().transform, u = Dn.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); - t.transform(zn(n, a == null ? void 0 : a.duration), u); + const [i, l, s] = e.getState().transform, u = Fn.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); + t.transform(Hn(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) => B3(e.getState, r), + fitView: (r) => ef(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, f = Dn.translate(d, h).scale(c); - t.transform(zn(n, i == null ? void 0 : i.duration), f); + 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, p = s / 2 - a * c, f = Fn.translate(d, p).scale(c); + t.transform(Hn(n, i == null ? void 0 : i.duration), f); }, fitBounds: (r, a) => { - const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: h } = _3(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), f = Dn.translate(c, d).scale(h); - t.transform(zn(n, a == null ? void 0 : a.duration), f); + const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: p } = H3(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), f = Fn.translate(c, d).scale(p); + t.transform(Hn(n, a == null ? void 0 : a.duration), f); }, // @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"), ks(r, a, i, l); + 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"), Os(r, a, i, l); }, screenToFlowPosition: (r) => { const { transform: a, snapToGrid: i, snapGrid: l, domNode: s } = e.getState(); @@ -19759,66 +19759,66 @@ const io = () => { x: r.x - u, y: r.y - c }; - return ks(d, a, i, l); + return Os(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 = E3(r, a); + const { x: l, y: s } = i.getBoundingClientRect(), u = R3(r, a); return { x: u.x + l, y: u.y + s }; }, viewportInitialized: !0 - } : Jm, [t, n]); + } : hb, [t, n]); }; -function Xt() { - const e = tb(), t = nt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { +function Jt() { + const e = gb(), t = rt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { const { edges: b = [] } = t.getState(); return b.map((y) => ({ ...y })); }, []), a = Me((b) => { const { edges: y = [] } = t.getState(); return y.find((g) => g.id === b); }, []), i = Me((b) => { - const { getNodes: y, setNodes: g, hasDefaultNodes: x, onNodesChange: C } = t.getState(), S = y(), E = typeof b == "function" ? b(S) : b; + const { getNodes: y, setNodes: g, hasDefaultNodes: x, onNodesChange: C } = t.getState(), S = y(), w = typeof b == "function" ? b(S) : b; if (x) - g(E); + g(w); else if (C) { - const w = E.length === 0 ? S.map((O) => ({ type: "remove", id: O.id })) : E.map((O) => ({ item: O, type: "reset" })); - C(w); + const E = w.length === 0 ? S.map((M) => ({ type: "remove", id: M.id })) : w.map((M) => ({ item: M, type: "reset" })); + C(E); } }, []), l = Me((b) => { const { edges: y = [], setEdges: g, hasDefaultEdges: x, onEdgesChange: C } = t.getState(), S = typeof b == "function" ? b(y) : b; if (x) g(S); else if (C) { - const E = S.length === 0 ? y.map((w) => ({ type: "remove", id: w.id })) : S.map((w) => ({ item: w, type: "reset" })); - C(E); + const w = S.length === 0 ? y.map((E) => ({ type: "remove", id: E.id })) : S.map((E) => ({ item: E, type: "reset" })); + C(w); } }, []), s = Me((b) => { const y = Array.isArray(b) ? b : [b], { getNodes: g, setNodes: x, hasDefaultNodes: C, onNodesChange: S } = t.getState(); if (C) { - const w = [...g(), ...y]; - x(w); + const E = [...g(), ...y]; + x(E); } else if (S) { - const E = y.map((w) => ({ item: w, type: "add" })); - S(E); + const w = y.map((E) => ({ item: E, type: "add" })); + S(w); } }, []), u = Me((b) => { const y = Array.isArray(b) ? b : [b], { edges: g = [], setEdges: x, hasDefaultEdges: C, onEdgesChange: S } = t.getState(); if (C) x([...g, ...y]); else if (S) { - const E = y.map((w) => ({ item: w, type: "add" })); - S(E); + const w = y.map((E) => ({ item: E, type: "add" })); + S(w); } }, []), c = Me(() => { const { getNodes: b, edges: y = [], transform: g } = t.getState(), [x, C, S] = g; return { - nodes: b().map((E) => ({ ...E })), - edges: y.map((E) => ({ ...E })), + nodes: b().map((w) => ({ ...w })), + edges: y.map((w) => ({ ...w })), viewport: { x, y: C, @@ -19826,45 +19826,45 @@ function Xt() { } }; }, []), d = Me(({ nodes: b, edges: y }) => { - const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: S, hasDefaultEdges: E, onNodesDelete: w, onEdgesDelete: O, onNodesChange: _, onEdgesChange: L } = t.getState(), j = (b || []).map((D) => D.id), F = (y || []).map((D) => D.id), P = x().reduce((D, M) => { - const N = M.parentNode || M.parentId, I = !j.includes(M.id) && N && D.find((v) => v.id === N); - return (typeof M.deletable == "boolean" ? M.deletable : !0) && (j.includes(M.id) || I) && D.push(M), D; - }, []), V = C.filter((D) => typeof D.deletable == "boolean" ? D.deletable : !0), k = V.filter((D) => F.includes(D.id)); + const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: S, hasDefaultEdges: w, onNodesDelete: E, onEdgesDelete: M, onNodesChange: _, onEdgesChange: L } = t.getState(), R = (b || []).map((N) => N.id), F = (y || []).map((N) => N.id), P = x().reduce((N, T) => { + const D = T.parentNode || T.parentId, I = !R.includes(T.id) && D && N.find((v) => v.id === D); + return (typeof T.deletable == "boolean" ? T.deletable : !0) && (R.includes(T.id) || I) && N.push(T), N; + }, []), V = C.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), k = V.filter((N) => F.includes(N.id)); if (P || k) { - const D = k3(P, V), M = [...k, ...D], N = M.reduce((I, R) => (I.includes(R.id) || I.push(R.id), I), []); - if ((E || S) && (E && t.setState({ - edges: C.filter((I) => !N.includes(I.id)) + const N = z3(P, V), T = [...k, ...N], D = T.reduce((I, j) => (I.includes(j.id) || I.push(j.id), I), []); + if ((w || S) && (w && t.setState({ + edges: C.filter((I) => !D.includes(I.id)) }), S && (P.forEach((I) => { g.delete(I.id); }), t.setState({ nodeInternals: new Map(g) - }))), N.length > 0 && (O == null || O(M), L && L(N.map((I) => ({ + }))), D.length > 0 && (M == null || M(T), L && L(D.map((I) => ({ id: I, type: "remove" - })))), P.length > 0 && (w == null || w(P), _)) { - const I = P.map((R) => ({ id: R.id, type: "remove" })); + })))), P.length > 0 && (E == null || E(P), _)) { + const I = P.map((j) => ({ id: j.id, type: "remove" })); _(I); } } - }, []), h = Me((b) => { - const y = xm(b), g = y ? null : t.getState().nodeInternals.get(b.id); - return !y && !g ? [null, null, y] : [y ? b : cu(g), g, y]; + }, []), p = Me((b) => { + const y = jm(b), g = y ? null : t.getState().nodeInternals.get(b.id); + return !y && !g ? [null, null, y] : [y ? b : vu(g), g, y]; }, []), f = Me((b, y = !0, g) => { - const [x, C, S] = h(b); - return x ? (g || t.getState().getNodes()).filter((E) => { - if (!S && (E.id === C.id || !E.positionAbsolute)) + const [x, C, S] = p(b); + return x ? (g || t.getState().getNodes()).filter((w) => { + if (!S && (w.id === C.id || !w.positionAbsolute)) return !1; - const w = cu(E), O = xs(w, x); - return y && O > 0 || O >= x.width * x.height; + const E = vu(w), M = _s(E, x); + return y && M > 0 || M >= x.width * x.height; }) : []; }, []), m = Me((b, y, g = !0) => { - const [x] = h(b); + const [x] = p(b); if (!x) return !1; - const C = xs(x, y); + const C = _s(x, y); return g && C > 0 || C >= x.width * x.height; }, []); - return He(() => ({ + return Be(() => ({ ...e, getNodes: n, getNode: o, @@ -19894,61 +19894,61 @@ function Xt() { m ]); } -const nb = { actInsideInputWithModifier: !1 }; -var ob = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = nt(), { deleteElements: o } = Xt(), r = gr(e, nb), a = gr(t); - ce(() => { +const mb = { actInsideInputWithModifier: !1 }; +var bb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = rt(), { deleteElements: o } = Jt(), r = xr(e, mb), a = xr(t); + ue(() => { 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]), ce(() => { + }, [r]), ue(() => { n.setState({ multiSelectionActive: a }); }, [a]); }; -function rb(e) { - const t = nt(); - ce(() => { +function yb(e) { + const t = rt(); + ue(() => { let n; const o = () => { var a, i; if (!e.current) return; - const r = Ec(e.current); - (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", Gt.error004())), t.setState({ width: r.width || 500, height: r.height || 500 }); + const r = Oc(e.current); + (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", Xt.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 Lc = { +const Pc = { position: "absolute", width: "100%", height: "100%", top: 0, left: 0 -}, ab = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ea = (e) => ({ +}, Cb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, aa = (e) => ({ x: e.x, y: e.y, zoom: e.k -}), lo = (e, t) => e.target.closest(`.${t}`), Cu = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), vu = (e) => { - const t = e.ctrlKey && La() ? 10 : 1; +}), co = (e, t) => e.target.closest(`.${t}`), Ou = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Nu = (e) => { + const t = e.ctrlKey && Ha() ? 10 : 1; return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, ib = (e) => ({ +}, vb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection, d3ZoomHandler: e.d3ZoomHandler, userSelectionActive: e.userSelectionActive -}), lb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = $n.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: h, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { - const E = he(), w = nt(), O = he(!1), _ = he(!1), L = he(null), j = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: F, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(ib, lt), D = gr(y), M = he(0), N = he(!1), I = he(); - return rb(L), ce(() => { +}), xb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = Un.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { + const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: F, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(vb, ut), N = xr(y), T = he(0), D = he(!1), I = he(); + return yb(L), ue(() => { if (L.current) { - const R = L.current.getBoundingClientRect(), v = hm().scaleExtent([m, b]).translateExtent(f), z = Ut(L.current).call(v), B = Dn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), A = [ + const j = L.current.getBoundingClientRect(), v = Am().scaleExtent([m, b]).translateExtent(f), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(To(p.zoom, m, b)), A = [ [0, 0], - [R.width, R.height] + [j.width, j.height] ], W = v.constrain()(B, A, f); - v.transform(z, W), v.wheelDelta(vu), w.setState({ + v.transform(z, W), v.wheelDelta(Nu), E.setState({ d3Zoom: v, d3Selection: z, d3ZoomHandler: z.on("wheel.zoom"), @@ -19957,34 +19957,34 @@ const Lc = { domNode: L.current.closest(".react-flow") }); } - }, []), ce(() => { - P && F && (i && !D && !k ? P.on("wheel.zoom", (R) => { - if (lo(R, C)) + }, []), ue(() => { + P && F && (i && !N && !k ? P.on("wheel.zoom", (j) => { + if (co(j, C)) return !1; - R.preventDefault(), R.stopImmediatePropagation(); + j.preventDefault(), j.stopImmediatePropagation(); const v = P.property("__zoom").k || 1; - if (R.ctrlKey && a) { - const ne = nn(R), oe = vu(R), U = v * Math.pow(2, oe); - F.scaleTo(P, U, ne, R); + if (j.ctrlKey && a) { + const ne = rn(j), oe = Nu(j), U = v * Math.pow(2, oe); + F.scaleTo(P, U, ne, j); return; } - const z = R.deltaMode === 1 ? 20 : 1; - let B = s === $n.Vertical ? 0 : R.deltaX * z, A = s === $n.Horizontal ? 0 : R.deltaY * z; - !La() && R.shiftKey && s !== $n.Vertical && (B = R.deltaY * z, A = 0), F.translateBy( + const z = j.deltaMode === 1 ? 20 : 1; + let B = s === Un.Vertical ? 0 : j.deltaX * z, A = s === Un.Horizontal ? 0 : j.deltaY * z; + !Ha() && j.shiftKey && s !== Un.Vertical && (B = j.deltaY * z, A = 0), F.translateBy( P, -(B / v) * l, -(A / v) * l, // @ts-ignore { internal: !0 } ); - const W = ea(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = w.getState(); - clearTimeout(I.current), N.current || (N.current = !0, t == null || t(R, W), Y == null || Y(W)), N.current && (e == null || e(R, W), K == null || K(W), I.current = setTimeout(() => { - n == null || n(R, W), Q == null || Q(W), N.current = !1; + const W = aa(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); + clearTimeout(I.current), D.current || (D.current = !0, t == null || t(j, W), Y == null || Y(W)), D.current && (e == null || e(j, W), K == null || K(W), I.current = setTimeout(() => { + n == null || n(j, W), Q == null || Q(W), D.current = !1; }, 150)); - }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(R, v) { - if (!g && R.type === "wheel" && !R.ctrlKey || lo(R, C)) + }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(j, v) { + if (!g && j.type === "wheel" && !j.ctrlKey || co(j, C)) return null; - R.preventDefault(), V.call(this, R, v); + j.preventDefault(), V.call(this, j, v); }, { passive: !1 })); }, [ k, @@ -19993,52 +19993,52 @@ const Lc = { P, F, V, - D, + N, a, g, C, t, e, n - ]), ce(() => { - F && F.on("start", (R) => { + ]), ue(() => { + F && F.on("start", (j) => { var B, A; - if (!R.sourceEvent || R.sourceEvent.internal) + if (!j.sourceEvent || j.sourceEvent.internal) return null; - M.current = (B = R.sourceEvent) == null ? void 0 : B.button; - const { onViewportChangeStart: v } = w.getState(), z = ea(R.transform); - O.current = !0, j.current = z, ((A = R.sourceEvent) == null ? void 0 : A.type) === "mousedown" && w.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(R.sourceEvent, z); + T.current = (B = j.sourceEvent) == null ? void 0 : B.button; + const { onViewportChangeStart: v } = E.getState(), z = aa(j.transform); + M.current = !0, R.current = z, ((A = j.sourceEvent) == null ? void 0 : A.type) === "mousedown" && E.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(j.sourceEvent, z); }); - }, [F, t]), ce(() => { - F && (k && !O.current ? F.on("zoom", null) : k || F.on("zoom", (R) => { + }, [F, t]), ue(() => { + F && (k && !M.current ? F.on("zoom", null) : k || F.on("zoom", (j) => { var z; - const { onViewportChange: v } = w.getState(); - if (w.setState({ transform: [R.transform.x, R.transform.y, R.transform.k] }), _.current = !!(o && Cu(d, M.current ?? 0)), (e || v) && !((z = R.sourceEvent) != null && z.internal)) { - const B = ea(R.transform); - v == null || v(B), e == null || e(R.sourceEvent, B); + const { onViewportChange: v } = E.getState(); + if (E.setState({ transform: [j.transform.x, j.transform.y, j.transform.k] }), _.current = !!(o && Ou(d, T.current ?? 0)), (e || v) && !((z = j.sourceEvent) != null && z.internal)) { + const B = aa(j.transform); + v == null || v(B), e == null || e(j.sourceEvent, B); } })); - }, [k, F, e, d, o]), ce(() => { - F && F.on("end", (R) => { - if (!R.sourceEvent || R.sourceEvent.internal) + }, [k, F, e, d, o]), ue(() => { + F && F.on("end", (j) => { + if (!j.sourceEvent || j.sourceEvent.internal) return null; - const { onViewportChangeEnd: v } = w.getState(); - if (O.current = !1, w.setState({ paneDragging: !1 }), o && Cu(d, M.current ?? 0) && !_.current && o(R.sourceEvent), _.current = !1, (n || v) && ab(j.current, R.transform)) { - const z = ea(R.transform); - j.current = z, clearTimeout(E.current), E.current = setTimeout(() => { - v == null || v(z), n == null || n(R.sourceEvent, z); + const { onViewportChangeEnd: v } = E.getState(); + if (M.current = !1, E.setState({ paneDragging: !1 }), o && Ou(d, T.current ?? 0) && !_.current && o(j.sourceEvent), _.current = !1, (n || v) && Cb(R.current, j.transform)) { + const z = aa(j.transform); + R.current = z, clearTimeout(w.current), w.current = setTimeout(() => { + v == null || v(z), n == null || n(j.sourceEvent, z); }, i ? 150 : 0); } }); - }, [F, i, d, n, o]), ce(() => { - F && F.filter((R) => { - const v = D || r, z = a && R.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && R.button === 1 && R.type === "mousedown" && (lo(R, "react-flow__node") || lo(R, "react-flow__edge"))) + }, [F, i, d, n, o]), ue(() => { + F && F.filter((j) => { + const v = N || r, z = a && j.ctrlKey; + if ((d === !0 || Array.isArray(d) && d.includes(1)) && j.button === 1 && j.type === "mousedown" && (co(j, "react-flow__node") || co(j, "react-flow__edge"))) return !0; - if (!d && !v && !i && !u && !a || k || !u && R.type === "dblclick" || lo(R, C) && R.type === "wheel" || lo(R, S) && (R.type !== "wheel" || i && R.type === "wheel" && !D) || !a && R.ctrlKey && R.type === "wheel" || !v && !i && !z && R.type === "wheel" || !d && (R.type === "mousedown" || R.type === "touchstart") || Array.isArray(d) && !d.includes(R.button) && R.type === "mousedown") + if (!d && !v && !i && !u && !a || k || !u && j.type === "dblclick" || co(j, C) && j.type === "wheel" || co(j, S) && (j.type !== "wheel" || i && j.type === "wheel" && !N) || !a && j.ctrlKey && j.type === "wheel" || !v && !i && !z && j.type === "wheel" || !d && (j.type === "mousedown" || j.type === "touchstart") || Array.isArray(d) && !d.includes(j.button) && j.type === "mousedown") return !1; - const B = Array.isArray(d) && d.includes(R.button) || !R.button || R.button <= 1; - return (!R.ctrlKey || R.type === "wheel") && B; + const B = Array.isArray(d) && d.includes(j.button) || !j.button || j.button <= 1; + return (!j.ctrlKey || j.type === "wheel") && B; }); }, [ k, @@ -20049,21 +20049,21 @@ const Lc = { u, d, c, - D - ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Lc }, x); -}, sb = (e) => ({ + N + ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Pc }, x); +}, wb = (e) => ({ userSelectionActive: e.userSelectionActive, userSelectionRect: e.userSelectionRect }); -function cb() { - const { userSelectionActive: e, userSelectionRect: t } = Ze(sb, lt); +function Eb() { + const { userSelectionActive: e, userSelectionRect: t } = Ze(wb, ut); return e && t ? $.createElement("div", { className: "react-flow__selection react-flow__container", style: { width: t.width, height: t.height, transform: `translate(${t.x}px, ${t.y}px)` } }) : null; } -function xu(e, t) { +function Du(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; @@ -20080,7 +20080,7 @@ function xu(e, t) { } } } -function ub(e, t) { +function Sb(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); @@ -20097,11 +20097,11 @@ function ub(e, t) { 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 && xu(o, i); + 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 && Du(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 && xu(o, i); + 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 && Du(o, i); break; } case "remove": @@ -20110,101 +20110,101 @@ function ub(e, t) { return o.push(i), o; }, n); } -function db(e, t) { - return ub(e, t); +function kb(e, t) { + return Sb(e, t); } -const Tn = (e, t) => ({ +const Dn = (e, t) => ({ id: e, type: "select", selected: t }); -function co(e, t) { +function fo(e, t) { return e.reduce((n, o) => { const r = t.includes(o.id); - return !o.selected && r ? (o.selected = !0, n.push(Tn(o.id, !0))) : o.selected && !r && (o.selected = !1, n.push(Tn(o.id, !1))), n; + return !o.selected && r ? (o.selected = !0, n.push(Dn(o.id, !0))) : o.selected && !r && (o.selected = !1, n.push(Dn(o.id, !1))), n; }, []); } -const Rl = (e, t) => (n) => { +const Hl = (e, t) => (n) => { n.target === t.current && (e == null || e(n)); -}, fb = (e) => ({ +}, _b = (e) => ({ userSelectionActive: e.userSelectionActive, elementsSelectable: e.elementsSelectable, dragging: e.paneDragging -}), V3 = Ye(({ isSelecting: e, selectionMode: t = pr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const h = he(null), f = nt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(fb, lt), S = () => { +}), tf = Ye(({ isSelecting: e, selectionMode: t = vr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { + const p = he(null), f = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(_b, ut), S = () => { f.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; - }, E = (V) => { - a == null || a(V), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 }); }, w = (V) => { + a == null || a(V), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 }); + }, E = (V) => { if (Array.isArray(n) && (n != null && n.includes(2))) { V.preventDefault(); return; } i == null || i(V); - }, O = l ? (V) => l(V) : void 0, _ = (V) => { - const { resetSelectedElements: k, domNode: D } = f.getState(); - if (y.current = D == null ? void 0 : D.getBoundingClientRect(), !x || !e || V.button !== 0 || V.target !== h.current || !y.current) + }, M = l ? (V) => l(V) : void 0, _ = (V) => { + const { resetSelectedElements: k, domNode: N } = f.getState(); + if (y.current = N == null ? void 0 : N.getBoundingClientRect(), !x || !e || V.button !== 0 || V.target !== p.current || !y.current) return; - const { x: M, y: N } = Nn(V, y.current); + const { x: T, y: D } = jn(V, y.current); k(), f.setState({ userSelectionRect: { width: 0, height: 0, - startX: M, - startY: N, - x: M, - y: N + startX: T, + startY: D, + x: T, + y: D } }), o == null || o(V); }, L = (V) => { - const { userSelectionRect: k, nodeInternals: D, edges: M, transform: N, onNodesChange: I, onEdgesChange: R, nodeOrigin: v, getNodes: z } = f.getState(); + const { userSelectionRect: k, nodeInternals: N, edges: T, transform: D, onNodesChange: I, onEdgesChange: j, nodeOrigin: v, getNodes: z } = f.getState(); if (!e || !y.current || !k) return; f.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); - const B = Nn(V, y.current), A = k.startX ?? 0, W = k.startY ?? 0, Y = { + const B = jn(V, y.current), A = k.startX ?? 0, W = k.startY ?? 0, Y = { ...k, x: B.x < A ? B.x : A, y: B.y < W ? B.y : W, width: Math.abs(B.x - A), height: Math.abs(B.y - W) - }, K = z(), Q = S3(D, Y, N, t === pr.Partial, !0, v), ne = k3(Q, M).map((U) => U.id), oe = Q.map((U) => U.id); + }, K = z(), Q = I3(N, Y, D, t === vr.Partial, !0, v), ne = z3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); if (m.current !== oe.length) { m.current = oe.length; - const U = co(K, oe); + const U = fo(K, oe); U.length && (I == null || I(U)); } if (b.current !== ne.length) { b.current = ne.length; - const U = co(M, ne); - U.length && (R == null || R(U)); + const U = fo(T, ne); + U.length && (j == null || j(U)); } f.setState({ userSelectionRect: Y }); - }, j = (V) => { + }, R = (V) => { if (V.button !== 0) return; const { userSelectionRect: k } = f.getState(); - !g && k && V.target === h.current && (E == null || E(V)), f.setState({ nodesSelectionActive: m.current > 0 }), S(), r == null || r(V); + !g && k && V.target === p.current && (w == null || w(V)), f.setState({ nodesSelectionActive: m.current > 0 }), S(), r == null || r(V); }, F = (V) => { g && (f.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(V)), S(); }, P = x && (e || g); return $.createElement( "div", - { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Rl(E, h), onContextMenu: Rl(w, h), onWheel: Rl(O, h), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? j : void 0, onMouseLeave: P ? F : c, ref: h, style: Lc }, + { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Hl(w, p), onContextMenu: Hl(E, p), onWheel: Hl(M, p), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? R : void 0, onMouseLeave: P ? F : c, ref: p, style: Pc }, d, - $.createElement(cb, null) + $.createElement(Eb, null) ); }); -V3.displayName = "Pane"; -function $3(e, t) { +tf.displayName = "Pane"; +function nf(e, t) { const n = e.parentNode || e.parentId; if (!n) return !1; const o = t.get(n); - return o ? o.selected ? !0 : $3(o, t) : !1; + return o ? o.selected ? !0 : nf(o, t) : !1; } -function wu(e, t, n) { +function Lu(e, t, n) { let o = e; do { if (o != null && o.matches(t)) @@ -20215,8 +20215,8 @@ function wu(e, t, n) { } while (o); return !1; } -function hb(e, t, n, o) { - return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !$3(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { +function Ab(e, t, n, o) { + return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !nf(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { var a, i; return { id: r.id, @@ -20239,38 +20239,38 @@ function hb(e, t, n, o) { }; }); } -function pb(e, t) { +function Mb(e, t) { return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; } -function W3(e, t, n, o, r = [0, 0], a) { - const i = pb(e, e.extent || o); +function of(e, t, n, o, r = [0, 0], a) { + const i = Mb(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: f } = mo(d, r).positionAbsolute; - l = d && jt(h) && jt(f) && jt(d.width) && jt(d.height) ? [ - [h + e.width * r[0], f + e.height * r[1]], + const d = n.get(s), { x: p, y: f } = bo(d, r).positionAbsolute; + l = d && Rt(p) && Rt(f) && Rt(d.width) && Rt(d.height) ? [ + [p + e.width * r[0], f + e.height * r[1]], [ - h + d.width - e.width + e.width * r[0], + p + d.width - e.width + e.width * r[0], f + d.height - e.height + e.height * r[1] ] ] : l; } else - a == null || a("005", Gt.error005()), l = i; + a == null || a("005", Xt.error005()), l = i; else if (e.extent && s && e.extent !== "parent") { - const d = n.get(s), { x: h, y: f } = mo(d, r).positionAbsolute; + const d = n.get(s), { x: p, y: f } = bo(d, r).positionAbsolute; l = [ - [e.extent[0][0] + h, e.extent[0][1] + f], - [e.extent[1][0] + h, e.extent[1][1] + f] + [e.extent[0][0] + p, e.extent[0][1] + f], + [e.extent[1][0] + p, e.extent[1][1] + f] ]; } let u = { x: 0, y: 0 }; if (s) { const d = n.get(s); - u = mo(d, r).positionAbsolute; + u = bo(d, r).positionAbsolute; } - const c = l && l !== "parent" ? Sc(t, l) : t; + const c = l && l !== "parent" ? Nc(t, l) : t; return { position: { x: c.x - u.x, @@ -20279,7 +20279,7 @@ function W3(e, t, n, o, r = [0, 0], a) { positionAbsolute: c }; } -function jl({ nodeId: e, dragItems: t, nodeInternals: n }) { +function Pl({ nodeId: e, dragItems: t, nodeInternals: n }) { const o = t.map((r) => ({ ...n.get(r.id), position: r.position, @@ -20287,7 +20287,7 @@ function jl({ nodeId: e, dragItems: t, nodeInternals: n }) { })); return [e ? o.find((r) => r.id === e) : o[0], o]; } -const Eu = (e, t, n, o) => { +const Fu = (e, t, n, o) => { const r = t.querySelectorAll(e); if (!r || !r.length) return null; @@ -20302,20 +20302,20 @@ const Eu = (e, t, n, o) => { position: s.getAttribute("data-handlepos"), x: (u.left - i.left - l.x) / n, y: (u.top - i.top - l.y) / n, - ...Ec(s) + ...Oc(s) }; }); }; -function $o(e, t, n) { +function Go(e, t, n) { return n === void 0 ? n : (o) => { const r = t().nodeInternals.get(e); r && n(o, { ...r }); }; } -function As({ id: e, store: t, unselect: n = !1, nodeRef: o }) { +function Ds({ 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", Gt.error012(e)); + s == null || s("012", Xt.error012(e)); return; } t.setState({ nodesSelectionActive: !1 }), u.selected ? (n || u.selected && i) && (a({ nodes: [u], edges: [] }), requestAnimationFrame(() => { @@ -20323,8 +20323,8 @@ function As({ id: e, store: t, unselect: n = !1, nodeRef: o }) { return (c = o == null ? void 0 : o.current) == null ? void 0 : c.blur(); })) : r([e]); } -function gb() { - const e = nt(); +function Tb() { + const e = rt(); return Me(({ 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], @@ -20337,105 +20337,105 @@ function gb() { }; }, []); } -function Il(e) { +function Bl(e) { return (t, n, o) => e == null ? void 0 : e(t, o); } -function Z3({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { - const l = nt(), [s, u] = ue(!1), c = he([]), d = he({ x: null, y: null }), h = he(0), f = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = gb(); - return ce(() => { +function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { + const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), f = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Tb(); + return ue(() => { if (e != null && e.current) { - const S = Ut(e.current), E = ({ x: _, y: L }) => { - const { nodeInternals: j, onNodeDrag: F, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: D, snapToGrid: M, nodeOrigin: N, onError: I } = l.getState(); + const S = qt(e.current), w = ({ x: _, y: L }) => { + const { nodeInternals: R, onNodeDrag: F, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: N, snapToGrid: T, nodeOrigin: D, onError: I } = l.getState(); d.current = { x: _, y: L }; - let R = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; + let j = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; if (c.current.length > 1 && k) { - const B = Oc(c.current, N); - v = kc(B); + const B = Ic(c.current, D); + v = Dc(B); } if (c.current = c.current.map((B) => { const A = { x: _ - B.distance.x, y: L - B.distance.y }; - M && (A.x = D[0] * Math.round(A.x / D[0]), A.y = D[1] * Math.round(A.y / D[1])); + T && (A.x = N[0] * Math.round(A.x / N[0]), A.y = N[1] * Math.round(A.y / N[1])); const W = [ [k[0][0], k[0][1]], [k[1][0], k[1][1]] ]; c.current.length > 1 && k && !B.extent && (W[0][0] = B.positionAbsolute.x - v.x + k[0][0], W[1][0] = B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0], W[0][1] = B.positionAbsolute.y - v.y + k[0][1], W[1][1] = B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1]); - const Y = W3(B, A, j, W, N, I); - return R = R || B.position.x !== Y.position.x || B.position.y !== Y.position.y, B.position = Y.position, B.positionAbsolute = Y.positionAbsolute, B; - }), !R) + const Y = of(B, A, R, W, D, I); + return j = j || B.position.x !== Y.position.x || B.position.y !== Y.position.y, B.position = Y.position, B.positionAbsolute = Y.positionAbsolute, B; + }), !j) return; V(c.current, !0, !0), u(!0); - const z = r ? F : Il(P); + const z = r ? F : Bl(P); if (z && b.current) { - const [B, A] = jl({ + const [B, A] = Pl({ nodeId: r, dragItems: c.current, - nodeInternals: j + nodeInternals: R }); z(b.current, B, A); } - }, w = () => { + }, E = () => { if (!f.current) return; - const [_, L] = p3(m.current, f.current); + const [_, L] = A3(m.current, f.current); if (_ !== 0 || L !== 0) { - const { transform: j, panBy: F } = l.getState(); - d.current.x = (d.current.x ?? 0) - _ / j[2], d.current.y = (d.current.y ?? 0) - L / j[2], F({ x: _, y: L }) && E(d.current); + const { transform: R, panBy: F } = l.getState(); + d.current.x = (d.current.x ?? 0) - _ / R[2], d.current.y = (d.current.y ?? 0) - L / R[2], F({ x: _, y: L }) && w(d.current); } - h.current = requestAnimationFrame(w); - }, O = (_) => { - var N; - const { nodeInternals: L, multiSelectionActive: j, nodesDraggable: F, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); + p.current = requestAnimationFrame(E); + }, M = (_) => { + var D; + const { nodeInternals: L, multiSelectionActive: R, nodesDraggable: F, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); g.current = !0; - const D = r ? V : Il(k); - (!i || !a) && !j && r && ((N = L.get(r)) != null && N.selected || P()), r && a && i && As({ + const N = r ? V : Bl(k); + (!i || !a) && !R && r && ((D = L.get(r)) != null && D.selected || P()), r && a && i && Ds({ id: r, store: l, nodeRef: e }); - const M = C(_); - if (d.current = M, c.current = hb(L, F, M, r), D && c.current) { - const [I, R] = jl({ + const T = C(_); + if (d.current = T, c.current = Ab(L, F, T, r), N && c.current) { + const [I, j] = Pl({ nodeId: r, dragItems: c.current, nodeInternals: L }); - D(_.sourceEvent, I, R); + N(_.sourceEvent, I, j); } }; if (t) S.on(".drag", null); else { - const _ = Ep().on("start", (L) => { - const { domNode: j, nodeDragThreshold: F } = l.getState(); - F === 0 && O(L), x.current = !1; + const _ = Ip().on("start", (L) => { + const { domNode: R, nodeDragThreshold: F } = l.getState(); + F === 0 && M(L), x.current = !1; const P = C(L); - d.current = P, f.current = (j == null ? void 0 : j.getBoundingClientRect()) || null, m.current = Nn(L.sourceEvent, f.current); + d.current = P, f.current = (R == null ? void 0 : R.getBoundingClientRect()) || null, m.current = jn(L.sourceEvent, f.current); }).on("drag", (L) => { var V, k; - const j = C(L), { autoPanOnNodeDrag: F, nodeDragThreshold: P } = l.getState(); + const R = C(L), { autoPanOnNodeDrag: F, nodeDragThreshold: P } = l.getState(); if (L.sourceEvent.type === "touchmove" && L.sourceEvent.touches.length > 1 && (x.current = !0), !x.current) { - if (!y.current && g.current && F && (y.current = !0, w()), !g.current) { - const D = j.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 : V.x) ?? 0), M = j.ySnapped - (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); - Math.sqrt(D * D + M * M) > P && O(L); + if (!y.current && g.current && F && (y.current = !0, E()), !g.current) { + const N = R.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 : V.x) ?? 0), T = R.ySnapped - (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); + Math.sqrt(N * N + T * T) > P && M(L); } - (d.current.x !== j.xSnapped || d.current.y !== j.ySnapped) && c.current && g.current && (b.current = L.sourceEvent, m.current = Nn(L.sourceEvent, f.current), E(j)); + (d.current.x !== R.xSnapped || d.current.y !== R.ySnapped) && c.current && g.current && (b.current = L.sourceEvent, m.current = jn(L.sourceEvent, f.current), w(R)); } }).on("end", (L) => { - if (!(!g.current || x.current) && (u(!1), y.current = !1, g.current = !1, cancelAnimationFrame(h.current), c.current)) { - const { updateNodePositions: j, nodeInternals: F, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : Il(V); - if (j(c.current, !1, !1), k) { - const [D, M] = jl({ + if (!(!g.current || x.current) && (u(!1), y.current = !1, g.current = !1, cancelAnimationFrame(p.current), c.current)) { + const { updateNodePositions: R, nodeInternals: F, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : Bl(V); + if (R(c.current, !1, !1), k) { + const [N, T] = Pl({ nodeId: r, dragItems: c.current, nodeInternals: F }); - k(L.sourceEvent, D, M); + k(L.sourceEvent, N, T); } } }).filter((L) => { - const j = L.target; - return !L.button && (!n || !wu(j, `.${n}`, e)) && (!o || wu(j, o, e)); + const R = L.target; + return !L.button && (!n || !Lu(R, `.${n}`, e)) && (!o || Lu(R, o, e)); }); return S.call(_), () => { S.on(".drag", null); @@ -20454,32 +20454,32 @@ function Z3({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: C ]), s; } -function U3() { - const e = nt(); +function af() { + const e = rt(); return Me((n) => { - const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), h = l ? s[0] : 5, f = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * h * m, y = n.y * f * m, g = d.map((x) => { + const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), p = l ? s[0] : 5, f = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * p * m, y = n.y * f * m, g = d.map((x) => { if (x.positionAbsolute) { const C = { x: x.positionAbsolute.x + b, y: x.positionAbsolute.y + y }; l && (C.x = s[0] * Math.round(C.x / s[0]), C.y = s[1] * Math.round(C.y / s[1])); - const { positionAbsolute: S, position: E } = W3(x, C, o, r, void 0, u); - x.position = E, x.positionAbsolute = S; + const { positionAbsolute: S, position: w } = of(x, C, o, r, void 0, u); + x.position = w, x.positionAbsolute = S; } return x; }); a(g, !0, !1); }, []); } -const bo = { +const yo = { ArrowUp: { x: 0, y: -1 }, ArrowDown: { x: 0, y: 1 }, ArrowLeft: { x: -1, y: 0 }, ArrowRight: { x: 1, y: 0 } }; -var Wo = (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: f, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: E, selectNodesOnDrag: w, sourcePosition: O, targetPosition: _, hidden: L, resizeObserver: j, dragHandle: F, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: D, initialized: M, disableKeyboardA11y: N, ariaLabel: I, rfId: R, hasHandleBounds: v }) => { - const z = nt(), B = he(null), A = he(null), W = he(O), Y = he(_), K = he(o), Q = C || x || c || d || h || f, ne = U3(), oe = $o(n, z.getState, d), U = $o(n, z.getState, h), ge = $o(n, z.getState, f), J = $o(n, z.getState, m), ke = $o(n, z.getState, b), ae = (Ee) => { +var Ko = (e) => { + const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: p, onMouseLeave: f, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: w, selectNodesOnDrag: E, sourcePosition: M, targetPosition: _, hidden: L, resizeObserver: R, dragHandle: F, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: D, ariaLabel: I, rfId: j, hasHandleBounds: v }) => { + const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || f, ne = af(), oe = Go(n, z.getState, d), U = Go(n, z.getState, p), ge = Go(n, z.getState, f), J = Go(n, z.getState, m), ke = Go(n, z.getState, b), ae = (Ee) => { const { nodeDragThreshold: le } = z.getState(); - if (C && (!w || !x || le > 0) && As({ + if (C && (!E || !x || le > 0) && Ds({ id: n, store: z, nodeRef: B @@ -20488,42 +20488,42 @@ var Wo = (e) => { Ge && c(Ee, { ...Ge }); } }, _e = (Ee) => { - if (!ws(Ee) && !N) - if (m3.includes(Ee.key) && C) { + if (!As(Ee) && !D) + if (T3.includes(Ee.key) && C) { const le = Ee.key === "Escape"; - As({ + Ds({ id: n, store: z, unselect: le, nodeRef: B }); - } else x && u && Object.prototype.hasOwnProperty.call(bo, Ee.key) && (z.setState({ + } else x && u && Object.prototype.hasOwnProperty.call(yo, Ee.key) && (z.setState({ ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}` }), ne({ - x: bo[Ee.key].x, - y: bo[Ee.key].y, + x: yo[Ee.key].x, + y: yo[Ee.key].y, isShiftPressed: Ee.shiftKey })); }; - ce(() => () => { - A.current && (j == null || j.unobserve(A.current), A.current = null); - }, []), ce(() => { + ue(() => () => { + A.current && (R == null || R.unobserve(A.current), A.current = null); + }, []), ue(() => { if (B.current && !L) { const Ee = B.current; - (!M || !v || A.current !== Ee) && (A.current && (j == null || j.unobserve(A.current)), j == null || j.observe(Ee), A.current = Ee); + (!T || !v || A.current !== Ee) && (A.current && (R == null || R.unobserve(A.current)), R == null || R.observe(Ee), A.current = Ee); } - }, [L, M, v]), ce(() => { - const Ee = K.current !== o, le = W.current !== O, Ge = Y.current !== _; - B.current && (Ee || le || Ge) && (Ee && (K.current = o), le && (W.current = O), Ge && (Y.current = _), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); - }, [n, o, O, _]); - const Ve = Z3({ + }, [L, T, v]), ue(() => { + const Ee = K.current !== o, le = W.current !== M, Ge = Y.current !== _; + B.current && (Ee || le || Ge) && (Ee && (K.current = o), le && (W.current = M), Ge && (Y.current = _), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); + }, [n, o, M, _]); + const $e = rf({ nodeRef: B, disabled: L || !x, noDragClassName: k, handleSelector: F, nodeId: n, isSelectable: C, - selectNodesOnDrag: w + selectNodesOnDrag: E }); return L ? null : $.createElement( "div", @@ -20532,57 +20532,57 @@ var Wo = (e) => { `react-flow__node-${o}`, { // this is overwritable by passing `nopan` as a class name - [D]: x + [N]: x }, g, { selected: u, selectable: C, parent: V, - dragging: Ve + dragging: $e } ]), ref: B, style: { zIndex: P, transform: `translate(${l}px,${s}px)`, pointerEvents: Q ? "all" : "none", - visibility: M ? "visible" : "hidden", + visibility: T ? "visible" : "hidden", ...y - }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: E ? _e : void 0, tabIndex: E ? 0 : void 0, role: E ? "button" : void 0, "aria-describedby": N ? void 0 : `${I3}-${R}`, "aria-label": I }, + }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": D ? void 0 : `${K3}-${j}`, "aria-label": I }, $.createElement( - Am, + Bm, { value: n }, - $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: O, targetPosition: _, dragging: Ve, dragHandle: F, zIndex: P }) + $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: M, targetPosition: _, dragging: $e, dragHandle: F, zIndex: P }) ) ); }; return t.displayName = "NodeWrapper", Ye(t); }; -const mb = (e) => { +const Ob = (e) => { const t = e.getNodes().filter((n) => n.selected); return { - ...Oc(t, e.nodeOrigin), + ...Ic(t, e.nodeOrigin), transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, userSelectionActive: e.userSelectionActive }; }; -function bb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = nt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ze(mb, lt), c = U3(), d = he(null); - if (ce(() => { +function Nb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { + const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ze(Ob, ut), c = af(), d = he(null); + if (ue(() => { var m; n || (m = d.current) == null || m.focus({ preventScroll: !0 }); - }, [n]), Z3({ + }, [n]), rf({ nodeRef: d }), u || !r || !a) return null; - const h = e ? (m) => { + const p = e ? (m) => { const b = o.getState().getNodes().filter((y) => y.selected); e(m, b); } : void 0, f = (m) => { - Object.prototype.hasOwnProperty.call(bo, m.key) && c({ - x: bo[m.key].x, - y: bo[m.key].y, + Object.prototype.hasOwnProperty.call(yo, m.key) && c({ + x: yo[m.key].x, + y: yo[m.key].y, isShiftPressed: m.shiftKey }); }; @@ -20591,7 +20591,7 @@ function bb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: { className: bt(["react-flow__nodesselection", "react-flow__container", t]), style: { transform: s } }, - $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: h, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : f, style: { + $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: p, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : f, style: { width: r, height: a, top: l, @@ -20599,115 +20599,115 @@ function bb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: } }) ); } -var yb = Ye(bb); -const Cb = (e) => e.nodesSelectionActive, q3 = ({ 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: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: E, panOnScroll: w, panOnScrollSpeed: O, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: j, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: D, onSelectionContextMenu: M, noWheelClassName: N, noPanClassName: I, disableKeyboardA11y: R }) => { - const v = Ze(Cb), z = gr(d), B = gr(g), A = B || j, W = B || w, Y = z || h && A !== !0; - return ob({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( - lb, - { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: E, panOnScroll: W, panOnScrollSpeed: O, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: D, noWheelClassName: N, noPanClassName: I }, +var Db = Ye(Nb); +const Lb = (e) => e.nodesSelectionActive, lf = ({ 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: p, selectionMode: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: j }) => { + const v = Ze(Lb), z = xr(d), B = xr(g), A = B || R, W = B || E, Y = z || p && A !== !0; + return bb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( + xb, + { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: D, noPanClassName: I }, $.createElement( - V3, + tf, { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: A, isSelecting: !!Y, selectionMode: f }, e, - v && $.createElement(yb, { onSelectionContextMenu: M, noPanClassName: I, disableKeyboardA11y: R }) + v && $.createElement(Db, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: j }) ) ); }; -q3.displayName = "FlowRenderer"; -var vb = Ye(q3); -function xb(e) { - return Ze(Me((n) => e ? S3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); +lf.displayName = "FlowRenderer"; +var Fb = Ye(lf); +function jb(e) { + return Ze(Me((n) => e ? I3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); } -function wb(e) { +function Rb(e) { const t = { - input: Wo(e.input || L3), - default: Wo(e.default || _s), - output: Wo(e.output || R3), - group: Wo(e.group || Nc) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Wo(e[a] || _s), r), n); + input: Ko(e.input || U3), + default: Ko(e.default || Ns), + output: Ko(e.output || Y3), + group: Ko(e.group || Hc) + }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Ko(e[a] || Ns), r), n); return { ...t, ...o }; } -const Eb = ({ 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 } : { +const Ib = ({ 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] -}, Sb = (e) => ({ +}, zb = (e) => ({ nodesDraggable: e.nodesDraggable, nodesConnectable: e.nodesConnectable, nodesFocusable: e.nodesFocusable, elementsSelectable: e.elementsSelectable, updateNodeDimensions: e.updateNodeDimensions, onError: e.onError -}), Y3 = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ze(Sb, lt), l = xb(e.onlyRenderVisibleElements), s = he(), u = He(() => { +}), sf = (e) => { + const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ze(zb, ut), l = jb(e.onlyRenderVisibleElements), s = he(), u = Be(() => { if (typeof ResizeObserver > "u") return null; const c = new ResizeObserver((d) => { - const h = d.map((f) => ({ + const p = d.map((f) => ({ id: f.target.getAttribute("data-id"), nodeElement: f.target, forceUpdate: !0 })); - a(h); + a(p); }); return s.current = c, c; }, []); - return ce(() => () => { + return ue(() => () => { var c; (c = s == null ? void 0 : s.current) == null || c.disconnect(); - }, []), $.createElement("div", { className: "react-flow__nodes", style: Lc }, l.map((c) => { - var E, w, O; + }, []), $.createElement("div", { className: "react-flow__nodes", style: Pc }, l.map((c) => { + var w, E, M; let d = c.type || "default"; - e.nodeTypes[d] || (i == null || i("003", Gt.error003(d)), d = "default"); - const h = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Sc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = Eb({ + e.nodeTypes[d] || (i == null || i("003", Xt.error003(d)), d = "default"); + const p = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Nc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = Ib({ x, y: C, width: c.width ?? 0, height: c.height ?? 0, origin: e.nodeOrigin }); - return $.createElement(h, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ie.Bottom, targetPosition: c.targetPosition || ie.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: S.x, yPosOrigin: S.y, selectNodesOnDrag: e.selectNodesOnDrag, onClick: e.onNodeClick, onMouseEnter: e.onNodeMouseEnter, onMouseMove: e.onNodeMouseMove, onMouseLeave: e.onNodeMouseLeave, onContextMenu: e.onNodeContextMenu, onDoubleClick: e.onNodeDoubleClick, selected: !!c.selected, isDraggable: f, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((E = c[qe]) == null ? void 0 : E.z) ?? 0, isParent: !!((w = c[qe]) != null && w.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((O = c[qe]) != null && O.handleBounds) }); + return $.createElement(p, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ie.Bottom, targetPosition: c.targetPosition || ie.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: S.x, yPosOrigin: S.y, selectNodesOnDrag: e.selectNodesOnDrag, onClick: e.onNodeClick, onMouseEnter: e.onNodeMouseEnter, onMouseMove: e.onNodeMouseMove, onMouseLeave: e.onNodeMouseLeave, onContextMenu: e.onNodeContextMenu, onDoubleClick: e.onNodeDoubleClick, selected: !!c.selected, isDraggable: f, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((w = c[qe]) == null ? void 0 : w.z) ?? 0, isParent: !!((E = c[qe]) != null && E.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((M = c[qe]) != null && M.handleBounds) }); })); }; -Y3.displayName = "NodeRenderer"; -var kb = Ye(Y3); -const _b = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Ab = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, Su = "react-flow__edgeupdater", ku = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([Su, `${Su}-${l}`]), cx: _b(t, o, e), cy: Ab(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Mb = () => !0; -var so = (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: f, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: E, targetY: w, sourcePosition: O, targetPosition: _, elementsSelectable: L, hidden: j, sourceHandleId: F, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: D, onMouseLeave: M, reconnectRadius: N, onReconnect: I, onReconnectStart: R, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { - const U = he(null), [ge, J] = ue(!1), [ke, ae] = ue(!1), _e = nt(), Ve = He(() => `url('#${Ss(B, A)}')`, [B, A]), Ee = He(() => `url('#${Ss(z, A)}')`, [z, A]); - if (j) +sf.displayName = "NodeRenderer"; +var Hb = Ye(sf); +const Pb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Bb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, ju = "react-flow__edgeupdater", Ru = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([ju, `${ju}-${l}`]), cx: Pb(t, o, e), cy: Bb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Vb = () => !0; +var uo = (e) => { + const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, elementsSelectable: L, hidden: R, sourceHandleId: F, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: D, onReconnect: I, onReconnectStart: j, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { + const U = he(null), [ge, J] = ce(!1), [ke, ae] = ce(!1), _e = rt(), $e = Be(() => `url('#${Ts(B, A)}')`, [B, A]), Ee = Be(() => `url('#${Ts(z, A)}')`, [z, A]); + if (R) return null; const le = (de) => { var Se; - const { edges: Be, addSelectedEdges: et, unselectNodesAndEdges: Qe, multiSelectionActive: ft } = _e.getState(), ot = Be.find(($t) => $t.id === n); - ot && (L && (_e.setState({ nodesSelectionActive: !1 }), ot.selected && ft ? (Qe({ nodes: [], edges: [ot] }), (Se = U.current) == null || Se.blur()) : et([n])), i && i(de, ot)); - }, Ge = Vo(n, _e.getState, l), Tt = Vo(n, _e.getState, V), Qt = Vo(n, _e.getState, k), Ot = Vo(n, _e.getState, D), Jt = Vo(n, _e.getState, M), wt = (de, Be) => { + const { edges: Ve, addSelectedEdges: et, unselectNodesAndEdges: Qe, multiSelectionActive: ht } = _e.getState(), it = Ve.find((Wt) => Wt.id === n); + it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (Qe({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : et([n])), i && i(de, it)); + }, Ge = Yo(n, _e.getState, l), Ot = Yo(n, _e.getState, V), en = Yo(n, _e.getState, k), Nt = Yo(n, _e.getState, N), tn = Yo(n, _e.getState, T), St = (de, Ve) => { if (de.button !== 0) return; - const { edges: et, isValidConnection: Qe } = _e.getState(), ft = Be ? x : g, ot = (Be ? P : F) || null, Se = Be ? "target" : "source", $t = Qe || Mb, rt = Be, wn = et.find((Wt) => Wt.id === n); - ae(!0), R == null || R(de, wn, Se); - const en = (Wt) => { - ae(!1), v == null || v(Wt, wn, Se); + const { edges: et, isValidConnection: Qe } = _e.getState(), ht = Ve ? x : g, it = (Ve ? P : F) || null, Se = Ve ? "target" : "source", Wt = Qe || Vb, lt = Ve, kn = et.find((Zt) => Zt.id === n); + ae(!0), j == null || j(de, kn, Se); + const nn = (Zt) => { + ae(!1), v == null || v(Zt, kn, Se); }; - T3({ + V3({ event: de, - handleId: ot, - nodeId: ft, - onConnect: (Wt) => I == null ? void 0 : I(wn, Wt), - isTarget: rt, + handleId: it, + nodeId: ht, + onConnect: (Zt) => I == null ? void 0 : I(kn, Zt), + isTarget: lt, getState: _e.getState, setState: _e.setState, - isValidConnection: $t, + isValidConnection: Wt, edgeUpdaterType: Se, - onReconnectEnd: en + onReconnectEnd: nn }); - }, Vt = (de) => wt(de, !0), Dt = (de) => wt(de, !1), Z = () => J(!0), ee = () => J(!1), se = !L && !i, xe = (de) => { - var Be; - if (!oe && m3.includes(de.key) && L) { - const { unselectNodesAndEdges: et, addSelectedEdges: Qe, edges: ft } = _e.getState(); - de.key === "Escape" ? ((Be = U.current) == null || Be.blur(), et({ edges: [ft.find((Se) => Se.id === n)] })) : Qe([n]); + }, $t = (de) => St(de, !0), Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !L && !i, xe = (de) => { + var Ve; + if (!oe && T3.includes(de.key) && L) { + const { unselectNodesAndEdges: et, addSelectedEdges: Qe, edges: ht } = _e.getState(); + de.key === "Escape" ? ((Ve = U.current) == null || Ve.blur(), et({ edges: [ht.find((Se) => Se.id === n)] })) : Qe([n]); } }; return $.createElement( @@ -20717,32 +20717,32 @@ var so = (e) => { `react-flow__edge-${r}`, o, { selected: s, animated: u, inactive: se, updating: ge } - ]), onClick: le, onDoubleClick: Ge, onContextMenu: Tt, onMouseEnter: Qt, onMouseMove: Ot, onMouseLeave: Jt, onKeyDown: Y ? xe : void 0, tabIndex: Y ? 0 : void 0, role: Y ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": Y ? `${z3}-${A}` : void 0, ref: U }, - !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: h, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: y, sourceX: C, sourceY: S, targetX: E, targetY: w, sourcePosition: O, targetPosition: _, sourceHandleId: F, targetHandleId: P, markerStart: Ve, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), + ]), onClick: le, onDoubleClick: Ge, onContextMenu: Ot, onMouseEnter: en, onMouseMove: Nt, onMouseLeave: tn, onKeyDown: Y ? xe : void 0, tabIndex: Y ? 0 : void 0, role: Y ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": Y ? `${X3}-${A}` : void 0, ref: U }, + !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: y, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, sourceHandleId: F, targetHandleId: P, markerStart: $e, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), K && $.createElement( $.Fragment, null, - (K === "source" || K === !0) && $.createElement(ku, { position: O, centerX: C, centerY: S, radius: N, onMouseDown: Vt, onMouseEnter: Z, onMouseOut: ee, type: "source" }), - (K === "target" || K === !0) && $.createElement(ku, { position: _, centerX: E, centerY: w, radius: N, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) + (K === "source" || K === !0) && $.createElement(Ru, { position: M, centerX: C, centerY: S, radius: D, onMouseDown: $t, onMouseEnter: Z, onMouseOut: ee, type: "source" }), + (K === "target" || K === !0) && $.createElement(Ru, { position: _, centerX: w, centerY: E, radius: D, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) ) ); }; return t.displayName = "EdgeWrapper", Ye(t); }; -function Tb(e) { +function $b(e) { const t = { - default: so(e.default || Ra), - straight: so(e.bezier || Mc), - step: so(e.step || Ac), - smoothstep: so(e.step || oi), - simplebezier: so(e.simplebezier || _c) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = so(e[a] || Ra), r), n); + default: uo(e.default || Ba), + straight: uo(e.bezier || jc), + step: uo(e.step || Fc), + smoothstep: uo(e.step || li), + simplebezier: uo(e.simplebezier || Lc) + }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = uo(e[a] || Ba), r), n); return { ...t, ...o }; } -function _u(e, t, n = null) { +function Iu(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 ie.Top: @@ -20767,11 +20767,11 @@ function _u(e, t, n = null) { }; } } -function Au(e, t) { +function zu(e, t) { return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; } -const Ob = (e, t, n, o, r, a) => { - const i = _u(n, e, t), l = _u(a, o, r); +const Wb = (e, t, n, o, r, a) => { + const i = Iu(n, e, t), l = Iu(a, o, r); return { sourceX: i.x, sourceY: i.y, @@ -20779,7 +20779,7 @@ const Ob = (e, t, n, o, r, a) => { targetY: l.y }; }; -function Db({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targetWidth: r, targetHeight: a, width: i, height: l, transform: s }) { +function Zb({ 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), @@ -20787,15 +20787,15 @@ function Db({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targe 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 = kc({ + const c = Dc({ 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; + }), d = Math.max(0, Math.min(c.x2, u.x2) - Math.max(c.x, u.x)), p = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); + return Math.ceil(d * p) > 0; } -function Mu(e) { +function Hu(e) { var o, r, a, i, l; const t = ((o = e == null ? void 0 : e[qe]) == null ? void 0 : o.handleBounds) || null, n = t && (e == null ? void 0 : e.width) && (e == null ? void 0 : e.height) && typeof ((r = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : r.x) < "u" && typeof ((a = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : a.y) < "u"; return [ @@ -20809,15 +20809,15 @@ function Mu(e) { !!n ]; } -const Nb = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function Lb(e, t, n = !1) { +const Ub = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function qb(e, t, n = !1) { let o = -1; const r = e.reduce((i, l) => { var c, d; - const s = jt(l.zIndex); + const s = Rt(l.zIndex); let u = s ? l.zIndex : 0; if (n) { - const h = t.get(l.target), f = t.get(l.source), m = l.selected || (h == null ? void 0 : h.selected) || (f == null ? void 0 : f.selected), b = Math.max(((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, ((d = h == null ? void 0 : h[qe]) == null ? void 0 : d.z) || 0, 1e3); + const p = t.get(l.target), f = t.get(l.source), m = l.selected || (p == null ? void 0 : p.selected) || (f == null ? void 0 : f.selected), b = Math.max(((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, ((d = p == null ? void 0 : p[qe]) == 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; @@ -20829,12 +20829,12 @@ function Lb(e, t, n = !1) { isMaxLevel: s === o }; }); - return a.length === 0 ? Nb : a; + return a.length === 0 ? Ub : a; } -function Fb(e, t, n) { +function Yb(e, t, n) { const o = Ze(Me((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) && Db({ + 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) && Zb({ sourcePos: i.positionAbsolute || { x: 0, y: 0 }, targetPos: l.positionAbsolute || { x: 0, y: 0 }, sourceWidth: i.width, @@ -20846,52 +20846,52 @@ function Fb(e, t, n) { transform: r.transform }); }) : r.edges, [e, t])); - return Lb(o, t, n); + return qb(o, t, n); } -const Rb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +const Gb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), jb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Kb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, fill: e, strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Tu = { - [Fa.Arrow]: Rb, - [Fa.ArrowClosed]: jb +}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Pu = { + [Pa.Arrow]: Gb, + [Pa.ArrowClosed]: Kb }; -function Ib(e) { - const t = nt(); - return He(() => { +function Xb(e) { + const t = rt(); + return Be(() => { var r, a; - return Object.prototype.hasOwnProperty.call(Tu, e) ? Tu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Gt.error009(e)), null); + return Object.prototype.hasOwnProperty.call(Pu, e) ? Pu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Xt.error009(e)), null); }, [e]); } -const zb = ({ 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 = Ib(t); +const Qb = ({ 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 = Xb(t); return s ? $.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" }, $.createElement(s, { color: n, strokeWidth: i }) ) : null; -}, Hb = ({ defaultColor: e, rfId: t }) => (n) => { +}, Jb = ({ 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 = Ss(i, t); + const l = Ts(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)); -}, G3 = ({ defaultColor: e, rfId: t }) => { +}, cf = ({ defaultColor: e, rfId: t }) => { const n = Ze( - Me(Hb({ defaultColor: e, rfId: t }), [e, t]), + Me(Jb({ 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 $.createElement("defs", null, n.map((o) => $.createElement(zb, { id: o.id, key: o.id, type: o.type, color: o.color, width: o.width, height: o.height, markerUnits: o.markerUnits, strokeWidth: o.strokeWidth, orient: o.orient }))); + return $.createElement("defs", null, n.map((o) => $.createElement(Qb, { 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 }))); }; -G3.displayName = "MarkerDefinitions"; -var Pb = Ye(G3); -const Bb = (e) => ({ +cf.displayName = "MarkerDefinitions"; +var ey = Ye(cf); +const ty = (e) => ({ nodesConnectable: e.nodesConnectable, edgesFocusable: e.edgesFocusable, edgesUpdatable: e.edgesUpdatable, @@ -20901,68 +20901,68 @@ const Bb = (e) => ({ connectionMode: e.connectionMode, nodeInternals: e.nodeInternals, onError: e.onError -}), K3 = ({ 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: f, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { - const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: E, height: w, connectionMode: O, nodeInternals: _, onError: L } = Ze(Bb, lt), j = Fb(t, _, n); - return E ? $.createElement( +}), uf = ({ 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: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { + const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ze(ty, ut), R = Yb(t, _, n); + return w ? $.createElement( $.Fragment, null, - j.map(({ level: F, edges: P, isMaxLevel: V }) => $.createElement( + R.map(({ level: F, edges: P, isMaxLevel: V }) => $.createElement( "svg", - { key: F, style: { zIndex: F }, width: E, height: w, className: "react-flow__edges react-flow__container" }, - V && $.createElement(Pb, { defaultColor: e, rfId: o }), + { key: F, style: { zIndex: F }, width: w, height: E, className: "react-flow__edges react-flow__container" }, + V && $.createElement(ey, { defaultColor: e, rfId: o }), $.createElement("g", null, P.map((k) => { - const [D, M, N] = Mu(_.get(k.source)), [I, R, v] = Mu(_.get(k.target)); - if (!N || !v) + const [N, T, D] = Hu(_.get(k.source)), [I, j, v] = Hu(_.get(k.target)); + if (!D || !v) return null; let z = k.type || "default"; - r[z] || (L == null || L("011", Gt.error011(z)), z = "default"); - const B = r[z] || r.default, A = O === Qn.Strict ? R.target : (R.target ?? []).concat(R.source ?? []), W = Au(M.source, k.sourceHandle), Y = Au(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof h < "u" && (oe || C && typeof oe > "u"); + r[z] || (L == null || L("011", Xt.error011(z)), z = "default"); + const B = r[z] || r.default, A = M === to.Strict ? j.target : (j.target ?? []).concat(j.source ?? []), W = zu(T.source, k.sourceHandle), Y = zu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); if (!W || !Y) - return L == null || L("008", Gt.error008(W, k)), null; - const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = Ob(D, W, K, I, Y, Q); - return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: h, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); + return L == null || L("008", Xt.error008(W, k)), null; + const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = Wb(N, W, K, I, Y, Q); + return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); })) )), y ) : null; }; -K3.displayName = "EdgeRenderer"; -var Vb = Ye(K3); -const $b = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function Wb({ children: e }) { - const t = Ze($b); +uf.displayName = "EdgeRenderer"; +var ny = Ye(uf); +const oy = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function ry({ children: e }) { + const t = Ze(oy); return $.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); } -function Zb(e) { - const t = Xt(), n = he(!1); - ce(() => { +function ay(e) { + const t = Jt(), n = he(!1); + ue(() => { !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); }, [e, t.viewportInitialized]); } -const Ub = { +const iy = { [ie.Left]: ie.Right, [ie.Right]: ie.Left, [ie.Top]: ie.Bottom, [ie.Bottom]: ie.Top -}, X3 = ({ nodeId: e, handleType: t, style: n, type: o = On.Bezier, CustomComponent: r, connectionStatus: a }) => { - var w, O, _; +}, df = ({ nodeId: e, handleType: t, style: n, type: o = Ln.Bezier, CustomComponent: r, connectionStatus: a }) => { + var E, M, _; const { fromNode: i, handleId: l, toX: s, toY: u, connectionMode: c } = Ze(Me((L) => ({ fromNode: L.nodeInternals.get(e), handleId: L.connectionHandleId, toX: (L.connectionPosition.x - L.transform[0]) / L.transform[2], toY: (L.connectionPosition.y - L.transform[1]) / L.transform[2], connectionMode: L.connectionMode - }), [e]), lt), d = (w = i == null ? void 0 : i[qe]) == null ? void 0 : w.handleBounds; - let h = d == null ? void 0 : d[t]; - if (c === Qn.Loose && (h = h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !h) + }), [e]), ut), d = (E = i == null ? void 0 : i[qe]) == null ? void 0 : E.handleBounds; + let p = d == null ? void 0 : d[t]; + if (c === to.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) return null; - const f = l ? h.find((L) => L.id === l) : h[0], m = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, b = f ? f.y + f.height / 2 : i.height ?? 0, y = (((O = i.positionAbsolute) == null ? void 0 : O.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? Ub[x] : null; + const f = l ? p.find((L) => L.id === l) : p[0], m = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, b = f ? f.y + f.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? iy[x] : null; if (!x || !C) return null; if (r) return $.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: i, fromHandle: f, fromX: y, fromY: g, toX: s, toY: u, fromPosition: x, toPosition: C, connectionStatus: a }); let S = ""; - const E = { + const w = { sourceX: y, sourceY: g, sourcePosition: x, @@ -20970,13 +20970,13 @@ const Ub = { targetY: u, targetPosition: C }; - return o === On.Bezier ? [S] = w3(E) : o === On.Step ? [S] = Es({ - ...E, + return o === Ln.Bezier ? [S] = j3(w) : o === Ln.Step ? [S] = Ms({ + ...w, borderRadius: 0 - }) : o === On.SmoothStep ? [S] = Es(E) : o === On.SimpleBezier ? [S] = x3(E) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); + }) : o === Ln.SmoothStep ? [S] = Ms(w) : o === Ln.SimpleBezier ? [S] = F3(w) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); }; -X3.displayName = "ConnectionLine"; -const qb = (e) => ({ +df.displayName = "ConnectionLine"; +const ly = (e) => ({ nodeId: e.connectionNodeId, handleType: e.connectionHandleType, nodesConnectable: e.nodesConnectable, @@ -20984,53 +20984,53 @@ const qb = (e) => ({ width: e.width, height: e.height }); -function Yb({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ze(qb, lt); +function sy({ containerStyle: e, style: t, type: n, component: o }) { + const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ze(ly, ut); return !(r && a && l && i) ? null : $.createElement( "svg", { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, $.createElement( "g", { className: bt(["react-flow__connection", u]) }, - $.createElement(X3, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) + $.createElement(df, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) ) ); } -function Ou(e, t) { - const n = he(null), o = nt(); - return He(() => { +function Bu(e, t) { + const n = he(null), o = rt(); + return Be(() => { var a, i; if (process.env.NODE_ENV === "development") { const l = Object.keys(e); - lt(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", Gt.error002())), n.current = l; + ut(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", Xt.error002())), n.current = l; } return t(e); }, [e]); } -const Q3 = ({ 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: f, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: E, selectionOnDrag: w, selectionMode: O, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: j, deleteKeyCode: F, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: D, translateExtent: M, minZoom: N, maxZoom: I, preventScrolling: R, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: Ve, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Tt, reconnectRadius: Qt, noDragClassName: Ot, noWheelClassName: Jt, noPanClassName: wt, elevateEdgesOnSelect: Vt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { - const xe = Ou(e, wb), de = Ou(t, Tb); - return Zb(a), $.createElement( - vb, - { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: F, selectionKeyCode: E, selectionOnDrag: w, selectionMode: O, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: j, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: D, translateExtent: M, minZoom: N, maxZoom: I, onSelectionContextMenu: m, preventScrolling: R, noDragClassName: Ot, noWheelClassName: Jt, noPanClassName: wt, disableKeyboardA11y: Dt }, +const ff = ({ 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: p, onNodeContextMenu: f, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, deleteKeyCode: F, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, preventScrolling: j, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, elevateEdgesOnSelect: $t, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { + const xe = Bu(e, Rb), de = Bu(t, $b); + return ay(a), $.createElement( + Fb, + { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: F, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, onSelectionContextMenu: m, preventScrolling: j, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, disableKeyboardA11y: Dt }, $.createElement( - Wb, + ry, null, $.createElement( - Vb, - { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: Ve, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Tt, reconnectRadius: Qt, defaultMarkerColor: v, noPanClassName: wt, elevateEdgesOnSelect: !!Vt, disableKeyboardA11y: Dt, rfId: se }, - $.createElement(Yb, { style: x, type: g, component: C, containerStyle: S }) + ny, + { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!$t, disableKeyboardA11y: Dt, rfId: se }, + $.createElement(sy, { style: x, type: g, component: C, containerStyle: S }) ), $.createElement("div", { className: "react-flow__edgelabel-renderer" }), - $.createElement(kb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: h, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: wt, noDragClassName: Ot, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) + $.createElement(Hb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) ) ); }; -Q3.displayName = "GraphView"; -var Gb = Ye(Q3); -const Ms = [ +ff.displayName = "GraphView"; +var cy = Ye(ff); +const Ls = [ [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] -], Sn = { +], An = { rfId: "1", width: 0, height: 0, @@ -21046,8 +21046,8 @@ const Ms = [ d3ZoomHandler: void 0, minZoom: 0.5, maxZoom: 2, - translateExtent: Ms, - nodeExtent: Ms, + translateExtent: Ls, + nodeExtent: Ls, nodesSelectionActive: !1, userSelectionActive: !1, userSelectionRect: null, @@ -21056,7 +21056,7 @@ const Ms = [ connectionHandleType: "source", connectionPosition: { x: 0, y: 0 }, connectionStatus: null, - connectionMode: Qn.Strict, + connectionMode: to.Strict, domNode: null, paneDragging: !1, noPanClassName: "nopan", @@ -21084,13 +21084,13 @@ const Ms = [ autoPanOnConnect: !0, autoPanOnNodeDrag: !0, connectionRadius: 20, - onError: b3, + onError: O3, isValidConnection: void 0 -}, Kb = () => R9((e, t) => ({ - ...Sn, +}, uy = () => G9((e, t) => ({ + ...An, setNodes: (n) => { const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: a } = t(); - e({ nodeInternals: Fl(n, o, r, a) }); + e({ nodeInternals: zl(n, o, r, a) }); }, getNodes: () => Array.from(t().nodeInternals.values()), setEdges: (n) => { @@ -21098,14 +21098,14 @@ const Ms = [ e({ edges: n.map((r) => ({ ...o, ...r })) }); }, setDefaultNodesAndEdges: (n, o) => { - const r = typeof n < "u", a = typeof o < "u", i = r ? Fl(n, /* @__PURE__ */ new Map(), t().nodeOrigin, t().elevateNodesOnSelect) : /* @__PURE__ */ new Map(); + const r = typeof n < "u", a = typeof o < "u", i = r ? zl(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), f = n.reduce((b, y) => { + const d = window.getComputedStyle(c), { m22: p } = new window.DOMMatrixReadOnly(d.transform), f = n.reduce((b, y) => { const g = r.get(y.id); if (g != null && g.hidden) r.set(g.id, { @@ -21118,14 +21118,14 @@ const Ms = [ } }); else if (g) { - const x = Ec(y.nodeElement); + const x = Oc(y.nodeElement); !!(x.width && x.height && (g.width !== x.width || g.height !== x.height || y.forceUpdate)) && (r.set(g.id, { ...g, [qe]: { ...g[qe], handleBounds: { - source: Eu(".source", y.nodeElement, h, u), - target: Eu(".target", y.nodeElement, h, u) + source: Fu(".source", y.nodeElement, p, u), + target: Fu(".target", y.nodeElement, p, u) } }, ...x @@ -21137,8 +21137,8 @@ const Ms = [ } return b; }, []); - P3(r, u); - const m = i || a && !i && B3(t, { initial: !0, ...l }); + J3(r, u); + const m = i || a && !i && ef(t, { initial: !0, ...l }); e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (f == null ? void 0 : f.length) > 0 && (o == null || o(f)); }, updateNodePositions: (n, o = !0, r = !1) => { @@ -21156,7 +21156,7 @@ const Ms = [ const { onNodesChange: o, nodeInternals: r, hasDefaultNodes: a, nodeOrigin: i, getNodes: l, elevateNodesOnSelect: s } = t(); if (n != null && n.length) { if (a) { - const u = db(n, l()), c = Fl(u, r, i, s); + const u = kb(n, l()), c = zl(u, r, i, s); e({ nodeInternals: c }); } o == null || o(n); @@ -21165,7 +21165,7 @@ const Ms = [ addSelectedNodes: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Tn(s, !0)) : (i = co(a(), n), l = co(r, [])), Jr({ + o ? i = n.map((s) => Dn(s, !0)) : (i = fo(a(), n), l = fo(r, [])), ra({ changedNodes: i, changedEdges: l, get: t, @@ -21175,7 +21175,7 @@ const Ms = [ addSelectedEdges: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Tn(s, !0)) : (i = co(r, n), l = co(a(), [])), Jr({ + o ? i = n.map((s) => Dn(s, !0)) : (i = fo(r, n), l = fo(a(), [])), ra({ changedNodes: l, changedEdges: i, get: t, @@ -21183,8 +21183,8 @@ const Ms = [ }); }, unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { - const { edges: r, getNodes: a } = t(), i = n || a(), l = o || r, s = i.map((c) => (c.selected = !1, Tn(c.id, !1))), u = l.map((c) => Tn(c.id, !1)); - Jr({ + const { edges: r, getNodes: a } = t(), i = n || a(), l = o || r, s = i.map((c) => (c.selected = !1, Dn(c.id, !1))), u = l.map((c) => Dn(c.id, !1)); + ra({ changedNodes: s, changedEdges: u, get: t, @@ -21204,8 +21204,8 @@ const Ms = [ (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) => Tn(l.id, !1)), i = n.filter((l) => l.selected).map((l) => Tn(l.id, !1)); - Jr({ + const { edges: n, getNodes: o } = t(), a = o().filter((l) => l.selected).map((l) => Dn(l.id, !1)), i = n.filter((l) => l.selected).map((l) => Dn(l.id, !1)); + ra({ changedNodes: a, changedEdges: i, get: t, @@ -21215,7 +21215,7 @@ const Ms = [ setNodeExtent: (n) => { const { nodeInternals: o } = t(); o.forEach((r) => { - r.positionAbsolute = Sc(r.position, n); + r.positionAbsolute = Nc(r.position, n); }), e({ nodeExtent: n, nodeInternals: new Map(o) @@ -21225,172 +21225,172 @@ const Ms = [ 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 = Dn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), c = [ + const u = Fn.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: Sn.connectionNodeId, - connectionHandleId: Sn.connectionHandleId, - connectionHandleType: Sn.connectionHandleType, - connectionStatus: Sn.connectionStatus, - connectionStartHandle: Sn.connectionStartHandle, - connectionEndHandle: Sn.connectionEndHandle + connectionNodeId: An.connectionNodeId, + connectionHandleId: An.connectionHandleId, + connectionHandleType: An.connectionHandleType, + connectionStatus: An.connectionStatus, + connectionStartHandle: An.connectionStartHandle, + connectionEndHandle: An.connectionEndHandle }), - reset: () => e({ ...Sn }) -}), Object.is), Ar = ({ children: e }) => { + reset: () => e({ ...An }) +}), Object.is), Lr = ({ children: e }) => { const t = he(null); - return t.current || (t.current = Kb()), $.createElement(pm, { value: t.current }, e); + return t.current || (t.current = uy()), $.createElement(Mm, { value: t.current }, e); }; -Ar.displayName = "ReactFlowProvider"; -const J3 = ({ children: e }) => Je(ni) ? $.createElement($.Fragment, null, e) : $.createElement(Ar, null, e); -J3.displayName = "ReactFlowWrapper"; -const Xb = { - input: L3, - default: _s, - output: R3, - group: Nc -}, Qb = { - default: Ra, - straight: Mc, - step: Ac, - smoothstep: oi, - simplebezier: _c -}, Jb = [0, 0], ey = [15, 15], ty = { x: 0, y: 0, zoom: 1 }, ny = { +Lr.displayName = "ReactFlowProvider"; +const hf = ({ children: e }) => Je(ii) ? $.createElement($.Fragment, null, e) : $.createElement(Lr, null, e); +hf.displayName = "ReactFlowWrapper"; +const dy = { + input: U3, + default: Ns, + output: Y3, + group: Hc +}, fy = { + default: Ba, + straight: jc, + step: Fc, + smoothstep: li, + simplebezier: Lc +}, hy = [0, 0], py = [15, 15], gy = { x: 0, y: 0, zoom: 1 }, my = { width: "100%", height: "100%", overflow: "hidden", position: "relative", zIndex: 0 -}, ri = qs(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = Xb, edgeTypes: i = Qb, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: E, onNodeDoubleClick: w, onNodeDragStart: O, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: j, onEdgesDelete: F, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: D, onSelectionContextMenu: M, onSelectionStart: N, onSelectionEnd: I, connectionMode: R = Qn.Strict, connectionLineType: v = On.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = pr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = La() ? "Meta" : "Control", zoomActivationKeyCode: U = La() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = ey, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: Ve, nodesFocusable: Ee, nodeOrigin: le = Jb, edgesFocusable: Ge, edgesUpdatable: Tt, elementsSelectable: Qt, defaultViewport: Ot = ty, minZoom: Jt = 0.5, maxZoom: wt = 2, translateExtent: Vt = Ms, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Be = 0.5, panOnScrollMode: et = $n.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ft = !0, onPaneClick: ot, onPaneMouseEnter: Se, onPaneMouseMove: $t, onPaneMouseLeave: rt, onPaneScroll: wn, onPaneContextMenu: en, children: no, onEdgeContextMenu: Wt, onEdgeDoubleClick: Lr, onEdgeMouseEnter: di, onEdgeMouseMove: Fr, onEdgeMouseLeave: fi, onEdgeUpdate: Rr, onEdgeUpdateStart: jr, onEdgeUpdateEnd: hi, onReconnect: pi, onReconnectStart: Ir, onReconnectEnd: zr, reconnectRadius: gi = 10, edgeUpdaterRadius: mi = 10, onNodesChange: bi, onEdgesChange: yi, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Re = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: at, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: ht = !1, autoPanOnConnect: En = !0, autoPanOnNodeDrag: hn = !0, connectionRadius: st = 20, isValidConnection: jo, onError: Ci, style: vi, id: c1, nodeDragThreshold: C5, ...v5 }, x5) => { - const xi = c1 || "1"; +}, si = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = dy, edgeTypes: i = fy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: F, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: j = to.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = vr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = Ha() ? "Meta" : "Control", zoomActivationKeyCode: U = Ha() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = py, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, nodeOrigin: le = hy, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, defaultViewport: Nt = gy, minZoom: tn = 0.5, maxZoom: St = 2, translateExtent: $t = Ls, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Ve = 0.5, panOnScrollMode: et = Un.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, children: ro, onEdgeContextMenu: Zt, onEdgeDoubleClick: zr, onEdgeMouseEnter: mi, onEdgeMouseMove: Hr, onEdgeMouseLeave: bi, onEdgeUpdate: Pr, onEdgeUpdateStart: Br, onEdgeUpdateEnd: yi, onReconnect: Ci, onReconnectStart: Vr, onReconnectEnd: $r, reconnectRadius: vi = 10, edgeUpdaterRadius: xi = 10, onNodesChange: wi, onEdgesChange: Ei, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: je = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: pn = !0, connectionRadius: dt = 20, isValidConnection: Vo, onError: Si, style: ki, id: v1, nodeDragThreshold: j5, ...R5 }, I5) => { + const _i = v1 || "1"; return $.createElement( "div", - { ...v5, style: { ...vi, ...ny }, ref: x5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: c1 }, + { ...R5, style: { ...ki, ...my }, ref: I5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: v1 }, $.createElement( - J3, + hf, null, - $.createElement(Gb, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: E, onNodeDoubleClick: w, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Ot, translateExtent: Vt, minZoom: Jt, maxZoom: wt, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Be, panOnScrollMode: et, panOnDrag: ft, onPaneClick: ot, onPaneMouseEnter: Se, onPaneMouseMove: $t, onPaneMouseLeave: rt, onPaneScroll: wn, onPaneContextMenu: en, onSelectionContextMenu: M, onSelectionStart: N, onSelectionEnd: I, onEdgeContextMenu: Wt, onEdgeDoubleClick: Lr, onEdgeMouseEnter: di, onEdgeMouseMove: Fr, onEdgeMouseLeave: fi, onReconnect: pi ?? Rr, onReconnectStart: Ir ?? jr, onReconnectEnd: zr ?? hi, reconnectRadius: gi ?? mi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: xi, disableKeyboardA11y: ht, nodeOrigin: le, nodeExtent: Z }), - $.createElement(Zm, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: Ve, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Tt, elementsSelectable: Qt, elevateNodesOnSelect: We, minZoom: Jt, maxZoom: wt, nodeExtent: Z, onNodesChange: bi, onEdgesChange: yi, snapToGrid: ge, snapGrid: J, connectionMode: R, translateExtent: Vt, connectOnClick: Re, defaultEdgeOptions: at, fitView: fe, fitViewOptions: Ae, onNodesDelete: j, onEdgesDelete: F, onNodeDragStart: O, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: D, noPanClassName: re, nodeOrigin: le, rfId: xi, autoPanOnConnect: En, autoPanOnNodeDrag: hn, onError: Ci, connectionRadius: st, isValidConnection: jo, nodeDragThreshold: C5 }), - $.createElement($m, { onSelectionChange: P }), - no, - $.createElement(mm, { proOptions: ye, position: we }), - $.createElement(Km, { rfId: xi, disableKeyboardA11y: ht }) + $.createElement(cy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: tn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Ve, panOnScrollMode: et, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: zr, onEdgeMouseEnter: mi, onEdgeMouseMove: Hr, onEdgeMouseLeave: bi, onReconnect: Ci ?? Pr, onReconnectStart: Vr ?? Br, onReconnectEnd: $r ?? yi, reconnectRadius: vi ?? xi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: _i, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), + $.createElement(ab, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, elevateNodesOnSelect: We, minZoom: tn, maxZoom: St, nodeExtent: Z, onNodesChange: wi, onEdgesChange: Ei, snapToGrid: ge, snapGrid: J, connectionMode: j, translateExtent: $t, connectOnClick: je, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: F, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: _i, autoPanOnConnect: _n, autoPanOnNodeDrag: pn, onError: Si, connectionRadius: dt, isValidConnection: Vo, nodeDragThreshold: j5 }), + $.createElement(ob, { onSelectionChange: P }), + ro, + $.createElement(Om, { proOptions: ye, position: we }), + $.createElement(ub, { rfId: _i, disableKeyboardA11y: pt }) ) ); }); -ri.displayName = "ReactFlow"; -function oy() { +si.displayName = "ReactFlow"; +function by() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, $.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) ); } -function ry() { +function yy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, $.createElement("path", { d: "M0 0h32v4.2H0z" }) ); } -function ay() { +function Cy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, $.createElement("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }) ); } -function iy() { +function vy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }) ); } -function ly() { +function xy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z" }) ); } -const Ko = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); -Ko.displayName = "ControlButton"; -const sy = (e) => ({ +const nr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); +nr.displayName = "ControlButton"; +const wy = (e) => ({ isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, minZoomReached: e.transform[2] <= e.minZoom, maxZoomReached: e.transform[2] >= e.maxZoom -}), ef = ({ 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 = nt(), [f, m] = ue(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(sy, lt), { zoomIn: x, zoomOut: C, fitView: S } = Xt(); - if (ce(() => { +}), pf = ({ 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 p = rt(), [f, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(wy, ut), { zoomIn: x, zoomOut: C, fitView: S } = Jt(); + if (ue(() => { m(!0); }, []), !f) return null; - const E = () => { + const w = () => { x(), a == null || a(); - }, w = () => { + }, E = () => { C(), i == null || i(); - }, O = () => { + }, M = () => { S(r), l == null || l(); }, _ = () => { - h.setState({ + p.setState({ nodesDraggable: !b, nodesConnectable: !b, elementsSelectable: !b }), s == null || s(!b); }; return $.createElement( - h3, + _3, { className: bt(["react-flow__controls", u]), position: d, style: e, "data-testid": "rf__controls" }, t && $.createElement( $.Fragment, null, $.createElement( - Ko, - { onClick: E, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, - $.createElement(oy, null) + nr, + { onClick: w, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, + $.createElement(by, null) ), $.createElement( - Ko, - { onClick: w, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, - $.createElement(ry, null) + nr, + { onClick: E, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, + $.createElement(yy, null) ) ), n && $.createElement( - Ko, - { className: "react-flow__controls-fitview", onClick: O, title: "fit view", "aria-label": "fit view" }, - $.createElement(ay, null) + nr, + { className: "react-flow__controls-fitview", onClick: M, title: "fit view", "aria-label": "fit view" }, + $.createElement(Cy, null) ), - o && $.createElement(Ko, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(ly, null) : $.createElement(iy, null)), + o && $.createElement(nr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(xy, null) : $.createElement(vy, null)), c ); }; -ef.displayName = "Controls"; -var Fc = Ye(ef), Yt; +pf.displayName = "Controls"; +var Bc = Ye(pf), Kt; (function(e) { e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; -})(Yt || (Yt = {})); -function cy({ color: e, dimensions: t, lineWidth: n }) { +})(Kt || (Kt = {})); +function Ey({ color: e, dimensions: t, lineWidth: n }) { return $.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); } -function uy({ color: e, radius: t }) { +function Sy({ color: e, radius: t }) { return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); } -const dy = { - [Yt.Dots]: "#91919a", - [Yt.Lines]: "#eee", - [Yt.Cross]: "#e2e2e2" -}, fy = { - [Yt.Dots]: 1, - [Yt.Lines]: 1, - [Yt.Cross]: 6 -}, hy = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); -function tf({ +const ky = { + [Kt.Dots]: "#91919a", + [Kt.Lines]: "#eee", + [Kt.Cross]: "#e2e2e2" +}, _y = { + [Kt.Dots]: 1, + [Kt.Lines]: 1, + [Kt.Cross]: 6 +}, Ay = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +function gf({ id: e, - variant: t = Yt.Dots, + variant: t = Kt.Dots, // only used for dots and cross gap: n = 20, // only used for lines and cross @@ -21401,7 +21401,7 @@ function tf({ style: l, className: s }) { - const u = he(null), { transform: c, patternId: d } = Ze(hy, lt), h = i || dy[t], f = o || fy[t], m = t === Yt.Dots, b = t === Yt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; + const u = he(null), { transform: c, patternId: d } = Ze(Ay, ut), p = i || ky[t], f = o || _y[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; return $.createElement( "svg", { className: bt(["react-flow__background", s]), style: { @@ -21412,78 +21412,78 @@ function tf({ top: 0, left: 0 }, ref: u, "data-testid": "rf__background" }, - $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(uy, { color: h, radius: x / a }) : $.createElement(cy, { dimensions: C, color: h, lineWidth: r })), + $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(Sy, { color: p, radius: x / a }) : $.createElement(Ey, { dimensions: C, color: p, lineWidth: r })), $.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) ); } -tf.displayName = "Background"; -var Rc = Ye(tf); -const nf = "columns", of = "exposure", rf = "tables", py = "feedback", af = "settings", bn = "column-", lf = "see-more-", gy = 5, my = 100, zl = 100, Mr = 300, yo = 80, by = 12, yy = yo, sf = 30, Du = 4, Cy = 280, vy = 80, xy = 80, wy = 250, Ts = 0.05, cf = "#7A899E", jc = "#E38E00", Ic = { +gf.displayName = "Background"; +var Vc = Ye(gf); +const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "settings", yn = "column-", bf = "see-more-", Ty = 5, Oy = 100, Vl = 100, Fr = 300, Co = 80, Ny = 12, Dy = Co, yf = 30, Vu = 4, Ly = 280, Fy = 80, jy = 80, Ry = 250, Fs = 0.05, Cf = "#7A899E", Uc = "#E38E00", qc = { Original: "#FDD835", Alias: "#40C8AE", Transformation: "#FF754C", Unchanged: "#BC3FBC", "Not sure": "#247efe", "Non select": "#BC3FBC" -}, ai = { - stroke: cf, +}, ci = { + stroke: Cf, strokeWidth: 1 -}, zc = { - stroke: jc, +}, Yc = { + stroke: Uc, strokeWidth: 2 -}, Hc = { - stroke: jc, +}, Gc = { + stroke: Uc, strokeWidth: 1, strokeDasharray: 10 -}, uf = { +}, vf = { type: "arrow", strokeWidth: 1, width: 24, height: 24, - color: cf -}, df = { + color: Cf +}, xf = { type: "arrow", strokeWidth: 1, width: 16, height: 16, - color: jc -}, Rt = (e) => e.id.startsWith(bn), ta = (e) => e.id.startsWith(lf), Fn = (e) => !e.id.startsWith(bn), Pc = (e, t, n, o, r, a = !1) => { - const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? Os(e, t, a) : Os(t, e, a); + color: Uc +}, vt = (e) => e.id.startsWith(yn), ia = (e) => e.id.startsWith(bf), En = (e) => !e.id.startsWith(yn), Kc = (e, t, n, o, r, a = !1) => { + const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? js(e, t, a) : js(t, e, a); return { id: `${i}-${l}`, source: i, target: l, sourceHandle: s, targetHandle: u, - style: ai, - markerEnd: uf, + style: ci, + markerEnd: vf, type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default" }; -}, To = (e, t, n) => ({ +}, Oo = (e, t, n) => ({ id: e.table, data: { ...e, level: t, parent: n }, position: { x: 100, y: 100 }, type: "table", - width: Mr, - height: yo -}), ff = (e, t, n, o) => ({ + width: Fr, + height: Co +}), wf = (e, t, n, o) => ({ id: e, data: { ...o, level: t, parent: n, id: e }, position: { x: 100, y: 100 }, type: "operator", - width: Mr, - height: yo -}), ja = (e, t, n, o, r) => ({ - id: mr(e, t), + width: Fr, + height: Co +}), Va = (e, t, n, o, r) => ({ + id: wr(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: sf -}), Ia = (e, t, n, o, r, a) => { - const i = ii(e, t), [l, s] = Os( + height: yf +}), $a = (e, t, n, o, r, a) => { + const i = ui(e, t), [l, s] = js( n, o, !1 @@ -21495,27 +21495,27 @@ const nf = "columns", of = "exposure", rf = "tables", py = "feedback", af = "set target: t, sourceHandle: l, targetHandle: s, - style: r === "direct" ? zc : Hc, + style: r === "direct" ? Yc : Gc, zIndex: 1e3, - markerEnd: df, + markerEnd: xf, type: n === o ? "smoothstep" : "default", hidden: !a[r] }; -}, ii = (e, t) => bn + `${e}-${t}`, za = (e, t) => { +}, ui = (e, t) => yn + `${e}-${t}`, Wa = (e, t) => { e.style = { opacity: t ? 1 : 0.5 }; -}, Oo = (e, t) => { +}, No = (e, t) => { var n; - e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Hc : zc : ai, e.markerEnd = t ? df : uf; -}, Os = (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"], Ey = (e, t) => { + e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Gc : Yc : ci, e.markerEnd = t ? xf : vf; +}, js = (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"], Iy = (e, t) => { const n = {}; e.forEach((a) => { - Fn(a) && (n[a.id] = a.data.level); + En(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 (Rt(a)) continue; + if (vt(a)) continue; const i = o[a.source], l = o[a.target]; if (!(i && l)) { if (i) { @@ -21530,25 +21530,25 @@ const nf = "columns", of = "exposure", rf = "tables", py = "feedback", af = "set } } return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; -}, mr = (e, t) => bn + `${e}/${t}`, Ha = (e, t) => lf + e + "-" + (t ? "1" : "0"), Nu = (e, t) => { +}, wr = (e, t) => yn + `${e}/${t}`, Za = (e, t) => bf + e + "-" + (t ? "1" : "0"), $u = (e, t) => { for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; return !1; -}, Lu = (e, t, n) => { +}, Wu = (e, t, n) => { e[t] = e[t] || [], e[t].push(...n); -}, ga = (e, t = 1) => e * (sf + Du) + t * Du, Fu = (e, t) => (n) => e <= n && n <= t, Sy = (e, t) => (n) => e < n && n < t, Ru = (e, t) => { +}, xa = (e, t = 1) => e * (yf + Vu) + t * Vu, Zu = (e, t) => (n) => e <= n && n <= t, zy = (e, t) => (n) => e < n && n < t, Uu = (e, t) => { const n = e.findIndex((o) => o.id === t); n !== -1 && e.splice(n, 1); -}, ju = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, br = (e, t, n = !0) => { +}, qu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Er = (e, t, n = !0) => { e.forEach((o) => { - Rt(o) || (o.hidden = !t, n && Oo(o, t)); + vt(o) || (o.hidden = !t, n && No(o, t)); }); -}, yr = (e, t, n = !0) => { +}, Sr = (e, t, n = !0) => { e.forEach((o) => { - Rt(o) && (o.hidden = !t, n && Oo(o, t)); + vt(o) && (o.hidden = !t, n && No(o, t)); }); }; -function hf(e) { +function Ef(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); @@ -21559,116 +21559,116 @@ function hf(e) { i === 0 && r.push(a); return { sources: o, sinks: r }; } -const ky = "_table_node_1n1a2_1", _y = "_header_1n1a2_8", Ay = "_collapse_1n1a2_16", My = "_selected_1n1a2_21", Ty = "_content_1n1a2_24", Oy = "_table_header_1n1a2_37", Dy = "_seed_1n1a2_47", Ny = "_model_1n1a2_52", Ly = "_source_1n1a2_57", Fy = "_exposure_1n1a2_62", Ry = "_snapshot_1n1a2_67", jy = "_metrics_1n1a2_72", Iy = "_macros_1n1a2_77", zy = "_analysis_1n1a2_82", Hy = "_node_icon_1n1a2_87", Py = "_dialect_icon_1n1a2_99", By = "_table_handle_1n1a2_107", Vy = "_see_more_node_1n1a2_121", $y = "_table_card_1n1a2_132", Wy = "_disabled_1n1a2_144", Zy = "_column_card_1n1a2_149", Uy = "_edit_icon_1n1a2_162", qy = "_active_1n1a2_170", Yy = "_expand_lineage_icon_1n1a2_174", Gy = "_processing_div_1n1a2_187", Ky = "_gif_img_1n1a2_190", Xy = "_card_1n1a2_195", Qy = "_column_node_1n1a2_210", Jy = "_column_name_1n1a2_221", eC = "_column_top_right_1n1a2_226", tC = "_divider_1n1a2_234", nC = "_table_details_header_1n1a2_240", oC = "_verticle_divider_1n1a2_248", rC = "_low_confidence_1n1a2_253", aC = "_high_confidence_1n1a2_260", iC = "_alert_icon_1n1a2_267", lC = "_menu_card_1n1a2_273", sC = "_menu_card_container_1n1a2_278", cC = "_table_details_tabs_1n1a2_285", uC = "_tab_1n1a2_1", dC = "_table_node_pill_1n1a2_305", fC = "_icon_1n1a2_315", hC = "_node-checkbox_1n1a2_322", pC = "_non_select_node_checkbox_1n1a2_322", gC = "_select_node_checkbox_1n1a2_322", mC = "_node_extra_info_1n1a2_338", bC = "_help_body_1n1a2_342", yC = "_feedback_body_1n1a2_346", CC = "_cancel_btn_1n1a2_349", vC = "_expand_nav_1n1a2_354", xC = "_expand_nav_btn_1n1a2_362", wC = "_lineage_legend_1n1a2_389", EC = "_column_legend_1n1a2_406", SC = "_dot_1n1a2_422", kC = "_model_views_type_1n1a2_434", _C = "_close_button_1n1a2_443", AC = "_op_node_1n1a2_456", MC = "_light_mode_1n1a2_475", TC = "_dark_mode_1n1a2_478", OC = "_highlighted_1n1a2_481", DC = "_cost_data_1n1a2_487", NC = "_op_type_text_1n1a2_502", LC = "_node_stats_1n1a2_505", FC = "_savings-performance_1n1a2_521", RC = "_performance_1n1a2_521", jC = "_savings_1n1a2_521", IC = "_value_1n1a2_536", zC = "_percent_1n1a2_539", HC = "_static_table_node_1n1a2_554", PC = "_details_btn_1n1a2_618", BC = "_enable_1n1a2_627", VC = "_disable_1n1a2_144", $C = "_code_editor_container_1n1a2_638", WC = "_code_editor_1n1a2_638", ZC = "_tooltip_container_1n1a2_652", UC = "_tooltip_text_1n1a2_658", qC = "_views_type_badge_1n1a2_675", YC = "_column_code_icon_1n1a2_706", GC = "_edge_select_1n1a2_722", KC = "_edge_non_select_1n1a2_732", XC = "_modal_views_code_container_1n1a2_742", QC = "_custom_node_code_block_1n1a2_747", JC = "_reset_btn_1n1a2_759", ev = "_error_tooltip_1n1a2_765", G = { - table_node: ky, - header: _y, - collapse: Ay, - selected: My, - content: Ty, - table_header: Oy, - seed: Dy, - model: Ny, - source: Ly, - exposure: Fy, - snapshot: Ry, - metrics: jy, - macros: Iy, - analysis: zy, - node_icon: Hy, - dialect_icon: Py, - table_handle: By, - see_more_node: Vy, - table_card: $y, - disabled: Wy, - column_card: Zy, - edit_icon: Uy, - active: qy, - expand_lineage_icon: Yy, - processing_div: Gy, - gif_img: Ky, - card: Xy, - column_node: Qy, +const Hy = "_table_node_1n1a2_1", Py = "_header_1n1a2_8", By = "_collapse_1n1a2_16", Vy = "_selected_1n1a2_21", $y = "_content_1n1a2_24", Wy = "_table_header_1n1a2_37", Zy = "_seed_1n1a2_47", Uy = "_model_1n1a2_52", qy = "_source_1n1a2_57", Yy = "_exposure_1n1a2_62", Gy = "_snapshot_1n1a2_67", Ky = "_metrics_1n1a2_72", Xy = "_macros_1n1a2_77", Qy = "_analysis_1n1a2_82", Jy = "_node_icon_1n1a2_87", eC = "_dialect_icon_1n1a2_99", tC = "_table_handle_1n1a2_107", nC = "_see_more_node_1n1a2_121", oC = "_table_card_1n1a2_132", rC = "_disabled_1n1a2_144", aC = "_column_card_1n1a2_149", iC = "_edit_icon_1n1a2_162", lC = "_active_1n1a2_170", sC = "_expand_lineage_icon_1n1a2_174", cC = "_processing_div_1n1a2_187", uC = "_gif_img_1n1a2_190", dC = "_card_1n1a2_195", fC = "_column_node_1n1a2_210", hC = "_column_name_1n1a2_221", pC = "_column_top_right_1n1a2_226", gC = "_divider_1n1a2_234", mC = "_table_details_header_1n1a2_240", bC = "_verticle_divider_1n1a2_248", yC = "_low_confidence_1n1a2_253", CC = "_high_confidence_1n1a2_260", vC = "_alert_icon_1n1a2_267", xC = "_menu_card_1n1a2_273", wC = "_menu_card_container_1n1a2_278", EC = "_table_details_tabs_1n1a2_285", SC = "_tab_1n1a2_1", kC = "_table_node_pill_1n1a2_305", _C = "_icon_1n1a2_315", AC = "_node-checkbox_1n1a2_322", MC = "_non_select_node_checkbox_1n1a2_322", TC = "_select_node_checkbox_1n1a2_322", OC = "_node_extra_info_1n1a2_338", NC = "_help_body_1n1a2_342", DC = "_feedback_body_1n1a2_346", LC = "_cancel_btn_1n1a2_349", FC = "_expand_nav_1n1a2_354", jC = "_expand_nav_btn_1n1a2_362", RC = "_lineage_legend_1n1a2_389", IC = "_column_legend_1n1a2_406", zC = "_dot_1n1a2_422", HC = "_model_views_type_1n1a2_434", PC = "_close_button_1n1a2_443", BC = "_op_node_1n1a2_456", VC = "_light_mode_1n1a2_475", $C = "_dark_mode_1n1a2_478", WC = "_highlighted_1n1a2_481", ZC = "_cost_data_1n1a2_487", UC = "_op_type_text_1n1a2_502", qC = "_node_stats_1n1a2_505", YC = "_savings-performance_1n1a2_521", GC = "_performance_1n1a2_521", KC = "_savings_1n1a2_521", XC = "_value_1n1a2_536", QC = "_percent_1n1a2_539", JC = "_static_table_node_1n1a2_554", ev = "_details_btn_1n1a2_618", tv = "_enable_1n1a2_627", nv = "_disable_1n1a2_144", ov = "_code_editor_container_1n1a2_638", rv = "_code_editor_1n1a2_638", av = "_tooltip_container_1n1a2_652", iv = "_tooltip_text_1n1a2_658", lv = "_views_type_badge_1n1a2_675", sv = "_column_code_icon_1n1a2_706", cv = "_edge_select_1n1a2_722", uv = "_edge_non_select_1n1a2_732", dv = "_modal_views_code_container_1n1a2_742", fv = "_custom_node_code_block_1n1a2_747", hv = "_reset_btn_1n1a2_759", pv = "_error_tooltip_1n1a2_765", G = { + table_node: Hy, + header: Py, + collapse: By, + selected: Vy, + content: $y, + table_header: Wy, + seed: Zy, + model: Uy, + source: qy, + exposure: Yy, + snapshot: Gy, + metrics: Ky, + macros: Xy, + analysis: Qy, + node_icon: Jy, + dialect_icon: eC, + table_handle: tC, + see_more_node: nC, + table_card: oC, + disabled: rC, + column_card: aC, + edit_icon: iC, + active: lC, + expand_lineage_icon: sC, + processing_div: cC, + gif_img: uC, + card: dC, + column_node: fC, default: "_default_1n1a2_218", - column_name: Jy, - column_top_right: eC, - divider: tC, - table_details_header: nC, - verticle_divider: oC, - low_confidence: rC, - high_confidence: aC, - alert_icon: iC, - menu_card: lC, - menu_card_container: sC, - table_details_tabs: cC, - tab: uC, - table_node_pill: dC, - icon: fC, + column_name: hC, + column_top_right: pC, + divider: gC, + table_details_header: mC, + verticle_divider: bC, + low_confidence: yC, + high_confidence: CC, + alert_icon: vC, + menu_card: xC, + menu_card_container: wC, + table_details_tabs: EC, + tab: SC, + table_node_pill: kC, + icon: _C, "node-checkbox": "_node-checkbox_1n1a2_322", - nodeCheckbox: hC, - non_select_node_checkbox: pC, - select_node_checkbox: gC, - node_extra_info: mC, - help_body: bC, - feedback_body: yC, - cancel_btn: CC, - expand_nav: vC, - expand_nav_btn: xC, - lineage_legend: wC, - column_legend: EC, - dot: SC, - model_views_type: kC, - close_button: _C, - op_node: AC, - light_mode: MC, - dark_mode: TC, - highlighted: OC, - cost_data: DC, - op_type_text: NC, - node_stats: LC, + nodeCheckbox: AC, + non_select_node_checkbox: MC, + select_node_checkbox: TC, + node_extra_info: OC, + help_body: NC, + feedback_body: DC, + cancel_btn: LC, + expand_nav: FC, + expand_nav_btn: jC, + lineage_legend: RC, + column_legend: IC, + dot: zC, + model_views_type: HC, + close_button: PC, + op_node: BC, + light_mode: VC, + dark_mode: $C, + highlighted: WC, + cost_data: ZC, + op_type_text: UC, + node_stats: qC, "savings-performance": "_savings-performance_1n1a2_521", - savingsPerformance: FC, - performance: RC, - savings: jC, - value: IC, - percent: zC, - static_table_node: HC, - details_btn: PC, - enable: BC, - disable: VC, - code_editor_container: $C, - code_editor: WC, - tooltip_container: ZC, - tooltip_text: UC, - views_type_badge: qC, - column_code_icon: YC, - edge_select: GC, - edge_non_select: KC, - modal_views_code_container: XC, - custom_node_code_block: QC, - reset_btn: JC, - error_tooltip: ev -}, pf = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), gf = (e) => /* @__PURE__ */ T.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ T.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ T.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 })), tv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ T.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__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ T.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), nv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ T.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), ov = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), rv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), av = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ T.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ T.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" })), iv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), lv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), na = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), sv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), cv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), uv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Ds = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), dv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), fv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ T.createElement("mask", { id: "mask0_13119_16577", style: { + savingsPerformance: YC, + performance: GC, + savings: KC, + value: XC, + percent: QC, + static_table_node: JC, + details_btn: ev, + enable: tv, + disable: nv, + code_editor_container: ov, + code_editor: rv, + tooltip_container: av, + tooltip_text: iv, + views_type_badge: lv, + column_code_icon: sv, + edge_select: cv, + edge_non_select: uv, + modal_views_code_container: dv, + custom_node_code_block: fv, + reset_btn: hv, + error_tooltip: pv +}, Sf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), kf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), la = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Rs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ T.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ T.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ T.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ T.createElement("rect", { width: 16, height: 16, fill: "white" })))), Ns = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ T.createElement("rect", { width: 16, height: 16, fill: "white" })))), hv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), pv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Bc = (e) => /* @__PURE__ */ T.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { id: "x-close" }, /* @__PURE__ */ T.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), gv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ T.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), mv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), bv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), yv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ T.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__ */ T.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" })), Cv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), vv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ T.createElement("mask", { id: "mask0_17179_3800", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Xc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ T.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ T.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ T.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ T.createElement("rect", { width: 16, height: 16, fill: "white" })))), xv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), mf = (e) => /* @__PURE__ */ T.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), wv = (e) => /* @__PURE__ */ T.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Ev = (e) => /* @__PURE__ */ T.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Sv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ T.createElement("mask", { id: "mask0_20572_494912", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), _f = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ T.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ T.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ T.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Iu = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ T.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" })), kv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), _v = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), oa = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ T.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__ */ T.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), zu = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Hu = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Pu = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ T.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Bu = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ T.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__ */ T.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" })), Av = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ T.createElement("mask", { id: "mask0_20565_492827", style: { +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Yu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), sa = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Gu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ T.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ T.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ T.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Mv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Tv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Ov = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), Dv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), Nv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Lv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Fv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), Rv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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" })), jv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Iv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), zv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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" })), Hv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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" })), Pv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.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__ */ T.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" })), Bv = "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", Vv = "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", $v = "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==", Wv = (e) => /* @__PURE__ */ T.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ T.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" })), Vc = ({ viewsType: e }) => /* @__PURE__ */ p.jsx(xn, { title: e, children: /* @__PURE__ */ p.jsx( +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), ex = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), tx = "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", nx = "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", ox = "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==", rx = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Qc = ({ viewsType: e }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx( "div", { style: { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - "--views-color": Ic[e] + "--views-color": qc[e] }, className: G.views_type_badge, children: e[0] } -) }), Zv = () => { - const [e, t] = ue(!1); - ce(() => { +) }), ax = () => { + const [e, t] = ce(!1); + ue(() => { setTimeout(() => { t(!0); }, 500); @@ -21680,9 +21680,9 @@ const ky = "_table_node_1n1a2_1", _y = "_header_1n1a2_8", Ay = "_collapse_1n1a2_ const n = () => { t((o) => !o); }; - return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs( - $e, + return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsxs( + Re, { id: "lineageLegend", className: G.lineage_legend, @@ -21690,41 +21690,41 @@ const ky = "_table_node_1n1a2_1", _y = "_header_1n1a2_8", Ay = "_collapse_1n1a2_ onClick: n, children: [ "Legend", - e ? /* @__PURE__ */ p.jsx(pv, {}) : /* @__PURE__ */ p.jsx(hv, {}) + e ? /* @__PURE__ */ h.jsx(Mv, {}) : /* @__PURE__ */ h.jsx(Av, {}) ] } ), - /* @__PURE__ */ p.jsx( - F0, + /* @__PURE__ */ h.jsx( + Z0, { flip: !0, target: "lineageLegend", isOpen: e, className: G.column_legend, placement: "top", - children: /* @__PURE__ */ p.jsxs(R0, { children: [ - Object.keys(Ic).map((o) => /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx(Vc, { viewsType: o }), - /* @__PURE__ */ p.jsx("div", { children: o }) + children: /* @__PURE__ */ h.jsxs(U0, { children: [ + Object.keys(qc).map((o) => /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ h.jsx(Qc, { viewsType: o }), + /* @__PURE__ */ h.jsx("div", { children: o }) ] }, o)), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: G.column_code_icon, children: /* @__PURE__ */ p.jsx(id, {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Code" }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ h.jsx("div", { className: G.column_code_icon, children: /* @__PURE__ */ h.jsx(Cd, {}) }), + /* @__PURE__ */ h.jsx("div", { children: "Code" }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: G.edge_select, children: /* @__PURE__ */ p.jsx("div", {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Select" }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ h.jsx("div", { className: G.edge_select, children: /* @__PURE__ */ h.jsx("div", {}) }), + /* @__PURE__ */ h.jsx("div", { children: "Select" }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: G.edge_non_select, children: /* @__PURE__ */ p.jsx("div", {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Non select" }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ h.jsx("div", { className: G.edge_non_select, children: /* @__PURE__ */ h.jsx("div", {}) }), + /* @__PURE__ */ h.jsx("div", { children: "Non select" }) ] }) ] }) } ) ] }); }; -var bf = { exports: {} }; +var Af = { exports: {} }; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see @@ -21759,21 +21759,21 @@ var bf = { exports: {} }; } e.exports ? (n.default = n, e.exports = n) : window.classNames = n; })(); -})(bf); -var Uv = bf.exports; -const Te = /* @__PURE__ */ un(Uv), qv = (e) => Pe.get("upstreamTables", { table: e }), Yv = (e) => Pe.get("downstreamTables", { table: e }), Gv = (e) => Pe.get("getExposureDetails", { +})(Af); +var ix = Af.exports; +const Te = /* @__PURE__ */ dn(ix), lx = (e) => ze.get("upstreamTables", { table: e }), sx = (e) => ze.get("downstreamTables", { table: e }), cx = (e) => ze.get("getExposureDetails", { name: e -}), $c = (e, t) => Pe.get("getColumns", { +}), di = (e, t) => ze.get("getColumns", { table: e, refresh: t -}), Kv = (e) => Pe.get("getConnectedColumns", e), Xv = (e) => Pe.get("sendFeedback", e), Qv = () => Pe.get("getLineageSettings", {}), Hl = (e) => Pe.get("persistLineageSettings", e), yf = () => Pe.get("init", {}), Jv = (e) => Pe.get("openFile", { url: e }), ex = () => Pe.get("openChat", {}), Cf = (e) => Pe.get("showInfoNotification", { message: e }), tx = () => Pe.get("previewFeature", {}), Pl = (e) => Pe.get("columnLineage", { event: e }), nx = (e) => Pe.get("telemetryEvents", e); -var ox = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(ox || {}); +}), ux = (e) => ze.get("getConnectedColumns", e), dx = (e) => ze.get("sendFeedback", e), fx = () => ze.get("getLineageSettings", {}), $l = (e) => ze.get("persistLineageSettings", e), Mf = () => ze.get("init", {}), hx = (e) => ze.get("openFile", { url: e }), px = () => ze.get("openChat", {}), Jc = (e) => ze.get("showInfoNotification", { message: e }), gx = () => ze.get("previewFeature", {}), Wl = (e) => ze.get("columnLineage", { event: e }), mx = (e) => ze.get("telemetryEvents", e), bx = (e) => ze.post("dbt/v4/export-lineage", e); +var yx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(yx || {}); const gt = class gt { static onCancel() { gt.isCancelled = !0, gt.inProgress = !1; } static cancel() { - gt.onCancel(), Pl( + gt.onCancel(), Wl( "cancel" /* CANCEL */ ); @@ -21781,16 +21781,16 @@ const gt = class gt { document.dispatchEvent(t); } static start() { - gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Pl( + gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Wl( "start" /* START */ ); } static end() { - gt.inProgress = !1, Pl( + gt.inProgress = !1, Wl( "end" /* END */ - ), nx({ + ), mx({ id: "columnLineageNumLinks", params: { num: gt.linkCount } }), gt.linkCount = 0; @@ -21799,110 +21799,110 @@ const gt = class gt { gt.linkCount += t; } static showCllInProgressMsg() { - Cf( + Jc( "Column lineage is in progress. Either wait for it to complete or cancel the current one." ); } }; -Hr(gt, "isCancelled", !1), Hr(gt, "inProgress", !1), Hr(gt, "linkCount", 0); +Wr(gt, "isCancelled", !1), Wr(gt, "inProgress", !1), Wr(gt, "linkCount", 0); let Xe = gt; -const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { - const [o, r] = He(() => { +const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { + const [o, r] = Be(() => { switch (e.toLowerCase()) { case "integer": case "float": case "double precision": case "double": case "bigint": - return [rv, "#FF754C"]; + return [yv, "#FF754C"]; case "bool": case "boolean": - return [nv, "#00A5DB"]; + return [mv, "#00A5DB"]; case "text": case "character": case "character varying": case "varchar": - return [ov, "#3F8CFF"]; + return [bv, "#3F8CFF"]; case "geospatial": - return [lv, "#01CD8C"]; + return [xv, "#01CD8C"]; case "date": case "timestamp": case "timestamp with time zone": - return [iv, "#247EFE"]; + return [vv, "#247EFE"]; default: - return [av, "#6A24FE"]; + return [Cv, "#6A24FE"]; } }, [e]); - return /* @__PURE__ */ p.jsx( + return /* @__PURE__ */ h.jsx( "div", { style: { color: t || r }, className: "d-flex align-items-center", - children: /* @__PURE__ */ p.jsx(o, { width: n, height: n }) + children: /* @__PURE__ */ h.jsx(o, { width: n, height: n }) } ); -}, ax = { +}, vx = { seed: { - light: /* @__PURE__ */ p.jsx(zu, { style: { color: "#E6FAF4" } }), - dark: /* @__PURE__ */ p.jsx(zu, { style: { color: "#344B49" } }) + light: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#E6FAF4" } }), + dark: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#344B49" } }) }, model: { - light: /* @__PURE__ */ p.jsx(oa, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ p.jsx(oa, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ h.jsx(sa, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ h.jsx(sa, { style: { color: "#4D4343" } }) }, cte: { - light: /* @__PURE__ */ p.jsx(Iu, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ p.jsx(Iu, { style: { color: "#4B473F" } }) + light: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#4B473F" } }) }, subquery: { - light: /* @__PURE__ */ p.jsx(kv, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ p.jsx(_v, { style: { color: "#4B473F" } }) + light: /* @__PURE__ */ h.jsx(Hv, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ h.jsx(Pv, { style: { color: "#4B473F" } }) }, source: { - light: /* @__PURE__ */ p.jsx(Hu, { style: { color: "#EAF3FF" } }), - dark: /* @__PURE__ */ p.jsx(Hu, { style: { color: "#384454" } }) + light: /* @__PURE__ */ h.jsx(Ku, { style: { color: "#EAF3FF" } }), + dark: /* @__PURE__ */ h.jsx(Ku, { style: { color: "#384454" } }) }, exposure: { - light: /* @__PURE__ */ p.jsx(Pu, { style: { color: "#FEEFF7" } }), - dark: /* @__PURE__ */ p.jsx(Pu, { style: { color: "#4C404C" } }) + light: /* @__PURE__ */ h.jsx(Xu, { style: { color: "#FEEFF7" } }), + dark: /* @__PURE__ */ h.jsx(Xu, { style: { color: "#4C404C" } }) }, - analysis: { light: /* @__PURE__ */ p.jsx(Ds, {}), dark: /* @__PURE__ */ p.jsx(Ds, {}) }, + analysis: { light: /* @__PURE__ */ h.jsx(Rs, {}), dark: /* @__PURE__ */ h.jsx(Rs, {}) }, snapshot: { - light: /* @__PURE__ */ p.jsx(Bu, { style: { color: "#F6F4FF" } }), - dark: /* @__PURE__ */ p.jsx(Bu, { style: { color: "#444554" } }) + light: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#F6F4FF" } }), + dark: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#444554" } }) }, - semantic_model: { light: /* @__PURE__ */ p.jsx(Av, {}), dark: /* @__PURE__ */ p.jsx(Sv, {}) }, - macros: { light: /* @__PURE__ */ p.jsx(Ns, {}), dark: /* @__PURE__ */ p.jsx(Ns, {}) }, + semantic_model: { light: /* @__PURE__ */ h.jsx(Bv, {}), dark: /* @__PURE__ */ h.jsx(zv, {}) }, + macros: { light: /* @__PURE__ */ h.jsx(Is, {}), dark: /* @__PURE__ */ h.jsx(Is, {}) }, unknown: { - light: /* @__PURE__ */ p.jsx(oa, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ p.jsx(oa, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ h.jsx(sa, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ h.jsx(sa, { style: { color: "#4D4343" } }) } -}, li = ({ +}, fi = ({ nodeType: e -}) => /* @__PURE__ */ p.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ p.jsx(sv, {}), - e === "model" && /* @__PURE__ */ p.jsx(na, {}), - e === "cte" && /* @__PURE__ */ p.jsx(na, {}), - e === "subquery" && /* @__PURE__ */ p.jsx(na, {}), - e === "source" && /* @__PURE__ */ p.jsx(cv, {}), - e === "exposure" && /* @__PURE__ */ p.jsx(uv, {}), - e === "analysis" && /* @__PURE__ */ p.jsx(Ds, {}), - e === "snapshot" && /* @__PURE__ */ p.jsx(dv, {}), - e === "semantic_model" && /* @__PURE__ */ p.jsx(fv, {}), - e === "macros" && /* @__PURE__ */ p.jsx(Ns, {}), - e === "unknown" && /* @__PURE__ */ p.jsx(na, {}) -] }), ix = ({ nodeType: e }) => { +}) => /* @__PURE__ */ h.jsxs("div", { children: [ + e === "seed" && /* @__PURE__ */ h.jsx(wv, {}), + e === "model" && /* @__PURE__ */ h.jsx(la, {}), + e === "cte" && /* @__PURE__ */ h.jsx(la, {}), + e === "subquery" && /* @__PURE__ */ h.jsx(la, {}), + e === "source" && /* @__PURE__ */ h.jsx(Ev, {}), + e === "exposure" && /* @__PURE__ */ h.jsx(Sv, {}), + e === "analysis" && /* @__PURE__ */ h.jsx(Rs, {}), + e === "snapshot" && /* @__PURE__ */ h.jsx(kv, {}), + e === "semantic_model" && /* @__PURE__ */ h.jsx(_v, {}), + e === "macros" && /* @__PURE__ */ h.jsx(Is, {}), + e === "unknown" && /* @__PURE__ */ h.jsx(la, {}) +] }), xx = ({ nodeType: e }) => { const { state: { theme: t } - } = ut(); - return /* @__PURE__ */ p.jsx(p.Fragment, { children: ax[e][t] }); -}, Jo = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.table_node_pill, id: e, children: [ - /* @__PURE__ */ p.jsx("div", { className: G.icon, children: t }), - /* @__PURE__ */ p.jsx("div", { children: n }) + } = at(); + return /* @__PURE__ */ h.jsx(h.Fragment, { children: vx[e][t] }); +}, rr = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.table_node_pill, id: e, children: [ + /* @__PURE__ */ h.jsx("div", { className: G.icon, children: t }), + /* @__PURE__ */ h.jsx("div", { children: n }) ] }), - /* @__PURE__ */ p.jsx(A5, { target: e, children: o }) -] }), Wc = { + /* @__PURE__ */ h.jsx($5, { target: e, children: o }) +] }), e1 = { seed: G.seed, model: G.model, source: G.source, @@ -21914,7 +21914,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: G.model, subquery: G.model, unknown: G.exposure -}, Cr = { +}, kr = { seed: "SED", model: "MDL", source: "SRC", @@ -21926,36 +21926,36 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: "CTE", subquery: "SUB", unknown: "UNK" -}, vf = (e, t) => e ? qv(t) : Yv(t), xf = (e, t) => e ? t + 1 : t - 1, si = (e, t, n, o, r, a, i = gy, l = !1, s) => { - const u = xf(r, a), c = (h) => { +}, Tf = (e, t) => e ? lx(t) : sx(t), Of = (e, t) => e ? t + 1 : t - 1, hi = (e, t, n, o, r, a, i = Ty, l = !1, s) => { + const u = Of(r, a), c = (p) => { var y, g; - const f = ((g = (y = e.find((x) => x.id === h)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Pc(a, f, o, h, r, l); + const f = ((g = (y = e.find((x) => x.id === p)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Kc(a, f, o, p, r, l); t.find((x) => x.id === m.id) || t.push(m); }; let d = 0; - for (const h of n) { + for (const p of n) { if (d >= i) { - const m = Ha(o, r); + const m = Za(o, r); e.push({ id: m, data: { tables: n, prevTable: o, right: r, level: u }, position: { x: 100, y: 100 }, type: "seeMore", - width: Mr, + width: Fr, height: 100 }), c(m); break; } - e.find((m) => m.id === h.table) || (d++, s ? s[h.table].type in Cr ? e.push(To(h, u, o)) : e.push(ff(h.table, u, o, s[h.table])) : e.push(To(h, u, o))), c(h.table); + e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in kr ? e.push(Oo(p, u, o)) : e.push(wf(p.table, u, o, s[p.table])) : e.push(Oo(p, u, o))), c(p.table); } -}, fn = (e, t, n = !1) => { +}, hn = (e, t, n = !1) => { let o = 1 / 0; const r = {}; for (const g of e) - if (Rt(g) && g.parentNode) + if (vt(g) && g.parentNode) g.parentNode in r || (r[g.parentNode] = 0), g.position = { - x: by, - y: yy + ga(r[g.parentNode]) + x: Ny, + y: Dy + xa(r[g.parentNode]) }, r[g.parentNode]++; else { const { level: x } = g.data; @@ -21963,7 +21963,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { } const a = {}, i = {}, l = {}, s = {}, u = {}, c = {}; for (const g of t) - Rt(g) || ta(e.find((x) => x.id === g.source)) || ta(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); + vt(g) || ia(e.find((x) => x.id === g.source)) || ia(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); const d = (g) => { const { level: x } = g.data; if (i[x] = i[x] || [], !i[x].includes(g.id)) { @@ -21972,124 +21972,124 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { a[g.id] += r[C] || 0; i[x].push(g.id); } - }, h = (g, x) => { + }, p = (g, x) => { if (!s[g]) { s[g] = !0, d(e.find((C) => C.id === g)); - for (const C of x[g] || []) h(C, x); + for (const C of x[g] || []) p(C, x); } }; for (const g of e) - Rt(g) || ta(g) || s[g.id] || (h(g.id, u), s[g.id] = !1, h(g.id, c)); + vt(g) || ia(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); for (const g of e) - Rt(g) || ta(g) && d(g); + vt(g) || ia(g) && d(g); const f = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return zl + x * (yo + xy) + ga(C, x); - }, m = (g) => (g - o) * (Mr + Cy) + my, b = (g) => (g - o) * (yo + vy) + zl, y = (g) => { + return Vl + x * (Co + jy) + xa(C, x); + }, m = (g) => (g - o) * (Fr + Ly) + Oy, b = (g) => (g - o) * (Co + Fy) + Vl, y = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return zl + x * (yo + wy) + ga(C, x); + return Vl + x * (Co + Ry) + xa(C, x); }; for (const g of e) { - if (Rt(g)) continue; + if (vt(g)) continue; const { level: x } = g.data; g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; } -}, wf = (e, t) => (e.forEach((n) => za(n, !0)), t.forEach((n) => Oo(n, !1)), [e, t]), vr = (e, t, n) => { - br(t, !0), yr(t, !1); +}, Nf = (e, t) => (e.forEach((n) => Wa(n, !0)), t.forEach((n) => No(n, !1)), [e, t]), _r = (e, t, n) => { + Er(t, !0), Sr(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((f) => { - f[s] === h && (r[f.id] = !0, d[f[u]] || c.push(f[u])); + const p = c.shift(); + d[p] = !0, o[p] = !0, t.forEach((f) => { + f[s] === p && (r[f.id] = !0, d[f[u]] || c.push(f[u])); }); } }; a("source", "target"), a("target", "source"); const i = [...t]; - i.forEach((s) => Oo(s, r[s.id])); + i.forEach((s) => No(s, r[s.id])); const l = [...e]; - return l.forEach((s) => za(s, !!o[s.id])), [l, i]; -}, Ls = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, a] = vr(n, o, t); + return l.forEach((s) => Wa(s, !!o[s.id])), [l, i]; +}, zs = (e, t) => { + const n = e.getNodes(), o = e.getEdges(), [r, a] = _r(n, o, t); e.setNodes(r), e.setEdges(a); -}, lx = async (e, t, n, o, r, a, i, l, s, u) => { - var E, w; - const c = [], d = [], { column_lineage: h, confidence: f, errors: m } = await Kv({ +}, wx = async (e, t, n, o, r, a, i, l, s, u) => { + var w, E; + const c = [], d = [], { column_lineage: p, confidence: f, errors: m } = await ux({ targets: r, upstreamExpansion: a, currAnd1HopTables: i, selectedColumn: l, showIndirectEdges: s.indirect }); - u((O) => ({ ...O, ...m })), Xe.addLinks(h.length); - const b = h.filter( - (O) => a ? Nu(r, O.source) : Nu(r, O.target) - ), y = b.map((O) => a ? O.target : O.source), g = {}, x = ([O, _], L) => { - g[O] = g[O] || [], g[O].find((j) => j.column === _) || g[O].push({ column: _, viewsType: L }); - }, C = (O, _, L, j, F) => { - const P = ii(L, j); + u((M) => ({ ...M, ...m })), Xe.addLinks(p.length); + const b = p.filter( + (M) => a ? $u(r, M.source) : $u(r, M.target) + ), y = b.map((M) => a ? M.target : M.source), g = {}, x = ([M, _], L) => { + g[M] = g[M] || [], g[M].find((R) => R.column === _) || g[M].push({ column: _, viewsType: L }); + }, C = (M, _, L, R, F) => { + const P = ui(L, R); d.find((V) => V.id === P) || d.push( - Ia( + $a( L, - j, - t[O], + R, + t[M], t[_], F, s ) ); }, S = []; - for (const O of b) { - x(O.source), x(O.target, O.viewsType); - const [_] = O.source, [L] = O.target, j = o[_], F = o[L], P = O.source.join("/"), V = O.target.join("/"), k = bn + P, D = bn + V, M = O.type; - if (j && F) - C(_, L, k, D, M); - else if (j) { - const N = n[L]; - C(_, N, k, N, M), S.push(O); + for (const M of b) { + x(M.source), x(M.target, M.viewsType); + const [_] = M.source, [L] = M.target, R = o[_], F = o[L], P = M.source.join("/"), V = M.target.join("/"), k = yn + P, N = yn + V, T = M.type; + if (R && F) + C(_, L, k, N, T); + else if (R) { + const D = n[L]; + C(_, D, k, D, T), S.push(M); } else if (F) { - const N = n[_]; - C(N, L, N, D, M), S.push(O); + const D = n[_]; + C(D, L, D, N, T), S.push(M); } else - S.push(O); + S.push(M); } - for (const O in g) { - if (!o[O]) continue; - const _ = [...g[O]]; - _.sort((L, j) => L.column.localeCompare(j.column)); + for (const M in g) { + if (!o[M]) continue; + const _ = [...g[M]]; + _.sort((L, R) => L.column.localeCompare(R.column)); for (const L of _) { - const j = {}; - b.filter((F) => F.target.join("/") === `${O}/${L.column}`).forEach((F) => { - F.type !== "indirect" && (j[F.source.join("/")] = F.viewsCode || []); + const R = {}; + b.filter((F) => F.target.join("/") === `${M}/${L.column}`).forEach((F) => { + F.type !== "indirect" && (R[F.source.join("/")] = F.viewsCode || []); }), c.push( - ja( - O, + Va( + M, L.column, L.viewsType, - j, - (w = (E = e.find((F) => F.id = O)) == null ? void 0 : E.data) == null ? void 0 : w.nodeType + R, + (E = (w = e.find((F) => F.id = M)) == null ? void 0 : w.data) == null ? void 0 : E.nodeType ) ); } } return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: f, seeMoreLineage: S }; -}, sx = async (e, t, n, o) => { +}, Ex = async (e, t, n, o) => { var f, m, b, y; - let r = e.filter(Fn), a = t.filter(Fn); - [r, a] = wf(r, a); + let r = e.filter(En), a = t.filter(En); + [r, a] = Nf(r, a); const i = {}; r.forEach((g) => i[g.id] = g.data.level); const l = {}; e.filter((g) => g.type === "table").forEach((g) => l[g.id] = !0); const s = {}, u = []; for (const g of t) { - if (g.id.startsWith(bn)) continue; + if (g.id.startsWith(yn)) continue; const x = l[g.source], C = l[g.target]; - x && C ? u.push({ src: g.source, dst: g.target }) : x ? (f = e.find((E) => E.id === g.target).data.tables) == null || f.forEach((E) => { - u.push({ src: g.source, dst: E.table }), s[E.table] = g.target; - }) : C && ((m = e.find((E) => E.id === g.source).data.tables) == null || m.forEach((E) => { - u.push({ src: E.table, dst: g.target }), s[E.table] = g.source; + x && C ? u.push({ src: g.source, dst: g.target }) : x ? (f = e.find((w) => w.id === g.target).data.tables) == null || f.forEach((w) => { + u.push({ src: g.source, dst: w.table }), s[w.table] = g.target; + }) : C && ((m = e.find((w) => w.id === g.source).data.tables) == null || m.forEach((w) => { + u.push({ src: w.table, dst: g.target }), s[w.table] = g.source; })); } const { collect_columns: c, highlight_edges: d } = await o({ @@ -22101,33 +22101,34 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { const x = [...c[g]]; x.sort((C, S) => C.column.localeCompare(S.column)); for (const C of x) { - const S = (y = (b = e.find((E) => E.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; - r.push(ja(g, C.column, C.viewsType, {}, S)); + const S = (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; + r.push(Va(g, C.column, C.viewsType, {}, S)); } } - a.forEach((g) => g.style = ai); - const h = (g, x, C, S) => { - const E = ii(C, S); - a.find((w) => w.id === E) || a.push( - Ia(C, S, i[g], i[x], "direct", { - direct: !0 + a.forEach((g) => g.style = ci); + const p = (g, x, C, S, w) => { + const E = ui(C, S); + a.find((M) => M.id === E) || a.push( + $a(C, S, i[g], i[x], w, { + direct: w === "direct", + indirect: w === "indirect" }) ); }; for (const g of d) { - const [x] = g[0].split("/"), [C] = g[1].split("/"), S = l[x], E = l[C], w = bn + g[0], O = bn + g[1]; - if (S && E) - h(x, C, w, O); + const [x] = g[0].split("/"), [C] = g[1].split("/"), S = l[x], w = l[C], E = yn + g[0], M = yn + g[1], _ = g[2] || "direct"; + if (S && w) + p(x, C, E, M, _); else if (S) { - const _ = s[C]; - h(x, _, w, _); - } else if (E) { - const _ = s[x]; - h(_, C, _, O); + const L = s[C]; + p(x, L, E, L, _); + } else if (w) { + const L = s[x]; + p(L, C, L, M, _); } } - return fn(r, a), { nodes: r, edges: a, collect_columns: c }; -}, cx = (e, t, n, o) => { + return hn(r, a), { nodes: r, edges: a, collect_columns: c }; +}, Sx = (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); @@ -22145,25 +22146,25 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { }), t.edges.forEach((i) => { a.find((l) => l.id === i.id) || a.push(i); }), n.name) { - const i = {}, l = mr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", h = o ? "target" : "source"; + const i = {}, l = wr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; for (; u.length > 0; ) { const f = u.shift(); if (!c[f]) { c[f] = !0; for (const m of a) - m[d] === f && (u.push(m[h]), s[m[h]] !== "direct" && (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); + m[d] === f && (u.push(m[p]), s[m[p]] !== "direct" && (s[m[p]] = s[m[d]] === "direct" ? m.data.type : "indirect")); for (const m of a) - m[d] === f && (i[m.id] = s[m[h]]); + m[d] === f && (i[m.id] = s[m[p]]); } } for (const f of a) - Fn(f) || (f.data.type = i[f.id] || f.data.type, f.style = f.data.type === "direct" ? zc : Hc); + En(f) || (f.data.type = i[f.id] || f.data.type, f.style = f.data.type === "direct" ? Yc : Gc); } - return fn(r, a), [r, a]; -}, ux = (e, t) => { - const n = e.filter((r) => Fn(r)), o = t.filter((r) => Fn(r)); + return hn(r, a), [r, a]; +}, kx = (e, t) => { + const n = e.filter((r) => En(r)), o = t.filter((r) => En(r)); return [n, o]; -}, Ef = async (e, t, n, o) => { +}, Df = async (e, t, n, o) => { const r = [...e], a = [...t], i = [ { table: n, level: r.find((s) => s.id === n).data.level } ], l = {}; @@ -22171,26 +22172,26 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { const { table: s, level: u } = i.shift(); if (l[s]) continue; l[s] = !0; - const { tables: c } = await vf(o, s); - si(r, a, c, s, o, u), c.forEach((d) => { - const h = r.find((f) => f.id === d.table); - (h == null ? void 0 : h.data.materialization) === "ephemeral" && i.push({ table: d.table, level: h.data.level }); + const { tables: c } = await Tf(o, s); + hi(r, a, c, s, o, u), c.forEach((d) => { + const p = r.find((f) => f.id === d.table); + (p == null ? void 0 : p.data.materialization) === "ephemeral" && i.push({ table: d.table, level: p.data.level }); }); } return [r, a]; -}, Pa = async (e, t, n, o, r) => { +}, Ua = async (e, t, n, o, r) => { const a = [...e], i = [...t]; if (o >= r) return [a, i]; - const l = Sy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { + const l = zy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { const d = [ { table: n, level: s } - ], h = {}; + ], p = {}; for (; d.length > 0; ) { const f = d.shift(); - if (h[f.table]) continue; - h[f.table] = !0; - const { tables: m } = await vf(c, f.table); - si( + if (p[f.table]) continue; + p[f.table] = !0; + const { tables: m } = await Tf(c, f.table); + hi( a, i, m, @@ -22199,20 +22200,20 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { f.level, 25 ); - const b = xf(c, f.level); + const b = Of(c, f.level); l(b) ? d.push(...m.map((y) => ({ table: y.table, level: b }))) : d.push( ...m.filter((y) => y.materialization === "ephemeral").map((y) => ({ table: y.table, level: b })) ); } }; return r > s && await u(!0), o < s && await u(!1), [a, i]; -}, Vu = (e, t, n, o) => { +}, Ju = (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 f of e) - Rt(f) || (l[f.id] = f, s[f.id] = []); + vt(f) || (l[f.id] = f, s[f.id] = []); for (const f of t) - Rt(f) || s[f[r]].push(f[a]); + vt(f) || s[f[r]].push(f[a]); const c = (() => { const f = [n], m = {}; for (; f.length > 0; ) { @@ -22227,15 +22228,15 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { } })(); if (!c) return -1; - const { level: d } = l[n].data, { level: h } = l[c].data; - return o ? h - d : d - h; -}, xr = (e, t, n) => [ - Vu(e, t, n, !1), - Vu(e, t, n, !0) -], Zc = async (e, t, n, o, r, a, i, l, s, u, c, d) => { - var E, w, O, _, L, j; - let h = !1; - const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Ey(e, t), y = (F) => e.find((P) => P.id === F), g = {}, x = {}; + const { level: d } = l[n].data, { level: p } = l[c].data; + return o ? p - d : d - p; +}, Ar = (e, t, n) => [ + Ju(e, t, n, !1), + Ju(e, t, n, !0) +], t1 = async (e, t, n, o, r, a, i, l, s, u, c, d) => { + var w, E, M, _, L, R; + let p = !1; + const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Iy(e, t), y = (F) => e.find((P) => P.id === F), g = {}, x = {}; let C = o.map((F) => [ F.table, F.name @@ -22245,35 +22246,35 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { C.forEach((W) => { g[W.join("/")] = !0, F[W[0]] = !0; }); - const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], D = [], M = []; - let N = !1; + const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], N = [], T = []; + let D = !1; for (const W of t) { - if (Rt(W)) continue; - const Y = W[P], K = W[V], Q = m[K] ? [(E = y(K)) == null ? void 0 : E.data] : (_ = (O = (w = y(K)) == null ? void 0 : w.data) == null ? void 0 : O.tables) == null ? void 0 : _.filter( + if (vt(W)) continue; + const Y = W[P], K = W[V], Q = m[K] ? [(w = y(K)) == null ? void 0 : w.data] : (_ = (M = (E = y(K)) == null ? void 0 : E.data) == null ? void 0 : M.tables) == null ? void 0 : _.filter( (ne) => !m[ne.table] ); Q == null || Q.forEach((ne) => { if (!ne) return; const { table: oe, materialization: U } = ne; - F[Y] ? (N = !0, U === "ephemeral" ? (Lu( + F[Y] ? (D = !0, U === "ephemeral" ? (Wu( x, oe, C.filter((ge) => ge[0] === Y) - ), D.push(oe)) : k.push(oe)) : S.includes(Y) && (N = !0, U === "ephemeral" ? (Lu( + ), N.push(oe)) : k.push(oe)) : S.includes(Y) && (D = !0, U === "ephemeral" ? (Wu( x, oe, x[Y] - ), D.push(oe)) : (M.push(Y), k.push(oe))); + ), N.push(oe)) : (T.push(Y), k.push(oe))); }); } - if (!N) + if (!D) break; - S = D; + S = N; const I = Object.keys(F).concat(k); - M.forEach((W) => { + T.forEach((W) => { C.push(...x[W]), I.push(...x[W].map((Y) => Y[0])); }); - const R = await lx( + const j = await wx( e, f, b, @@ -22285,32 +22286,32 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { c, d ); - ((L = R.confidence) == null ? void 0 : L.confidence) === "low" && r(((j = R.confidence) == null ? void 0 : j.operator_list) || []), C = R.newCurr, !h && C.length > 0 && (h = !0), C = C.filter( + ((L = j.confidence) == null ? void 0 : L.confidence) === "low" && r(((R = j.confidence) == null ? void 0 : R.operator_list) || []), C = j.newCurr, !p && C.length > 0 && (p = !0), C = C.filter( (W) => t.filter((Y) => (n ? Y.source : Y.target) === W[0]).length > 0 ); - const [v, z] = l(), [B, A] = cx( + const [v, z] = l(), [B, A] = Sx( { nodes: v, edges: z }, - R, + j, u, n ); - a(R.seeMoreLineage), fn(B, A), s(B, A), i(R.collectColumns); + a(j.seeMoreLineage), hn(B, A), s(B, A), i(j.collectColumns); } - return h; -}, dx = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { - var h; + return p; +}, _x = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { + var p; const { table: u } = n; if (e.find((f) => f.id === u)) return !1; - e.push(To(n, i, o)); - const d = (h = e.find((f) => f.id === o)) == null ? void 0 : h.data.level; - if (t.push(Pc(d, i, o, u, a)), l == null || l.forEach((f) => { - const m = mr(f.source[0], f.source[1]), b = mr(f.target[0], f.target[1]), y = {}; + e.push(Oo(n, i, o)); + const d = (p = e.find((f) => f.id === o)) == null ? void 0 : p.data.level; + if (t.push(Kc(d, i, o, u, a)), l == null || l.forEach((f) => { + const m = wr(f.source[0], f.source[1]), b = wr(f.target[0], f.target[1]), y = {}; if (a && l.filter((g) => g.target.join("/") === f.target.join("/")).forEach((g) => { y[g.source.join("/")] = g.viewsCode || []; }), a) { if (f.target[0] !== u) return; e.push( - ja( + Va( f.target[0], f.target[1], f.viewsType, @@ -22318,12 +22319,12 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { n.nodeType ) ), t.push( - Ia(m, b, i - 1, i, f.type, s) + $a(m, b, i - 1, i, f.type, s) ); } else { if (f.source[0] !== u) return; e.push( - ja( + Va( f.source[0], f.source[1], f.viewsType, @@ -22331,12 +22332,12 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { n.nodeType ) ), t.push( - Ia(m, b, i, i + 1, f.type, s) + $a(m, b, i, i + 1, f.type, s) ); } }), r.every((f) => !!e.find((m) => m.id === f.table))) { - const f = Ha(o, a), m = a ? `${o}-${f}` : `${f}-${o}`; - return Ru(e, f), Ru(t, m), !0; + const f = Za(o, a), m = a ? `${o}-${f}` : `${f}-${o}`; + return Uu(e, f), Uu(t, m), !0; } return !1; }, Do = async (e, t, n, o, r) => { @@ -22344,7 +22345,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { 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 Pa( + const { level: i } = a, l = e.length, [s] = await Ua( e, t, n, @@ -22352,18 +22353,18 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { i + r ); return s.length - l; -}, fx = (e, t, n, o) => { - if (!Om(e)) +}, Ax = (e, t, n, o) => { + if (!Wm(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) => ii(a.source, a.target)) + edgeIds: r.map((a) => ui(a.source, a.target)) }; -}, Fs = (e, t, n, o = [], r) => { - const { nodes: a, edgeIds: i } = fx( +}, Hs = (e, t, n, o = [], r) => { + const { nodes: a, edgeIds: i } = Ax( e, t, n, @@ -22373,7 +22374,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { (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 } = Fs( + const { nodes: u, edges: c } = Hs( s, t, n, @@ -22381,123 +22382,123 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { r ); u.forEach((d) => { - l.nodes.push(d), o.findIndex((h) => h.id == d.id) === -1 && o.push(d); + l.nodes.push(d), o.findIndex((p) => p.id == d.id) === -1 && o.push(d); }), l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...c])); } return l; }, { nodes: [], edges: [] } ); -}, hx = (e, t) => { - const n = t.getNodes().filter((i) => Rt(i)), o = t.getEdges(); +}, Mx = (e, t) => { + const n = t.getNodes().filter((i) => vt(i)), o = t.getEdges(); n.forEach((i) => { const l = t.getNode(i.id); - l && za(l, !1); + l && Wa(l, !1); }), o.forEach((i) => { const l = t.getEdge(i.id); - l && (l.hidden = !0, Oo(l, !1)); + l && (l.hidden = !0, No(l, !1)); }); - const r = Fs(e, n, o, [], !0), a = Fs(e, n, o, [], !1); + const r = Hs(e, n, o, [], !0), a = Hs(e, n, o, [], !1); [r, a].forEach(({ nodes: i, edges: l }) => { i.forEach((s) => { const u = t.getNode(s.id); - u && za(u, !0); + u && Wa(u, !0); }), l.forEach((s) => { const u = t.getEdge(s); - u && (u.hidden = !1, Oo(u, !0)); + u && (u.hidden = !1, No(u, !0)); }); }); -}, kn = "-1px", Tr = () => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - Nt, +}, Mn = "-1px", jr = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx( + Lt, { id: "left", type: "source", className: "invisible", isConnectable: !1, position: ie.Left, - style: { left: kn } + style: { left: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "right", type: "source", className: "invisible", isConnectable: !1, position: ie.Right, - style: { right: kn } + style: { right: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "left", type: "target", className: "invisible", isConnectable: !1, position: ie.Left, - style: { left: kn } + style: { left: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "right", type: "target", className: "invisible", isConnectable: !1, position: ie.Right, - style: { right: kn } + style: { right: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "top", type: "source", className: "invisible", isConnectable: !1, position: ie.Top, - style: { top: kn } + style: { top: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "bottom", type: "source", className: "invisible", isConnectable: !1, position: ie.Bottom, - style: { bottom: kn } + style: { bottom: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "top", type: "target", className: "invisible", isConnectable: !1, position: ie.Top, - style: { top: kn } + style: { top: Mn } } ), - /* @__PURE__ */ p.jsx( - Nt, + /* @__PURE__ */ h.jsx( + Lt, { id: "bottom", type: "target", className: "invisible", isConnectable: !1, position: ie.Bottom, - style: { bottom: kn } + style: { bottom: Mn } } ) -] }), Sf = ({ data: e }) => { - var D; +] }), Lf = ({ data: e }) => { + var N; const { label: t, table: n, @@ -22509,9 +22510,9 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { materialization: s, isExternalProject: u, schema: c - } = e, d = Xt(), { + } = e, d = Jt(), { state: { - selectedTable: h, + selectedTable: p, collectColumns: f, selectedColumn: m, leftExpansion: b, @@ -22521,25 +22522,25 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { errors: C }, rerender: S - } = ut(), E = dt(), w = Object.keys(f[n] || {}).length, O = w > 0, _ = h === n, L = async (M) => { + } = at(), w = ft(), E = Object.keys(f[n] || {}).length, M = E > 0, _ = p === n, L = async (T) => { if (Xe.inProgress) { Xe.showCllInProgressMsg(); return; } - let [N, I] = await Ef( + let [D, I] = await Df( d.getNodes(), d.getEdges(), n, - M + T ); - if ([N, I] = vr(N, I, h), fn(N, I), d.setNodes(N), d.setEdges(I), E( - sr(xr(N, I, h)) - ), E( - So( + if ([D, I] = _r(D, I, p), hn(D, I), d.setNodes(D), d.setEdges(I), w( + pr(Ar(D, I, p)) + ), w( + ko( await Do( - N, + D, I, - h, + p, b, y ) @@ -22547,20 +22548,20 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { ), S(), !!(m != null && m.name)) try { Xe.start(); - const R = d.getEdges(); - br(R, !1), yr(R, !0), d.setEdges(R), await Zc( - N, + const j = d.getEdges(); + Er(j, !1), Sr(j, !0), d.setEdges(j), await t1( + D, I, - M, + T, f[n].map((v) => ({ table: n, name: v.column })), (v) => { - E(gc({ operatorList: v })); + w(wc({ operatorList: v })); }, (v) => { - E(hc(v)); + w(vc(v)); }, (v) => { - E(pc(v)); + w(xc(v)); }, () => [d.getNodes(), d.getEdges()], (v, z) => { @@ -22568,44 +22569,44 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { }, m, { direct: g, indirect: x }, - (v) => E(mc(v(C))) + (v) => w(Ec(v(C))) ), S(); - } catch (R) { - console.log("cll:error:", R); + } catch (j) { + console.log("cll:error:", j); } finally { Xe.end(); } - }, j = () => L(!0), F = () => L(!1), P = (M) => { - M.stopPropagation(), i !== "semantic_model" && (E(Kn(n)), E(an(i === "exposure" ? of : nf))); + }, R = () => L(!0), F = () => L(!1), P = (T) => { + T.stopPropagation(), i !== "semantic_model" && (w(Jn(n)), w(Gt(i === "exposure" ? Wc : $c))); }, V = d.getEdges(), k = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ p.jsxs( + return /* @__PURE__ */ h.jsxs( "div", { className: "position-relative", style: { - opacity: m != null && m.name ? O ? 1 : 0.5 : 1 + opacity: m != null && m.name ? M ? 1 : 0.5 : 1 }, children: [ - /* @__PURE__ */ p.jsxs( + /* @__PURE__ */ h.jsxs( "div", { className: G.table_node, onClick: async () => { - const M = d.getNodes(), N = d.getEdges(); - E(sr(xr(M, N, n))), E( - So( + const T = d.getNodes(), D = d.getEdges(); + w(pr(Ar(T, D, n))), w( + ko( await Do( - M, - N, + T, + D, n, b, y ) ) - ), Ls(d, n), E(Kn(n)), o && Jv(o); + ), zs(d, n), w(Jn(n)), o && hx(o); }, children: [ - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { className: Te( @@ -22613,48 +22614,48 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { "d-flex flex-column align-items-start gap-xs", { [G.selected]: _, - [G.collapse]: !O + [G.collapse]: !M } ), - children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.table_header, children: [ - i in Cr && /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsxs( + children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ + i in kr && /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs( "div", { className: Te( G.node_icon, - Wc[i] + e1[i] ), children: [ - /* @__PURE__ */ p.jsx(li, { nodeType: i }), - /* @__PURE__ */ p.jsx("div", { children: Cr[i] }) + /* @__PURE__ */ h.jsx(fi, { nodeType: i }), + /* @__PURE__ */ h.jsx("div", { children: kr[i] }) ] } ) }), - i in $u && /* @__PURE__ */ p.jsx( + i in e0 && /* @__PURE__ */ h.jsx( "img", { - src: $u[i], + src: e0[i], className: G.dialect_icon } ), - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }), - c && /* @__PURE__ */ p.jsx("div", { className: "text-muted", style: { fontSize: "0.75em" }, children: c }) + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: t }), + c && /* @__PURE__ */ h.jsx("div", { className: "text-muted", style: { fontSize: "0.75em" }, children: c }) ] }), - ((D = C == null ? void 0 : C[n]) == null ? void 0 : D.length) && /* @__PURE__ */ p.jsx( - xn, + ((N = C == null ? void 0 : C[n]) == null ? void 0 : N.length) && /* @__PURE__ */ h.jsx( + Sn, { - title: /* @__PURE__ */ p.jsx("div", { className: G.error_tooltip, children: C[n].map((M, N) => /* @__PURE__ */ p.jsxs("div", { className: "mb-1", children: [ - N + 1, + title: /* @__PURE__ */ h.jsx("div", { className: G.error_tooltip, children: C[n].map((T, D) => /* @__PURE__ */ h.jsxs("div", { className: "mb-1", children: [ + D + 1, ". ", - M - ] }, N)) }), - children: /* @__PURE__ */ p.jsx(Wv, {}) + T + ] }, D)) }), + children: /* @__PURE__ */ h.jsx(rx, {}) } ) ] }), - /* @__PURE__ */ p.jsxs( + /* @__PURE__ */ h.jsxs( "div", { className: Te( @@ -22662,48 +22663,48 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { G.node_extra_info ), children: [ - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { className: Te("nodrag", G.table_handle, { - invisible: a === 0 || a === V.filter((M) => M.target === n).length || d.getNode(Ha(n, !1)) + invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Za(n, !1)) }), - onClick: (M) => { - M.stopPropagation(), F(); + onClick: (T) => { + T.stopPropagation(), F(); }, "data-testid": "expand-left-btn-" + n, children: "+" } ), - (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ p.jsx( - Jo, + (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ h.jsx( + rr, { id: "table-node-tests-" + k, - icon: /* @__PURE__ */ p.jsx(pf, {}), + icon: /* @__PURE__ */ h.jsx(Sf, {}), text: l.length.toString(), label: "Tests" } ), - s && /* @__PURE__ */ p.jsx( - Jo, + s && /* @__PURE__ */ h.jsx( + rr, { id: "table-node-materilization-" + k, - icon: /* @__PURE__ */ p.jsx(gf, {}), + icon: /* @__PURE__ */ h.jsx(kf, {}), text: s, label: "Materialization" } ), - u ? /* @__PURE__ */ p.jsx( - Jo, + u ? /* @__PURE__ */ h.jsx( + rr, { id: "table-node-is-external-" + k, - icon: /* @__PURE__ */ p.jsx(tv, {}), + icon: /* @__PURE__ */ h.jsx(gv, {}), text: "ext", label: `External Project: ${n}` } ) : null, - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + /* @__PURE__ */ h.jsx( "div", { className: Te( @@ -22715,14 +22716,14 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { children: "Details" } ), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { className: Te("nodrag", G.table_handle, { - invisible: r === 0 || r === V.filter((M) => M.source === n).length || d.getNode(Ha(n, !0)) + invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Za(n, !0)) }), - onClick: (M) => { - M.stopPropagation(), j(); + onClick: (T) => { + T.stopPropagation(), R(); }, "data-testid": "expand-right-btn-" + n, children: "+" @@ -22734,33 +22735,33 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { ] }) } ), - O && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: G.divider }), - /* @__PURE__ */ p.jsx( + M && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx("div", { className: G.divider }), + /* @__PURE__ */ h.jsx( "div", { className: Te(G.content, { [G.selected]: _ }), - style: { height: ga(w) } + style: { height: xa(E) } } ) ] }) ] } ), - /* @__PURE__ */ p.jsx(Tr, {}) + /* @__PURE__ */ h.jsx(jr, {}) ] } ); -}, Ba = ({ +}, qa = ({ percentValue: e, className: t -}) => e ? /* @__PURE__ */ p.jsx(xn, { title: e.tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: t, children: [ - /* @__PURE__ */ p.jsx("div", { className: G.value, children: e.value }), - /* @__PURE__ */ p.jsx("div", { className: G.percent, children: e.percent }) -] }) }) : null, px = ({ data: e }) => { - var h, f; +}) => e ? /* @__PURE__ */ h.jsx(Sn, { title: e.tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: t, children: [ + /* @__PURE__ */ h.jsx("div", { className: G.value, children: e.value }), + /* @__PURE__ */ h.jsx("div", { className: G.percent, children: e.percent }) +] }) }) : null, Tx = ({ data: e }) => { + var p, f; const { table: t, nodeType: n, label: o } = e, { state: { sqlLineage: r, @@ -22770,25 +22771,25 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { nodeSavingsPerformance: s, nodesCost: u } - } = ut(), c = dt(), d = n || "unknown"; - return /* @__PURE__ */ p.jsxs("div", { className: "position-relative", children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ p.jsx( - Ba, + } = at(), c = ft(), d = n || "unknown"; + return /* @__PURE__ */ h.jsxs("div", { className: "position-relative", children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ + /* @__PURE__ */ h.jsx( + qa, { - percentValue: (h = s[t]) == null ? void 0 : h.savings, + percentValue: (p = s[t]) == null ? void 0 : p.savings, className: G.savings } ), - /* @__PURE__ */ p.jsx( - Ba, + /* @__PURE__ */ h.jsx( + qa, { percentValue: (f = s[t]) == null ? void 0 : f.performance, className: G.performance } ) ] }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { className: G.static_table_node, @@ -22797,7 +22798,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { new CustomEvent("selectedNode", { detail: t }) ); }, - children: /* @__PURE__ */ p.jsx( + children: /* @__PURE__ */ h.jsx( "div", { className: Te( @@ -22809,23 +22810,23 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { [G.selected]: l === t } ), - children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", children: [ - u[t] && /* @__PURE__ */ p.jsx(xn, { title: u[t].tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: Te(G.cost_data), children: [ - /* @__PURE__ */ p.jsx("div", { children: u[t].value }), - /* @__PURE__ */ p.jsx("div", { children: u[t].percent }) + children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", children: [ + u[t] && /* @__PURE__ */ h.jsx(Sn, { title: u[t].tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: Te(G.cost_data), children: [ + /* @__PURE__ */ h.jsx("div", { children: u[t].value }), + /* @__PURE__ */ h.jsx("div", { children: u[t].percent }) ] }) }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { - className: Te(G.node_icon, Wc[d]), - children: /* @__PURE__ */ p.jsx(ix, { nodeType: d }) + className: Te(G.node_icon, e1[d]), + children: /* @__PURE__ */ h.jsx(xx, { nodeType: d }) } ), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: o }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", {}), + /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: o }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + /* @__PURE__ */ h.jsx("div", {}), + /* @__PURE__ */ h.jsx( "div", { className: Te( @@ -22833,9 +22834,9 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { !r || d === "unknown" ? G.disable : G.enable ), onClick: (m) => { - m.stopPropagation(), d !== "unknown" && (i || c(Kn(t))); + m.stopPropagation(), d !== "unknown" && (i || c(Jn(t))); }, - children: /* @__PURE__ */ p.jsx(mf, {}) + children: /* @__PURE__ */ h.jsx(_f, {}) } ) ] }) @@ -22843,35 +22844,35 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { ) } ), - /* @__PURE__ */ p.jsx(Tr, {}) + /* @__PURE__ */ h.jsx(jr, {}) ] }); -}, Uc = ({ data: e }) => { +}, n1 = ({ data: e }) => { const { tables: t = [], prevTable: n, right: o, level: r } = e, { state: { moreTables: a } - } = ut(), i = dt(), l = Xt(), s = Me( + } = at(), i = ft(), l = Jt(), s = Me( (u) => { - u.stopPropagation(), i(an(rf)), i( - fc({ ...a, tables: t, prevTable: n, right: o, level: r }) + u.stopPropagation(), i(Gt(Zc)), i( + Cc({ ...a, tables: t, prevTable: n, right: o, level: r }) ); }, [r, i, a, n, o, t] ); - return /* @__PURE__ */ p.jsxs("div", { className: G.see_more_node, onClick: s, children: [ - /* @__PURE__ */ p.jsx("div", { className: "fw-semibold", children: "See more" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), - /* @__PURE__ */ p.jsx(Tr, {}) + return /* @__PURE__ */ h.jsxs("div", { className: G.see_more_node, onClick: s, children: [ + /* @__PURE__ */ h.jsx("div", { className: "fw-semibold", children: "See more" }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + /* @__PURE__ */ h.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), + /* @__PURE__ */ h.jsx(jr, {}) ] }); -}, qc = (e) => { +}, o1 = (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__ */ p.jsx(Lo, { path: s, markerEnd: a }); -}, Yc = ({ data: e }) => { + return /* @__PURE__ */ h.jsx(zo, { path: s, markerEnd: a }); +}, r1 = ({ data: e }) => { const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, { state: { selectedColumn: i } - } = ut(), l = dt(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && Ic[o], c = u ? { borderColor: u } : {}, d = Xt(), h = () => { - const m = d.getNode(mr(n, t)); - m && (l(Kn("")), l(Bn({ name: t, table: n })), hx(m, d)); - }, f = He(() => { + } = at(), l = ft(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && qc[o], c = u ? { borderColor: u } : {}, d = Jt(), p = () => { + const m = d.getNode(wr(n, t)); + m && (l(Jn("")), l(Wn({ name: t, table: n })), Mx(m, d)); + }, f = Be(() => { const m = Object.values( r || {} ).flat().filter(([, y]) => y === "Transformation").map(([y]) => y), b = []; @@ -22879,7 +22880,7 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { b.includes(y) || b.push(y); return b; }, [r]); - return /* @__PURE__ */ p.jsxs( + return /* @__PURE__ */ h.jsxs( "div", { className: Te( @@ -22887,18 +22888,18 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { s ? G.selected : G.default ), style: c, - onClick: h, + onClick: p, children: [ - /* @__PURE__ */ p.jsx("div", { className: G.column_name, children: t }), - /* @__PURE__ */ p.jsx(Tr, {}), - /* @__PURE__ */ p.jsxs("div", { className: G.column_top_right, children: [ - f.length > 0 && /* @__PURE__ */ p.jsx(xn, { title: "Click to view code", children: /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: G.column_name, children: t }), + /* @__PURE__ */ h.jsx(jr, {}), + /* @__PURE__ */ h.jsxs("div", { className: G.column_top_right, children: [ + f.length > 0 && /* @__PURE__ */ h.jsx(Sn, { title: "Click to view code", children: /* @__PURE__ */ h.jsx( "div", { className: G.column_code_icon, onClick: (m) => { m.stopPropagation(), l( - ko({ + _o({ type: "views_code", args: { table: n, @@ -22910,34 +22911,34 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { }) ); }, - children: /* @__PURE__ */ p.jsx(id, {}) + children: /* @__PURE__ */ h.jsx(Cd, {}) } ) }), - o && o !== "Non select" && /* @__PURE__ */ p.jsx(Vc, { viewsType: o }) + o && o !== "Non select" && /* @__PURE__ */ h.jsx(Qc, { viewsType: o }) ] }) ] } ); -}, kf = { - INNER_JOIN: /* @__PURE__ */ p.jsx(Ov, {}), - OUTER_JOIN: /* @__PURE__ */ p.jsx(Fv, {}), - LEFT_JOIN: /* @__PURE__ */ p.jsx(Dv, {}), - FULL_JOIN: /* @__PURE__ */ p.jsx(zv, {}), - RIGHT_JOIN: /* @__PURE__ */ p.jsx(Rv, {}), - CROSS_JOIN: /* @__PURE__ */ p.jsx(jv, {}), - LATERAL_JOIN: /* @__PURE__ */ p.jsx(Iv, {}), - FILTER: /* @__PURE__ */ p.jsx(Mv, {}), - GROUP: /* @__PURE__ */ p.jsx(Tv, {}), - LIMIT: /* @__PURE__ */ p.jsx(Nv, {}), - SORT: /* @__PURE__ */ p.jsx(Lv, {}), - UNION: /* @__PURE__ */ p.jsx(Hv, {}), - SELECT: /* @__PURE__ */ p.jsx(Pv, {}) -}, $u = { - postgres: Vv, - snowflake: Bv, - s3: $v -}, gx = ({ data: e }) => { - var h, f; +}, Ff = { + INNER_JOIN: /* @__PURE__ */ h.jsx(Wv, {}), + OUTER_JOIN: /* @__PURE__ */ h.jsx(Yv, {}), + LEFT_JOIN: /* @__PURE__ */ h.jsx(Zv, {}), + FULL_JOIN: /* @__PURE__ */ h.jsx(Qv, {}), + RIGHT_JOIN: /* @__PURE__ */ h.jsx(Gv, {}), + CROSS_JOIN: /* @__PURE__ */ h.jsx(Kv, {}), + LATERAL_JOIN: /* @__PURE__ */ h.jsx(Xv, {}), + FILTER: /* @__PURE__ */ h.jsx(Vv, {}), + GROUP: /* @__PURE__ */ h.jsx($v, {}), + LIMIT: /* @__PURE__ */ h.jsx(Uv, {}), + SORT: /* @__PURE__ */ h.jsx(qv, {}), + UNION: /* @__PURE__ */ h.jsx(Jv, {}), + SELECT: /* @__PURE__ */ h.jsx(ex, {}) +}, e0 = { + postgres: nx, + snowflake: tx, + s3: ox +}, Ox = ({ data: e }) => { + var p, f; const { type: t, expression: n, id: o } = e, { state: { theme: r, @@ -22947,10 +22948,10 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { nodeSavingsPerformance: s, nodesCost: u } - } = ut(), c = r === "dark", d = dt(); - return /* @__PURE__ */ p.jsxs("div", { style: { width: Mr, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ p.jsx(Tr, {}), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsxs( + } = at(), c = r === "dark", d = ft(); + return /* @__PURE__ */ h.jsxs("div", { style: { width: Fr, display: "flex", justifyContent: "center" }, children: [ + /* @__PURE__ */ h.jsx(jr, {}), + /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsxs( "div", { className: Te(G.op_node, { @@ -22961,40 +22962,40 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { i ? document.dispatchEvent( new CustomEvent("selectedNode", { detail: o }) ) : d( - ko({ + _o({ type: "op_node", args: { op_code: n, op_type: t } }) ); }, children: [ - u[o] && /* @__PURE__ */ p.jsx(xn, { title: u[o].tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: Te(G.cost_data), children: [ - /* @__PURE__ */ p.jsx("div", { children: u[o].value }), - /* @__PURE__ */ p.jsx("div", { children: u[o].percent }) + u[o] && /* @__PURE__ */ h.jsx(Sn, { title: u[o].tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: Te(G.cost_data), children: [ + /* @__PURE__ */ h.jsx("div", { children: u[o].value }), + /* @__PURE__ */ h.jsx("div", { children: u[o].percent }) ] }) }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "div", { className: Te( G.node_icon, c ? G.dark_mode : G.light_mode ), - children: kf[t] + children: Ff[t] } ), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsxs("div", { className: G.op_type_text, children: [ - /* @__PURE__ */ p.jsx("span", { children: t }), - /* @__PURE__ */ p.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ p.jsx( - Ba, + /* @__PURE__ */ h.jsx("div", {}), + /* @__PURE__ */ h.jsxs("div", { className: G.op_type_text, children: [ + /* @__PURE__ */ h.jsx("span", { children: t }), + /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ + /* @__PURE__ */ h.jsx( + qa, { - percentValue: (h = s[o]) == null ? void 0 : h.savings, + percentValue: (p = s[o]) == null ? void 0 : p.savings, className: G.savings } ), - /* @__PURE__ */ p.jsx( - Ba, + /* @__PURE__ */ h.jsx( + qa, { percentValue: (f = s[o]) == null ? void 0 : f.performance, className: G.performance @@ -23002,13 +23003,13 @@ const rx = ({ datatype: e, color: t, size: n = "1rem" }) => { ) ] }) ] }), - /* @__PURE__ */ p.jsx("div", {}) + /* @__PURE__ */ h.jsx("div", {}) ] } ) }) ] }); }; -function _f({ +function a1({ isOpen: e, closeModal: t, width: n = 350, @@ -23017,24 +23018,24 @@ function _f({ const r = document.getElementById("lineage-sidebar"); if (!r) return null; const a = typeof n == "number" ? `${n}px` : n; - return Jn( - /* @__PURE__ */ p.jsx("div", { className: `sidebar-modal ${e ? "" : "d-none"}`, children: e && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: "sidebar-background-screen", onClick: t }), - /* @__PURE__ */ p.jsxs("div", { className: "sidebar-modal-content", style: { width: a }, children: [ - /* @__PURE__ */ p.jsx("div", { className: "sidebar-close-button", onClick: t, children: /* @__PURE__ */ p.jsx(Bc, {}) }), + return Rn( + /* @__PURE__ */ h.jsx("div", { className: `sidebar-modal ${e ? "" : "d-none"}`, children: e && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx("div", { className: "sidebar-background-screen", onClick: t }), + /* @__PURE__ */ h.jsxs("div", { className: "sidebar-modal-content", style: { width: a }, children: [ + /* @__PURE__ */ h.jsx("div", { className: "sidebar-close-button", onClick: t, children: /* @__PURE__ */ h.jsx(Xc, {}) }), o ] }) ] }) }), r ); } -function Or(e) { - return /* @__PURE__ */ p.jsx(Ln, { className: "custom-input", ...e }); +function Ho(e) { + return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e }); } -function mx(e) { - return /* @__PURE__ */ p.jsx(Ln, { className: "custom-input", ...e, type: "textarea", rows: 4 }); +function Nx(e) { + return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e, type: "textarea", rows: 4 }); } -function bx({ +function Dx({ nodeType: e, label: t, table: n, @@ -23042,29 +23043,29 @@ function bx({ materialization: r }) { const a = e, i = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.table_header, children: [ - /* @__PURE__ */ p.jsxs("div", { className: Te(G.node_icon, Wc[a]), children: [ - /* @__PURE__ */ p.jsx(li, { nodeType: a }), - /* @__PURE__ */ p.jsx("div", { children: Cr[a] }) + return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ + /* @__PURE__ */ h.jsxs("div", { className: Te(G.node_icon, e1[a]), children: [ + /* @__PURE__ */ h.jsx(fi, { nodeType: a }), + /* @__PURE__ */ h.jsx("div", { children: kr[a] }) ] }), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }) + /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: t }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: Te("d-flex gap-xs", G.node_extra_info), children: [ - (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ p.jsx( - Jo, + /* @__PURE__ */ h.jsxs("div", { className: Te("d-flex gap-xs", G.node_extra_info), children: [ + (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ h.jsx( + rr, { id: "table-node-tests-" + i, - icon: /* @__PURE__ */ p.jsx(pf, {}), + icon: /* @__PURE__ */ h.jsx(Sf, {}), text: o.length.toString(), label: "Tests" } ), - r && /* @__PURE__ */ p.jsx( - Jo, + r && /* @__PURE__ */ h.jsx( + rr, { id: "table-node-materilization-" + i, - icon: /* @__PURE__ */ p.jsx(gf, {}), + icon: /* @__PURE__ */ h.jsx(kf, {}), text: r, label: "Materialization" } @@ -23072,50 +23073,50 @@ function bx({ ] }) ] }); } -function yx() { +function jf() { const { state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, rerender: o - } = ut(), r = dt(), { tables: a, level: i } = e, l = Xt(), s = async (d) => { - const h = [...l.getNodes()], f = [...l.getEdges()]; - dx( - h, + } = at(), r = ft(), { tables: a, level: i } = e, l = Jt(), s = async (d) => { + const p = [...l.getNodes()], f = [...l.getEdges()]; + _x( + p, f, d, e, { direct: t, indirect: n } - ) && r(an("")), fn(h, f), l.setNodes(h), l.setEdges(f), o(); - }, [u, c] = ue(a); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), - /* @__PURE__ */ p.jsx( - Or, + ) && r(Gt("")), hn(p, f), l.setNodes(p), l.setEdges(f), o(); + }, [u, c] = ce(a); + return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ + /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), + /* @__PURE__ */ h.jsx( + Ho, { bsSize: "sm", placeholder: "Search by table name", onChange: (d) => { - const h = d.target.value.toLowerCase(); + const p = d.target.value.toLowerCase(); c( - a.filter((f) => f.table.toLowerCase().includes(h)) + a.filter((f) => f.table.toLowerCase().includes(p)) ); } } ), - /* @__PURE__ */ p.jsx("div", { className: "mb-3" }), - /* @__PURE__ */ p.jsx("div", { className: "h-100 overflow-y", children: /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: u.map((d) => { - const h = l.getNode(d.table), f = h && h.data.level !== i; - return /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: "mb-3" }), + /* @__PURE__ */ h.jsx("div", { className: "h-100 overflow-y", children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: u.map((d) => { + const p = l.getNode(d.table), f = p && p.data.level !== i; + return /* @__PURE__ */ h.jsx( "div", { className: Te(G.table_card, { - [G.selected]: h + [G.selected]: p // [styles.disabled]: isNodeOnOtherLevel, }), onClick: (m) => { m.stopPropagation(), !f && s(d); }, - children: /* @__PURE__ */ p.jsx( - bx, + children: /* @__PURE__ */ h.jsx( + Dx, { nodeType: d.nodeType, label: d.label, @@ -23130,26 +23131,26 @@ function yx() { }) }) }) ] }); } -const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { - component: Cx, - spin: vx -}, Af = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ p.jsx( +const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { + component: Lx, + spin: Fx +}, Rf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ h.jsx( "div", { - className: xx.component, + className: jx.component, style: { top: `${e}%`, left: `${t}%` }, - children: /* @__PURE__ */ p.jsx("div", { style: { marginTop: "-70px" }, children: n }) - } -), wx = "_level_tag_x6wwh_1", Ex = { - level_tag: wx -}, Sx = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { className: Te(Ex.level_tag), children: e }), Mf = ({ purpose: e }) => /* @__PURE__ */ p.jsx("div", { className: Te(G.card, "purpose-section"), children: /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), - /* @__PURE__ */ p.jsx("div", { className: Te(G.column_card), children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs", children: e }) }) -] }) }) }), Tf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { + children: /* @__PURE__ */ h.jsx("div", { style: { marginTop: "-70px" }, children: n }) + } +), Rx = "_level_tag_x6wwh_1", Ix = { + level_tag: Rx +}, zx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(Ix.level_tag), children: e }), If = ({ purpose: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "purpose-section"), children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), + /* @__PURE__ */ h.jsx("div", { className: Te(G.column_card), children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs", children: e }) }) +] }) }) }), zf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { const { state: { theme: r } - } = Je(eo); - return /* @__PURE__ */ p.jsxs( + } = Je(no); + return /* @__PURE__ */ h.jsxs( "div", { className: Te(G.column_card, { @@ -23159,16 +23160,16 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { onClick: t, "data-testid": "table-details-" + e.name, children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx(rx, { datatype: e.datatype || "" }), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e.name }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - e.can_lineage_expand && /* @__PURE__ */ p.jsx("div", { className: G.expand_lineage_icon, children: /* @__PURE__ */ p.jsx(gv, {}) }), - e.datatype && /* @__PURE__ */ p.jsx(Sx, { label: e.datatype }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + /* @__PURE__ */ h.jsx(Cx, { datatype: e.datatype || "" }), + /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e.name }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + e.can_lineage_expand && /* @__PURE__ */ h.jsx("div", { className: G.expand_lineage_icon, children: /* @__PURE__ */ h.jsx(Tv, {}) }), + e.datatype && /* @__PURE__ */ h.jsx(zx, { label: e.datatype }) ] }), - e.description && /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), - e.code && /* @__PURE__ */ p.jsx( - Er, + e.description && /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), + e.code && /* @__PURE__ */ h.jsx( + Tr, { code: e.code, language: "sql", @@ -23179,7 +23180,7 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { ] } ); -}, kx = ({ +}, Hx = ({ columns: e, filteredColumn: t, setFilteredColumn: n, @@ -23190,17 +23191,17 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { allowSyncColumnsWithDB: l }) => { const s = (r == null ? void 0 : r.materialization) === "ephemeral", u = (r == null ? void 0 : r.nodeType) === "analysis"; - return /* @__PURE__ */ p.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - l && !s && !u && /* @__PURE__ */ p.jsx( - $e, + return /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + l && !s && !u && /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", onClick: () => { - r && $c(r.table, !0).then((c) => { + r && di(r.table, !0).then((c) => { c && (i(c), n(c.columns)); }); }, @@ -23208,8 +23209,8 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { } ) ] }), - /* @__PURE__ */ p.jsx( - Or, + /* @__PURE__ */ h.jsx( + Ho, { bsSize: "sm", type: "text", @@ -23217,21 +23218,21 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { onChange: (c) => { const d = c.target.value.toLowerCase(); n( - e.filter((h) => h.name.toLowerCase().includes(d)) + e.filter((p) => p.name.toLowerCase().includes(d)) ); } } ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - !s && /* @__PURE__ */ p.jsx("div", { className: "fs-xxs", children: "Select column for lineage" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsxs("div", { className: "fs-xxs text-grey", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + !s && /* @__PURE__ */ h.jsx("div", { className: "fs-xxs", children: "Select column for lineage" }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + /* @__PURE__ */ h.jsxs("div", { className: "fs-xxs text-grey", children: [ t.length, " columns" ] }) ] }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((c) => /* @__PURE__ */ p.jsx( - Tf, + /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((c) => /* @__PURE__ */ h.jsx( + zf, { column: c, handleClick: () => { @@ -23243,12 +23244,12 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { c.name )) }) ] }) }); -}, _x = ({ tests: e }) => { - const [t, n] = ue(e); - return /* @__PURE__ */ p.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), - /* @__PURE__ */ p.jsx( - Or, +}, Px = ({ tests: e }) => { + const [t, n] = ce(e); + return /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), + /* @__PURE__ */ h.jsx( + Ho, { bsSize: "sm", type: "text", @@ -23261,20 +23262,20 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { } } ), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsxs("div", { className: "fs-xxs text-grey", children: [ + /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsxs("div", { className: "fs-xxs text-grey", children: [ t.length, " tests" ] }) }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ p.jsx("div", { className: G.column_card, children: /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: o.key }) }) }, o.key)) }) + /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ h.jsx("div", { className: G.column_card, children: /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: o.key }) }) }, o.key)) }) ] }) }); -}, Gc = ({ +}, i1 = ({ nodeType: e, table: t -}) => /* @__PURE__ */ p.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ p.jsx(li, { nodeType: e }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) -] }), Ax = () => { - var E; +}) => /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ + /* @__PURE__ */ h.jsx(fi, { nodeType: e }), + /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) +] }), Hf = () => { + var w; const { rerender: e, state: { @@ -23286,150 +23287,150 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { allowSyncColumnsWithDB: i, errors: l } - } = ut(), s = dt(), u = Xt(), [c, d] = ue([]), [h, f] = ue(null), [m, b] = ue(0), [y, g] = ue(!0); - ce(() => { - t && (g(!0), $c(t, !1).then((w) => { - f(w), d(w.columns), g(!1); + } = at(), s = ft(), u = Jt(), [c, d] = ce([]), [p, f] = ce(null), [m, b] = ce(0), [y, g] = ce(!0); + ue(() => { + t && (g(!0), di(t, !1).then((E) => { + f(E), d(E.columns), g(!1); }).catch(() => { g(!1); })); }, [t]); - const x = async (w) => { - var M; + const x = async (E) => { + var T; if (!a) { - tx(); + gx(); return; } if (Xe.inProgress) { Xe.showCllInProgressMsg(); return; } - if ((n == null ? void 0 : n.table) === w.table && (n == null ? void 0 : n.name) === w.name) { - const [N, I] = ux( + if ((n == null ? void 0 : n.table) === E.table && (n == null ? void 0 : n.name) === E.name) { + const [D, I] = kx( u.getNodes(), u.getEdges() ); - br(I, !0), yr(I, !0), u.setNodes(N), u.setEdges(I), s(Bn({ table: "", name: "" })), s(lr({})), s(an("")); + Er(I, !0), Sr(I, !0), u.setNodes(D), u.setEdges(I), s(Wn({ table: "", name: "" })), s(hr({})), s(Gt("")); return; } - const O = (M = u.getNode(w.table)) == null ? void 0 : M.data; - if (!O) - throw new Error(`table node ${w.table} isn't visible`); + const M = (T = u.getNode(E.table)) == null ? void 0 : T.data; + if (!M) + throw new Error(`table node ${E.table} isn't visible`); let _ = u.getNodes(), L = u.getEdges(); - br(L, !1), yr(L, !0); - const j = async (N) => { - [_, L] = await Ef( + Er(L, !1), Sr(L, !0); + const R = async (D) => { + [_, L] = await Df( _, L, - w.table, - N - ), fn(_, L); - }, { upstreamCount: F, downstreamCount: P } = O; - F > 0 && L.filter((N) => N.source === w.table).length < F && await j(!0), P > 0 && L.filter((N) => N.target === w.table).length < P && await j(!1), s(Bn({ ...w })), s(an("")), s(lr({})), s(m9({ confidence: "high" })); - const [V, k] = wf( - _.filter(Fn), - L.filter(Fn) + E.table, + D + ), hn(_, L); + }, { upstreamCount: F, downstreamCount: P } = M; + F > 0 && L.filter((D) => D.source === E.table).length < F && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s(Wn({ ...E })), s(Gt("")), s(hr({})), s(O9({ confidence: "high" })); + const [V, k] = Nf( + _.filter(En), + L.filter(En) ); - k.forEach((N) => N.style = ai), u.setNodes(V), u.setEdges(k), e(); - const D = (N) => Zc( + k.forEach((D) => D.style = ci), u.setNodes(V), u.setEdges(k), e(); + const N = (D) => t1( V, k, - N, - [w], + D, + [E], (I) => { - s(gc({ operatorList: I })); + s(wc({ operatorList: I })); }, (I) => { - s(hc(I)); + s(vc(I)); }, (I) => { - s(pc(I)); + s(xc(I)); }, () => [u.getNodes(), u.getEdges()], - (I, R) => { - u.setNodes(I), u.setEdges(R); + (I, j) => { + u.setNodes(I), u.setEdges(j); }, - w, + E, { direct: o, indirect: r }, - (I) => s(mc(I(l))) + (I) => s(Ec(I(l))) ); try { Xe.start(), (await Promise.all([ - D(!0), - D(!1) - ])).every((I) => !I) && (s(Bn({ table: "", name: "" })), Ls(u, w.table), Xe.isCancelled || Cf( - `No lineage found for model ${w.table} and column ${w.name}` + N(!0), + N(!1) + ])).every((I) => !I) && (s(Wn({ table: "", name: "" })), zs(u, E.table), Xe.isCancelled || Jc( + `No lineage found for model ${E.table} and column ${E.name}` )); - } catch (N) { + } catch (D) { console.error( "Error while performing cll for ", - w.table, - w.name, + E.table, + E.name, ", error:", - N - ), s(Bn({ table: "", name: "" })), Ls(u, w.table); + D + ), s(Wn({ table: "", name: "" })), zs(u, E.table); } finally { Xe.end(); } - }, C = (E = u.getNode(t)) == null ? void 0 : E.data; - if (y || !h || !t) return /* @__PURE__ */ p.jsx(Af, {}); + }, C = (w = u.getNode(t)) == null ? void 0 : w.data; + if (y || !p || !t) return /* @__PURE__ */ h.jsx(Rf, {}); const S = ["Column"]; - return C.tests.length && S.push("Tests"), /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsx( - Gc, + return C.tests.length && S.push("Tests"), /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ h.jsx( + i1, { nodeType: C.nodeType, table: C.label } ), - h.purpose && /* @__PURE__ */ p.jsx(Mf, { purpose: h.purpose }), - S.length > 1 && /* @__PURE__ */ p.jsx("div", { className: G.table_details_tabs, children: S.map((w, O) => /* @__PURE__ */ p.jsx( + p.purpose && /* @__PURE__ */ h.jsx(If, { purpose: p.purpose }), + S.length > 1 && /* @__PURE__ */ h.jsx("div", { className: G.table_details_tabs, children: S.map((E, M) => /* @__PURE__ */ h.jsx( "div", { className: Te(G.tab, { - [G.selected]: m === O + [G.selected]: m === M }), - onClick: () => b(O), - children: w + onClick: () => b(M), + children: E }, - w + E )) }), - m === 0 && /* @__PURE__ */ p.jsx( - kx, + m === 0 && /* @__PURE__ */ h.jsx( + Hx, { selectedTable: C, selectedColumn: n, filteredColumn: c, setFilteredColumn: d, - columns: h.columns, + columns: p.columns, handleColumnClick: x, setData: f, allowSyncColumnsWithDB: i } ), - m === 1 && /* @__PURE__ */ p.jsx(_x, { tests: C.tests }) + m === 1 && /* @__PURE__ */ h.jsx(Px, { tests: C.tests }) ] }); -}, Mx = () => { +}, Bx = () => { var f, m, b, y; const { state: { theme: e } - } = Je(eo), { + } = Je(no), { state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } - } = ut(), r = (b = (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( + } = at(), r = (b = (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( (g) => ({ ...g, description: g.expression }) - ), [a, i] = ue(r), [l, s] = ue(r), u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; + ), [a, i] = ce(r), [l, s] = ce(r), u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; if (!u) return null; - const { sql: c, type: d, nodeId: h } = u; - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsx(Gc, { nodeType: d || "cte", table: n }), - c && /* @__PURE__ */ p.jsx("div", { className: Te(G.card, "mb-0 purpose-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), - /* @__PURE__ */ p.jsx( - Er, + const { sql: c, type: d, nodeId: p } = u; + return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ h.jsx(i1, { nodeType: d || "cte", table: n }), + c && /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "mb-0 purpose-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), + /* @__PURE__ */ h.jsx( + Tr, { code: c, language: "sql", @@ -23439,17 +23440,17 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { } ) ] }) }), - /* @__PURE__ */ p.jsx("div", { className: Te(G.card, "mb-0 flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - o && h && ["table", "final"].includes(d || "") && /* @__PURE__ */ p.jsx( - $e, + /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "mb-0 flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + o && p && ["table", "final"].includes(d || "") && /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", onClick: () => { - $c(h, !0).then((g) => { + di(p, !0).then((g) => { i(g.columns), s(g.columns); }); }, @@ -23457,8 +23458,8 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { } ) ] }), - /* @__PURE__ */ p.jsx( - Or, + /* @__PURE__ */ h.jsx( + Ho, { bsSize: "sm", placeholder: "Search by column name", @@ -23471,12 +23472,12 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { } } ), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsxs("div", { children: [ l == null ? void 0 : l.length, " columns" ] }) }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((g) => /* @__PURE__ */ p.jsx( - Tf, + /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((g) => /* @__PURE__ */ h.jsx( + zf, { column: { name: g.name, @@ -23494,73 +23495,73 @@ const Cx = "_component_13r39_1", vx = "_spin_13r39_1", xx = { )) }) ] }) }) ] }); -}, ra = ({ title: e, value: t }) => /* @__PURE__ */ p.jsxs("div", { className: Te(G.column_card, {}), children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }) +}, ca = ({ title: e, value: t }) => /* @__PURE__ */ h.jsxs("div", { className: Te(G.column_card, {}), children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }) ] }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) -] }), Tx = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { children: e }), Ox = () => { + /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) +] }), Vx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { children: e }), Pf = () => { var l; - const e = Xt(), { + const e = Jt(), { state: { selectedTable: t } - } = ut(), [n, o] = ue(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ue(!0); - return ce(() => { - t && Gv(t).then((s) => { + } = at(), [n, o] = ce(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ce(!0); + return ue(() => { + t && cx(t).then((s) => { o(s), i(!1); }); - }, [t]), a || !n || !t ? /* @__PURE__ */ p.jsx(Af, {}) : /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ p.jsx(li, { nodeType: r.nodeType }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) + }, [t]), a || !n || !t ? /* @__PURE__ */ h.jsx(Rf, {}) : /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ + /* @__PURE__ */ h.jsx(fi, { nodeType: r.nodeType }), + /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) ] }), - n.description ? /* @__PURE__ */ p.jsx(Mf, { purpose: n.description }) : null, - /* @__PURE__ */ p.jsxs("div", { className: Te(G.card, "flex-grow column-section"), children: [ - /* @__PURE__ */ p.jsx( - ra, + n.description ? /* @__PURE__ */ h.jsx(If, { purpose: n.description }) : null, + /* @__PURE__ */ h.jsxs("div", { className: Te(G.card, "flex-grow column-section"), children: [ + /* @__PURE__ */ h.jsx( + ca, { title: "Owner", value: `${n.owner.name} - ${n.owner.email}` } ), - /* @__PURE__ */ p.jsx(ra, { title: "Url", value: n.url }), - /* @__PURE__ */ p.jsx( - ra, + /* @__PURE__ */ h.jsx(ca, { title: "Url", value: n.url }), + /* @__PURE__ */ h.jsx( + ca, { title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ p.jsx(Tx, { label: s })) + value: n.tags.map((s) => /* @__PURE__ */ h.jsx(Vx, { label: s })) } ), - /* @__PURE__ */ p.jsx(ra, { title: "Maturity", value: n.maturity }) + /* @__PURE__ */ h.jsx(ca, { title: "Maturity", value: n.maturity }) ] }) ] }); }; -function Dx({ close: e }) { - const [t, n] = ue( +function $x({ close: e }) { + const [t, n] = ce( "" /* None */ - ), [o, r] = ue(""), [a, i] = ue(!1); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "mb-2 d-flex", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx( - $e, + ), [o, r] = ce(""), [a, i] = ce(!1); + return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "mb-2 d-flex", children: [ + /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), + /* @__PURE__ */ h.jsx("div", { className: "spacer" }), + /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), ex(); + l.stopPropagation(), px(); }, children: "Chat with us" } ) ] }), - /* @__PURE__ */ p.jsxs("div", { className: G.feedback_body, children: [ - !a && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm m-2", children: [ - t === "good" ? /* @__PURE__ */ p.jsx( - yv, + /* @__PURE__ */ h.jsxs("div", { className: G.feedback_body, children: [ + !a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm m-2", children: [ + t === "good" ? /* @__PURE__ */ h.jsx( + Dv, { className: "cursor-pointer", onClick: () => n( @@ -23568,8 +23569,8 @@ function Dx({ close: e }) { /* None */ ) } - ) : /* @__PURE__ */ p.jsx( - mv, + ) : /* @__PURE__ */ h.jsx( + Ov, { className: "cursor-pointer", onClick: () => n( @@ -23578,8 +23579,8 @@ function Dx({ close: e }) { ) } ), - t === "bad" ? /* @__PURE__ */ p.jsx( - Cv, + t === "bad" ? /* @__PURE__ */ h.jsx( + Lv, { className: "cursor-pointer", onClick: () => n( @@ -23587,8 +23588,8 @@ function Dx({ close: e }) { /* None */ ) } - ) : /* @__PURE__ */ p.jsx( - bv, + ) : /* @__PURE__ */ h.jsx( + Nv, { className: "cursor-pointer", onClick: () => n( @@ -23598,23 +23599,23 @@ function Dx({ close: e }) { } ) ] }), - /* @__PURE__ */ p.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), - /* @__PURE__ */ p.jsx( - mx, + /* @__PURE__ */ h.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), + /* @__PURE__ */ h.jsx( + Nx, { value: o, onChange: (l) => r(l.target.value), placeholder: "What did AI do wrong? What it should have done?" } ), - /* @__PURE__ */ p.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ - /* @__PURE__ */ p.jsx( - $e, + /* @__PURE__ */ h.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ + /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", onClick: async (l) => { - l.stopPropagation(), t !== "" && (await Xv({ + l.stopPropagation(), t !== "" && (await dx({ feedback_value: t, feedback_text: o }), i(!0)); @@ -23622,8 +23623,8 @@ function Dx({ close: e }) { children: "Submit" } ), - /* @__PURE__ */ p.jsx( - $e, + /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "link", @@ -23636,10 +23637,10 @@ function Dx({ close: e }) { ) ] }) ] }), - a && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("p", { children: "Many thanks for your feedback!" }), - /* @__PURE__ */ p.jsx( - $e, + a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx("p", { children: "Many thanks for your feedback!" }), + /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", @@ -23653,33 +23654,33 @@ function Dx({ close: e }) { ] }) ] }); } -function Nx({ applyDefault: e }) { +function Wx({ applyDefault: e }) { const { state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } - } = ut(), a = dt(); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx(wi, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), - /* @__PURE__ */ p.jsx( - Or, + } = at(), a = ft(); + return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ + /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx(ha, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), + /* @__PURE__ */ h.jsx( + Ho, { id: "default-expansion", value: o, type: "number", onChange: (i) => { const l = Math.max(parseInt(i.target.value), 0); - a(jd(l)), Hl({ defaultExpansion: l }), e(l); + a(Gd(l)), $l({ defaultExpansion: l }), e(l); } } ) ] }), - r && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-6", children: "Edges visibility" }), - /* @__PURE__ */ p.jsxs("div", { className: G.select_node_checkbox, children: [ - /* @__PURE__ */ p.jsx( - Ln, + r && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx("div", { className: "fs-6", children: "Edges visibility" }), + /* @__PURE__ */ h.jsxs("div", { className: G.select_node_checkbox, children: [ + /* @__PURE__ */ h.jsx( + Cn, { type: "checkbox", id: "select-check", @@ -23690,20 +23691,20 @@ function Nx({ applyDefault: e }) { Xe.showCllInProgressMsg(); return; } - a(Fd(i.target.checked)), Hl({ + a(qd(i.target.checked)), $l({ showSelectEdges: i.target.checked }); } } ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx(wi, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), - /* @__PURE__ */ p.jsx("div", { className: "text-grey", children: "Select linkages are shown if there is direct flow of data between columns through select statements." }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ + /* @__PURE__ */ h.jsx(ha, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), + /* @__PURE__ */ h.jsx("div", { className: "text-grey", children: "Select linkages are shown if there is direct flow of data between columns through select statements." }) ] }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: G.non_select_node_checkbox, children: [ - /* @__PURE__ */ p.jsx( - Ln, + /* @__PURE__ */ h.jsxs("div", { className: G.non_select_node_checkbox, children: [ + /* @__PURE__ */ h.jsx( + Cn, { type: "checkbox", id: "non-select-check", @@ -23714,65 +23715,66 @@ function Nx({ applyDefault: e }) { Xe.showCllInProgressMsg(); return; } - a(Rd(i.target.checked)), Hl({ + a(Yd(i.target.checked)), $l({ showNonSelectEdges: i.target.checked }); } } ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx(wi, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), - /* @__PURE__ */ p.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ + /* @__PURE__ */ h.jsx(ha, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), + /* @__PURE__ */ h.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) ] }) ] }) ] }) ] }) ] }); } -const Of = zt({ isOpen: !1, setIsOpen: () => { +const Bf = Ht({ openedPopover: "", setOpenedPopover: () => { } }); -function Lx({ - trigger: e, - render: t +function Vf({ + id: e, + trigger: t, + render: n }) { - const n = he(null), o = "popover-id", { isOpen: r, setIsOpen: a } = Je(Of); - return ce(() => { + const o = he(null), { openedPopover: r, setOpenedPopover: a } = Je(Bf); + return ue(() => { const i = (l) => { - if (!n.current) return; - const { x: s, y: u, width: c, height: d } = n.current.getBoundingClientRect(); + if (!o.current) return; + const { x: s, y: u, width: c, height: d } = o.current.getBoundingClientRect(); a( - Fu(s - 10, s + c + 10)(l.x) && Fu(u - 10, u + d + 10)(l.y) + Zu(s - 10, s + c + 10)(l.x) && Zu(u - 10, u + d + 10)(l.y) ? e : "" ); }; return document.body.addEventListener("click", i), () => { document.body.removeEventListener("click", i); }; - }, [r]), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( + }, [r]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx( "div", { - id: o, + id: e, onClick: (i) => { - i.stopPropagation(), a((l) => !l); + i.stopPropagation(), a(e); }, - children: e + children: t } ), - /* @__PURE__ */ p.jsx( - F0, + /* @__PURE__ */ h.jsx( + Z0, { placement: "bottom", - target: o, + target: e, className: G.popover, - isOpen: r, - toggle: () => a((i) => !i), - children: /* @__PURE__ */ p.jsx(R0, { children: /* @__PURE__ */ p.jsx("div", { ref: n, children: t({ close: () => a(!1) }) }) }) + isOpen: r === e, + toggle: () => a(""), + children: /* @__PURE__ */ h.jsx(U0, { children: /* @__PURE__ */ h.jsx("div", { ref: o, children: n({ close: () => a("") }) }) }) } ) ] }); } -const Fx = () => { - const e = Xt(), { +const Zx = () => { + const e = Jt(), { state: { selectedTable: t, leftExpansion: n, @@ -23782,20 +23784,20 @@ const Fx = () => { defaultExpansion: i }, rerender: l - } = ut(), [s, u] = ue([0, 0]), c = dt(); - ce(() => { + } = at(), [s, u] = ce([0, 0]), c = ft(); + ue(() => { c( - El( - ju(r[0], s[0], i) + Al( + qu(r[0], s[0], i) ) ), c( - Sl( - ju(r[1], s[1], i) + Ml( + qu(r[1], s[1], i) ) ); - }, [i, c, s, r]), ce(() => { + }, [i, c, s, r]), ue(() => { (async () => c( - So( + ko( await Do( e.getNodes(), e.getEdges(), @@ -23805,13 +23807,13 @@ const Fx = () => { ) ) ))(); - }, [e, n, c, o, t]), ce(() => { + }, [e, n, c, o, t]), ue(() => { (async () => { var S; if (!t) return; const f = (S = e.getNode(t)) == null ? void 0 : S.data; if (!f) return; - const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Pa( + const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Ua( b, y, t, @@ -23819,104 +23821,105 @@ const Fx = () => { 1 / 0 ); let x = 1 / 0, C = -1 / 0; - for (const E of g) - x = Math.min(x, E.data.level), C = Math.max(C, E.data.level); + for (const w of g) + x = Math.min(x, w.data.level), C = Math.max(C, w.data.level); u([m - x, C - m]); })(); }, [e, t]); const d = Me(() => { c( - El( + Al( n + 1 <= s[0] ? n + 1 : n ) ); - }, [n, c, s]), h = Me(() => { + }, [n, c, s]), p = Me(() => { c( - Sl( + Ml( o + 1 <= s[0] ? o + 1 : o ) ); }, [o, c, s]); - return /* @__PURE__ */ p.jsx( - Lx, + return /* @__PURE__ */ h.jsx( + Vf, { - trigger: /* @__PURE__ */ p.jsxs( - $e, + id: "auto-expansion-popover", + trigger: /* @__PURE__ */ h.jsxs( + Re, { size: "sm", color: "primary", className: "d-flex gap-sm align-items-center", type: "button", children: [ - /* @__PURE__ */ p.jsx(vv, {}), + /* @__PURE__ */ h.jsx(Fv, {}), "Expand" ] } ), - render: ({ close: f }) => /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsxs( + render: ({ close: f }) => /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ + /* @__PURE__ */ h.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ + /* @__PURE__ */ h.jsxs( "div", { className: Te(G.expand_nav, { [G.disabled]: r[0] === -1 }), children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsxs("div", { className: G.expand_nav_btn, children: [ + /* @__PURE__ */ h.jsx( "div", { className: G.icon, onClick: (m) => { - m.stopPropagation(), t && c(El(s[0])); + m.stopPropagation(), t && c(Al(s[0])); }, - children: /* @__PURE__ */ p.jsx(xv, {}) + children: /* @__PURE__ */ h.jsx(jv, {}) } ), - /* @__PURE__ */ p.jsx("div", { className: G.divider }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: G.divider }), + /* @__PURE__ */ h.jsx( "div", { className: G.icon, onClick: (m) => { m.stopPropagation(), t && d(); }, - children: /* @__PURE__ */ p.jsx(wv, {}) + children: /* @__PURE__ */ h.jsx(Rv, {}) } ) ] }), - /* @__PURE__ */ p.jsx("div", { className: "text-blue px-2 py-1", children: n }) + /* @__PURE__ */ h.jsx("div", { className: "text-blue px-2 py-1", children: n }) ] } ), - /* @__PURE__ */ p.jsxs( + /* @__PURE__ */ h.jsxs( "div", { className: Te(G.expand_nav, { [G.disabled]: r[1] === -1 }), children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-blue px-2 py-1", children: o }), - /* @__PURE__ */ p.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: "text-blue px-2 py-1", children: o }), + /* @__PURE__ */ h.jsxs("div", { className: G.expand_nav_btn, children: [ + /* @__PURE__ */ h.jsx( "div", { className: G.icon, onClick: (m) => { - m.stopPropagation(), t && h(); + m.stopPropagation(), t && p(); }, - children: /* @__PURE__ */ p.jsx(Ev, {}) + children: /* @__PURE__ */ h.jsx(Iv, {}) } ), - /* @__PURE__ */ p.jsx("div", { className: G.divider }), - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx("div", { className: G.divider }), + /* @__PURE__ */ h.jsx( "div", { className: G.icon, onClick: (m) => { - m.stopPropagation(), t && c(Sl(s[1])); + m.stopPropagation(), t && c(Ml(s[1])); }, - children: /* @__PURE__ */ p.jsx(mf, {}) + children: /* @__PURE__ */ h.jsx(_f, {}) } ) ] }) @@ -23924,12 +23927,12 @@ const Fx = () => { } ) ] }), - /* @__PURE__ */ p.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: "normal-text", children: "Parents" }), - /* @__PURE__ */ p.jsx("div", { className: "normal-text", children: "Children" }) + /* @__PURE__ */ h.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ + /* @__PURE__ */ h.jsx("div", { className: "normal-text", children: "Parents" }), + /* @__PURE__ */ h.jsx("div", { className: "normal-text", children: "Children" }) ] }), - /* @__PURE__ */ p.jsxs( - $e, + /* @__PURE__ */ h.jsxs( + Re, { color: a === 0 ? "secondary" : "primary", size: "sm", @@ -23939,17 +23942,17 @@ const Fx = () => { if (m.stopPropagation(), !t) return; const b = (x = e.getNode(t)) == null ? void 0 : x.data; if (!b) return; - const [y, g] = await Pa( + const [y, g] = await Ua( e.getNodes(), e.getEdges(), t, b.level - n, b.level + o ); - vr(y, g, t), fn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Ts }), c( - sr(xr(y, g, t)) + _r(y, g, t), hn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( + pr(Ar(y, g, t)) ), c( - So( + ko( await Do( y, g, @@ -23970,117 +23973,117 @@ const Fx = () => { ] }) } ); -}, Rx = () => { +}, Ux = () => { const { state: { selectedColumn: e, confidence: t, aiEnabled: n } - } = ut(), o = document.getElementById("expand-container"); - return o ? Jn( - /* @__PURE__ */ p.jsx(sn, { className: G.menu_card_container, children: /* @__PURE__ */ p.jsx(Rn, { className: G.menu_card, children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ p.jsx(Fx, {}), - n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: G.verticle_divider }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { children: "Confidence" }), - /* @__PURE__ */ p.jsx( - Wn, + } = at(), o = document.getElementById("expand-container"); + return o ? Rn( + /* @__PURE__ */ h.jsx(zt, { className: G.menu_card_container, children: /* @__PURE__ */ h.jsx(un, { className: G.menu_card, children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm", children: [ + /* @__PURE__ */ h.jsx(Zx, {}), + n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx("div", { className: G.verticle_divider }), + /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ + /* @__PURE__ */ h.jsx("div", { children: "Confidence" }), + /* @__PURE__ */ h.jsx( + qn, { title: "Depending on the SQL dialect and complexity of queries, there may be situations where we are not completely confident about the lineage shown in this view", id: "confidence", - children: /* @__PURE__ */ p.jsx(r8, {}) + children: /* @__PURE__ */ h.jsx(y8, {}) } ), - /* @__PURE__ */ p.jsx("div", { className: G.low_confidence, children: "Low" }) + /* @__PURE__ */ h.jsx("div", { className: G.low_confidence, children: "Low" }) ] }) ] }) ] }) }) }), o ) : null; -}, jx = () => { - const e = document.getElementById("settings-container"), t = dt(); - return e ? Jn( - /* @__PURE__ */ p.jsxs( - $e, +}, qx = () => { + const e = document.getElementById("settings-container"), t = ft(); + return e ? Rn( + /* @__PURE__ */ h.jsxs( + Re, { outline: !0, - onClick: () => t(an(af)), + onClick: () => t(Gt(mf)), children: [ - /* @__PURE__ */ p.jsx(o8, {}), + /* @__PURE__ */ h.jsx(b8, {}), "Settings" ] } ), e ) : null; -}, Ix = ({ flow: e }) => { - const t = document.getElementById("reset-container"), n = dt(); - return t ? Jn( - /* @__PURE__ */ p.jsxs( - $e, +}, Yx = ({ flow: e }) => { + const t = document.getElementById("reset-container"), n = ft(); + return t ? Rn( + /* @__PURE__ */ h.jsxs( + Re, { outline: !0, onClick: () => { - e.setNodes([]), e.setEdges([]), n(Bn({ table: "", name: "" })), n(lr({})), n(fc({})), yf(), Xe.cancel(); + e.setNodes([]), e.setEdges([]), n(Wn({ table: "", name: "" })), n(hr({})), n(Cc({})), Mf(), Xe.cancel(); }, "data-testid": "reset-btn", className: G.reset_btn, children: [ - /* @__PURE__ */ p.jsx(n8, {}), - /* @__PURE__ */ p.jsx("span", { children: "Reset" }) + /* @__PURE__ */ h.jsx(m8, {}), + /* @__PURE__ */ h.jsx("span", { children: "Reset" }) ] } ), t ) : null; -}, zx = ({ +}, Gx = ({ viewsCodeArgs: e }) => { const { state: { theme: t } - } = Je(eo), n = dt(), o = Xt(), r = He(() => { + } = Je(no), n = ft(), o = Jt(), r = Be(() => { var i, l; return e ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null ? void 0 : l.label : ""; - }, [o, e]), a = He(() => { + }, [o, e]), a = Be(() => { 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__ */ p.jsx( - j0, + return /* @__PURE__ */ h.jsx( + q0, { size: "lg", isOpen: !!e, - toggle: () => n(ko(null)), + toggle: () => n(_o(null)), centered: !0, unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ p.jsxs(I0, { children: [ - /* @__PURE__ */ p.jsx( + children: /* @__PURE__ */ h.jsxs(Y0, { children: [ + /* @__PURE__ */ h.jsx( "div", { className: G.close_button, - onClick: () => n(ko(null)), - children: /* @__PURE__ */ p.jsx(Bc, {}) + onClick: () => n(_o(null)), + children: /* @__PURE__ */ h.jsx(Xc, {}) } ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - r && /* @__PURE__ */ p.jsx(Gc, { nodeType: e.nodeType, table: r }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Column" }), - /* @__PURE__ */ p.jsx("div", { className: G.model_views_type, children: e.column }) + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + r && /* @__PURE__ */ h.jsx(i1, { nodeType: e.nodeType, table: r }), + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Column" }), + /* @__PURE__ */ h.jsx("div", { className: G.model_views_type, children: e.column }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Type" }), - /* @__PURE__ */ p.jsxs("div", { className: G.model_views_type, children: [ - /* @__PURE__ */ p.jsx(Vc, { viewsType: e.viewsType }), + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Type" }), + /* @__PURE__ */ h.jsxs("div", { className: G.model_views_type, children: [ + /* @__PURE__ */ h.jsx(Qc, { viewsType: e.viewsType }), e.viewsType ] }) ] }), - a.length > 0 && /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), - a.map((i) => /* @__PURE__ */ p.jsx( - Er, + a.length > 0 && /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), + a.map((i) => /* @__PURE__ */ h.jsx( + Tr, { code: i, language: "sql", @@ -24095,19 +24098,19 @@ const Fx = () => { } ); }; -function Hx({ opNodeArgs: e }) { +function Kx({ opNodeArgs: e }) { const { state: { theme: t } - } = Je(eo); - return /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsxs("div", { className: G.table_details_header, children: [ - kf[e.op_type], - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: e.op_type }) }) + } = Je(no); + return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ + Ff[e.op_type], + /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: e.op_type }) }) ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), - /* @__PURE__ */ p.jsx( - Er, + /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ + /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), + /* @__PURE__ */ h.jsx( + Tr, { code: e.op_code, language: "sql", @@ -24118,48 +24121,120 @@ function Hx({ opNodeArgs: e }) { ] }) ] }); } -const Kc = () => { +const l1 = () => { const { state: { modalArgs: e } - } = ut(), t = dt(); - return e ? /* @__PURE__ */ p.jsx( - j0, + } = at(), t = ft(); + return e ? /* @__PURE__ */ h.jsx( + q0, { size: "lg", isOpen: e.type !== "none", - close: () => t(ko({ type: "none" })), + close: () => t(_o({ type: "none" })), centered: !0, unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ p.jsxs(I0, { children: [ - /* @__PURE__ */ p.jsx( + children: /* @__PURE__ */ h.jsxs(Y0, { children: [ + /* @__PURE__ */ h.jsx( "div", { className: G.close_button, - onClick: () => t(ko({ type: "none" })), - children: /* @__PURE__ */ p.jsx(Bc, {}) + onClick: () => t(_o({ type: "none" })), + children: /* @__PURE__ */ h.jsx(Xc, {}) } ), - e.type === "views_code" && /* @__PURE__ */ p.jsx( - zx, + e.type === "views_code" && /* @__PURE__ */ h.jsx( + Gx, { viewsCodeArgs: e.args } ), - e.type === "op_node" && /* @__PURE__ */ p.jsx(Hx, { opNodeArgs: e.args }) + e.type === "op_node" && /* @__PURE__ */ h.jsx(Kx, { opNodeArgs: e.args }) ] }) } ) : null; -}, Px = { - table: Sf, - seeMore: Uc, - column: Yc -}, Bx = { selfConnecting: qc }, Vx = ({ +}, Xx = ({ flow: e }) => { + const t = document.getElementById("export-container"), { + state: { selectedColumn: n, collectColumns: o } + } = at(), [r, a] = ce(""), i = async (l) => { + const s = e.getEdges(), u = s.filter((m) => En(m)).map((m) => [m.source, m.target]), c = s.filter((m) => vt(m)).map( + (m) => { + var b; + return ( + // remove column prefix for edge + [m.source.slice(7), m.target.slice(7), (b = m.data) == null ? void 0 : b.type] + ); + } + ), d = {}; + await Promise.all( + e.getNodes().map(async (m) => { + if (vt(m)) return; + const b = await di(m.id, !1); + d[m.id] = { + type: m.data.nodeType, + nodeId: m.id, + name: m.data.label, + ...b + }; + }) + ); + const f = await bx({ name: r, lineage_data: { + selectedColumn: n, + collectColumns: o, + tableEdges: u, + columnEdges: c, + details: d + } }); + f != null && f.url && Jc(`Lineage is exported at [link](${f.url})`), l(), a(""); + }; + return t ? Rn( + /* @__PURE__ */ h.jsx( + Vf, + { + id: "export-popover", + trigger: /* @__PURE__ */ h.jsxs(Re, { outline: !0, children: [ + /* @__PURE__ */ h.jsx(A2, {}), + "Export" + ] }), + render: ({ close: l }) => /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx( + Ho, + { + id: "export-name", + value: r, + type: "text", + onChange: (s) => a(s.target.value), + className: "mb-2 text-white", + placeholder: "Enter name" + } + ), + /* @__PURE__ */ h.jsxs( + Re, + { + outline: !0, + onClick: () => i(l), + disabled: r === "", + children: [ + /* @__PURE__ */ h.jsx(A2, {}), + "Export" + ] + } + ) + ] }) + } + ), + t + ) : null; +}, Qx = { + table: Lf, + seeMore: n1, + column: r1 +}, Jx = { selfConnecting: o1 }, ew = ({ flow: e, theme: t }) => { - const [n, o] = ue(!1), { + const [n, o] = ce(""), { state: { selectCheck: r, nonSelectCheck: a, @@ -24170,28 +24245,28 @@ const Kc = () => { defaultExpansion: c, errors: d }, - rerender: h - } = ut(), f = dt(), m = he(c), b = () => { + rerender: p + } = at(), f = ft(), m = he(c), b = () => { if (e.current) { const C = e.current.getEdges(); - br(C, !0), yr(C, !1), e.current.setEdges(C); + Er(C, !0), Sr(C, !1), e.current.setEdges(C); } }, y = Me( async (C) => { - if (f(an("")), !C) return; - f(b9(C.aiEnabled)); - const { node: S } = C, E = e.current; - if (!E || !S) return; - if (E.getNode(S.table)) { - f(Kn(S.table)); - let L = E.getNodes(), j = E.getEdges(); - u != null && u.name || ([L, j] = vr(L, j, S.table), E.setNodes(L), E.setEdges(j)), f( - sr(xr(L, j, S.table)) + if (f(Gt("")), !C) return; + f(N9(C.aiEnabled)); + const { node: S } = C, w = e.current; + if (!w || !S) return; + if (w.getNode(S.table)) { + f(Jn(S.table)); + let L = w.getNodes(), R = w.getEdges(); + u != null && u.name || ([L, R] = _r(L, R, S.table), w.setNodes(L), w.setEdges(R)), f( + pr(Ar(L, R, S.table)) ), f( - So( + ko( await Do( L, - j, + R, S.table, l, s @@ -24200,28 +24275,28 @@ const Kc = () => { ); return; } - let O = [], _ = []; - O = [To(S, 0, "")], [O, _] = await Pa( - O, + let M = [], _ = []; + M = [Oo(S, 0, "")], [M, _] = await Ua( + M, _, S.table, -m.current, m.current - ), f(Kn(S.table)), f(Bn({ table: "", name: "" })), f(lr({})), f(fc({})), [O, _] = vr(O, _, S.table), fn(O, _), E.setNodes(O), E.setEdges(_), E.fitView({ minZoom: Ts, duration: 500 }), f(sr(xr(O, _, S.table))), f( - So( + ), f(Jn(S.table)), f(Wn({ table: "", name: "" })), f(hr({})), f(Cc({})), [M, _] = _r(M, _, S.table), hn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), f(pr(Ar(M, _, S.table))), f( + ko( await Do( - O, + M, _, S.table, l, s ) ) - ), h(); + ), p(); }, - [h, l, s, u == null ? void 0 : u.name] + [p, l, s, u == null ? void 0 : u.name] ); - ce(() => { + ue(() => { document.addEventListener("cll_cancelled", b); const C = (S) => { console.log("renderStartNode", S.detail), y(S.detail); @@ -24231,50 +24306,50 @@ const Kc = () => { }; }, []); const g = Me(async () => { - const C = await Qv(); - f(Fd(C.showSelectEdges)), f(Rd(C.showNonSelectEdges)), f(jd(C.defaultExpansion)), m.current = C.defaultExpansion; + const C = await fx(); + f(qd(C.showSelectEdges)), f(Yd(C.showNonSelectEdges)), f(Gd(C.defaultExpansion)), m.current = C.defaultExpansion; }, [f]); - ce(() => { + ue(() => { g(); - }, [g]), ce(() => { + }, [g]), ue(() => { const C = e.current; if (!C) return; (async () => { - var O; - const E = u; - if (!E) return; + var M; + const w = u; + if (!w) return; if (a) { - const _ = (L) => Zc( + const _ = (L) => t1( C.getNodes(), C.getEdges(), L, - E ? [E] : [], - (j) => { + w ? [w] : [], + (R) => { f( - gc({ operatorList: j }) + wc({ operatorList: R }) ); }, - (j) => { - f(hc(j)); + (R) => { + f(vc(R)); }, - (j) => { - f(pc(j)); + (R) => { + f(xc(R)); }, () => [C.getNodes(), C.getEdges()], - (j, F) => { - C.setNodes(j), C.setEdges(F); + (R, F) => { + C.setNodes(R), C.setEdges(F); }, - E || { table: "", name: "" }, + w || { table: "", name: "" }, { direct: r, indirect: a }, - (j) => f(mc(j(d))) + (R) => f(Ec(R(d))) ); try { Xe.start(), await Promise.all([_(!0), _(!1)]); } catch (L) { console.error( "Error while performing cll for ", - E == null ? void 0 : E.table, - E == null ? void 0 : E.name, + w == null ? void 0 : w.table, + w == null ? void 0 : w.name, ", error:", L ); @@ -24282,61 +24357,61 @@ const Kc = () => { Xe.end(); } } - const w = C.getEdges(); + const E = C.getEdges(); if (r && a || !r && !a) { - for (const _ of w) _.hidden = !1; - C.setEdges(w); + for (const _ of E) _.hidden = !1; + C.setEdges(E); return; } - for (const _ of w) { + for (const _ of E) { _.hidden = !1; - const L = (O = _.data) == null ? void 0 : O.type; + const L = (M = _.data) == null ? void 0 : M.type; L && (L === "direct" && (_.hidden = !r), L === "indirect" && (_.hidden = !a)); } - C.setEdges(w); + C.setEdges(E); })(); }, [r, a]); const x = (C) => { - e.current = C, yf(); + e.current = C, Mf(); }; - return /* @__PURE__ */ p.jsx( + return /* @__PURE__ */ h.jsx( "div", { className: "lineage_flow_component", style: { width: "100%", height: "100%" }, "data-theme": t, - children: /* @__PURE__ */ p.jsx(Of.Provider, { value: { isOpen: n, setIsOpen: o }, children: /* @__PURE__ */ p.jsxs(Ar, { children: [ - /* @__PURE__ */ p.jsxs( - ri, + children: /* @__PURE__ */ h.jsx(Bf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ h.jsxs(Lr, { children: [ + /* @__PURE__ */ h.jsxs( + si, { defaultNodes: [], defaultEdges: [], onInit: (C) => x(C), - nodeTypes: Px, - edgeTypes: Bx, + nodeTypes: Qx, + edgeTypes: Jx, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, - minZoom: Ts, + minZoom: Fs, children: [ - /* @__PURE__ */ p.jsx(Rc, {}), - /* @__PURE__ */ p.jsx(Fc, {}) + /* @__PURE__ */ h.jsx(Vc, {}), + /* @__PURE__ */ h.jsx(Bc, {}) ] } ), - /* @__PURE__ */ p.jsx(Zv, {}), - /* @__PURE__ */ p.jsxs( - _f, + /* @__PURE__ */ h.jsx(ax, {}), + /* @__PURE__ */ h.jsxs( + a1, { isOpen: i !== "", - closeModal: () => f(an("")), + closeModal: () => f(Gt("")), width: "30vw", children: [ - i === rf && /* @__PURE__ */ p.jsx(yx, {}), - i === nf && /* @__PURE__ */ p.jsx(Ax, {}), - i === of && /* @__PURE__ */ p.jsx(Ox, {}), - i === py && /* @__PURE__ */ p.jsx(Dx, { close: () => an("") }), - i === af && /* @__PURE__ */ p.jsx( - Nx, + i === Zc && /* @__PURE__ */ h.jsx(jf, {}), + i === $c && /* @__PURE__ */ h.jsx(Hf, {}), + i === Wc && /* @__PURE__ */ h.jsx(Pf, {}), + i === My && /* @__PURE__ */ h.jsx($x, { close: () => Gt("") }), + i === mf && /* @__PURE__ */ h.jsx( + Wx, { applyDefault: (C) => m.current = C } @@ -24344,20 +24419,21 @@ const Kc = () => { ] } ), - /* @__PURE__ */ p.jsx(Rx, {}), - /* @__PURE__ */ p.jsx(jx, {}), - e.current ? /* @__PURE__ */ p.jsx(Ix, { flow: e.current }) : null, - /* @__PURE__ */ p.jsx(Kc, {}) + e.current ? /* @__PURE__ */ h.jsx(Xx, { flow: e.current }) : null, + /* @__PURE__ */ h.jsx(Ux, {}), + /* @__PURE__ */ h.jsx(qx, {}), + e.current ? /* @__PURE__ */ h.jsx(Yx, { flow: e.current }) : null, + /* @__PURE__ */ h.jsx(l1, {}) ] }) }) } ); -}, $x = { - table: Sf, - seeMore: Uc, - column: Yc -}, Wx = { - selfConnecting: qc -}, Zx = ({ +}, tw = { + table: Lf, + seeMore: n1, + column: r1 +}, nw = { + selfConnecting: o1 +}, ow = ({ flow: e, selectedColumn: t, collectColumns: n, @@ -24365,90 +24441,107 @@ const Kc = () => { tableEdges: r, details: a }) => { - const i = dt(); - return ce(() => { - i(lr(n)), setTimeout(async () => { - var m, b; - const l = (y) => ({ - table: y, - label: a[y].name, + const { + state: { sidebarScreen: i } + } = at(), l = ft(); + return ue(() => { + l(hr(n)), setTimeout(async () => { + var b, y; + const s = (g) => ({ + table: g, + label: a[g].name, upstreamCount: 0, downstreamCount: 0, - nodeType: a[y].type || "cte", + nodeType: a[g].type || "cte", isExternalProject: !1, tests: [] - }), { sources: s } = hf(r); - let u = [], c = []; - const d = [...s], h = {}, f = (y, g) => { - var S, E; - const x = y ? r.filter(([w]) => w === g).map(([, w]) => w) : r.filter(([, w]) => w === g).map(([w]) => w), C = ((E = (S = u.find((w) => w.id === g)) == null ? void 0 : S.data) == null ? void 0 : E.level) || 0; - return si( - u, + }), { sources: u } = Ef(r); + let c = [], d = []; + const p = [...u], f = {}, m = (g, x) => { + var w, E; + const C = g ? r.filter(([M]) => M === x).map(([, M]) => M) : r.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = c.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; + return hi( c, - x.map(l), + d, + C.map(s), + x, g, - y, - C, + S, 1e4, !1, a - ), x; + ), C; }; - for (; d.length > 0; ) { - const y = d.pop(); - h[y] || (h[y] = !0, d.push( - ...f(!0, y), - ...f(!1, y) + for (; p.length > 0; ) { + const g = p.pop(); + f[g] || (f[g] = !0, p.push( + ...m(!0, g), + ...m(!1, g) )); } if (t) { - const y = `${t.table}/${t.name}`, { nodes: g, edges: x } = await sx( - u, + const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await Ex( c, - y, + d, + g, async () => ({ collect_columns: n, highlight_edges: o }) ); - u = g, c = x; + c = x, d = C; } - fn(u, c, !1), (m = e.current) == null || m.setNodes(u), (b = e.current) == null || b.setEdges(c); + hn(c, d, !1), (b = e.current) == null || b.setNodes(c), (y = e.current) == null || y.setEdges(d); }, 500); - }, [n, o, a, e, t, r]), ce(() => { - const l = setTimeout(() => { - var s; - (s = e.current) == null || s.fitView({ duration: 500 }); + }, [n, o, a, e, t, r]), ue(() => { + const s = setTimeout(() => { + var u; + (u = e.current) == null || u.fitView({ duration: 500 }); }, 1e3); - return () => clearInterval(l); - }, []), /* @__PURE__ */ p.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ p.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p.jsx(Ar, { children: /* @__PURE__ */ p.jsxs( - ri, - { - defaultNodes: [], - defaultEdges: [], - onInit: (l) => e.current = l, - nodeTypes: $x, - edgeTypes: Wx, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, - children: [ - /* @__PURE__ */ p.jsx(Rc, {}), - /* @__PURE__ */ p.jsx(Fc, {}) - ] - } - ) }) }), - /* @__PURE__ */ p.jsx(Kc, {}) + return () => clearInterval(s); + }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ + /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsxs(Lr, { children: [ + /* @__PURE__ */ h.jsxs( + si, + { + defaultNodes: [], + defaultEdges: [], + onInit: (s) => e.current = s, + nodeTypes: tw, + edgeTypes: nw, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ h.jsx(Vc, {}), + /* @__PURE__ */ h.jsx(Bc, {}) + ] + } + ), + /* @__PURE__ */ h.jsxs( + a1, + { + isOpen: i !== "", + closeModal: () => l(Gt("")), + width: "30vw", + children: [ + i === Zc && /* @__PURE__ */ h.jsx(jf, {}), + i === $c && /* @__PURE__ */ h.jsx(Hf, {}), + i === Wc && /* @__PURE__ */ h.jsx(Pf, {}) + ] + } + ) + ] }) }), + /* @__PURE__ */ h.jsx(l1, {}) ] }); -}, Ux = { - table: px, - seeMore: Uc, - column: Yc, - operator: gx -}, qx = { - selfConnecting: qc -}, Yx = ({ +}, rw = { + table: Tx, + seeMore: n1, + column: r1, + operator: Ox +}, aw = { + selfConnecting: o1 +}, iw = ({ flow: e, tableEdges: t, details: n, @@ -24456,10 +24549,10 @@ const Kc = () => { }) => { const { state: { selectedTable: r } - } = ut(), a = dt(); - return ce(() => { - a(C9({ details: n, tableEdges: t })); - }, [n]), ce(() => { + } = at(), a = ft(); + return ue(() => { + a(L9({ details: n, tableEdges: t })); + }, [n]), ue(() => { setTimeout(async () => { var f, m, b, y; const i = (g) => ({ @@ -24472,8 +24565,8 @@ const Kc = () => { tests: [] }); if (o) { - const g = Object.keys(o).map((C) => n[C].type in Cr ? To(i(C), 0, "") : ff(C, 0, "", n[C])), x = t.map( - ([C, S]) => Pc( + const g = Object.keys(o).map((C) => n[C].type in kr ? Oo(i(C), 0, "") : wf(C, 0, "", n[C])), x = t.map( + ([C, S]) => Kc( o[C][1], o[S][1], C, @@ -24484,20 +24577,20 @@ const Kc = () => { ); for (const C of g) { if (!o[C.id]) continue; - const [S, E] = o[C.id]; - C.position = { x: S, y: E }; + const [S, w] = o[C.id]; + C.position = { x: S, y: w }; } (f = e.current) == null || f.setNodes(g), (m = e.current) == null || m.setEdges(x); return; } - const { sinks: l } = hf(t); + const { sinks: l } = Ef(t); let s = l.map( - (g) => To(i(g), 0, "") + (g) => Oo(i(g), 0, "") ), u = []; - const c = [...l], d = {}, h = (g, x) => { - var E, w; - const C = g ? t.filter(([O]) => O === x).map(([, O]) => O) : t.filter(([, O]) => O === x).map(([O]) => O), S = ((w = (E = s.find((O) => O.id === x)) == null ? void 0 : E.data) == null ? void 0 : w.level) || 0; - return si( + const c = [...l], d = {}, p = (g, x) => { + var w, E; + const C = g ? t.filter(([M]) => M === x).map(([, M]) => M) : t.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = s.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; + return hi( s, u, C.map(i), @@ -24511,30 +24604,30 @@ const Kc = () => { }; for (; c.length > 0; ) { const g = c.pop(); - d[g] || (d[g] = !0, c.push(...h(!1, g))); + d[g] || (d[g] = !0, c.push(...p(!1, g))); } - fn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); + hn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); }, 500); - }, [n, e, t, o]), ce(() => { + }, [n, e, t, o]), ue(() => { const i = setTimeout(() => { var l; (l = e.current) == null || l.fitView({ duration: 500 }); }, 1e3); return () => clearInterval(i); - }, []), ce(() => { + }, []), ue(() => { const i = (d) => { - a(v9(d.detail)); + a(F9(d.detail)); }, l = (d) => { - a(x9(d.detail)); + a(j9(d.detail)); }, s = () => { setTimeout(() => { var d; (d = e.current) == null || d.fitView({ duration: 500 }); }, 500); }, u = (d) => { - a(w9(d.detail)); + a(R9(d.detail)); }, c = (d) => { - a(E9(d.detail)); + a(I9(d.detail)); }; return document.addEventListener("onHighlightedNodes", i), document.addEventListener("onSelectedNodes", l), document.addEventListener( "onNodesSavingsPerformance", @@ -24545,40 +24638,40 @@ const Kc = () => { u ), document.removeEventListener("onNodesCost", c), document.removeEventListener("fitView", s); }; - }, []), /* @__PURE__ */ p.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ p.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p.jsx(Ar, { children: /* @__PURE__ */ p.jsxs( - ri, + }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ + /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsx(Lr, { children: /* @__PURE__ */ h.jsxs( + si, { defaultNodes: [], defaultEdges: [], onInit: (i) => e.current = i, - nodeTypes: Ux, - edgeTypes: qx, + nodeTypes: rw, + edgeTypes: aw, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: 0.05, children: [ - /* @__PURE__ */ p.jsx(Rc, {}), - /* @__PURE__ */ p.jsx(Fc, {}) + /* @__PURE__ */ h.jsx(Vc, {}), + /* @__PURE__ */ h.jsx(Bc, {}) ] } ) }) }), - /* @__PURE__ */ p.jsx(Kc, {}), - /* @__PURE__ */ p.jsx( - _f, + /* @__PURE__ */ h.jsx(l1, {}), + /* @__PURE__ */ h.jsx( + a1, { isOpen: !!r, - closeModal: () => a(Kn("")), + closeModal: () => a(Jn("")), width: "30vw", - children: !!r && /* @__PURE__ */ p.jsx(Mx, {}) + children: !!r && /* @__PURE__ */ h.jsx(Bx, {}) } ) ] }); -}, eo = zt({ - state: _a.getInitialState(), +}, no = Ht({ + state: Da.getInitialState(), dispatch: () => null, rerender: () => null -}), Gx = ({ +}), lw = ({ theme: e = "dark", lineageType: t, sqlLineage: n, @@ -24587,18 +24680,18 @@ const Kc = () => { allowSyncColumnsWithDB: a, externalSidePanel: i = !1 }) => { - const [l, s] = Ys(_a.reducer, { - ..._a.getInitialState(), + const [l, s] = ec(Da.reducer, { + ...Da.getInitialState(), theme: e, lineageType: t, sqlLineage: n, allowSyncColumnsWithDB: a, externalSidePanel: i - }), u = he(), [, c] = ue(0), d = Me(() => c((f) => (f + 1) % 100), []); - ce(() => { - s(y9(e)); + }), u = he(), [, c] = ce(0), d = Me(() => c((f) => (f + 1) % 100), []); + ue(() => { + s(D9(e)); }, [e]); - const h = He( + const p = Be( () => ({ state: l, dispatch: s, @@ -24606,9 +24699,9 @@ const Kc = () => { }), [l, s, d] ); - return /* @__PURE__ */ p.jsx(eo.Provider, { value: h, children: /* @__PURE__ */ p.jsxs("div", { className: "lineage-component", children: [ - t === "sql" && n && /* @__PURE__ */ p.jsx( - Yx, + return /* @__PURE__ */ h.jsx(no.Provider, { value: p, children: /* @__PURE__ */ h.jsxs("div", { className: "lineage-component", children: [ + t === "sql" && n && /* @__PURE__ */ h.jsx( + iw, { flow: u, details: n.details, @@ -24616,67 +24709,67 @@ const Kc = () => { nodePositions: n.nodePositions } ), - t === "dynamic" && o && /* @__PURE__ */ p.jsx(Vx, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ p.jsx(Zx, { flow: u, ...r }), - /* @__PURE__ */ p.jsx("div", { id: "lineage-sidebar" }) + t === "dynamic" && o && /* @__PURE__ */ h.jsx(ew, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ h.jsx(ow, { flow: u, ...r }), + /* @__PURE__ */ h.jsx("div", { id: "lineage-sidebar" }) ] }) }); -}, ut = () => Je(eo), dt = () => { - const { dispatch: e } = Je(eo); +}, at = () => Je(no), ft = () => { + const { dispatch: e } = Je(no); return e; -}, nA = (e) => /* @__PURE__ */ p.jsx(Gx, { ...e }), Df = { +}, gA = (e) => /* @__PURE__ */ h.jsx(lw, { ...e }), $f = { showCoachingForm: !1 -}, Rs = nc({ +}, Ps = cc({ name: "teamMate", - initialState: Df, + initialState: $f, reducers: { setShowCoachingForm: (e, t) => { e.showCoachingForm = t.payload; } } -}), Kx = Rs.actions, Nf = zt({ - state: Df, +}), sw = Ps.actions, Wf = Ht({ + state: $f, dispatch: () => null -}), oA = ({ +}), mA = ({ children: e }) => { - const [t, n] = Ys( - Rs.reducer, - Rs.getInitialState() - ), o = He( + const [t, n] = ec( + Ps.reducer, + Ps.getInitialState() + ), o = Be( () => ({ state: t, dispatch: n }), [t, n] ); - return /* @__PURE__ */ p.jsx(Nf.Provider, { value: o, children: e }); -}, Xx = ({ + return /* @__PURE__ */ h.jsx(Wf.Provider, { value: o, children: e }); +}, cw = ({ errors: e, isSubmitting: t, taskLabel: n, onSuccess: o, onCancel: r }) => { - const { setFieldError: a, values: i, setSubmitting: l } = $5(), s = async () => await Pe.post("coach/training", { + const { setFieldError: a, values: i, setSubmitting: l } = J0(), s = async () => await ze.post("coach/training", { ...i, taskLabel: n - }), { mutate: u, error: c } = Wa({ + }), { mutate: u, error: c } = Ro({ // @ts-ignore queryFn: s, onSuccess: (d) => { o(d), l(!1); } }); - return ce(() => { + return ue(() => { c != null && c.message && (a("content", c.message), l(!1)); - }, [c, a]), /* @__PURE__ */ p.jsxs(W5, { children: [ - /* @__PURE__ */ p.jsx( - Z5, + }, [c, a]), /* @__PURE__ */ h.jsxs(ed, { children: [ + /* @__PURE__ */ h.jsx( + ns, { name: "content", - render: ({ field: d }) => /* @__PURE__ */ p.jsxs(Ql, { children: [ - /* @__PURE__ */ p.jsx( - Ln, + render: ({ field: d }) => /* @__PURE__ */ h.jsxs(lr, { children: [ + /* @__PURE__ */ h.jsx( + Cn, { type: "textarea", ...d, @@ -24684,14 +24777,14 @@ const Kc = () => { invalid: !!e.content } ), - e.content ? /* @__PURE__ */ p.jsx(z0, { children: e.content }) : null + e.content ? /* @__PURE__ */ h.jsx(Qs, { children: e.content }) : null ] }) } ), - /* @__PURE__ */ p.jsxs(ct, { className: "justify-content-end", children: [ - /* @__PURE__ */ p.jsx($e, { onClick: r, children: "Cancel" }), - /* @__PURE__ */ p.jsx( - $a, + /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-end", children: [ + /* @__PURE__ */ h.jsx(Re, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ h.jsx( + jo, { color: "primary", loading: t, @@ -24702,16 +24795,21 @@ const Kc = () => { ) ] }) ] }); -}, Qx = (e, t) => (n) => { +}, Zf = (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 }); }, {}); -}, Jx = pt.object({ - content: pt.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" }) -}), rA = ({ taskLabel: e, context: t, onClose: n, extra: o = {} }) => { - const [r, a] = ue(), [i, l] = ue(!1), s = (y) => { +}, uw = tt.object({ + content: tt.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" }) +}), dw = ({ + taskLabel: e, + context: t, + onClose: n, + extra: o = {} +}) => { + const [r, a] = ce(), [i, l] = ce(!1), s = (y) => { a(y); }, u = () => { l(!0); @@ -24719,7 +24817,7 @@ const Kc = () => { l(!1); }, d = async () => { if (r) - return c(), await Pe.post( + return c(), await ze.post( "coach/training/confirm", { content: r.ai_response, @@ -24731,21 +24829,21 @@ const Kc = () => { } ); }, { - mutate: h, + mutate: p, error: f, loading: m, data: b - } = Wa({ + } = Ro({ // @ts-ignore queryFn: d, onSuccess: () => { l(!1); } }); - return b != null && b.frontend_url ? /* @__PURE__ */ p.jsxs(Us, { children: [ + return b != null && b.frontend_url ? /* @__PURE__ */ h.jsxs(Mr, { children: [ "Thank you for coaching Datapilot. Click the link to", " ", - /* @__PURE__ */ p.jsx( + /* @__PURE__ */ h.jsx( "a", { className: "alert-link", @@ -24753,17 +24851,17 @@ const Kc = () => { children: "View learnings" } ) - ] }) : /* @__PURE__ */ p.jsxs(ct, { direction: "column", children: [ - /* @__PURE__ */ p.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language including your terminology, rules or conventions to generate better documentation" }), - /* @__PURE__ */ p.jsx( - U5, + ] }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", children: [ + /* @__PURE__ */ h.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__ */ h.jsx( + td, { initialValues: { content: "" }, onSubmit: () => { }, - validate: Qx(Jx), - children: (y) => /* @__PURE__ */ p.jsx( - Xx, + validate: Zf(uw), + children: (y) => /* @__PURE__ */ h.jsx( + cw, { ...y, taskLabel: e, @@ -24773,11 +24871,11 @@ const Kc = () => { ) } ), - r && /* @__PURE__ */ p.jsxs(sn, { className: "mt-4", children: [ - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), - /* @__PURE__ */ p.jsx("div", { children: i ? /* @__PURE__ */ p.jsx( - Ln, + r && /* @__PURE__ */ h.jsxs(zt, { className: "mt-4", children: [ + /* @__PURE__ */ h.jsxs(un, { children: [ + /* @__PURE__ */ h.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), + /* @__PURE__ */ h.jsx("div", { children: i ? /* @__PURE__ */ h.jsx( + Cn, { type: "textarea", value: r.ai_response, @@ -24790,45 +24888,260 @@ const Kc = () => { style: { fieldSizing: "content" } } ) : r.ai_response }), - f && /* @__PURE__ */ p.jsx("div", { className: "text-danger", children: f.message }) + f && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: f.message }) ] }), - /* @__PURE__ */ p.jsxs(M5, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - i ? /* @__PURE__ */ p.jsx($e, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ p.jsx($e, { variant: "secondary", onClick: u, children: "Edit" }), - /* @__PURE__ */ p.jsx($a, { loading: m, onClick: h, color: "primary", children: "Save" }) + /* @__PURE__ */ h.jsxs(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ + i ? /* @__PURE__ */ h.jsx(Re, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ h.jsx(Re, { variant: "secondary", onClick: u, children: "Edit" }), + /* @__PURE__ */ h.jsx(jo, { loading: m, onClick: p, color: "primary", children: "Save" }) ] }) ] }) ] }); -}, ew = () => { - const e = Je(Nf); +}, fw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_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", pw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_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", t0 = "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", gw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { + maskType: "alpha" +}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ O.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ O.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ O.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ O.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ O.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ O.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ O.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ O.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ O.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ O.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))); +var Lo = /* @__PURE__ */ ((e) => (e.Modelling = "Modelling", e.Governance = "governance", e.Performance = "Performance", e.Test = "Test", e.Structure = "structure", e.Checks = "Checks", e))(Lo || {}), Uf = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(Uf || {}), s1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(s1 || {}), Bn = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(Bn || {}), c1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(c1 || {}); +const mw = tt.object({ + train_doc_uid: tt.string(), + userId: tt.string(), + display_name: tt.string(), + taskLabel: tt.string(), + category: tt.enum(Object.values(s1)), + personalizationScope: tt.enum(Object.values(c1)).default( + "UserSpecific" + /* USER_SPECIFIC */ + ), + createdDate: tt.string(), + updatedDate: tt.string(), + content: tt.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: tt.record(tt.unknown()).optional(), + isActive: tt.boolean().default(!0) +}); +var Vn = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(Vn || {}), wa = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(wa || {}); +const bw = ({ + errors: e, + isSubmitting: t, + onSuccess: n, + onCancel: o +}) => { + const { setFieldError: r, setSubmitting: a } = J0(), i = async () => ({ + ai_response: "response from AI", + category: "Business", + personalizationScope: Bn.ProjectGovernor, + type: Lo.Modelling + }), { mutate: l, error: s } = Ro({ + // @ts-ignore + queryFn: i, + onSuccess: (u) => { + n(u), a(!1); + } + }); + return ue(() => { + s != null && s.message && (r("content", s.message), a(!1)); + }, [s, r]), /* @__PURE__ */ h.jsxs(ed, { children: [ + /* @__PURE__ */ h.jsx( + ns, + { + name: "content", + render: ({ field: u }) => /* @__PURE__ */ h.jsxs(lr, { children: [ + /* @__PURE__ */ h.jsx( + Cn, + { + type: "textarea", + ...u, + placeholder: "Describe the check in natural language", + invalid: !!e.content + } + ), + e.content ? /* @__PURE__ */ h.jsx(Qs, { children: e.content }) : null + ] }) + } + ), + /* @__PURE__ */ h.jsx( + ns, + { + name: "type", + render: ({ field: u }) => /* @__PURE__ */ h.jsxs(lr, { children: [ + /* @__PURE__ */ h.jsx(ha, { children: "Type:" }), + /* @__PURE__ */ h.jsx( + os, + { + style: { width: 120 }, + onChange: (c) => u.onChange({ target: { value: c, name: u.name } }), + options: Object.entries(Lo).map(([, c]) => ({ + value: c, + label: c + })) + } + ) + ] }) + } + ), + /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-end", children: [ + /* @__PURE__ */ h.jsx(Re, { onClick: o, children: "Cancel" }), + /* @__PURE__ */ h.jsx( + jo, + { + color: "primary", + loading: t, + type: "submit", + onClick: l, + children: "Submit" + } + ) + ] }) + ] }); +}, yw = tt.object({ + content: tt.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" }), + type: tt.enum( + Object.values(Lo) + ) +}), qf = ({ onClose: e }) => { + const [t, n] = ce(), o = (s) => { + n(s); + }, { + mutate: r, + error: a, + loading: i, + data: l + } = Ro({ + // @ts-ignore + queryFn: () => ({ ok: !0 }), + // @ts-ignore + // ApiHelper.post( + // `projectgovernor/training/confirm`, + // {} + // ), + onSuccess: () => { + } + }); + return l ? /* @__PURE__ */ h.jsxs(Mr, { children: [ + "Project governance check saved successfully", + " ", + /* @__PURE__ */ h.jsx(Re, { onClick: e, children: "View" }) + ] }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", children: [ + /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }), + /* @__PURE__ */ h.jsx( + td, + { + initialValues: { + content: "", + type: Lo.Modelling + }, + onSubmit: () => { + }, + validate: Zf(yw), + children: (s) => /* @__PURE__ */ h.jsx(bw, { ...s, onSuccess: o, onCancel: e }) + } + ), + t ? /* @__PURE__ */ h.jsxs(zt, { className: "mt-4", children: [ + /* @__PURE__ */ h.jsxs(un, { children: [ + /* @__PURE__ */ h.jsx("p", { children: "Please validate the following check: " }), + /* @__PURE__ */ h.jsx("p", { children: t.ai_response }), + /* @__PURE__ */ h.jsxs("p", { children: [ + "Type: ", + t.type + ] }), + a && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: a.message }) + ] }), + /* @__PURE__ */ h.jsx(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ h.jsx(jo, { loading: i, onClick: r, color: "primary", children: "Save" }) }) + ] }) : null + ] }); +}, Cw = ({}) => { + const [e, t] = ce(!1), { + data: n, + error: o, + loading: r + } = tc({ + // @ts-expect-error valid + queryFn: () => [{ + name: "Check 1", + alias: "check_1", + type: Lo.Modelling, + description: "Description of check 1", + files_required: [Uf.Manifest] + }] + }), a = () => { + t((i) => !i); + }; + return r ? /* @__PURE__ */ h.jsx(Xs, {}) : o ? /* @__PURE__ */ h.jsxs(Mr, { color: "danger", children: [ + "Error loading checks: ", + o.message + ] }) : (console.log(n), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx(Re, { onClick: a, children: "Add new check" }), + /* @__PURE__ */ h.jsx("div", { className: "mt-2", children: n != null && n.length ? n.map((i) => /* @__PURE__ */ h.jsxs(zt, { children: [ + /* @__PURE__ */ h.jsx(Fo, { children: i.name }), + /* @__PURE__ */ h.jsxs(un, { children: [ + /* @__PURE__ */ h.jsx("p", { children: i.description }), + /* @__PURE__ */ h.jsxs("p", { children: [ + "Files required: ", + i.files_required.join(", ") + ] }) + ] }) + ] })) : /* @__PURE__ */ h.jsx("div", { children: "No checks added yet!" }) }) + ] }), + e && /* @__PURE__ */ h.jsxs(W5, { isOpen: !0, direction: "end", children: [ + /* @__PURE__ */ h.jsx(Z5, { toggle: a, children: "Add new check" }), + /* @__PURE__ */ h.jsx(U5, { children: /* @__PURE__ */ h.jsx(qf, { onClose: a }) }) + ] }) + ] })); +}, Yf = [ + { + name: "Documentation Writer", + avatar: fw, + description: "AI teammate to write your dbt model, table and column descriptions for you", + availability: [Vn.EXTENSION], + key: Bn.DocGen + }, + { + name: "Chart Analyzer", + avatar: hw, + description: "AI teammate to analyze charts, find insights and answer your specific questions", + availability: [Vn.SAAS], + key: Bn.ChartBot, + seeInAction: !1 + }, + { + name: "SQL Guru", + avatar: pw, + description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", + availability: [Vn.SAAS], + key: Bn.SqlBot + }, + { + name: "Project Governor", + avatar: t0, + description: "AI teammate to help you create checks or rules for project governance", + availability: [Vn.SAAS], + key: Bn.ProjectGovernor, + displayComponent: Cw, + formComponent: qf + }, + { + name: "Opportunities Expert", + avatar: t0, + description: "AI teammate to analyze your spends, costs and find opportunities to save money", + availability: [Vn.SAAS], + key: Bn.OpportunitiesBot, + comingSoon: !0 + } +], bA = (e) => { + const t = Yf.find((n) => n.key === e.taskLabel); + return t != null && t.formComponent ? /* @__PURE__ */ h.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ h.jsx(dw, { ...e }); +}, vw = () => { + const e = Je(Wf); if (e === void 0) throw new Error( "useTeamMateContext must be used within a TeamMateProvider" ); return e; -}, aA = ({}) => { - const { dispatch: e } = ew(), t = () => { - e(Kx.setShowCoachingForm(!0)); +}, yA = ({}) => { + const { dispatch: e } = vw(), t = () => { + e(sw.setShowCoachingForm(!0)); }; - return /* @__PURE__ */ p.jsx(Wn, { onClick: t, children: "Show Coaching Form" }); + return /* @__PURE__ */ h.jsx(qn, { onClick: t, children: "Show Coaching Form" }); }; -var Xc = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(Xc || {}), Xo = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e))(Xo || {}), Qc = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(Qc || {}); -const tw = pt.object({ - train_doc_uid: pt.string(), - userId: pt.string(), - display_name: pt.string(), - taskLabel: pt.string(), - category: pt.enum(Object.values(Xc)), - personalizationScope: pt.enum(Object.values(Qc)).default( - "UserSpecific" - /* USER_SPECIFIC */ - ), - createdDate: pt.string(), - updatedDate: pt.string(), - content: pt.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: pt.record(pt.unknown()).optional(), - isActive: pt.boolean().default(!0) -}); -var uo = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(uo || {}), ma = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(ma || {}), Un = {}, nw = qn && qn.__extends || /* @__PURE__ */ function() { +var Gn = {}, xw = Kn && Kn.__extends || /* @__PURE__ */ function() { var e = function(t, n) { return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) { o.__proto__ = r; @@ -24845,7 +25158,7 @@ var uo = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "Sa } t.prototype = n === null ? Object.create(n) : (o.prototype = n.prototype, new o()); }; -}(), Lf = qn && qn.__awaiter || function(e, t, n, o) { +}(), Gf = Kn && Kn.__awaiter || function(e, t, n, o) { function r(a) { return a instanceof n ? a : new n(function(i) { i(a); @@ -24871,7 +25184,7 @@ var uo = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "Sa } u((o = o.apply(e, t || [])).next()); }); -}, Ff = qn && qn.__generator || function(e, t) { +}, Kf = Kn && Kn.__generator || function(e, t) { var n = { label: 0, sent: function() { if (a[0] & 1) throw a[1]; return a[1]; @@ -24931,12 +25244,12 @@ var uo = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "Sa return { value: u[0] ? u[1] : void 0, done: !0 }; } }; -Object.defineProperty(Un, "__esModule", { value: !0 }); -Un.toFormikValidate = jf = Un.toFormikValidationSchema = Un.ValidationError = void 0; -var Rf = ( +Object.defineProperty(Gn, "__esModule", { value: !0 }); +Gn.toFormikValidate = Qf = Gn.toFormikValidationSchema = Gn.ValidationError = void 0; +var Xf = ( /** @class */ function(e) { - nw(t, e); + xw(t, e); function t(n) { var o = e.call(this, n) || this; return o.name = "ValidationError", o.inner = [], o; @@ -24944,9 +25257,9 @@ var Rf = ( return t; }(Error) ); -Un.ValidationError = Rf; -function ow(e) { - var t = new Rf(e.message); +Gn.ValidationError = Xf; +function ww(e) { + var t = new Xf(e.message); return t.inner = e.errors.map(function(n) { return { message: n.message, @@ -24954,19 +25267,19 @@ function ow(e) { }; }), t; } -function rw(e, t) { +function Ew(e, t) { return { validate: function(n) { - return Lf(this, void 0, void 0, function() { + return Gf(this, void 0, void 0, function() { var o; - return Ff(this, function(r) { + return Kf(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(), ow(o); + throw o = r.sent(), ww(o); case 3: return [ 2 @@ -24978,20 +25291,20 @@ function rw(e, t) { } }; } -var jf = Un.toFormikValidationSchema = rw; -function aw(e) { +var Qf = Gn.toFormikValidationSchema = Ew; +function Sw(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; t[r.path.filter(Boolean).join(".")] = r.message; } return t; } -function iw(e, t) { +function kw(e, t) { var n = this; return function(o) { - return Lf(n, void 0, void 0, function() { + return Gf(n, void 0, void 0, function() { var r; - return Ff(this, function(a) { + return Kf(this, function(a) { switch (a.label) { case 0: return [4, e.safeParseAsync(o, t)]; @@ -24999,53 +25312,53 @@ function iw(e, t) { return r = a.sent(), r.success ? [ 2 /*return*/ - ] : [2, aw(r.error)]; + ] : [2, Sw(r.error)]; } }); }); }; } -Un.toFormikValidate = iw; -const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { - const [r, a] = ue(!1), { +Gn.toFormikValidate = kw; +const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { + const [r, a] = ce(!1), { errors: i, isValid: l, isSubmitting: s, handleSubmit: u, values: c, handleChange: d, - setSubmitting: h - } = q5({ + setSubmitting: p + } = l4({ initialValues: e, - validationSchema: jf(tw), - onSubmit: async (w) => { - await Pe.post(`coach/training/${e.train_doc_uid}`, w, { + validationSchema: Qf(mw), + onSubmit: async (E) => { + await ze.post(`coach/training/${e.train_doc_uid}`, E, { method: "PUT" - }), a(!1), h(!1); + }), a(!1), p(!1); } - }), f = async () => await Pe.post( + }), f = async () => await ze.post( `coach/training/${e.train_doc_uid}`, {}, { method: "DELETE" } - ), { loading: m, error: b, mutate: y } = Wa({ + ), { loading: m, error: b, mutate: y } = Ro({ // @ts-ignore queryFn: f, onSuccess: t - }), g = (w) => { - w == null || w.stopPropagation(); + }), g = (E) => { + E == null || E.stopPropagation(); }, x = () => { g(), y(); - }, C = (w) => { - g(w), a(!1); - }, S = (w) => { - g(w), n(e.train_doc_uid), a(!0); - }, E = o === e.train_doc_uid; - return /* @__PURE__ */ p.jsx(sn, { className: E ? "active" : "", children: /* @__PURE__ */ p.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ p.jsx(wr, { children: /* @__PURE__ */ p.jsxs(ct, { className: "align-items-start", children: [ - /* @__PURE__ */ p.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ p.jsx("div", { children: r ? /* @__PURE__ */ p.jsxs(Ql, { children: [ - /* @__PURE__ */ p.jsx( - Ln, + }, C = (E) => { + g(E), a(!1); + }, S = (E) => { + g(E), n(e.train_doc_uid), a(!0); + }, w = o === e.train_doc_uid; + return /* @__PURE__ */ h.jsx(zt, { className: w ? "active" : "", children: /* @__PURE__ */ h.jsxs("form", { onSubmit: u, children: [ + /* @__PURE__ */ h.jsx(Fo, { children: /* @__PURE__ */ h.jsxs(nt, { className: "align-items-start", children: [ + /* @__PURE__ */ h.jsxs("div", { style: { flex: 1 }, children: [ + /* @__PURE__ */ h.jsx("div", { children: r ? /* @__PURE__ */ h.jsxs(lr, { children: [ + /* @__PURE__ */ h.jsx( + Cn, { name: "content", value: c.content, @@ -25057,54 +25370,54 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { style: { fieldSizing: "content" } } ), - i.content ? /* @__PURE__ */ p.jsx(z0, { children: i.content }) : null - ] }) : /* @__PURE__ */ p.jsx("h6", { className: E ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ p.jsx(ct, { children: /* @__PURE__ */ p.jsxs("dl", { children: [ - /* @__PURE__ */ p.jsxs(ct, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Created on:" }), - /* @__PURE__ */ p.jsx("dd", { children: ds(e.createdDate).format( + i.content ? /* @__PURE__ */ h.jsx(Qs, { children: i.content }) : null + ] }) : /* @__PURE__ */ h.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), + /* @__PURE__ */ h.jsx(nt, { children: /* @__PURE__ */ h.jsxs("dl", { children: [ + /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsx("dt", { children: "Created on:" }), + /* @__PURE__ */ h.jsx("dd", { children: ms(e.createdDate).format( "MMMM D, YYYY h:mm A" ) }) ] }), - /* @__PURE__ */ p.jsxs(ct, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Updated on:" }), - /* @__PURE__ */ p.jsxs("dd", { children: [ - ds(e.updatedDate).format( + /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsx("dt", { children: "Updated on:" }), + /* @__PURE__ */ h.jsxs("dd", { children: [ + ms(e.updatedDate).format( "MMMM D, YYYY h:mm A" ), " " ] }) ] }), - /* @__PURE__ */ p.jsxs(ct, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Created by:" }), + /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsx("dt", { children: "Created by:" }), " ", - /* @__PURE__ */ p.jsx("dd", { children: e.display_name }) + /* @__PURE__ */ h.jsx("dd", { children: e.display_name }) ] }) ] }) }) ] }), - /* @__PURE__ */ p.jsxs(ct, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ p.jsx(Ql, { switch: !0, children: /* @__PURE__ */ p.jsx( - xn, + /* @__PURE__ */ h.jsxs(nt, { className: "align-items-top gap-0", children: [ + /* @__PURE__ */ h.jsx(lr, { switch: !0, children: /* @__PURE__ */ h.jsx( + Sn, { title: c.isActive ? "Disable this learning" : "Enable this learning", - children: /* @__PURE__ */ p.jsx( - Ln, + children: /* @__PURE__ */ h.jsx( + Cn, { type: "switch", role: "switch", id: `toggle-${e.train_doc_uid}`, checked: c.isActive, - onChange: (w) => { + onChange: (E) => { d({ - target: { name: "isActive", value: w.target.checked } + target: { name: "isActive", value: E.target.checked } }), u(); } } ) } ) }), - /* @__PURE__ */ p.jsx( - Y5, + /* @__PURE__ */ h.jsx( + s4, { title: "Delete the task", description: "Are you sure to delete this task?", @@ -25112,22 +25425,22 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { onCancel: g, okText: "Yes", cancelText: "No", - children: /* @__PURE__ */ p.jsx( - Wn, + children: /* @__PURE__ */ h.jsx( + qn, { title: "Delete this learning", className: "pt-1 pb-0", disabled: m, onClick: g, - children: /* @__PURE__ */ p.jsx(sd, {}) + children: /* @__PURE__ */ h.jsx(xd, {}) } ) } ), - r ? /* @__PURE__ */ p.jsxs(ct, { className: "align-items-baseline", children: [ - /* @__PURE__ */ p.jsx($e, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ p.jsx( - $e, + r ? /* @__PURE__ */ h.jsxs(nt, { className: "align-items-baseline", children: [ + /* @__PURE__ */ h.jsx(Re, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), + /* @__PURE__ */ h.jsx( + Re, { size: "sm", color: "primary", @@ -25136,86 +25449,84 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { children: "Save" } ) - ] }) : /* @__PURE__ */ p.jsx(Wn, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ p.jsx(i8, {}) }), - /* @__PURE__ */ p.jsx(Wn, { onClick: () => n(e.train_doc_uid), children: E ? /* @__PURE__ */ p.jsx(cd, {}) : /* @__PURE__ */ p.jsx(ud, {}) }) + ] }) : /* @__PURE__ */ h.jsx(qn, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ h.jsx(v8, {}) }), + /* @__PURE__ */ h.jsx(qn, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) }) ] }) ] }) }), - /* @__PURE__ */ p.jsxs(H0, { isOpen: E, children: [ - b && /* @__PURE__ */ p.jsx(Us, { color: "danger", children: b.message }), - /* @__PURE__ */ p.jsxs(ct, { className: "gap-4", children: [ - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Category:" }), + /* @__PURE__ */ h.jsxs(K0, { isOpen: w, children: [ + b && /* @__PURE__ */ h.jsx(Mr, { color: "danger", children: b.message }), + /* @__PURE__ */ h.jsxs(nt, { className: "gap-4", children: [ + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx("strong", { children: "Category:" }), " ", - r ? /* @__PURE__ */ p.jsx( - d1, + r ? /* @__PURE__ */ h.jsx( + os, { style: { minWidth: 160 }, - options: Object.values(Xc).map((w) => ({ - value: w, - label: w + options: Object.values(s1).map((E) => ({ + value: E, + label: E })), value: c.category, - onChange: (w) => { + onChange: (E) => { d({ - target: { name: "category", value: w } + target: { name: "category", value: E } }); } } ) : e.category ] }), - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Task Label:" }), + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx("strong", { children: "Task Label:" }), " ", e.taskLabel ] }), - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Personalization Scope:" }), + /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx("strong", { children: "Personalization Scope:" }), " ", - r ? /* @__PURE__ */ p.jsx( - d1, + r ? /* @__PURE__ */ h.jsx( + os, { style: { minWidth: 100 }, - options: Object.values(Qc).map((w) => ({ - value: w, - label: w + options: Object.values(c1).map((E) => ({ + value: E, + label: E })), value: c.personalizationScope, - onChange: (w) => { + onChange: (E) => { d({ - target: { name: "personalizationScope", value: w } + target: { name: "personalizationScope", value: E } }); } } ) : e.personalizationScope ] }), - e.metadata && Object.keys(e.metadata).map((w) => { - var O; - return /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsxs("strong", { children: [ - w, + e.metadata && Object.keys(e.metadata).map((E) => { + var M; + return /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsxs("strong", { children: [ + E, ":" ] }), " ", - /* @__PURE__ */ p.jsx(p.Fragment, { children: ((O = e.metadata) == null ? void 0 : O[w]) || "" }) - ] }, w); + /* @__PURE__ */ h.jsx(h.Fragment, { children: ((M = e.metadata) == null ? void 0 : M[E]) || "" }) + ] }, E); }) ] }) ] }) ] }) }); -}, sw = "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", cw = "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", uw = "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", dw = "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", fw = (e) => /* @__PURE__ */ T.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.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__ */ T.createElement("mask", { id: "mask0_3506_13710", style: { - maskType: "alpha" -}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ T.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__ */ T.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ T.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ T.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__ */ T.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.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__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ T.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ T.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__ */ T.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ T.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ T.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__ */ T.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ T.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ T.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ T.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ T.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))), iA = ({ filters: e, learning: t }) => { +}, CA = ({ filters: e, learning: t }) => { var u; - const [n, o] = ue(t), { error: r, data: a, loading: i, refetch: l } = W0({ - queryFn: () => Pe.get("coach/training", e) + const [n, o] = ce(t), { error: r, data: a, loading: i, refetch: l } = tc({ + queryFn: () => ze.get("coach/training", e) }), s = (c) => { o((d) => d === c ? void 0 : c); }; - return /* @__PURE__ */ p.jsx(ct, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ p.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ p.jsxs(Us, { color: "danger", children: [ + return /* @__PURE__ */ h.jsx(nt, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ h.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ h.jsxs(Mr, { color: "danger", children: [ "Error loading learnings: ", r.message - ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ p.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ p.jsx( - lw, + ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ h.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ h.jsx( + _w, { learning: c, afterDelete: l, @@ -25223,51 +25534,20 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { openId: n }, c.train_doc_uid - )) }) : /* @__PURE__ */ p.jsxs(ct, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ p.jsx(fw, {}), - /* @__PURE__ */ p.jsx("h4", { children: "No learnings added yet!" }) + )) }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", className: "align-items-center", children: [ + /* @__PURE__ */ h.jsx(gw, {}), + /* @__PURE__ */ h.jsx("h4", { children: "No learnings added yet!" }) ] }) }); -}, hw = [ - { - name: "Documentation Writer", - avatar: sw, - description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [uo.EXTENSION], - key: Xo.DocGen - }, - { - name: "Chart Analyzer", - avatar: cw, - description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [uo.SAAS], - key: Xo.ChartBot, - seeInAction: !1 - }, - { - name: "SQL Guru", - avatar: uw, - description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [uo.SAAS], - key: Xo.SqlBot - }, - { - name: "Opportunities Expert", - avatar: dw, - description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [uo.SAAS], - key: Xo.OpportunitiesBot, - comingSoon: !0 - } -], pw = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, ma.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = Wa({ +}, Aw = ({ config: e, client: t, onSelect: n }) => { + const o = async () => await n(e, wa.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = Ro({ // @ts-ignore queryFn: o }); - return /* @__PURE__ */ p.jsx(T5, { children: /* @__PURE__ */ p.jsxs(sn, { children: [ - /* @__PURE__ */ p.jsxs(ct, { className: "justify-content-between", children: [ - /* @__PURE__ */ p.jsx(O5, { alt: "Teammate image", src: e.avatar }), - /* @__PURE__ */ p.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ p.jsxs( - $0, + return /* @__PURE__ */ h.jsx(q5, { children: /* @__PURE__ */ h.jsxs(zt, { children: [ + /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-between", children: [ + /* @__PURE__ */ h.jsx(Y5, { alt: "Teammate image", src: e.avatar }), + /* @__PURE__ */ h.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ h.jsxs( + od, { color: "success", tooltip: "", @@ -25282,14 +25562,14 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { l )) }) ] }), - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx(wr, { tag: "h5", children: e.name }), - /* @__PURE__ */ p.jsx(D5, { tag: "h6" }), - /* @__PURE__ */ p.jsx(N5, { children: e.description }), - /* @__PURE__ */ p.jsxs(ct, { className: "justify-content-start align-items-center", children: [ - e.comingSoon ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - $a, + /* @__PURE__ */ h.jsxs(un, { children: [ + /* @__PURE__ */ h.jsx(Fo, { tag: "h5", children: e.name }), + /* @__PURE__ */ h.jsx(G5, { tag: "h6" }), + /* @__PURE__ */ h.jsx(K5, { children: e.description }), + /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-start align-items-center", children: [ + e.comingSoon ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx( + jo, { size: "sm", className: "cursor-pointer", @@ -25300,26 +25580,26 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { children: "Request Access" } ), - i ? /* @__PURE__ */ p.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null - ] }) : /* @__PURE__ */ p.jsx( - $e, + i ? /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null + ] }) : /* @__PURE__ */ h.jsx( + Re, { size: "sm", className: "cursor-pointer", - onClick: () => n(e, ma.VIEW_DETAILS), + onClick: () => n(e, wa.VIEW_DETAILS), tooltip: "", color: "primary", children: "View details" } ), - e.seeInAction && e.availability.includes(uo[t]) && /* @__PURE__ */ p.jsx( - $e, + e.seeInAction && e.availability.includes(Vn[t]) && /* @__PURE__ */ h.jsx( + Re, { color: "primary", outline: !0, size: "sm", className: "cursor-pointer", - onClick: () => n(e, ma.SEE_IN_ACTION), + onClick: () => n(e, wa.SEE_IN_ACTION), tooltip: "", children: "See in action" } @@ -25327,29 +25607,29 @@ const lw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ] }) ] }) ] }) }); -}, lA = ({ onSelect: e, client: t }) => /* @__PURE__ */ p.jsx("div", { className: "teammates", children: /* @__PURE__ */ p.jsx(L5, { children: hw.map((n) => /* @__PURE__ */ p.jsx( - pw, +}, vA = ({ onSelect: e, client: t }) => /* @__PURE__ */ h.jsx("div", { className: "teammates", children: /* @__PURE__ */ h.jsx(X5, { children: Yf.map((n) => /* @__PURE__ */ h.jsx( + Aw, { config: n, client: t, onSelect: e }, n.name -)) }) }), gw = "_chatbot_1ti7a_1", mw = "_chatTriggerLink_1ti7a_1", bw = "_statusUpdates_1ti7a_51", Jc = { - chatbot: gw, - chatTriggerLink: mw, - statusUpdates: bw -}, yw = ({ text: e }) => { - const { sendMessage: t } = B5(); - return /* @__PURE__ */ p.jsx($e, { onClick: () => t(e), color: "link", className: Jc.chatTriggerLink, children: e }, e); -}, Cw = ({ onFollowupRequest: e, sessionId: t }) => { - const { data: n } = W0({ +)) }) }), Mw = "_chatbot_1ti7a_1", Tw = "_chatTriggerLink_1ti7a_1", Ow = "_statusUpdates_1ti7a_51", u1 = { + chatbot: Mw, + chatTriggerLink: Tw, + statusUpdates: Ow +}, Nw = ({ text: e }) => { + const { sendMessage: t } = a4(); + return /* @__PURE__ */ h.jsx(Re, { onClick: () => t(e), color: "link", className: u1.chatTriggerLink, children: e }, e); +}, Dw = ({ onFollowupRequest: e, sessionId: t }) => { + const { data: n } = tc({ // @ts-expect-error valid queryFn: () => e(t) }); - return n != null && n.length ? /* @__PURE__ */ p.jsx(ct, { direction: "column", children: n.map((o) => /* @__PURE__ */ p.jsx(yw, { text: o }, o)) }) : null; -}, Wu = ["http", "https", "mailto", "tel"]; -function vw(e) { + return n != null && n.length ? /* @__PURE__ */ h.jsx(nt, { direction: "column", children: n.map((o) => /* @__PURE__ */ h.jsx(Nw, { text: o }, o)) }) : null; +}, n0 = ["http", "https", "mailto", "tel"]; +function Lw(e) { const t = (e || "").trim(), n = t.charAt(0); if (n === "#" || n === "/") return t; @@ -25357,8 +25637,8 @@ function vw(e) { if (o === -1) return t; let r = -1; - for (; ++r < Wu.length; ) { - const a = Wu[r]; + for (; ++r < n0.length; ) { + const a = n0[r]; if (o === a.length && t.slice(0, a.length).toLowerCase() === a) return t; } @@ -25370,23 +25650,23 @@ function vw(e) { * @author Feross Aboukhadijeh * @license MIT */ -var xw = function(t) { +var Fw = function(t) { return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); }; -const If = /* @__PURE__ */ un(xw); -function er(e) { - return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Zu(e.position) : "start" in e || "end" in e ? Zu(e) : "line" in e || "column" in e ? js(e) : ""; +const Jf = /* @__PURE__ */ dn(Fw); +function ar(e) { + return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? o0(e.position) : "start" in e || "end" in e ? o0(e) : "line" in e || "column" in e ? Bs(e) : ""; } -function js(e) { - return Uu(e && e.line) + ":" + Uu(e && e.column); +function Bs(e) { + return r0(e && e.line) + ":" + r0(e && e.column); } -function Zu(e) { - return js(e && e.start) + "-" + js(e && e.end); +function o0(e) { + return Bs(e && e.start) + "-" + Bs(e && e.end); } -function Uu(e) { +function r0(e) { return e && typeof e == "number" ? e : 1; } -class Pt extends Error { +class Bt extends Error { /** * Create a message for `reason` at `place` from `origin`. * @@ -25417,25 +25697,25 @@ class Pt extends Error { const i = o.indexOf(":"); i === -1 ? r[1] = o : (r[0] = o.slice(0, i), r[1] = o.slice(i + 1)); } - n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = er(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; - } -} -Pt.prototype.file = ""; -Pt.prototype.name = ""; -Pt.prototype.reason = ""; -Pt.prototype.message = ""; -Pt.prototype.stack = ""; -Pt.prototype.fatal = null; -Pt.prototype.column = null; -Pt.prototype.line = null; -Pt.prototype.source = null; -Pt.prototype.ruleId = null; -Pt.prototype.position = null; -const tn = { basename: ww, dirname: Ew, extname: Sw, join: kw, sep: "/" }; -function ww(e, t) { + n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = ar(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; + } +} +Bt.prototype.file = ""; +Bt.prototype.name = ""; +Bt.prototype.reason = ""; +Bt.prototype.message = ""; +Bt.prototype.stack = ""; +Bt.prototype.fatal = null; +Bt.prototype.column = null; +Bt.prototype.line = null; +Bt.prototype.source = null; +Bt.prototype.ruleId = null; +Bt.prototype.position = null; +const on = { basename: jw, dirname: Rw, extname: Iw, join: zw, sep: "/" }; +function jw(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); - Dr(e); + Rr(e); let n = 0, o = -1, r = e.length, a; if (t === void 0 || t.length === 0 || t.length > e.length) { for (; r--; ) @@ -25460,8 +25740,8 @@ function ww(e, t) { i < 0 && (a = !0, i = r + 1), l > -1 && (e.charCodeAt(r) === t.charCodeAt(l--) ? l < 0 && (o = r) : (l = -1, o = i)); return n === o ? o = i : o < 0 && (o = e.length), e.slice(n, o); } -function Ew(e) { - if (Dr(e), e.length === 0) +function Rw(e) { + if (Rr(e), e.length === 0) return "."; let t = -1, n = e.length, o; for (; --n; ) @@ -25473,8 +25753,8 @@ function Ew(e) { } else o || (o = !0); return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); } -function Sw(e) { - Dr(e); +function Iw(e) { + Rr(e); let t = e.length, n = -1, o = 0, r = -1, a = 0, i; for (; t--; ) { const l = e.charCodeAt(t); @@ -25491,19 +25771,19 @@ function Sw(e) { a === 0 || // The (right-most) trimmed path component is exactly `..`. a === 1 && r === n - 1 && r === o + 1 ? "" : e.slice(r, n); } -function kw(...e) { +function zw(...e) { let t = -1, n; for (; ++t < e.length; ) - Dr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); - return n === void 0 ? "." : _w(n); + Rr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); + return n === void 0 ? "." : Hw(n); } -function _w(e) { - Dr(e); +function Hw(e) { + Rr(e); const t = e.charCodeAt(0) === 47; - let n = Aw(e, !t); + let n = Pw(e, !t); return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; } -function Aw(e, t) { +function Pw(e, t) { let n = "", o = 0, r = -1, a = 0, i = -1, l, s; for (; ++i <= e.length; ) { if (i < e.length) @@ -25534,25 +25814,25 @@ function Aw(e, t) { } return n; } -function Dr(e) { +function Rr(e) { if (typeof e != "string") throw new TypeError( "Path must be a string. Received " + JSON.stringify(e) ); } -const Mw = { cwd: Tw }; -function Tw() { +const Bw = { cwd: Vw }; +function Vw() { return "/"; } -function Is(e) { +function Vs(e) { return e !== null && typeof e == "object" && // @ts-expect-error: indexable. e.href && // @ts-expect-error: indexable. e.origin; } -function Ow(e) { +function $w(e) { if (typeof e == "string") e = new URL(e); - else if (!Is(e)) { + else if (!Vs(e)) { const t = new TypeError( 'The "path" argument must be of type string or an instance of URL. Received `' + e + "`" ); @@ -25562,9 +25842,9 @@ function Ow(e) { const t = new TypeError("The URL must be of scheme file"); throw t.code = "ERR_INVALID_URL_SCHEME", t; } - return Dw(e); + return Ww(e); } -function Dw(e) { +function Ww(e) { if (e.hostname !== "") { const o = new TypeError( 'File URL host must be "localhost" or empty on darwin' @@ -25585,8 +25865,8 @@ function Dw(e) { } return decodeURIComponent(t); } -const Bl = ["history", "path", "basename", "stem", "extname", "dirname"]; -class zf { +const Zl = ["history", "path", "basename", "stem", "extname", "dirname"]; +class e5 { /** * Create a new virtual file. * @@ -25611,15 +25891,15 @@ class zf { */ constructor(t) { let n; - t ? typeof t == "string" || Nw(t) ? n = { value: t } : Is(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Mw.cwd(), this.value, this.stored, this.result, this.map; + t ? typeof t == "string" || Zw(t) ? n = { value: t } : Vs(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Bw.cwd(), this.value, this.stored, this.result, this.map; let o = -1; - for (; ++o < Bl.length; ) { - const a = Bl[o]; + for (; ++o < Zl.length; ) { + const a = Zl[o]; a in n && n[a] !== void 0 && n[a] !== null && (this[a] = a === "history" ? [...n[a]] : n[a]); } let r; for (r in n) - Bl.includes(r) || (this[r] = n[r]); + Zl.includes(r) || (this[r] = n[r]); } /** * Get the full path (example: `'~/index.min.js'`). @@ -25639,13 +25919,13 @@ class zf { * @param {string | URL} path */ set path(t) { - Is(t) && (t = Ow(t)), $l(t, "path"), this.path !== t && this.history.push(t); + Vs(t) && (t = $w(t)), ql(t, "path"), this.path !== t && this.history.push(t); } /** * Get the parent path (example: `'~'`). */ get dirname() { - return typeof this.path == "string" ? tn.dirname(this.path) : void 0; + return typeof this.path == "string" ? on.dirname(this.path) : void 0; } /** * Set the parent path (example: `'~'`). @@ -25653,13 +25933,13 @@ class zf { * Cannot be set if there’s no `path` yet. */ set dirname(t) { - qu(this.basename, "dirname"), this.path = tn.join(t || "", this.basename); + a0(this.basename, "dirname"), this.path = on.join(t || "", this.basename); } /** * Get the basename (including extname) (example: `'index.min.js'`). */ get basename() { - return typeof this.path == "string" ? tn.basename(this.path) : void 0; + return typeof this.path == "string" ? on.basename(this.path) : void 0; } /** * Set basename (including extname) (`'index.min.js'`). @@ -25669,13 +25949,13 @@ class zf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set basename(t) { - $l(t, "basename"), Vl(t, "basename"), this.path = tn.join(this.dirname || "", t); + ql(t, "basename"), Ul(t, "basename"), this.path = on.join(this.dirname || "", t); } /** * Get the extname (including dot) (example: `'.js'`). */ get extname() { - return typeof this.path == "string" ? tn.extname(this.path) : void 0; + return typeof this.path == "string" ? on.extname(this.path) : void 0; } /** * Set the extname (including dot) (example: `'.js'`). @@ -25685,19 +25965,19 @@ class zf { * Cannot be set if there’s no `path` yet. */ set extname(t) { - if (Vl(t, "extname"), qu(this.dirname, "extname"), t) { + if (Ul(t, "extname"), a0(this.dirname, "extname"), t) { if (t.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); if (t.includes(".", 1)) throw new Error("`extname` cannot contain multiple dots"); } - this.path = tn.join(this.dirname, this.stem + (t || "")); + this.path = on.join(this.dirname, this.stem + (t || "")); } /** * Get the stem (basename w/o extname) (example: `'index.min'`). */ get stem() { - return typeof this.path == "string" ? tn.basename(this.path, this.extname) : void 0; + return typeof this.path == "string" ? on.basename(this.path, this.extname) : void 0; } /** * Set the stem (basename w/o extname) (example: `'index.min'`). @@ -25707,7 +25987,7 @@ class zf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set stem(t) { - $l(t, "stem"), Vl(t, "stem"), this.path = tn.join(this.dirname || "", t + (this.extname || "")); + ql(t, "stem"), Ul(t, "stem"), this.path = on.join(this.dirname || "", t + (this.extname || "")); } /** * Serialize the file. @@ -25738,7 +26018,7 @@ class zf { * Message. */ message(t, n, o) { - const r = new Pt(t, n, o); + const r = new Bt(t, n, o); return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r; } /** @@ -25786,69 +26066,69 @@ class zf { throw r.fatal = !0, r; } } -function Vl(e, t) { - if (e && e.includes(tn.sep)) +function Ul(e, t) { + if (e && e.includes(on.sep)) throw new Error( - "`" + t + "` cannot be a path: did not expect `" + tn.sep + "`" + "`" + t + "` cannot be a path: did not expect `" + on.sep + "`" ); } -function $l(e, t) { +function ql(e, t) { if (!e) throw new Error("`" + t + "` cannot be empty"); } -function qu(e, t) { +function a0(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -function Nw(e) { - return If(e); +function Zw(e) { + return Jf(e); } -function Yu(e) { +function i0(e) { if (e) throw e; } -var ba = Object.prototype.hasOwnProperty, Hf = Object.prototype.toString, Gu = Object.defineProperty, Ku = Object.getOwnPropertyDescriptor, Xu = function(t) { - return typeof Array.isArray == "function" ? Array.isArray(t) : Hf.call(t) === "[object Array]"; -}, Qu = function(t) { - if (!t || Hf.call(t) !== "[object Object]") +var Ea = Object.prototype.hasOwnProperty, t5 = Object.prototype.toString, l0 = Object.defineProperty, s0 = Object.getOwnPropertyDescriptor, c0 = function(t) { + return typeof Array.isArray == "function" ? Array.isArray(t) : t5.call(t) === "[object Array]"; +}, u0 = function(t) { + if (!t || t5.call(t) !== "[object Object]") return !1; - var n = ba.call(t, "constructor"), o = t.constructor && t.constructor.prototype && ba.call(t.constructor.prototype, "isPrototypeOf"); + var n = Ea.call(t, "constructor"), o = t.constructor && t.constructor.prototype && Ea.call(t.constructor.prototype, "isPrototypeOf"); if (t.constructor && !n && !o) return !1; var r; for (r in t) ; - return typeof r > "u" || ba.call(t, r); -}, Ju = function(t, n) { - Gu && n.name === "__proto__" ? Gu(t, n.name, { + return typeof r > "u" || Ea.call(t, r); +}, d0 = function(t, n) { + l0 && n.name === "__proto__" ? l0(t, n.name, { enumerable: !0, configurable: !0, value: n.newValue, writable: !0 }) : t[n.name] = n.newValue; -}, e0 = function(t, n) { +}, f0 = function(t, n) { if (n === "__proto__") - if (ba.call(t, n)) { - if (Ku) - return Ku(t, n).value; + if (Ea.call(t, n)) { + if (s0) + return s0(t, n).value; } else return; return t[n]; -}, Lw = function e() { +}, Uw = function e() { var t, n, o, r, a, i, l = arguments[0], s = 1, u = arguments.length, c = !1; for (typeof l == "boolean" && (c = l, l = arguments[1] || {}, s = 2), (l == null || typeof l != "object" && typeof l != "function") && (l = {}); s < u; ++s) if (t = arguments[s], t != null) for (n in t) - o = e0(l, n), r = e0(t, n), l !== r && (c && r && (Qu(r) || (a = Xu(r))) ? (a ? (a = !1, i = o && Xu(o) ? o : []) : i = o && Qu(o) ? o : {}, Ju(l, { name: n, newValue: e(c, i, r) })) : typeof r < "u" && Ju(l, { name: n, newValue: r })); + o = f0(l, n), r = f0(t, n), l !== r && (c && r && (u0(r) || (a = c0(r))) ? (a ? (a = !1, i = o && c0(o) ? o : []) : i = o && u0(o) ? o : {}, d0(l, { name: n, newValue: e(c, i, r) })) : typeof r < "u" && d0(l, { name: n, newValue: r })); return l; }; -const t0 = /* @__PURE__ */ un(Lw); -function zs(e) { +const h0 = /* @__PURE__ */ dn(Uw); +function $s(e) { if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); } -function Fw() { +function qw() { const e = [], t = { run: n, use: o }; return t; function n(...r) { @@ -25866,7 +26146,7 @@ function Fw() { } for (; ++d < r.length; ) (u[d] === null || u[d] === void 0) && (u[d] = r[d]); - r = u, c ? Rw(c, l)(...u) : i(null, ...u); + r = u, c ? Yw(c, l)(...u) : i(null, ...u); } } function o(r) { @@ -25877,7 +26157,7 @@ function Fw() { return e.push(r), t; } } -function Rw(e, t) { +function Yw(e, t) { let n; return o; function o(...i) { @@ -25904,20 +26184,20 @@ function Rw(e, t) { r(null, i); } } -const jw = Bf().freeze(), Pf = {}.hasOwnProperty; -function Bf() { - const e = Fw(), t = []; +const Gw = o5().freeze(), n5 = {}.hasOwnProperty; +function o5() { + const e = qw(), t = []; let n = {}, o, r = -1; - return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = h, a.process = f, a.processSync = m, a; + return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = p, a.process = f, a.processSync = m, a; function a() { - const b = Bf(); + const b = o5(); let y = -1; for (; ++y < t.length; ) b.use(...t[y]); - return b.data(t0(!0, {}, n)), b; + return b.data(h0(!0, {}, n)), b; } function i(b, y) { - return typeof b == "string" ? arguments.length === 2 ? (Ul("data", o), n[b] = y, a) : Pf.call(n, b) && n[b] || null : b ? (Ul("data", o), n = b, a) : n; + return typeof b == "string" ? arguments.length === 2 ? (Kl("data", o), n[b] = y, a) : n5.call(n, b) && n[b] || null : b ? (Kl("data", o), n = b, a) : n; } function l() { if (o) @@ -25934,178 +26214,178 @@ function Bf() { } function s(b, ...y) { let g; - if (Ul("use", o), b != null) if (typeof b == "function") - E(b, ...y); + if (Kl("use", o), b != null) if (typeof b == "function") + w(b, ...y); else if (typeof b == "object") Array.isArray(b) ? S(b) : C(b); else throw new TypeError("Expected usable value, not `" + b + "`"); return g && (n.settings = Object.assign(n.settings || {}, g)), a; - function x(w) { - if (typeof w == "function") - E(w); - else if (typeof w == "object") - if (Array.isArray(w)) { - const [O, ..._] = w; - E(O, ..._); + function x(E) { + if (typeof E == "function") + w(E); + else if (typeof E == "object") + if (Array.isArray(E)) { + const [M, ..._] = E; + w(M, ..._); } else - C(w); + C(E); else - throw new TypeError("Expected usable value, not `" + w + "`"); + throw new TypeError("Expected usable value, not `" + E + "`"); } - function C(w) { - S(w.plugins), w.settings && (g = Object.assign(g || {}, w.settings)); + function C(E) { + S(E.plugins), E.settings && (g = Object.assign(g || {}, E.settings)); } - function S(w) { - let O = -1; - if (w != null) if (Array.isArray(w)) - for (; ++O < w.length; ) { - const _ = w[O]; + function S(E) { + let M = -1; + if (E != null) if (Array.isArray(E)) + for (; ++M < E.length; ) { + const _ = E[M]; x(_); } else - throw new TypeError("Expected a list of plugins, not `" + w + "`"); + throw new TypeError("Expected a list of plugins, not `" + E + "`"); } - function E(w, O) { + function w(E, M) { let _ = -1, L; for (; ++_ < t.length; ) - if (t[_][0] === w) { + if (t[_][0] === E) { L = t[_]; break; } - L ? (zs(L[1]) && zs(O) && (O = t0(!0, L[1], O)), L[1] = O) : t.push([...arguments]); + L ? ($s(L[1]) && $s(M) && (M = h0(!0, L[1], M)), L[1] = M) : t.push([...arguments]); } } function u(b) { a.freeze(); - const y = Zo(b), g = a.Parser; - return Wl("parse", g), n0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); + const y = Xo(b), g = a.Parser; + return Yl("parse", g), p0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); } function c(b, y) { a.freeze(); - const g = Zo(y), x = a.Compiler; - return Zl("stringify", x), o0(b), n0(x, "compile") ? new x(b, g).compile() : x(b, g); + const g = Xo(y), x = a.Compiler; + return Gl("stringify", x), g0(b), p0(x, "compile") ? new x(b, g).compile() : x(b, g); } function d(b, y, g) { - if (o0(b), a.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) + if (g0(b), a.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) return new Promise(x); x(null, g); function x(C, S) { - e.run(b, Zo(y), E); - function E(w, O, _) { - O = O || b, w ? S(w) : C ? C(O) : g(null, O, _); + e.run(b, Xo(y), w); + function w(E, M, _) { + M = M || b, E ? S(E) : C ? C(M) : g(null, M, _); } } } - function h(b, y) { + function p(b, y) { let g, x; - return a.run(b, y, C), r0("runSync", "run", x), g; - function C(S, E) { - Yu(S), g = E, x = !0; + return a.run(b, y, C), m0("runSync", "run", x), g; + function C(S, w) { + i0(S), g = w, x = !0; } } function f(b, y) { - if (a.freeze(), Wl("process", a.Parser), Zl("process", a.Compiler), !y) + if (a.freeze(), Yl("process", a.Parser), Gl("process", a.Compiler), !y) return new Promise(g); g(null, y); function g(x, C) { - const S = Zo(b); - a.run(a.parse(S), S, (w, O, _) => { - if (w || !O || !_) - E(w); + const S = Xo(b); + a.run(a.parse(S), S, (E, M, _) => { + if (E || !M || !_) + w(E); else { - const L = a.stringify(O, _); - L == null || (Hw(L) ? _.value = L : _.result = L), E(w, _); + const L = a.stringify(M, _); + L == null || (Qw(L) ? _.value = L : _.result = L), w(E, _); } }); - function E(w, O) { - w || !O ? C(w) : x ? x(O) : y(null, O); + function w(E, M) { + E || !M ? C(E) : x ? x(M) : y(null, M); } } } function m(b) { let y; - a.freeze(), Wl("processSync", a.Parser), Zl("processSync", a.Compiler); - const g = Zo(b); - return a.process(g, x), r0("processSync", "process", y), g; + a.freeze(), Yl("processSync", a.Parser), Gl("processSync", a.Compiler); + const g = Xo(b); + return a.process(g, x), m0("processSync", "process", y), g; function x(C) { - y = !0, Yu(C); + y = !0, i0(C); } } } -function n0(e, t) { +function p0(e, t) { return typeof e == "function" && // Prototypes do exist. // type-coverage:ignore-next-line e.prototype && // A function with keys in its prototype is probably a constructor. // Classes’ prototype methods are not enumerable, so we check if some value // exists in the prototype. // type-coverage:ignore-next-line - (Iw(e.prototype) || t in e.prototype); + (Kw(e.prototype) || t in e.prototype); } -function Iw(e) { +function Kw(e) { let t; for (t in e) - if (Pf.call(e, t)) + if (n5.call(e, t)) return !0; return !1; } -function Wl(e, t) { +function Yl(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Parser`"); } -function Zl(e, t) { +function Gl(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Compiler`"); } -function Ul(e, t) { +function Kl(e, t) { if (t) throw new Error( "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`." ); } -function o0(e) { - if (!zs(e) || typeof e.type != "string") +function g0(e) { + if (!$s(e) || typeof e.type != "string") throw new TypeError("Expected node, got `" + e + "`"); } -function r0(e, t, n) { +function m0(e, t, n) { if (!n) throw new Error( "`" + e + "` finished async. Use `" + t + "` instead" ); } -function Zo(e) { - return zw(e) ? e : new zf(e); +function Xo(e) { + return Xw(e) ? e : new e5(e); } -function zw(e) { +function Xw(e) { return !!(e && typeof e == "object" && "message" in e && "messages" in e); } -function Hw(e) { - return typeof e == "string" || If(e); +function Qw(e) { + return typeof e == "string" || Jf(e); } -const Pw = {}; -function Bw(e, t) { - const n = Pw, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; - return Vf(e, o, r); +const Jw = {}; +function eE(e, t) { + const n = Jw, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; + return r5(e, o, r); } -function Vf(e, t, n) { - if (Vw(e)) { +function r5(e, t, n) { + if (tE(e)) { if ("value" in e) return e.type === "html" && !n ? "" : e.value; if (t && "alt" in e && e.alt) return e.alt; if ("children" in e) - return a0(e.children, t, n); + return b0(e.children, t, n); } - return Array.isArray(e) ? a0(e, t, n) : ""; + return Array.isArray(e) ? b0(e, t, n) : ""; } -function a0(e, t, n) { +function b0(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) - o[r] = Vf(e[r], t, n); + o[r] = r5(e[r], t, n); return o.join(""); } -function Vw(e) { +function tE(e) { return !!(e && typeof e == "object"); } function cn(e, t, n, o) { @@ -26117,27 +26397,27 @@ function cn(e, t, n, o) { for (n && e.splice(t, n); a < o.length; ) i = o.slice(a, a + 1e4), i.unshift(t, 0), e.splice(...i), a += 1e4, t += 1e4; } -function Lt(e, t) { +function Ft(e, t) { return e.length > 0 ? (cn(e, e.length, 0, t), e) : t; } -const i0 = {}.hasOwnProperty; -function $w(e) { +const y0 = {}.hasOwnProperty; +function nE(e) { const t = {}; let n = -1; for (; ++n < e.length; ) - Ww(t, e[n]); + oE(t, e[n]); return t; } -function Ww(e, t) { +function oE(e, t) { let n; for (n in t) { - const r = (i0.call(e, n) ? e[n] : void 0) || (e[n] = {}), a = t[n]; + const r = (y0.call(e, n) ? e[n] : void 0) || (e[n] = {}), a = t[n]; let i; if (a) for (i in a) { - i0.call(r, i) || (r[i] = []); + y0.call(r, i) || (r[i] = []); const l = a[i]; - Zw( + rE( // @ts-expect-error Looks like a list. r[i], Array.isArray(l) ? l : l ? [l] : [] @@ -26145,39 +26425,39 @@ function Ww(e, t) { } } } -function Zw(e, t) { +function rE(e, t) { let n = -1; const o = []; for (; ++n < t.length; ) (t[n].add === "after" ? e : o).push(t[n]); cn(e, 0, 0, o); } -const Uw = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, rn = jn(/[A-Za-z]/), St = jn(/[\dA-Za-z]/), qw = jn(/[#-'*+\--9=?A-Z^-~]/); -function Hs(e) { +const aE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, ln = In(/[A-Za-z]/), _t = In(/[\dA-Za-z]/), iE = In(/[#-'*+\--9=?A-Z^-~]/); +function Ws(e) { return ( // Special whitespace codes (which have negative values), C0 and Control // character DEL e !== null && (e < 32 || e === 127) ); } -const Ps = jn(/\d/), Yw = jn(/[\dA-Fa-f]/), Gw = jn(/[!-/:-@[-`{-~]/); +const Zs = In(/\d/), lE = In(/[\dA-Fa-f]/), sE = In(/[!-/:-@[-`{-~]/); function pe(e) { return e !== null && e < -2; } -function xt(e) { +function wt(e) { return e !== null && (e < 0 || e === 32); } function Oe(e) { return e === -2 || e === -1 || e === 32; } -const Kw = jn(Uw), Xw = jn(/\s/); -function jn(e) { +const cE = In(aE), uE = In(/\s/); +function In(e) { return t; function t(n) { return n !== null && e.test(String.fromCharCode(n)); } } -function ze(e, t, n, o) { +function Pe(e, t, n, o) { const r = o ? o - 1 : Number.POSITIVE_INFINITY; let a = 0; return i; @@ -26188,10 +26468,10 @@ function ze(e, t, n, o) { return Oe(s) && a++ < r ? (e.consume(s), l) : (e.exit(n), t(s)); } } -const Qw = { - tokenize: Jw +const dE = { + tokenize: fE }; -function Jw(e) { +function fE(e) { const t = e.attempt( this.parser.constructs.contentInitial, o, @@ -26204,7 +26484,7 @@ function Jw(e) { e.consume(l); return; } - return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), ze(e, t, "linePrefix"); + return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), Pe(e, t, "linePrefix"); } function r(l) { return e.enter("paragraph"), a(l); @@ -26224,12 +26504,12 @@ function Jw(e) { return pe(l) ? (e.consume(l), e.exit("chunkText"), a) : (e.consume(l), i); } } -const eE = { - tokenize: tE -}, l0 = { - tokenize: nE +const hE = { + tokenize: pE +}, C0 = { + tokenize: gE }; -function tE(e) { +function pE(e) { const t = this, n = []; let o = 0, r, a, i; return l; @@ -26248,54 +26528,54 @@ function tE(e) { if (o++, t.containerState._closeFlow) { t.containerState._closeFlow = void 0, r && x(); const S = t.events.length; - let E = S, w; - for (; E--; ) - if (t.events[E][0] === "exit" && t.events[E][1].type === "chunkFlow") { - w = t.events[E][1].end; + let w = S, E; + for (; w--; ) + if (t.events[w][0] === "exit" && t.events[w][1].type === "chunkFlow") { + E = t.events[w][1].end; break; } g(o); - let O = S; - for (; O < t.events.length; ) - t.events[O][1].end = Object.assign({}, w), O++; + let M = S; + for (; M < t.events.length; ) + t.events[M][1].end = Object.assign({}, E), M++; return cn( t.events, - E + 1, + w + 1, 0, t.events.slice(S) - ), t.events.length = O, u(C); + ), t.events.length = M, u(C); } return l(C); } function u(C) { if (o === n.length) { if (!r) - return h(C); + return p(C); if (r.currentConstruct && r.currentConstruct.concrete) return m(C); t.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack); } return t.containerState = {}, e.check( - l0, + C0, c, d )(C); } function c(C) { - return r && x(), g(o), h(C); + return r && x(), g(o), p(C); } function d(C) { return t.parser.lazy[t.now().line] = o !== n.length, i = t.now().offset, m(C); } - function h(C) { + function p(C) { return t.containerState = {}, e.attempt( - l0, + C0, f, m )(C); } function f(C) { - return o++, n.push([t.currentConstruct, t.containerState]), h(C); + return o++, n.push([t.currentConstruct, t.containerState]), p(C); } function m(C) { if (C === null) { @@ -26316,42 +26596,42 @@ function tE(e) { return pe(C) ? (e.consume(C), y(e.exit("chunkFlow")), o = 0, t.interrupt = void 0, l) : (e.consume(C), b); } function y(C, S) { - const E = t.sliceStream(C); - if (S && E.push(null), C.previous = a, a && (a.next = C), a = C, r.defineSkip(C.start), r.write(E), t.parser.lazy[C.start.line]) { - let w = r.events.length; - for (; w--; ) + const w = t.sliceStream(C); + if (S && w.push(null), C.previous = a, a && (a.next = C), a = C, r.defineSkip(C.start), r.write(w), t.parser.lazy[C.start.line]) { + let E = r.events.length; + for (; E--; ) if ( // The token starts before the line ending… - r.events[w][1].start.offset < i && // …and either is not ended yet… - (!r.events[w][1].end || // …or ends after it. - r.events[w][1].end.offset > i) + r.events[E][1].start.offset < i && // …and either is not ended yet… + (!r.events[E][1].end || // …or ends after it. + r.events[E][1].end.offset > i) ) return; - const O = t.events.length; - let _ = O, L, j; + const M = t.events.length; + let _ = M, L, R; for (; _--; ) if (t.events[_][0] === "exit" && t.events[_][1].type === "chunkFlow") { if (L) { - j = t.events[_][1].end; + R = t.events[_][1].end; break; } L = !0; } - for (g(o), w = O; w < t.events.length; ) - t.events[w][1].end = Object.assign({}, j), w++; + for (g(o), E = M; E < t.events.length; ) + t.events[E][1].end = Object.assign({}, R), E++; cn( t.events, _ + 1, 0, - t.events.slice(O) - ), t.events.length = w; + t.events.slice(M) + ), t.events.length = E; } } function g(C) { let S = n.length; for (; S-- > C; ) { - const E = n[S]; - t.containerState = E[1], E[0].exit.call(t, e); + const w = n[S]; + t.containerState = w[1], w[0].exit.call(t, e); } n.length = C; } @@ -26359,21 +26639,21 @@ function tE(e) { r.write([null]), a = void 0, r = void 0, t.containerState._closeFlow = void 0; } } -function nE(e, t, n) { - return ze( +function gE(e, t, n) { + return Pe( e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 ); } -function s0(e) { - if (e === null || xt(e) || Xw(e)) +function v0(e) { + if (e === null || wt(e) || uE(e)) return 1; - if (Kw(e)) + if (cE(e)) return 2; } -function e1(e, t, n) { +function d1(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) { @@ -26382,12 +26662,12 @@ function e1(e, t, n) { } return t; } -const Bs = { +const Us = { name: "attention", - tokenize: rE, - resolveAll: oE + tokenize: bE, + resolveAll: mE }; -function oE(e, t) { +function mE(e, t) { let n = -1, o, r, a, i, l, s, u, c; for (; ++n < e.length; ) if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) { @@ -26397,15 +26677,15 @@ function oE(e, t) { if ((e[o][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[o][1].end.offset - e[o][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3)) continue; s = e[o][1].end.offset - e[o][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1; - const d = Object.assign({}, e[o][1].end), h = Object.assign({}, e[n][1].start); - c0(d, -s), c0(h, s), i = { + const d = Object.assign({}, e[o][1].end), p = Object.assign({}, e[n][1].start); + x0(d, -s), x0(p, s), i = { type: s > 1 ? "strongSequence" : "emphasisSequence", start: d, end: Object.assign({}, e[o][1].end) }, l = { type: s > 1 ? "strongSequence" : "emphasisSequence", start: Object.assign({}, e[n][1].start), - end: h + end: p }, a = { type: s > 1 ? "strongText" : "emphasisText", start: Object.assign({}, e[o][1].end), @@ -26414,27 +26694,27 @@ function oE(e, t) { type: s > 1 ? "strong" : "emphasis", start: Object.assign({}, i.start), end: Object.assign({}, l.end) - }, e[o][1].end = Object.assign({}, i.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = Lt(u, [ + }, e[o][1].end = Object.assign({}, i.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = Ft(u, [ ["enter", e[o][1], t], ["exit", e[o][1], t] - ])), u = Lt(u, [ + ])), u = Ft(u, [ ["enter", r, t], ["enter", i, t], ["exit", i, t], ["enter", a, t] - ]), u = Lt( + ]), u = Ft( u, - e1( + d1( t.parser.constructs.insideSpan.null, e.slice(o + 1, n), t ) - ), u = Lt(u, [ + ), u = Ft(u, [ ["exit", a, t], ["enter", l, t], ["exit", l, t], ["exit", r, t] - ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Lt(u, [ + ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Ft(u, [ ["enter", e[n][1], t], ["exit", e[n][1], t] ])) : c = 0, cn(e, o - 1, n - o + 3, u), n = o + u.length - c - 2; @@ -26445,8 +26725,8 @@ function oE(e, t) { e[n][1].type === "attentionSequence" && (e[n][1].type = "data"); return e; } -function rE(e, t) { - const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = s0(o); +function bE(e, t) { + const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = v0(o); let a; return i; function i(s) { @@ -26455,74 +26735,74 @@ function rE(e, t) { function l(s) { if (s === a) return e.consume(s), l; - const u = e.exit("attentionSequence"), c = s0(s), d = !c || c === 2 && r || n.includes(s), h = !r || r === 2 && c || n.includes(o); - return u._open = !!(a === 42 ? d : d && (r || !h)), u._close = !!(a === 42 ? h : h && (c || !d)), t(s); + const u = e.exit("attentionSequence"), c = v0(s), d = !c || c === 2 && r || n.includes(s), p = !r || r === 2 && c || n.includes(o); + return u._open = !!(a === 42 ? d : d && (r || !p)), u._close = !!(a === 42 ? p : p && (c || !d)), t(s); } } -function c0(e, t) { +function x0(e, t) { e.column += t, e.offset += t, e._bufferIndex += t; } -const aE = { +const yE = { name: "autolink", - tokenize: iE + tokenize: CE }; -function iE(e, t, n) { +function CE(e, t, n) { let o = 0; return r; function r(f) { return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a; } function a(f) { - return rn(f) ? (e.consume(f), i) : u(f); + return ln(f) ? (e.consume(f), i) : u(f); } function i(f) { - return f === 43 || f === 45 || f === 46 || St(f) ? (o = 1, l(f)) : u(f); + return f === 43 || f === 45 || f === 46 || _t(f) ? (o = 1, l(f)) : u(f); } function l(f) { - return f === 58 ? (e.consume(f), o = 0, s) : (f === 43 || f === 45 || f === 46 || St(f)) && o++ < 32 ? (e.consume(f), l) : (o = 0, u(f)); + return f === 58 ? (e.consume(f), o = 0, s) : (f === 43 || f === 45 || f === 46 || _t(f)) && o++ < 32 ? (e.consume(f), l) : (o = 0, u(f)); } function s(f) { - return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || Hs(f) ? n(f) : (e.consume(f), s); + return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || Ws(f) ? n(f) : (e.consume(f), s); } function u(f) { - return f === 64 ? (e.consume(f), c) : qw(f) ? (e.consume(f), u) : n(f); + return f === 64 ? (e.consume(f), c) : iE(f) ? (e.consume(f), u) : n(f); } function c(f) { - return St(f) ? d(f) : n(f); + return _t(f) ? d(f) : n(f); } function d(f) { - return f === 46 ? (e.consume(f), o = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : h(f); + return f === 46 ? (e.consume(f), o = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : p(f); } - function h(f) { - if ((f === 45 || St(f)) && o++ < 63) { - const m = f === 45 ? h : d; + function p(f) { + if ((f === 45 || _t(f)) && o++ < 63) { + const m = f === 45 ? p : d; return e.consume(f), m; } return n(f); } } -const ci = { - tokenize: lE, +const pi = { + tokenize: vE, partial: !0 }; -function lE(e, t, n) { +function vE(e, t, n) { return o; function o(a) { - return Oe(a) ? ze(e, r, "linePrefix")(a) : r(a); + return Oe(a) ? Pe(e, r, "linePrefix")(a) : r(a); } function r(a) { return a === null || pe(a) ? t(a) : n(a); } } -const $f = { +const a5 = { name: "blockQuote", - tokenize: sE, + tokenize: xE, continuation: { - tokenize: cE + tokenize: wE }, - exit: uE + exit: EE }; -function sE(e, t, n) { +function xE(e, t, n) { const o = this; return r; function r(i) { @@ -26538,11 +26818,11 @@ function sE(e, t, n) { return Oe(i) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(i), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(i)); } } -function cE(e, t, n) { +function wE(e, t, n) { const o = this; return r; function r(i) { - return Oe(i) ? ze( + return Oe(i) ? Pe( e, a, "linePrefix", @@ -26550,37 +26830,37 @@ function cE(e, t, n) { )(i) : a(i); } function a(i) { - return e.attempt($f, t, n)(i); + return e.attempt(a5, t, n)(i); } } -function uE(e) { +function EE(e) { e.exit("blockQuote"); } -const Wf = { +const i5 = { name: "characterEscape", - tokenize: dE + tokenize: SE }; -function dE(e, t, n) { +function SE(e, t, n) { return o; function o(a) { return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(a), e.exit("escapeMarker"), r; } function r(a) { - return Gw(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a); + return sE(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a); } } -const u0 = document.createElement("i"); -function t1(e) { +const w0 = document.createElement("i"); +function f1(e) { const t = "&" + e + ";"; - u0.innerHTML = t; - const n = u0.textContent; + w0.innerHTML = t; + const n = w0.textContent; return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n; } -const Zf = { +const l5 = { name: "characterReference", - tokenize: fE + tokenize: kE }; -function fE(e, t, n) { +function kE(e, t, n) { const o = this; let r = 0, a, i; return l; @@ -26588,109 +26868,109 @@ function fE(e, t, n) { return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), s; } function s(d) { - return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i = St, c(d)); + return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i = _t, c(d)); } function u(d) { - return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = Yw, c) : (e.enter("characterReferenceValue"), a = 7, i = Ps, c(d)); + return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = lE, c) : (e.enter("characterReferenceValue"), a = 7, i = Zs, c(d)); } function c(d) { if (d === 59 && r) { - const h = e.exit("characterReferenceValue"); - return i === St && !t1(o.sliceSerialize(h)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); + const p = e.exit("characterReferenceValue"); + return i === _t && !f1(o.sliceSerialize(p)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); } return i(d) && r++ < a ? (e.consume(d), c) : n(d); } } -const d0 = { - tokenize: pE, +const E0 = { + tokenize: AE, partial: !0 -}, f0 = { +}, S0 = { name: "codeFenced", - tokenize: hE, + tokenize: _E, concrete: !0 }; -function hE(e, t, n) { +function _E(e, t, n) { const o = this, r = { - tokenize: E, + tokenize: w, partial: !0 }; let a = 0, i = 0, l; return s; - function s(w) { - return u(w); + function s(E) { + return u(E); } - function u(w) { - const O = o.events[o.events.length - 1]; - return a = O && O[1].type === "linePrefix" ? O[2].sliceSerialize(O[1], !0).length : 0, l = w, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(w); + function u(E) { + const M = o.events[o.events.length - 1]; + return a = M && M[1].type === "linePrefix" ? M[2].sliceSerialize(M[1], !0).length : 0, l = E, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(E); } - function c(w) { - return w === l ? (i++, e.consume(w), c) : i < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), Oe(w) ? ze(e, d, "whitespace")(w) : d(w)); + function c(E) { + return E === l ? (i++, e.consume(E), c) : i < 3 ? n(E) : (e.exit("codeFencedFenceSequence"), Oe(E) ? Pe(e, d, "whitespace")(E) : d(E)); } - function d(w) { - return w === null || pe(w) ? (e.exit("codeFencedFence"), o.interrupt ? t(w) : e.check(d0, b, S)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { + function d(E) { + return E === null || pe(E) ? (e.exit("codeFencedFence"), o.interrupt ? t(E) : e.check(E0, b, S)(E)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" - }), h(w)); + }), p(E)); } - function h(w) { - return w === null || pe(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(w)) : Oe(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ze(e, f, "whitespace")(w)) : w === 96 && w === l ? n(w) : (e.consume(w), h); + function p(E) { + return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(E)) : Oe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Pe(e, f, "whitespace")(E)) : E === 96 && E === l ? n(E) : (e.consume(E), p); } - function f(w) { - return w === null || pe(w) ? d(w) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { + function f(E) { + return E === null || pe(E) ? d(E) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" - }), m(w)); + }), m(E)); } - function m(w) { - return w === null || pe(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(w)) : w === 96 && w === l ? n(w) : (e.consume(w), m); + function m(E) { + return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(E)) : E === 96 && E === l ? n(E) : (e.consume(E), m); } - function b(w) { - return e.attempt(r, S, y)(w); + function b(E) { + return e.attempt(r, S, y)(E); } - function y(w) { - return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), g; + function y(E) { + return e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), g; } - function g(w) { - return a > 0 && Oe(w) ? ze( + function g(E) { + return a > 0 && Oe(E) ? Pe( e, x, "linePrefix", a + 1 - )(w) : x(w); + )(E) : x(E); } - function x(w) { - return w === null || pe(w) ? e.check(d0, b, S)(w) : (e.enter("codeFlowValue"), C(w)); + function x(E) { + return E === null || pe(E) ? e.check(E0, b, S)(E) : (e.enter("codeFlowValue"), C(E)); } - function C(w) { - return w === null || pe(w) ? (e.exit("codeFlowValue"), x(w)) : (e.consume(w), C); + function C(E) { + return E === null || pe(E) ? (e.exit("codeFlowValue"), x(E)) : (e.consume(E), C); } - function S(w) { - return e.exit("codeFenced"), t(w); + function S(E) { + return e.exit("codeFenced"), t(E); } - function E(w, O, _) { + function w(E, M, _) { let L = 0; - return j; - function j(D) { - return w.enter("lineEnding"), w.consume(D), w.exit("lineEnding"), F; + return R; + function R(N) { + return E.enter("lineEnding"), E.consume(N), E.exit("lineEnding"), F; } - function F(D) { - return w.enter("codeFencedFence"), Oe(D) ? ze( - w, + function F(N) { + return E.enter("codeFencedFence"), Oe(N) ? Pe( + E, P, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(D) : P(D); + )(N) : P(N); } - function P(D) { - return D === l ? (w.enter("codeFencedFenceSequence"), V(D)) : _(D); + function P(N) { + return N === l ? (E.enter("codeFencedFenceSequence"), V(N)) : _(N); } - function V(D) { - return D === l ? (L++, w.consume(D), V) : L >= i ? (w.exit("codeFencedFenceSequence"), Oe(D) ? ze(w, k, "whitespace")(D) : k(D)) : _(D); + function V(N) { + return N === l ? (L++, E.consume(N), V) : L >= i ? (E.exit("codeFencedFenceSequence"), Oe(N) ? Pe(E, k, "whitespace")(N) : k(N)) : _(N); } - function k(D) { - return D === null || pe(D) ? (w.exit("codeFencedFence"), O(D)) : _(D); + function k(N) { + return N === null || pe(N) ? (E.exit("codeFencedFence"), M(N)) : _(N); } } } -function pE(e, t, n) { +function AE(e, t, n) { const o = this; return r; function r(i) { @@ -26700,25 +26980,25 @@ function pE(e, t, n) { return o.parser.lazy[o.now().line] ? n(i) : t(i); } } -const ql = { +const Xl = { name: "codeIndented", - tokenize: mE -}, gE = { - tokenize: bE, + tokenize: TE +}, ME = { + tokenize: OE, partial: !0 }; -function mE(e, t, n) { +function TE(e, t, n) { const o = this; return r; function r(u) { - return e.enter("codeIndented"), ze(e, a, "linePrefix", 5)(u); + return e.enter("codeIndented"), Pe(e, a, "linePrefix", 5)(u); } function a(u) { const c = o.events[o.events.length - 1]; return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? i(u) : n(u); } function i(u) { - return u === null ? s(u) : pe(u) ? e.attempt(gE, i, s)(u) : (e.enter("codeFlowValue"), l(u)); + return u === null ? s(u) : pe(u) ? e.attempt(ME, i, s)(u) : (e.enter("codeFlowValue"), l(u)); } function l(u) { return u === null || pe(u) ? (e.exit("codeFlowValue"), i(u)) : (e.consume(u), l); @@ -26727,24 +27007,24 @@ function mE(e, t, n) { return e.exit("codeIndented"), t(u); } } -function bE(e, t, n) { +function OE(e, t, n) { const o = this; return r; function r(i) { - return o.parser.lazy[o.now().line] ? n(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : ze(e, a, "linePrefix", 5)(i); + return o.parser.lazy[o.now().line] ? n(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : Pe(e, a, "linePrefix", 5)(i); } function a(i) { const l = o.events[o.events.length - 1]; return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : pe(i) ? r(i) : n(i); } } -const yE = { +const NE = { name: "codeText", - tokenize: xE, - resolve: CE, - previous: vE + tokenize: FE, + resolve: DE, + previous: LE }; -function CE(e) { +function DE(e) { let t = e.length - 4, n = 3, o, r; if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { for (o = n; ++o < t; ) @@ -26757,10 +27037,10 @@ function CE(e) { r === void 0 ? o !== t && e[o][1].type !== "lineEnding" && (r = o) : (o === t || e[o][1].type === "lineEnding") && (e[r][1].type = "codeTextData", o !== r + 2 && (e[r][1].end = e[o - 1][1].end, e.splice(r + 2, o - r - 2), t -= o - r - 2, o = r + 2), r = void 0); return e; } -function vE(e) { +function LE(e) { return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; } -function xE(e, t, n) { +function FE(e, t, n) { let o = 0, r, a; return i; function i(d) { @@ -26779,7 +27059,7 @@ function xE(e, t, n) { return d === 96 ? (e.consume(d), r++, c) : r === o ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (a.type = "codeTextData", u(d)); } } -function Uf(e) { +function s5(e) { const t = {}; let n = -1, o, r, a, i, l, s, u; for (; ++n < e.length; ) { @@ -26789,7 +27069,7 @@ function Uf(e) { for (; ++a < s.length && s[a][1].type !== "content"; ) s[a][1].type === "chunkText" && (s[a][1]._isInFirstContentOfListItem = !0, a++); if (o[0] === "enter") - o[1].contentType && (Object.assign(t, wE(e, n)), n = t[n], u = !0); + o[1].contentType && (Object.assign(t, jE(e, n)), n = t[n], u = !0); else if (o[1]._container) { for (a = n, r = void 0; a-- && (i = e[a], i[1].type === "lineEnding" || i[1].type === "lineEndingBlank"); ) i[0] === "enter" && (r && (e[r][1].type = "lineEndingBlank"), i[1].type = "lineEnding", r = a); @@ -26798,39 +27078,39 @@ function Uf(e) { } return !u; } -function wE(e, t) { +function jE(e, t) { const n = e[t][1], o = e[t][2]; let r = t - 1; const a = [], i = n._tokenizer || o.parser[n.contentType](n.start), l = i.events, s = [], u = {}; - let c, d, h = -1, f = n, m = 0, b = 0; + let c, d, p = -1, f = n, m = 0, b = 0; const y = [b]; for (; f; ) { for (; e[++r][1] !== f; ) ; a.push(r), f._tokenizer || (c = o.sliceStream(f), f.next || c.push(null), d && i.defineSkip(f.start), f._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = !0), i.write(c), f._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = void 0)), d = f, f = f.next; } - for (f = n; ++h < l.length; ) + for (f = n; ++p < l.length; ) // Find a void token that includes a break. - l[h][0] === "exit" && l[h - 1][0] === "enter" && l[h][1].type === l[h - 1][1].type && l[h][1].start.line !== l[h][1].end.line && (b = h + 1, y.push(b), f._tokenizer = void 0, f.previous = void 0, f = f.next); - for (i.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : y.pop(), h = y.length; h--; ) { - const g = l.slice(y[h], y[h + 1]), x = a.pop(); + l[p][0] === "exit" && l[p - 1][0] === "enter" && l[p][1].type === l[p - 1][1].type && l[p][1].start.line !== l[p][1].end.line && (b = p + 1, y.push(b), f._tokenizer = void 0, f.previous = void 0, f = f.next); + for (i.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : y.pop(), p = y.length; p--; ) { + const g = l.slice(y[p], y[p + 1]), x = a.pop(); s.unshift([x, x + g.length - 1]), cn(e, x, 2, g); } - for (h = -1; ++h < s.length; ) - u[m + s[h][0]] = m + s[h][1], m += s[h][1] - s[h][0] - 1; + for (p = -1; ++p < s.length; ) + u[m + s[p][0]] = m + s[p][1], m += s[p][1] - s[p][0] - 1; return u; } -const EE = { - tokenize: _E, - resolve: kE -}, SE = { - tokenize: AE, +const RE = { + tokenize: HE, + resolve: zE +}, IE = { + tokenize: PE, partial: !0 }; -function kE(e) { - return Uf(e), e; +function zE(e) { + return s5(e), e; } -function _E(e, t) { +function HE(e, t) { let n; return o; function o(l) { @@ -26840,7 +27120,7 @@ function _E(e, t) { } function r(l) { return l === null ? a(l) : pe(l) ? e.check( - SE, + IE, i, a )(l) : (e.consume(l), r); @@ -26855,11 +27135,11 @@ function _E(e, t) { }), n = n.next, r; } } -function AE(e, t, n) { +function PE(e, t, n) { const o = this; return r; function r(i) { - return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), ze(e, a, "linePrefix"); + return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), Pe(e, a, "linePrefix"); } function a(i) { if (i === null || pe(i)) @@ -26868,34 +27148,34 @@ function AE(e, t, n) { return !o.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : e.interrupt(o.parser.constructs.flow, n, t)(i); } } -function qf(e, t, n, o, r, a, i, l, s) { +function c5(e, t, n, o, r, a, i, l, s) { const u = s || Number.POSITIVE_INFINITY; let c = 0; return d; function d(g) { - return g === 60 ? (e.enter(o), e.enter(r), e.enter(a), e.consume(g), e.exit(a), h) : g === null || g === 32 || g === 41 || Hs(g) ? n(g) : (e.enter(o), e.enter(i), e.enter(l), e.enter("chunkString", { + return g === 60 ? (e.enter(o), e.enter(r), e.enter(a), e.consume(g), e.exit(a), p) : g === null || g === 32 || g === 41 || Ws(g) ? n(g) : (e.enter(o), e.enter(i), e.enter(l), e.enter("chunkString", { contentType: "string" }), b(g)); } - function h(g) { + function p(g) { return g === 62 ? (e.enter(a), e.consume(g), e.exit(a), e.exit(r), e.exit(o), t) : (e.enter(l), e.enter("chunkString", { contentType: "string" }), f(g)); } function f(g) { - return g === 62 ? (e.exit("chunkString"), e.exit(l), h(g)) : g === null || g === 60 || pe(g) ? n(g) : (e.consume(g), g === 92 ? m : f); + return g === 62 ? (e.exit("chunkString"), e.exit(l), p(g)) : g === null || g === 60 || pe(g) ? n(g) : (e.consume(g), g === 92 ? m : f); } function m(g) { return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g); } function b(g) { - return !c && (g === null || g === 41 || xt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(i), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Hs(g) ? n(g) : (e.consume(g), g === 92 ? y : b); + return !c && (g === null || g === 41 || wt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(i), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Ws(g) ? n(g) : (e.consume(g), g === 92 ? y : b); } function y(g) { return g === 40 || g === 41 || g === 92 ? (e.consume(g), b) : b(g); } } -function Yf(e, t, n, o, r, a) { +function u5(e, t, n, o, r, a) { const i = this; let l = 0, s; return u; @@ -26913,55 +27193,55 @@ function Yf(e, t, n, o, r, a) { }), d(f)); } function d(f) { - return f === null || f === 91 || f === 93 || pe(f) || l++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), s || (s = !Oe(f)), f === 92 ? h : d); + return f === null || f === 91 || f === 93 || pe(f) || l++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), s || (s = !Oe(f)), f === 92 ? p : d); } - function h(f) { + function p(f) { return f === 91 || f === 92 || f === 93 ? (e.consume(f), l++, d) : d(f); } } -function Gf(e, t, n, o, r, a) { +function d5(e, t, n, o, r, a) { let i; return l; - function l(h) { - return h === 34 || h === 39 || h === 40 ? (e.enter(o), e.enter(r), e.consume(h), e.exit(r), i = h === 40 ? 41 : h, s) : n(h); + function l(p) { + return p === 34 || p === 39 || p === 40 ? (e.enter(o), e.enter(r), e.consume(p), e.exit(r), i = p === 40 ? 41 : p, s) : n(p); } - function s(h) { - return h === i ? (e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) : (e.enter(a), u(h)); + function s(p) { + return p === i ? (e.enter(r), e.consume(p), e.exit(r), e.exit(o), t) : (e.enter(a), u(p)); } - function u(h) { - return h === i ? (e.exit(a), s(i)) : h === null ? n(h) : pe(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), ze(e, u, "linePrefix")) : (e.enter("chunkString", { + function u(p) { + return p === i ? (e.exit(a), s(i)) : p === null ? n(p) : pe(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Pe(e, u, "linePrefix")) : (e.enter("chunkString", { contentType: "string" - }), c(h)); + }), c(p)); } - function c(h) { - return h === i || h === null || pe(h) ? (e.exit("chunkString"), u(h)) : (e.consume(h), h === 92 ? d : c); + function c(p) { + return p === i || p === null || pe(p) ? (e.exit("chunkString"), u(p)) : (e.consume(p), p === 92 ? d : c); } - function d(h) { - return h === i || h === 92 ? (e.consume(h), c) : c(h); + function d(p) { + return p === i || p === 92 ? (e.consume(p), c) : c(p); } } -function tr(e, t) { +function ir(e, t) { let n; return o; function o(r) { - return pe(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Oe(r) ? ze( + return pe(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Oe(r) ? Pe( e, o, n ? "linePrefix" : "lineSuffix" )(r) : t(r); } } -function Co(e) { +function vo(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -const ME = { +const BE = { name: "definition", - tokenize: OE -}, TE = { - tokenize: DE, + tokenize: $E +}, VE = { + tokenize: WE, partial: !0 }; -function OE(e, t, n) { +function $E(e, t, n) { const o = this; let r; return a; @@ -26969,7 +27249,7 @@ function OE(e, t, n) { return e.enter("definition"), i(f); } function i(f) { - return Yf.call( + return u5.call( o, e, l, @@ -26981,15 +27261,15 @@ function OE(e, t, n) { )(f); } function l(f) { - return r = Co( + return r = vo( o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f); } function s(f) { - return xt(f) ? tr(e, u)(f) : u(f); + return wt(f) ? ir(e, u)(f) : u(f); } function u(f) { - return qf( + return c5( e, c, // Note: we don’t need to reset the way `markdown-rs` does. @@ -27002,22 +27282,22 @@ function OE(e, t, n) { )(f); } function c(f) { - return e.attempt(TE, d, d)(f); + return e.attempt(VE, d, d)(f); } function d(f) { - return Oe(f) ? ze(e, h, "whitespace")(f) : h(f); + return Oe(f) ? Pe(e, p, "whitespace")(f) : p(f); } - function h(f) { + function p(f) { return f === null || pe(f) ? (e.exit("definition"), o.parser.defined.push(r), t(f)) : n(f); } } -function DE(e, t, n) { +function WE(e, t, n) { return o; function o(l) { - return xt(l) ? tr(e, r)(l) : n(l); + return wt(l) ? ir(e, r)(l) : n(l); } function r(l) { - return Gf( + return d5( e, a, n, @@ -27027,17 +27307,17 @@ function DE(e, t, n) { )(l); } function a(l) { - return Oe(l) ? ze(e, i, "whitespace")(l) : i(l); + return Oe(l) ? Pe(e, i, "whitespace")(l) : i(l); } function i(l) { return l === null || pe(l) ? t(l) : n(l); } } -const NE = { +const ZE = { name: "hardBreakEscape", - tokenize: LE + tokenize: UE }; -function LE(e, t, n) { +function UE(e, t, n) { return o; function o(a) { return e.enter("hardBreakEscape"), e.consume(a), r; @@ -27046,12 +27326,12 @@ function LE(e, t, n) { return pe(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a); } } -const FE = { +const qE = { name: "headingAtx", - tokenize: jE, - resolve: RE + tokenize: GE, + resolve: YE }; -function RE(e, t) { +function YE(e, t) { let n = e.length - 2, o = 3, r, a; return e[o][1].type === "whitespace" && (o += 2), n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (o === n - 1 || n - 4 > o && e[n - 2][1].type === "whitespace") && (n -= o + 1 === n ? 2 : 4), n > o && (r = { type: "atxHeadingText", @@ -27069,7 +27349,7 @@ function RE(e, t) { ["exit", r, t] ])), e; } -function jE(e, t, n) { +function GE(e, t, n) { let o = 0; return r; function r(c) { @@ -27079,19 +27359,19 @@ function jE(e, t, n) { return e.enter("atxHeadingSequence"), i(c); } function i(c) { - return c === 35 && o++ < 6 ? (e.consume(c), i) : c === null || xt(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c); + return c === 35 && o++ < 6 ? (e.consume(c), i) : c === null || wt(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c); } function l(c) { - return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : Oe(c) ? ze(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); + return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : Oe(c) ? Pe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); } function s(c) { return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c)); } function u(c) { - return c === null || c === 35 || xt(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u); + return c === null || c === 35 || wt(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u); } } -const IE = [ +const KE = [ "address", "article", "aside", @@ -27154,25 +27434,25 @@ const IE = [ "tr", "track", "ul" -], h0 = ["pre", "script", "style", "textarea"], zE = { +], k0 = ["pre", "script", "style", "textarea"], XE = { name: "htmlFlow", - tokenize: VE, - resolveTo: BE, + tokenize: tS, + resolveTo: eS, concrete: !0 -}, HE = { - tokenize: WE, +}, QE = { + tokenize: oS, partial: !0 -}, PE = { - tokenize: $E, +}, JE = { + tokenize: nS, partial: !0 }; -function BE(e) { +function eS(e) { let t = e.length; for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) ; return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; } -function VE(e, t, n) { +function tS(e, t, n) { const o = this; let r, a, i, l, s; return u; @@ -27183,10 +27463,10 @@ function VE(e, t, n) { return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(A), d; } function d(A) { - return A === 33 ? (e.consume(A), h) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), r = 3, o.interrupt ? t : v) : rn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); + return A === 33 ? (e.consume(A), p) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), r = 3, o.interrupt ? t : v) : ln(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); } - function h(A) { - return A === 45 ? (e.consume(A), r = 2, f) : A === 91 ? (e.consume(A), r = 5, l = 0, m) : rn(A) ? (e.consume(A), r = 4, o.interrupt ? t : v) : n(A); + function p(A) { + return A === 45 ? (e.consume(A), r = 2, f) : A === 91 ? (e.consume(A), r = 5, l = 0, m) : ln(A) ? (e.consume(A), r = 4, o.interrupt ? t : v) : n(A); } function f(A) { return A === 45 ? (e.consume(A), o.interrupt ? t : v) : n(A); @@ -27196,82 +27476,82 @@ function VE(e, t, n) { return A === W.charCodeAt(l++) ? (e.consume(A), l === W.length ? o.interrupt ? t : P : m) : n(A); } function b(A) { - return rn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); + return ln(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); } function y(A) { - if (A === null || A === 47 || A === 62 || xt(A)) { + if (A === null || A === 47 || A === 62 || wt(A)) { const W = A === 47, Y = i.toLowerCase(); - return !W && !a && h0.includes(Y) ? (r = 1, o.interrupt ? t(A) : P(A)) : IE.includes(i.toLowerCase()) ? (r = 6, W ? (e.consume(A), g) : o.interrupt ? t(A) : P(A)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(A) : a ? x(A) : C(A)); + return !W && !a && k0.includes(Y) ? (r = 1, o.interrupt ? t(A) : P(A)) : KE.includes(i.toLowerCase()) ? (r = 6, W ? (e.consume(A), g) : o.interrupt ? t(A) : P(A)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(A) : a ? x(A) : C(A)); } - return A === 45 || St(A) ? (e.consume(A), i += String.fromCharCode(A), y) : n(A); + return A === 45 || _t(A) ? (e.consume(A), i += String.fromCharCode(A), y) : n(A); } function g(A) { return A === 62 ? (e.consume(A), o.interrupt ? t : P) : n(A); } function x(A) { - return Oe(A) ? (e.consume(A), x) : j(A); + return Oe(A) ? (e.consume(A), x) : R(A); } function C(A) { - return A === 47 ? (e.consume(A), j) : A === 58 || A === 95 || rn(A) ? (e.consume(A), S) : Oe(A) ? (e.consume(A), C) : j(A); + return A === 47 ? (e.consume(A), R) : A === 58 || A === 95 || ln(A) ? (e.consume(A), S) : Oe(A) ? (e.consume(A), C) : R(A); } function S(A) { - return A === 45 || A === 46 || A === 58 || A === 95 || St(A) ? (e.consume(A), S) : E(A); - } - function E(A) { - return A === 61 ? (e.consume(A), w) : Oe(A) ? (e.consume(A), E) : C(A); + return A === 45 || A === 46 || A === 58 || A === 95 || _t(A) ? (e.consume(A), S) : w(A); } function w(A) { - return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), s = A, O) : Oe(A) ? (e.consume(A), w) : _(A); + return A === 61 ? (e.consume(A), E) : Oe(A) ? (e.consume(A), w) : C(A); } - function O(A) { - return A === s ? (e.consume(A), s = null, L) : A === null || pe(A) ? n(A) : (e.consume(A), O); + function E(A) { + return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), s = A, M) : Oe(A) ? (e.consume(A), E) : _(A); + } + function M(A) { + return A === s ? (e.consume(A), s = null, L) : A === null || pe(A) ? n(A) : (e.consume(A), M); } function _(A) { - return A === null || A === 34 || A === 39 || A === 47 || A === 60 || A === 61 || A === 62 || A === 96 || xt(A) ? E(A) : (e.consume(A), _); + return A === null || A === 34 || A === 39 || A === 47 || A === 60 || A === 61 || A === 62 || A === 96 || wt(A) ? w(A) : (e.consume(A), _); } function L(A) { return A === 47 || A === 62 || Oe(A) ? C(A) : n(A); } - function j(A) { + function R(A) { return A === 62 ? (e.consume(A), F) : n(A); } function F(A) { return A === null || pe(A) ? P(A) : Oe(A) ? (e.consume(A), F) : n(A); } function P(A) { - return A === 45 && r === 2 ? (e.consume(A), M) : A === 60 && r === 1 ? (e.consume(A), N) : A === 62 && r === 4 ? (e.consume(A), z) : A === 63 && r === 3 ? (e.consume(A), v) : A === 93 && r === 5 ? (e.consume(A), R) : pe(A) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( - HE, + return A === 45 && r === 2 ? (e.consume(A), T) : A === 60 && r === 1 ? (e.consume(A), D) : A === 62 && r === 4 ? (e.consume(A), z) : A === 63 && r === 3 ? (e.consume(A), v) : A === 93 && r === 5 ? (e.consume(A), j) : pe(A) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( + QE, B, V )(A)) : A === null || pe(A) ? (e.exit("htmlFlowData"), V(A)) : (e.consume(A), P); } function V(A) { return e.check( - PE, + JE, k, B )(A); } function k(A) { - return e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), D; + return e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), N; } - function D(A) { + function N(A) { return A === null || pe(A) ? V(A) : (e.enter("htmlFlowData"), P(A)); } - function M(A) { + function T(A) { return A === 45 ? (e.consume(A), v) : P(A); } - function N(A) { + function D(A) { return A === 47 ? (e.consume(A), i = "", I) : P(A); } function I(A) { if (A === 62) { const W = i.toLowerCase(); - return h0.includes(W) ? (e.consume(A), z) : P(A); + return k0.includes(W) ? (e.consume(A), z) : P(A); } - return rn(A) && i.length < 8 ? (e.consume(A), i += String.fromCharCode(A), I) : P(A); + return ln(A) && i.length < 8 ? (e.consume(A), i += String.fromCharCode(A), I) : P(A); } - function R(A) { + function j(A) { return A === 93 ? (e.consume(A), v) : P(A); } function v(A) { @@ -27284,7 +27564,7 @@ function VE(e, t, n) { return e.exit("htmlFlow"), t(A); } } -function $E(e, t, n) { +function nS(e, t, n) { const o = this; return r; function r(i) { @@ -27294,17 +27574,17 @@ function $E(e, t, n) { return o.parser.lazy[o.now().line] ? n(i) : t(i); } } -function WE(e, t, n) { +function oS(e, t, n) { return o; function o(r) { - return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(ci, t, n); + return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(pi, t, n); } } -const ZE = { +const rS = { name: "htmlText", - tokenize: UE + tokenize: aS }; -function UE(e, t, n) { +function aS(e, t, n) { const o = this; let r, a, i; return l; @@ -27312,109 +27592,109 @@ function UE(e, t, n) { return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(v), s; } function s(v) { - return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), E) : v === 63 ? (e.consume(v), C) : rn(v) ? (e.consume(v), _) : n(v); + return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), w) : v === 63 ? (e.consume(v), C) : ln(v) ? (e.consume(v), _) : n(v); } function u(v) { - return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), a = 0, m) : rn(v) ? (e.consume(v), x) : n(v); + return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), a = 0, m) : ln(v) ? (e.consume(v), x) : n(v); } function c(v) { return v === 45 ? (e.consume(v), f) : n(v); } function d(v) { - return v === null ? n(v) : v === 45 ? (e.consume(v), h) : pe(v) ? (i = d, N(v)) : (e.consume(v), d); + return v === null ? n(v) : v === 45 ? (e.consume(v), p) : pe(v) ? (i = d, D(v)) : (e.consume(v), d); } - function h(v) { + function p(v) { return v === 45 ? (e.consume(v), f) : d(v); } function f(v) { - return v === 62 ? M(v) : v === 45 ? h(v) : d(v); + return v === 62 ? T(v) : v === 45 ? p(v) : d(v); } function m(v) { const z = "CDATA["; return v === z.charCodeAt(a++) ? (e.consume(v), a === z.length ? b : m) : n(v); } function b(v) { - return v === null ? n(v) : v === 93 ? (e.consume(v), y) : pe(v) ? (i = b, N(v)) : (e.consume(v), b); + return v === null ? n(v) : v === 93 ? (e.consume(v), y) : pe(v) ? (i = b, D(v)) : (e.consume(v), b); } function y(v) { return v === 93 ? (e.consume(v), g) : b(v); } function g(v) { - return v === 62 ? M(v) : v === 93 ? (e.consume(v), g) : b(v); + return v === 62 ? T(v) : v === 93 ? (e.consume(v), g) : b(v); } function x(v) { - return v === null || v === 62 ? M(v) : pe(v) ? (i = x, N(v)) : (e.consume(v), x); + return v === null || v === 62 ? T(v) : pe(v) ? (i = x, D(v)) : (e.consume(v), x); } function C(v) { - return v === null ? n(v) : v === 63 ? (e.consume(v), S) : pe(v) ? (i = C, N(v)) : (e.consume(v), C); + return v === null ? n(v) : v === 63 ? (e.consume(v), S) : pe(v) ? (i = C, D(v)) : (e.consume(v), C); } function S(v) { - return v === 62 ? M(v) : C(v); - } - function E(v) { - return rn(v) ? (e.consume(v), w) : n(v); + return v === 62 ? T(v) : C(v); } function w(v) { - return v === 45 || St(v) ? (e.consume(v), w) : O(v); + return ln(v) ? (e.consume(v), E) : n(v); + } + function E(v) { + return v === 45 || _t(v) ? (e.consume(v), E) : M(v); } - function O(v) { - return pe(v) ? (i = O, N(v)) : Oe(v) ? (e.consume(v), O) : M(v); + function M(v) { + return pe(v) ? (i = M, D(v)) : Oe(v) ? (e.consume(v), M) : T(v); } function _(v) { - return v === 45 || St(v) ? (e.consume(v), _) : v === 47 || v === 62 || xt(v) ? L(v) : n(v); + return v === 45 || _t(v) ? (e.consume(v), _) : v === 47 || v === 62 || wt(v) ? L(v) : n(v); } function L(v) { - return v === 47 ? (e.consume(v), M) : v === 58 || v === 95 || rn(v) ? (e.consume(v), j) : pe(v) ? (i = L, N(v)) : Oe(v) ? (e.consume(v), L) : M(v); + return v === 47 ? (e.consume(v), T) : v === 58 || v === 95 || ln(v) ? (e.consume(v), R) : pe(v) ? (i = L, D(v)) : Oe(v) ? (e.consume(v), L) : T(v); } - function j(v) { - return v === 45 || v === 46 || v === 58 || v === 95 || St(v) ? (e.consume(v), j) : F(v); + function R(v) { + return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) ? (e.consume(v), R) : F(v); } function F(v) { - return v === 61 ? (e.consume(v), P) : pe(v) ? (i = F, N(v)) : Oe(v) ? (e.consume(v), F) : L(v); + return v === 61 ? (e.consume(v), P) : pe(v) ? (i = F, D(v)) : Oe(v) ? (e.consume(v), F) : L(v); } function P(v) { - return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : pe(v) ? (i = P, N(v)) : Oe(v) ? (e.consume(v), P) : (e.consume(v), k); + return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : pe(v) ? (i = P, D(v)) : Oe(v) ? (e.consume(v), P) : (e.consume(v), k); } function V(v) { - return v === r ? (e.consume(v), r = void 0, D) : v === null ? n(v) : pe(v) ? (i = V, N(v)) : (e.consume(v), V); + return v === r ? (e.consume(v), r = void 0, N) : v === null ? n(v) : pe(v) ? (i = V, D(v)) : (e.consume(v), V); } function k(v) { - return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 96 ? n(v) : v === 47 || v === 62 || xt(v) ? L(v) : (e.consume(v), k); + return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 96 ? n(v) : v === 47 || v === 62 || wt(v) ? L(v) : (e.consume(v), k); } - function D(v) { - return v === 47 || v === 62 || xt(v) ? L(v) : n(v); + function N(v) { + return v === 47 || v === 62 || wt(v) ? L(v) : n(v); } - function M(v) { + function T(v) { return v === 62 ? (e.consume(v), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(v); } - function N(v) { + function D(v) { return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), I; } function I(v) { - return Oe(v) ? ze( + return Oe(v) ? Pe( e, - R, + j, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(v) : R(v); + )(v) : j(v); } - function R(v) { + function j(v) { return e.enter("htmlTextData"), i(v); } } -const n1 = { +const h1 = { name: "labelEnd", - tokenize: QE, - resolveTo: XE, - resolveAll: KE -}, qE = { - tokenize: JE -}, YE = { - tokenize: eS -}, GE = { - tokenize: tS + tokenize: dS, + resolveTo: uS, + resolveAll: cS +}, iS = { + tokenize: fS +}, lS = { + tokenize: hS +}, sS = { + tokenize: pS }; -function KE(e) { +function cS(e) { let t = -1; for (; ++t < e.length; ) { const n = e[t][1]; @@ -27422,7 +27702,7 @@ function KE(e) { } return e; } -function XE(e, t) { +function uS(e, t) { let n = e.length, o = 0, r, a, i, l; for (; n--; ) if (r = e[n][1], a) { @@ -27451,21 +27731,21 @@ function XE(e, t) { return l = [ ["enter", s, t], ["enter", u, t] - ], l = Lt(l, e.slice(a + 1, a + o + 3)), l = Lt(l, [["enter", c, t]]), l = Lt( + ], l = Ft(l, e.slice(a + 1, a + o + 3)), l = Ft(l, [["enter", c, t]]), l = Ft( l, - e1( + d1( t.parser.constructs.insideSpan.null, e.slice(a + o + 4, i - 3), t ) - ), l = Lt(l, [ + ), l = Ft(l, [ ["exit", c, t], e[i - 2], e[i - 1], ["exit", u, t] - ]), l = Lt(l, e.slice(i + 1)), l = Lt(l, [["exit", s, t]]), cn(e, a, e.length, l), e; + ]), l = Ft(l, e.slice(i + 1)), l = Ft(l, [["exit", s, t]]), cn(e, a, e.length, l), e; } -function QE(e, t, n) { +function dS(e, t, n) { const o = this; let r = o.events.length, a, i; for (; r--; ) @@ -27474,51 +27754,51 @@ function QE(e, t, n) { break; } return l; - function l(h) { - return a ? a._inactive ? d(h) : (i = o.parser.defined.includes( - Co( + function l(p) { + return a ? a._inactive ? d(p) : (i = o.parser.defined.includes( + vo( o.sliceSerialize({ start: a.end, end: o.now() }) ) - ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(h), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(h); + ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(p), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(p); } - function s(h) { - return h === 40 ? e.attempt( - qE, + function s(p) { + return p === 40 ? e.attempt( + iS, c, i ? c : d - )(h) : h === 91 ? e.attempt( - YE, + )(p) : p === 91 ? e.attempt( + lS, c, i ? u : d - )(h) : i ? c(h) : d(h); + )(p) : i ? c(p) : d(p); } - function u(h) { + function u(p) { return e.attempt( - GE, + sS, c, d - )(h); + )(p); } - function c(h) { - return t(h); + function c(p) { + return t(p); } - function d(h) { - return a._balanced = !0, n(h); + function d(p) { + return a._balanced = !0, n(p); } } -function JE(e, t, n) { +function fS(e, t, n) { return o; function o(d) { return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r; } function r(d) { - return xt(d) ? tr(e, a)(d) : a(d); + return wt(d) ? ir(e, a)(d) : a(d); } function a(d) { - return d === 41 ? c(d) : qf( + return d === 41 ? c(d) : c5( e, i, l, @@ -27531,13 +27811,13 @@ function JE(e, t, n) { )(d); } function i(d) { - return xt(d) ? tr(e, s)(d) : c(d); + return wt(d) ? ir(e, s)(d) : c(d); } function l(d) { return n(d); } function s(d) { - return d === 34 || d === 39 || d === 40 ? Gf( + return d === 34 || d === 39 || d === 40 ? d5( e, u, n, @@ -27547,17 +27827,17 @@ function JE(e, t, n) { )(d) : c(d); } function u(d) { - return xt(d) ? tr(e, c)(d) : c(d); + return wt(d) ? ir(e, c)(d) : c(d); } function c(d) { return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d); } } -function eS(e, t, n) { +function hS(e, t, n) { const o = this; return r; function r(l) { - return Yf.call( + return u5.call( o, e, a, @@ -27569,7 +27849,7 @@ function eS(e, t, n) { } function a(l) { return o.parser.defined.includes( - Co( + vo( o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) ) ) ? t(l) : n(l); @@ -27578,7 +27858,7 @@ function eS(e, t, n) { return n(l); } } -function tS(e, t, n) { +function pS(e, t, n) { return o; function o(a) { return e.enter("reference"), e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), r; @@ -27587,12 +27867,12 @@ function tS(e, t, n) { return a === 93 ? (e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), e.exit("reference"), t) : n(a); } } -const nS = { +const gS = { name: "labelStartImage", - tokenize: oS, - resolveAll: n1.resolveAll + tokenize: mS, + resolveAll: h1.resolveAll }; -function oS(e, t, n) { +function mS(e, t, n) { const o = this; return r; function r(l) { @@ -27605,12 +27885,12 @@ function oS(e, t, n) { return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : t(l); } } -const rS = { +const bS = { name: "labelStartLink", - tokenize: aS, - resolveAll: n1.resolveAll + tokenize: yS, + resolveAll: h1.resolveAll }; -function aS(e, t, n) { +function yS(e, t, n) { const o = this; return r; function r(i) { @@ -27620,21 +27900,21 @@ function aS(e, t, n) { return i === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(i) : t(i); } } -const Yl = { +const Ql = { name: "lineEnding", - tokenize: iS + tokenize: CS }; -function iS(e, t) { +function CS(e, t) { return n; function n(o) { - return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), ze(e, t, "linePrefix"); + return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), Pe(e, t, "linePrefix"); } } -const ya = { +const Sa = { name: "thematicBreak", - tokenize: lS + tokenize: vS }; -function lS(e, t, n) { +function vS(e, t, n) { let o = 0, r; return a; function a(u) { @@ -27647,69 +27927,69 @@ function lS(e, t, n) { return u === r ? (e.enter("thematicBreakSequence"), s(u)) : o >= 3 && (u === null || pe(u)) ? (e.exit("thematicBreak"), t(u)) : n(u); } function s(u) { - return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Oe(u) ? ze(e, l, "whitespace")(u) : l(u)); + return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Oe(u) ? Pe(e, l, "whitespace")(u) : l(u)); } } const yt = { name: "list", - tokenize: uS, + tokenize: ES, continuation: { - tokenize: dS + tokenize: SS }, - exit: hS -}, sS = { - tokenize: pS, + exit: _S +}, xS = { + tokenize: AS, partial: !0 -}, cS = { - tokenize: fS, +}, wS = { + tokenize: kS, partial: !0 }; -function uS(e, t, n) { +function ES(e, t, n) { const o = this, r = o.events[o.events.length - 1]; let a = r && r[1].type === "linePrefix" ? r[2].sliceSerialize(r[1], !0).length : 0, i = 0; return l; function l(f) { const m = o.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered"); - if (m === "listUnordered" ? !o.containerState.marker || f === o.containerState.marker : Ps(f)) { + if (m === "listUnordered" ? !o.containerState.marker || f === o.containerState.marker : Zs(f)) { if (o.containerState.type || (o.containerState.type = m, e.enter(m, { _container: !0 })), m === "listUnordered") - return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(ya, n, u)(f) : u(f); + return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Sa, n, u)(f) : u(f); if (!o.interrupt || f === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f); } return n(f); } function s(f) { - return Ps(f) && ++i < 10 ? (e.consume(f), s) : (!o.interrupt || i < 2) && (o.containerState.marker ? f === o.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), u(f)) : n(f); + return Zs(f) && ++i < 10 ? (e.consume(f), s) : (!o.interrupt || i < 2) && (o.containerState.marker ? f === o.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), u(f)) : n(f); } function u(f) { return e.enter("listItemMarker"), e.consume(f), e.exit("listItemMarker"), o.containerState.marker = o.containerState.marker || f, e.check( - ci, + pi, // Can’t be empty when interrupting. o.interrupt ? n : c, e.attempt( - sS, - h, + xS, + p, d ) ); } function c(f) { - return o.containerState.initialBlankLine = !0, a++, h(f); + return o.containerState.initialBlankLine = !0, a++, p(f); } function d(f) { - return Oe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), h) : n(f); + return Oe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f); } - function h(f) { + function p(f) { return o.containerState.size = a + o.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f); } } -function dS(e, t, n) { +function SS(e, t, n) { const o = this; - return o.containerState._closeFlow = void 0, e.check(ci, r, a); + return o.containerState._closeFlow = void 0, e.check(pi, r, a); function r(l) { - return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, ze( + return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, Pe( e, t, "listItemIndent", @@ -27717,10 +27997,10 @@ function dS(e, t, n) { )(l); } function a(l) { - return o.containerState.furtherBlankLines || !Oe(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, i(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(cS, t, i)(l)); + return o.containerState.furtherBlankLines || !Oe(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, i(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(wS, t, i)(l)); } function i(l) { - return o.containerState._closeFlow = !0, o.interrupt = void 0, ze( + return o.containerState._closeFlow = !0, o.interrupt = void 0, Pe( e, e.attempt(yt, t, n), "linePrefix", @@ -27728,9 +28008,9 @@ function dS(e, t, n) { )(l); } } -function fS(e, t, n) { +function kS(e, t, n) { const o = this; - return ze( + return Pe( e, r, "listItemIndent", @@ -27741,12 +28021,12 @@ function fS(e, t, n) { return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === o.containerState.size ? t(a) : n(a); } } -function hS(e) { +function _S(e) { e.exit(this.containerState.type); } -function pS(e, t, n) { +function AS(e, t, n) { const o = this; - return ze( + return Pe( e, r, "listItemPrefixWhitespace", @@ -27757,12 +28037,12 @@ function pS(e, t, n) { return !Oe(a) && i && i[1].type === "listItemPrefixWhitespace" ? t(a) : n(a); } } -const p0 = { +const _0 = { name: "setextUnderline", - tokenize: mS, - resolveTo: gS + tokenize: TS, + resolveTo: MS }; -function gS(e, t) { +function MS(e, t) { let n = e.length, o, r, a; for (; n--; ) if (e[n][0] === "enter") { @@ -27780,7 +28060,7 @@ function gS(e, t) { }; return e[r][1].type = "setextHeadingText", a ? (e.splice(r, 0, ["enter", i, t]), e.splice(a + 1, 0, ["exit", e[o][1], t]), e[o][1].end = Object.assign({}, e[a][1].end)) : e[o][1] = i, e.push(["exit", i, t]), e; } -function mS(e, t, n) { +function TS(e, t, n) { const o = this; let r; return a; @@ -27797,30 +28077,30 @@ function mS(e, t, n) { return e.enter("setextHeadingLineSequence"), l(u); } function l(u) { - return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Oe(u) ? ze(e, s, "lineSuffix")(u) : s(u)); + return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Oe(u) ? Pe(e, s, "lineSuffix")(u) : s(u)); } function s(u) { return u === null || pe(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u); } } -const bS = { - tokenize: yS +const OS = { + tokenize: NS }; -function yS(e) { +function NS(e) { const t = this, n = e.attempt( // Try to parse a blank line. - ci, + pi, o, // Try to parse initial flow (essentially, only code). e.attempt( this.parser.constructs.flowInitial, r, - ze( + Pe( e, e.attempt( this.parser.constructs.flow, r, - e.attempt(EE, r) + e.attempt(RE, r) ), "linePrefix" ) @@ -27842,14 +28122,14 @@ function yS(e) { return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), t.currentConstruct = void 0, n; } } -const CS = { - resolveAll: Xf() -}, vS = Kf("string"), xS = Kf("text"); -function Kf(e) { +const DS = { + resolveAll: h5() +}, LS = f5("string"), FS = f5("text"); +function f5(e) { return { tokenize: t, - resolveAll: Xf( - e === "text" ? wS : void 0 + resolveAll: h5( + e === "text" ? jS : void 0 ) }; function t(n) { @@ -27872,10 +28152,10 @@ function Kf(e) { if (c === null) return !0; const d = r[c]; - let h = -1; + let p = -1; if (d) - for (; ++h < d.length; ) { - const f = d[h]; + for (; ++p < d.length; ) { + const f = d[p]; if (!f.previous || f.previous.call(o, o.previous)) return !0; } @@ -27883,7 +28163,7 @@ function Kf(e) { } } } -function Xf(e) { +function h5(e) { return t; function t(n, o) { let r = -1, a; @@ -27892,7 +28172,7 @@ function Xf(e) { return e ? e(n, o) : n; } } -function wS(e, t) { +function jS(e, t) { let n = 0; for (; ++n <= e.length; ) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") { @@ -27935,7 +28215,7 @@ function wS(e, t) { } return e; } -function ES(e, t, n) { +function RS(e, t, n) { let o = Object.assign( n ? Object.assign({}, n) : { line: 1, @@ -27953,9 +28233,9 @@ function ES(e, t, n) { consume: x, enter: C, exit: S, - attempt: O(E), - check: O(w), - interrupt: O(w, { + attempt: M(w), + check: M(E), + interrupt: M(E, { interrupt: !0 }) }, u = { @@ -27965,7 +28245,7 @@ function ES(e, t, n) { events: [], parser: e, sliceStream: f, - sliceSerialize: h, + sliceSerialize: p, now: m, defineSkip: b, write: d @@ -27973,26 +28253,26 @@ function ES(e, t, n) { let c = t.tokenize.call(u, s); return t.resolveAll && a.push(t), u; function d(F) { - return i = Lt(i, F), y(), i[i.length - 1] !== null ? [] : (_(t, 0), u.events = e1(a, u.events, u), u.events); + return i = Ft(i, F), y(), i[i.length - 1] !== null ? [] : (_(t, 0), u.events = d1(a, u.events, u), u.events); } - function h(F, P) { - return kS(f(F), P); + function p(F, P) { + return zS(f(F), P); } function f(F) { - return SS(i, F); + return IS(i, F); } function m() { - const { line: F, column: P, offset: V, _index: k, _bufferIndex: D } = o; + const { line: F, column: P, offset: V, _index: k, _bufferIndex: N } = o; return { line: F, column: P, offset: V, _index: k, - _bufferIndex: D + _bufferIndex: N }; } function b(F) { - r[F.line] = F.column, j(); + r[F.line] = F.column, R(); } function y() { let F; @@ -28009,7 +28289,7 @@ function ES(e, t, n) { c = c(F); } function x(F) { - pe(F) ? (o.line++, o.column = 1, o.offset += F === -3 ? 2 : 1, j()) : F !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === i[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = F; + pe(F) ? (o.line++, o.column = 1, o.offset += F === -3 ? 2 : 1, R()) : F !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === i[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = F; } function C(F, P) { const V = P || {}; @@ -28019,16 +28299,16 @@ function ES(e, t, n) { const P = l.pop(); return P.end = m(), u.events.push(["exit", P, u]), P; } - function E(F, P) { + function w(F, P) { _(F, P.from); } - function w(F, P) { + function E(F, P) { P.restore(); } - function O(F, P) { + function M(F, P) { return V; - function V(k, D, M) { - let N, I, R, v; + function V(k, N, T) { + let D, I, j, v; return Array.isArray(k) ? B(k) : "tokenize" in k ? ( // @ts-expect-error Looks like a construct. B([k]) @@ -28046,12 +28326,12 @@ function ES(e, t, n) { } } function B(K) { - return N = K, I = 0, K.length === 0 ? M : A(K[I]); + return D = K, I = 0, K.length === 0 ? T : A(K[I]); } function A(K) { return Q; function Q(ne) { - return v = L(), R = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? Y() : K.tokenize.call( + return v = L(), j = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? Y() : K.tokenize.call( // If we do have fields, create an object w/ `context` as its // prototype. // This allows a “live binding”, which is needed for `interrupt`. @@ -28063,10 +28343,10 @@ function ES(e, t, n) { } } function W(K) { - return F(R, v), D; + return F(j, v), N; } function Y(K) { - return v.restore(), ++I < N.length ? A(N[I]) : M; + return v.restore(), ++I < D.length ? A(D[I]) : T; } } } @@ -28079,20 +28359,20 @@ function ES(e, t, n) { ), F.resolveTo && (u.events = F.resolveTo(u.events, u)); } function L() { - const F = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, D = Array.from(l); + const F = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, N = Array.from(l); return { - restore: M, + restore: T, from: k }; - function M() { - o = F, u.previous = P, u.currentConstruct = V, u.events.length = k, l = D, j(); + function T() { + o = F, u.previous = P, u.currentConstruct = V, u.events.length = k, l = N, R(); } } - function j() { + function R() { o.line in r && o.column < 2 && (o.column = r[o.line], o.offset += r[o.line] - 1); } } -function SS(e, t) { +function IS(e, t) { const n = t.start._index, o = t.start._bufferIndex, r = t.end._index, a = t.end._bufferIndex; let i; if (n === r) @@ -28106,7 +28386,7 @@ function SS(e, t) { } return i; } -function kS(e, t) { +function zS(e, t) { let n = -1; const o = []; let r; @@ -28147,7 +28427,7 @@ function kS(e, t) { } return o.join(""); } -const _S = { +const HS = { 42: yt, 43: yt, 45: yt, @@ -28161,94 +28441,94 @@ const _S = { 55: yt, 56: yt, 57: yt, - 62: $f -}, AS = { - 91: ME -}, MS = { - [-2]: ql, - [-1]: ql, - 32: ql -}, TS = { - 35: FE, - 42: ya, - 45: [p0, ya], - 60: zE, - 61: p0, - 95: ya, - 96: f0, - 126: f0 -}, OS = { - 38: Zf, - 92: Wf -}, DS = { - [-5]: Yl, - [-4]: Yl, - [-3]: Yl, - 33: nS, - 38: Zf, - 42: Bs, - 60: [aE, ZE], - 91: rS, - 92: [NE, Wf], - 93: n1, - 95: Bs, - 96: yE -}, NS = { - null: [Bs, CS] -}, LS = { + 62: a5 +}, PS = { + 91: BE +}, BS = { + [-2]: Xl, + [-1]: Xl, + 32: Xl +}, VS = { + 35: qE, + 42: Sa, + 45: [_0, Sa], + 60: XE, + 61: _0, + 95: Sa, + 96: S0, + 126: S0 +}, $S = { + 38: l5, + 92: i5 +}, WS = { + [-5]: Ql, + [-4]: Ql, + [-3]: Ql, + 33: gS, + 38: l5, + 42: Us, + 60: [yE, rS], + 91: bS, + 92: [ZE, i5], + 93: h1, + 95: Us, + 96: NE +}, ZS = { + null: [Us, DS] +}, US = { null: [42, 95] -}, FS = { +}, qS = { null: [] -}, RS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, YS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - attentionMarkers: LS, - contentInitial: AS, - disable: FS, - document: _S, - flow: TS, - flowInitial: MS, - insideSpan: NS, - string: OS, - text: DS + attentionMarkers: US, + contentInitial: PS, + disable: qS, + document: HS, + flow: VS, + flowInitial: BS, + insideSpan: ZS, + string: $S, + text: WS }, Symbol.toStringTag, { value: "Module" })); -function jS(e) { +function GS(e) { const n = ( /** @type {FullNormalizedExtension} */ - $w([RS, ...(e || {}).extensions || []]) + nE([YS, ...(e || {}).extensions || []]) ), o = { defined: [], lazy: {}, constructs: n, - content: r(Qw), - document: r(eE), - flow: r(bS), - string: r(vS), - text: r(xS) + content: r(dE), + document: r(hE), + flow: r(OS), + string: r(LS), + text: r(FS) }; return o; function r(a) { return i; function i(l) { - return ES(o, a, l); + return RS(o, a, l); } } } -const g0 = /[\0\t\n\r]/g; -function IS() { +const A0 = /[\0\t\n\r]/g; +function KS() { let e = 1, t = "", n = !0, o; return r; function r(a, i, l) { const s = []; - let u, c, d, h, f; + let u, c, d, p, f; for (a = t + a.toString(i), d = 0, t = "", n && (a.charCodeAt(0) === 65279 && d++, n = void 0); d < a.length; ) { - if (g0.lastIndex = d, u = g0.exec(a), h = u && u.index !== void 0 ? u.index : a.length, f = a.charCodeAt(h), !u) { + if (A0.lastIndex = d, u = A0.exec(a), p = u && u.index !== void 0 ? u.index : a.length, f = a.charCodeAt(p), !u) { t = a.slice(d); break; } - if (f === 10 && d === h && o) + if (f === 10 && d === p && o) s.push(-3), o = void 0; else - switch (o && (s.push(-5), o = void 0), d < h && (s.push(a.slice(d, h)), e += h - d), f) { + switch (o && (s.push(-5), o = void 0), d < p && (s.push(a.slice(d, p)), e += p - d), f) { case 0: { s.push(65533), e++; break; @@ -28264,17 +28544,17 @@ function IS() { default: o = !0, e = 1; } - d = h + 1; + d = p + 1; } return l && (o && s.push(-5), t && s.push(t), s.push(null)), s; } } -function zS(e) { - for (; !Uf(e); ) +function XS(e) { + for (; !s5(e); ) ; return e; } -function Qf(e, t) { +function p5(e, t) { const n = Number.parseInt(e, t); return ( // C0 except for HT, LF, FF, CR, space. @@ -28285,20 +28565,20 @@ function Qf(e, t) { n > 1114111 ? "�" : String.fromCharCode(n) ); } -const HS = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function PS(e) { - return e.replace(HS, BS); +const QS = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; +function JS(e) { + return e.replace(QS, ek); } -function BS(e, t, n) { +function ek(e, t, n) { if (t) return t; if (n.charCodeAt(0) === 35) { const r = n.charCodeAt(1), a = r === 120 || r === 88; - return Qf(n.slice(a ? 2 : 1), a ? 16 : 10); + return p5(n.slice(a ? 2 : 1), a ? 16 : 10); } - return t1(n) || e; + return f1(n) || e; } -const Jf = {}.hasOwnProperty, VS = ( +const g5 = {}.hasOwnProperty, tk = ( /** * @type {( * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & @@ -28312,22 +28592,22 @@ const Jf = {}.hasOwnProperty, VS = ( * @returns {Root} */ function(e, t, n) { - return typeof t != "string" && (n = t, t = void 0), $S(n)( - zS( - jS(n).document().write(IS()(e, t, !0)) + return typeof t != "string" && (n = t, t = void 0), nk(n)( + XS( + GS(n).document().write(KS()(e, t, !0)) ) ); } ); -function $S(e) { +function nk(e) { const t = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], enter: { - autolink: l(Tt), + autolink: l(Ot), autolinkProtocol: F, autolinkEmail: F, - atxHeading: l(Ve), + atxHeading: l($e), blockQuote: l(ge), characterEscape: F, characterReference: F, @@ -28352,23 +28632,23 @@ function $S(e) { htmlTextData: F, image: l(Ge), label: s, - link: l(Tt), - listItem: l(Ot), + link: l(Ot), + listItem: l(Nt), listItemValue: m, - listOrdered: l(Qt, f), - listUnordered: l(Qt), - paragraph: l(Jt), + listOrdered: l(en, f), + listUnordered: l(en), + paragraph: l(tn), reference: Y, referenceString: s, resourceDestinationString: s, resourceTitleString: s, - setextHeading: l(Ve), - strong: l(wt), + setextHeading: l($e), + strong: l(St), thematicBreak: l(Dt) }, exit: { atxHeading: c(), - atxHeadingSequence: O, + atxHeadingSequence: M, autolink: c(), autolinkEmail: U, autolinkProtocol: oe, @@ -28383,21 +28663,21 @@ function $S(e) { codeFencedFenceMeta: y, codeFlowValue: P, codeIndented: c(C), - codeText: c(N), + codeText: c(D), codeTextData: P, data: P, definition: c(), - definitionDestinationString: w, + definitionDestinationString: E, definitionLabelString: S, - definitionTitleString: E, + definitionTitleString: w, emphasis: c(), hardBreakEscape: c(k), hardBreakTrailing: c(k), - htmlFlow: c(D), + htmlFlow: c(N), htmlFlowData: P, - htmlText: c(M), + htmlText: c(T), htmlTextData: P, - image: c(R), + image: c(j), label: z, labelText: v, lineEnding: V, @@ -28410,14 +28690,14 @@ function $S(e) { resourceDestinationString: B, resourceTitleString: A, resource: W, - setextHeading: c(j), + setextHeading: c(R), setextHeadingLineSequence: L, setextHeadingText: _, strong: c(), thematicBreak: c() } }; - e5(t, (e || {}).mdastExtensions || []); + m5(t, (e || {}).mdastExtensions || []); const n = {}; return o; function o(Z) { @@ -28432,7 +28712,7 @@ function $S(e) { enter: u, exit: d, buffer: s, - resume: h, + resume: p, setData: a, getData: i }, xe = []; @@ -28442,12 +28722,12 @@ function $S(e) { if (Z[de][0] === "enter") xe.push(de); else { - const Be = xe.pop(); - de = r(Z, Be, de); + const Ve = xe.pop(); + de = r(Z, Ve, de); } for (de = -1; ++de < Z.length; ) { - const Be = t[Z[de][0]]; - Jf.call(Be, Z[de][1].type) && Be[Z[de][1].type].call( + const Ve = t[Z[de][0]]; + g5.call(Ve, Z[de][1].type) && Ve[Z[de][1].type].call( Object.assign( { sliceSerialize: Z[de][2].sliceSerialize @@ -28458,18 +28738,18 @@ function $S(e) { ); } if (se.tokenStack.length > 0) { - const Be = se.tokenStack[se.tokenStack.length - 1]; - (Be[1] || m0).call(se, void 0, Be[0]); + const Ve = se.tokenStack[se.tokenStack.length - 1]; + (Ve[1] || M0).call(se, void 0, Ve[0]); } for (ee.position = { - start: _n( + start: Tn( Z.length > 0 ? Z[0][1].start : { line: 1, column: 1, offset: 0 } ), - end: _n( + end: Tn( Z.length > 0 ? Z[Z.length - 2][1].end : { line: 1, column: 1, @@ -28481,20 +28761,20 @@ function $S(e) { return ee; } function r(Z, ee, se) { - let xe = ee - 1, de = -1, Be = !1, et, Qe, ft, ot; + let xe = ee - 1, de = -1, Ve = !1, et, Qe, ht, it; for (; ++xe <= se; ) { const Se = Z[xe]; - if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, ot = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (et && !ot && !de && !ft && (ft = xe), ot = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (ot = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { + if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (et && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { if (et) { - let $t = xe; - for (Qe = void 0; $t--; ) { - const rt = Z[$t]; - if (rt[1].type === "lineEnding" || rt[1].type === "lineEndingBlank") { - if (rt[0] === "exit") continue; - Qe && (Z[Qe][1].type = "lineEndingBlank", Be = !0), rt[1].type = "lineEnding", Qe = $t; - } else if (!(rt[1].type === "linePrefix" || rt[1].type === "blockQuotePrefix" || rt[1].type === "blockQuotePrefixWhitespace" || rt[1].type === "blockQuoteMarker" || rt[1].type === "listItemIndent")) break; + let Wt = xe; + for (Qe = void 0; Wt--; ) { + const lt = Z[Wt]; + if (lt[1].type === "lineEnding" || lt[1].type === "lineEndingBlank") { + if (lt[0] === "exit") continue; + Qe && (Z[Qe][1].type = "lineEndingBlank", Ve = !0), lt[1].type = "lineEnding", Qe = Wt; + } else if (!(lt[1].type === "linePrefix" || lt[1].type === "blockQuotePrefix" || lt[1].type === "blockQuotePrefixWhitespace" || lt[1].type === "blockQuoteMarker" || lt[1].type === "listItemIndent")) break; } - ft && (!Qe || ft < Qe) && (et._spread = !0), et.end = Object.assign( + ht && (!Qe || ht < Qe) && (et._spread = !0), et.end = Object.assign( {}, Qe ? Z[Qe][1].start : Se[1].end ), Z.splice(Qe || xe, 0, ["exit", et, Se[2]]), xe++, se++; @@ -28505,10 +28785,10 @@ function $S(e) { start: Object.assign({}, Se[1].start), // @ts-expect-error: we’ll add `end` in a second. end: void 0 - }, Z.splice(xe, 0, ["enter", et, Se[2]]), xe++, se++, ft = void 0, ot = !0); + }, Z.splice(xe, 0, ["enter", et, Se[2]]), xe++, se++, ht = void 0, it = !0); } } - return Z[ee][1]._spread = Be, se; + return Z[ee][1]._spread = Ve, se; } function a(Z, ee) { n[Z] = ee; @@ -28530,7 +28810,7 @@ function $S(e) { } function u(Z, ee, se) { return this.stack[this.stack.length - 1].children.push(Z), this.stack.push(Z), this.tokenStack.push([ee, se]), Z.position = { - start: _n(ee.start) + start: Tn(ee.start) }, Z; } function c(Z) { @@ -28542,17 +28822,17 @@ function $S(e) { function d(Z, ee) { const se = this.stack.pop(), xe = this.tokenStack.pop(); if (xe) - xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || m0).call(this, Z, xe[0])); + xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || M0).call(this, Z, xe[0])); else throw new Error( - "Cannot close `" + Z.type + "` (" + er({ + "Cannot close `" + Z.type + "` (" + ar({ start: Z.start, end: Z.end }) + "): it’s not open" ); - return se.position.end = _n(Z.end), se; + return se.position.end = Tn(Z.end), se; } - function h() { - return Bw(this.stack.pop()); + function p() { + return eE(this.stack.pop()); } function f() { a("expectingFirstListItemValue", !0); @@ -28584,19 +28864,19 @@ function $S(e) { } function S(Z) { const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Co( + se.label = ee, se.identifier = vo( this.sliceSerialize(Z) ).toLowerCase(); } - function E() { + function w() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.title = Z; } - function w() { + function E() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.url = Z; } - function O(Z) { + function M(Z) { const ee = this.stack[this.stack.length - 1]; if (!ee.depth) { const se = this.sliceSerialize(Z).length; @@ -28610,25 +28890,25 @@ function $S(e) { const ee = this.stack[this.stack.length - 1]; ee.depth = this.sliceSerialize(Z).charCodeAt(0) === 61 ? 1 : 2; } - function j() { + function R() { a("setextHeadingSlurpLineEnding"); } function F(Z) { const ee = this.stack[this.stack.length - 1]; let se = ee.children[ee.children.length - 1]; - (!se || se.type !== "text") && (se = Vt(), se.position = { - start: _n(Z.start) + (!se || se.type !== "text") && (se = $t(), se.position = { + start: Tn(Z.start) }, ee.children.push(se)), this.stack.push(se); } function P(Z) { const ee = this.stack.pop(); - ee.value += this.sliceSerialize(Z), ee.position.end = _n(Z.end); + ee.value += this.sliceSerialize(Z), ee.position.end = Tn(Z.end); } function V(Z) { const ee = this.stack[this.stack.length - 1]; if (i("atHardBreak")) { const se = ee.children[ee.children.length - 1]; - se.position.end = _n(Z.end), a("atHardBreak"); + se.position.end = Tn(Z.end), a("atHardBreak"); return; } !i("setextHeadingSlurpLineEnding") && t.canContainEols.includes(ee.type) && (F.call(this, Z), P.call(this, Z)); @@ -28636,15 +28916,15 @@ function $S(e) { function k() { a("atHardBreak", !0); } - function D() { + function N() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.value = Z; } - function M() { + function T() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.value = Z; } - function N() { + function D() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.value = Z; } @@ -28657,7 +28937,7 @@ function $S(e) { delete Z.identifier, delete Z.label; a("referenceType"); } - function R() { + function j() { const Z = this.stack[this.stack.length - 1]; if (i("inReference")) { const ee = i("referenceType") || "shortcut"; @@ -28668,7 +28948,7 @@ function $S(e) { } function v(Z) { const ee = this.sliceSerialize(Z), se = this.stack[this.stack.length - 2]; - se.label = PS(ee), se.identifier = Co(ee).toLowerCase(); + se.label = JS(ee), se.identifier = vo(ee).toLowerCase(); } function z() { const Z = this.stack[this.stack.length - 1], ee = this.resume(), se = this.stack[this.stack.length - 1]; @@ -28694,7 +28974,7 @@ function $S(e) { } function K(Z) { const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Co( + se.label = ee, se.identifier = vo( this.sliceSerialize(Z) ).toLowerCase(), a("referenceType", "full"); } @@ -28704,12 +28984,12 @@ function $S(e) { function ne(Z) { const ee = this.sliceSerialize(Z), se = i("characterReferenceType"); let xe; - se ? (xe = Qf( + se ? (xe = p5( ee, se === "characterReferenceMarkerNumeric" ? 10 : 16 - ), a("characterReferenceType")) : xe = t1(ee); + ), a("characterReferenceType")) : xe = f1(ee); const de = this.stack.pop(); - de.value += xe, de.position.end = _n(Z.end); + de.value += xe, de.position.end = Tn(Z.end); } function oe(Z) { P.call(this, Z); @@ -28756,7 +29036,7 @@ function $S(e) { children: [] }; } - function Ve() { + function $e() { return { type: "heading", depth: void 0, @@ -28782,7 +29062,7 @@ function $S(e) { alt: null }; } - function Tt() { + function Ot() { return { type: "link", title: null, @@ -28790,7 +29070,7 @@ function $S(e) { children: [] }; } - function Qt(Z) { + function en(Z) { return { type: "list", ordered: Z.type === "listOrdered", @@ -28799,7 +29079,7 @@ function $S(e) { children: [] }; } - function Ot(Z) { + function Nt(Z) { return { type: "listItem", spread: Z._spread, @@ -28807,19 +29087,19 @@ function $S(e) { children: [] }; } - function Jt() { + function tn() { return { type: "paragraph", children: [] }; } - function wt() { + function St() { return { type: "strong", children: [] }; } - function Vt() { + function $t() { return { type: "text", value: "" @@ -28831,24 +29111,24 @@ function $S(e) { }; } } -function _n(e) { +function Tn(e) { return { line: e.line, column: e.column, offset: e.offset }; } -function e5(e, t) { +function m5(e, t) { let n = -1; for (; ++n < t.length; ) { const o = t[n]; - Array.isArray(o) ? e5(e, o) : WS(e, o); + Array.isArray(o) ? m5(e, o) : ok(e, o); } } -function WS(e, t) { +function ok(e, t) { let n; for (n in t) - if (Jf.call(t, n)) { + if (g5.call(t, n)) { if (n === "canContainEols") { const o = t[n]; o && e[n].push(...o); @@ -28861,29 +29141,29 @@ function WS(e, t) { } } } -function m0(e, t) { +function M0(e, t) { throw e ? new Error( - "Cannot close `" + e.type + "` (" + er({ + "Cannot close `" + e.type + "` (" + ar({ start: e.start, end: e.end - }) + "): a different token (`" + t.type + "`, " + er({ + }) + "): a different token (`" + t.type + "`, " + ar({ start: t.start, end: t.end }) + ") is open" ) : new Error( - "Cannot close document, a token (`" + t.type + "`, " + er({ + "Cannot close document, a token (`" + t.type + "`, " + ar({ start: t.start, end: t.end }) + ") is still open" ); } -function ZS(e) { +function rk(e) { Object.assign(this, { Parser: (n) => { const o = ( /** @type {Options} */ this.data("settings") ); - return VS( + return tk( n, Object.assign({}, o, e, { // Note: these options are not in the readme. @@ -28895,7 +29175,7 @@ function ZS(e) { ); } }); } -function US(e, t) { +function ak(e, t) { const n = { type: "element", tagName: "blockquote", @@ -28904,12 +29184,12 @@ function US(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function qS(e, t) { +function ik(e, t) { const n = { type: "element", tagName: "br", properties: {}, children: [] }; return e.patch(t, n), [e.applyData(t, n), { type: "text", value: ` ` }]; } -function YS(e, t) { +function lk(e, t) { const n = t.value ? t.value + ` ` : "", o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, r = {}; o && (r.className = ["language-" + o]); @@ -28921,7 +29201,7 @@ function YS(e, t) { }; return t.meta && (a.data = { meta: t.meta }), e.patch(t, a), a = e.applyData(t, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, e.patch(t, a), a; } -function GS(e, t) { +function sk(e, t) { const n = { type: "element", tagName: "del", @@ -28930,7 +29210,7 @@ function GS(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function KS(e, t) { +function ck(e, t) { const n = { type: "element", tagName: "em", @@ -28939,13 +29219,13 @@ function KS(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Fo(e) { +function Po(e) { const t = []; let n = -1, o = 0, r = 0; for (; ++n < e.length; ) { const a = e.charCodeAt(n); let i = ""; - if (a === 37 && St(e.charCodeAt(n + 1)) && St(e.charCodeAt(n + 2))) + if (a === 37 && _t(e.charCodeAt(n + 1)) && _t(e.charCodeAt(n + 2))) r = 2; else if (a < 128) /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (i = String.fromCharCode(a)); @@ -28958,8 +29238,8 @@ function Fo(e) { } return t.join("") + e.slice(o); } -function t5(e, t) { - const n = String(t.identifier).toUpperCase(), o = Fo(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); +function b5(e, t) { + const n = String(t.identifier).toUpperCase(), o = Po(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); let a; r === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, a = e.footnoteOrder.length) : (e.footnoteCounts[n]++, a = r + 1); const i = e.footnoteCounts[n], l = { @@ -28982,7 +29262,7 @@ function t5(e, t) { }; return e.patch(t, s), e.applyData(t, s); } -function XS(e, t) { +function uk(e, t) { const n = e.footnoteById; let o = 1; for (; o in n; ) o++; @@ -28992,13 +29272,13 @@ function XS(e, t) { identifier: r, children: [{ type: "paragraph", children: t.children }], position: t.position - }, t5(e, { + }, b5(e, { type: "footnoteReference", identifier: r, position: t.position }); } -function QS(e, t) { +function dk(e, t) { const n = { type: "element", tagName: "h" + t.depth, @@ -29007,14 +29287,14 @@ function QS(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function JS(e, t) { +function fk(e, t) { if (e.dangerous) { const n = { type: "raw", value: t.value }; return e.patch(t, n), e.applyData(t, n); } return null; } -function n5(e, t) { +function y5(e, t) { const n = t.referenceType; let o = "]"; if (n === "collapsed" ? o += "[]" : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference") @@ -29024,22 +29304,22 @@ function n5(e, t) { const i = r[r.length - 1]; return i && i.type === "text" ? i.value += o : r.push({ type: "text", value: o }), r; } -function ek(e, t) { +function hk(e, t) { const n = e.definition(t.identifier); if (!n) - return n5(e, t); - const o = { src: Fo(n.url || ""), alt: t.alt }; + return y5(e, t); + const o = { src: Po(n.url || ""), alt: t.alt }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "img", properties: o, children: [] }; return e.patch(t, r), e.applyData(t, r); } -function tk(e, t) { - const n = { src: Fo(t.url) }; +function pk(e, t) { + const n = { src: Po(t.url) }; t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, o), e.applyData(t, o); } -function nk(e, t) { +function gk(e, t) { const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; e.patch(t, n); const o = { @@ -29050,11 +29330,11 @@ function nk(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function ok(e, t) { +function mk(e, t) { const n = e.definition(t.identifier); if (!n) - return n5(e, t); - const o = { href: Fo(n.url || "") }; + return y5(e, t); + const o = { href: Po(n.url || "") }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", @@ -29064,8 +29344,8 @@ function ok(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function rk(e, t) { - const n = { href: Fo(t.url) }; +function bk(e, t) { + const n = { href: Po(t.url) }; t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", @@ -29075,8 +29355,8 @@ function rk(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function ak(e, t, n) { - const o = e.all(t), r = n ? ik(n) : o5(t), a = {}, i = []; +function yk(e, t, n) { + const o = e.all(t), r = n ? Ck(n) : C5(t), a = {}, i = []; if (typeof t.checked == "boolean") { const c = o[0]; let d; @@ -29099,22 +29379,22 @@ function ak(e, t, n) { const u = { type: "element", tagName: "li", properties: a, children: i }; return e.patch(t, u), e.applyData(t, u); } -function ik(e) { +function Ck(e) { let t = !1; if (e.type === "list") { t = e.spread || !1; const n = e.children; let o = -1; for (; !t && ++o < n.length; ) - t = o5(n[o]); + t = C5(n[o]); } return t; } -function o5(e) { +function C5(e) { const t = e.spread; return t ?? e.children.length > 1; } -function lk(e, t) { +function vk(e, t) { const n = {}, o = e.all(t); let r = -1; for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++r < o.length; ) { @@ -29132,7 +29412,7 @@ function lk(e, t) { }; return e.patch(t, a), e.applyData(t, a); } -function sk(e, t) { +function xk(e, t) { const n = { type: "element", tagName: "p", @@ -29141,11 +29421,11 @@ function sk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function ck(e, t) { +function wk(e, t) { const n = { type: "root", children: e.wrap(e.all(t)) }; return e.patch(t, n), e.applyData(t, n); } -function uk(e, t) { +function Ek(e, t) { const n = { type: "element", tagName: "strong", @@ -29154,11 +29434,11 @@ function uk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const o1 = r5("start"), r1 = r5("end"); -function dk(e) { - return { start: o1(e), end: r1(e) }; +const p1 = v5("start"), g1 = v5("end"); +function Sk(e) { + return { start: p1(e), end: g1(e) }; } -function r5(e) { +function v5(e) { return t; function t(n) { const o = n && n.position && n.position[e] || {}; @@ -29172,7 +29452,7 @@ function r5(e) { }; } } -function fk(e, t) { +function kk(e, t) { const n = e.all(t), o = n.shift(), r = []; if (o) { const i = { @@ -29189,7 +29469,7 @@ function fk(e, t) { tagName: "tbody", properties: {}, children: e.wrap(n, !0) - }, l = o1(t.children[1]), s = r1(t.children[t.children.length - 1]); + }, l = p1(t.children[1]), s = g1(t.children[t.children.length - 1]); l.line && s.line && (i.position = { start: l, end: s }), r.push(i); } const a = { @@ -29200,14 +29480,14 @@ function fk(e, t) { }; return e.patch(t, a), e.applyData(t, a); } -function hk(e, t, n) { +function _k(e, t, n) { const o = n ? n.children : void 0, a = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", i = n && n.type === "table" ? n.align : void 0, l = i ? i.length : t.children.length; let s = -1; const u = []; for (; ++s < l; ) { - const d = t.children[s], h = {}, f = i ? i[s] : void 0; - f && (h.align = f); - let m = { type: "element", tagName: a, properties: h, children: [] }; + const d = t.children[s], p = {}, f = i ? i[s] : void 0; + f && (p.align = f); + let m = { type: "element", tagName: a, properties: p, children: [] }; d && (m.children = e.all(d), e.patch(d, m), m = e.applyData(t, m)), u.push(m); } const c = { @@ -29218,7 +29498,7 @@ function hk(e, t, n) { }; return e.patch(t, c), e.applyData(t, c); } -function pk(e, t) { +function Ak(e, t) { const n = { type: "element", tagName: "td", @@ -29228,37 +29508,37 @@ function pk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const b0 = 9, y0 = 32; -function gk(e) { +const T0 = 9, O0 = 32; +function Mk(e) { const t = String(e), n = /\r?\n|\r/g; let o = n.exec(t), r = 0; const a = []; for (; o; ) a.push( - C0(t.slice(r, o.index), r > 0, !0), + N0(t.slice(r, o.index), r > 0, !0), o[0] ), r = o.index + o[0].length, o = n.exec(t); - return a.push(C0(t.slice(r), r > 0, !1)), a.join(""); + return a.push(N0(t.slice(r), r > 0, !1)), a.join(""); } -function C0(e, t, n) { +function N0(e, t, n) { let o = 0, r = e.length; if (t) { let a = e.codePointAt(o); - for (; a === b0 || a === y0; ) + for (; a === T0 || a === O0; ) o++, a = e.codePointAt(o); } if (n) { let a = e.codePointAt(r - 1); - for (; a === b0 || a === y0; ) + for (; a === T0 || a === O0; ) r--, a = e.codePointAt(r - 1); } return r > o ? e.slice(o, r) : ""; } -function mk(e, t) { - const n = { type: "text", value: gk(String(t.value)) }; +function Tk(e, t) { + const n = { type: "text", value: Mk(String(t.value)) }; return e.patch(t, n), e.applyData(t, n); } -function bk(e, t) { +function Ok(e, t) { const n = { type: "element", tagName: "hr", @@ -29267,40 +29547,40 @@ function bk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const yk = { - blockquote: US, - break: qS, - code: YS, - delete: GS, - emphasis: KS, - footnoteReference: t5, - footnote: XS, - heading: QS, - html: JS, - imageReference: ek, - image: tk, - inlineCode: nk, - linkReference: ok, - link: rk, - listItem: ak, - list: lk, - paragraph: sk, - root: ck, - strong: uk, - table: fk, - tableCell: pk, - tableRow: hk, - text: mk, - thematicBreak: bk, - toml: aa, - yaml: aa, - definition: aa, - footnoteDefinition: aa +const Nk = { + blockquote: ak, + break: ik, + code: lk, + delete: sk, + emphasis: ck, + footnoteReference: b5, + footnote: uk, + heading: dk, + html: fk, + imageReference: hk, + image: pk, + inlineCode: gk, + linkReference: mk, + link: bk, + listItem: yk, + list: vk, + paragraph: xk, + root: wk, + strong: Ek, + table: kk, + tableCell: Ak, + tableRow: _k, + text: Tk, + thematicBreak: Ok, + toml: ua, + yaml: ua, + definition: ua, + footnoteDefinition: ua }; -function aa() { +function ua() { return null; } -const a5 = ( +const x5 = ( /** * @type {( * ((test: PredicateTest) => AssertPredicate) & @@ -29313,22 +29593,22 @@ const a5 = ( */ function(e) { if (e == null) - return wk; + return jk; if (typeof e == "string") - return xk(e); + return Fk(e); if (typeof e == "object") - return Array.isArray(e) ? Ck(e) : vk(e); + return Array.isArray(e) ? Dk(e) : Lk(e); if (typeof e == "function") - return ui(e); + return gi(e); throw new Error("Expected function, string, or object as test"); } ); -function Ck(e) { +function Dk(e) { const t = []; let n = -1; for (; ++n < e.length; ) - t[n] = a5(e[n]); - return ui(o); + t[n] = x5(e[n]); + return gi(o); function o(...r) { let a = -1; for (; ++a < t.length; ) @@ -29336,8 +29616,8 @@ function Ck(e) { return !1; } } -function vk(e) { - return ui(t); +function Lk(e) { + return gi(t); function t(n) { let o; for (o in e) @@ -29345,22 +29625,22 @@ function vk(e) { return !0; } } -function xk(e) { - return ui(t); +function Fk(e) { + return gi(t); function t(n) { return n && n.type === e; } } -function ui(e) { +function gi(e) { return t; function t(n, ...o) { return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...o)); } } -function wk() { +function jk() { return !0; } -const Ek = !0, v0 = !1, Sk = "skip", kk = ( +const Rk = !0, D0 = !1, Ik = "skip", zk = ( /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29376,12 +29656,12 @@ const Ek = !0, v0 = !1, Sk = "skip", kk = ( */ function(e, t, n, o) { typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null); - const r = a5(t), a = o ? -1 : 1; + const r = x5(t), a = o ? -1 : 1; i(e, void 0, [])(); function i(l, s, u) { const c = l && typeof l == "object" ? l : {}; if (typeof c.type == "string") { - const h = ( + const p = ( // `hast` typeof c.tagName == "string" ? c.tagName : ( // `xast` @@ -29389,29 +29669,29 @@ const Ek = !0, v0 = !1, Sk = "skip", kk = ( ) ); Object.defineProperty(d, "name", { - value: "node (" + (l.type + (h ? "<" + h + ">" : "")) + ")" + value: "node (" + (l.type + (p ? "<" + p + ">" : "")) + ")" }); } return d; function d() { - let h = [], f, m, b; - if ((!t || r(l, s, u[u.length - 1] || null)) && (h = _k(n(l, u)), h[0] === v0)) - return h; - if (l.children && h[0] !== Sk) + let p = [], f, m, b; + if ((!t || r(l, s, u[u.length - 1] || null)) && (p = Hk(n(l, u)), p[0] === D0)) + return p; + if (l.children && p[0] !== Ik) for (m = (o ? l.children.length : -1) + a, b = u.concat(l); m > -1 && m < l.children.length; ) { - if (f = i(l.children[m], m, b)(), f[0] === v0) + if (f = i(l.children[m], m, b)(), f[0] === D0) return f; m = typeof f[1] == "number" ? f[1] : m + a; } - return h; + return p; } } } ); -function _k(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [Ek, e] : [e]; +function Hk(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [Rk, e] : [e]; } -const a1 = ( +const m1 = ( /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29426,7 +29706,7 @@ const a1 = ( * @returns {void} */ function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), kk(e, t, r, o); + typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), zk(e, t, r, o); function r(a, i) { const l = i[i.length - 1]; return n( @@ -29437,34 +29717,34 @@ const a1 = ( } } ); -function Ak(e) { +function Pk(e) { return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column; } -const x0 = {}.hasOwnProperty; -function Mk(e) { +const L0 = {}.hasOwnProperty; +function Bk(e) { const t = /* @__PURE__ */ Object.create(null); if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); - return a1(e, "definition", (o) => { - const r = w0(o.identifier); - r && !x0.call(t, r) && (t[r] = o); + return m1(e, "definition", (o) => { + const r = F0(o.identifier); + r && !L0.call(t, r) && (t[r] = o); }), n; function n(o) { - const r = w0(o); - return r && x0.call(t, r) ? t[r] : null; + const r = F0(o); + return r && L0.call(t, r) ? t[r] : null; } } -function w0(e) { +function F0(e) { return String(e || "").toUpperCase(); } -const Va = {}.hasOwnProperty; -function Tk(e, t) { +const Ya = {}.hasOwnProperty; +function Vk(e, t) { const n = t || {}, o = n.allowDangerousHtml || !1, r = {}; return i.dangerous = o, i.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, i.footnoteLabel = n.footnoteLabel || "Footnotes", i.footnoteLabelTagName = n.footnoteLabelTagName || "h2", i.footnoteLabelProperties = n.footnoteLabelProperties || { className: ["sr-only"] - }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...yk, ...n.handlers }, i.definition = Mk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = Ok, i.applyData = Dk, i.one = l, i.all = s, i.wrap = Lk, i.augment = a, a1(e, "footnoteDefinition", (u) => { + }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...Nk, ...n.handlers }, i.definition = Bk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = $k, i.applyData = Wk, i.one = l, i.all = s, i.wrap = Uk, i.augment = a, m1(e, "footnoteDefinition", (u) => { const c = String(u.identifier).toUpperCase(); - Va.call(r, c) || (r[c] = u); + Ya.call(r, c) || (r[c] = u); }), i; function a(u, c) { if (u && "data" in u && u.data) { @@ -29478,29 +29758,29 @@ function Tk(e, t) { } if (u) { const d = "type" in u ? u : { position: u }; - Ak(d) || (c.position = { start: o1(d), end: r1(d) }); + Pk(d) || (c.position = { start: p1(d), end: g1(d) }); } return c; } - function i(u, c, d, h) { - return Array.isArray(d) && (h = d, d = {}), a(u, { + function i(u, c, d, p) { + return Array.isArray(d) && (p = d, d = {}), a(u, { type: "element", tagName: c, properties: d || {}, - children: h || [] + children: p || [] }); } function l(u, c) { - return i5(i, u, c); + return w5(i, u, c); } function s(u) { - return i1(i, u); + return b1(i, u); } } -function Ok(e, t) { - e.position && (t.position = dk(e)); +function $k(e, t) { + e.position && (t.position = Sk(e)); } -function Dk(e, t) { +function Wk(e, t) { let n = t; if (e && e.data) { const o = e.data.hName, r = e.data.hChildren, a = e.data.hProperties; @@ -29513,19 +29793,19 @@ function Dk(e, t) { } return n; } -function i5(e, t, n) { +function w5(e, t, n) { const o = t && t.type; if (!o) throw new Error("Expected node, got `" + t + "`"); - return Va.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: i1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Nk(e, t); + return Ya.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: b1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Zk(e, t); } -function i1(e, t) { +function b1(e, t) { const n = []; if ("children" in t) { const o = t.children; let r = -1; for (; ++r < o.length; ) { - const a = i5(e, o[r], t); + const a = w5(e, o[r], t); if (a) { if (r && o[r - 1].type === "break" && (!Array.isArray(a) && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")), !Array.isArray(a) && a.type === "element")) { const i = a.children[0]; @@ -29537,16 +29817,16 @@ function i1(e, t) { } return n; } -function Nk(e, t) { - const n = t.data || {}, o = "value" in t && !(Va.call(n, "hProperties") || Va.call(n, "hChildren")) ? { type: "text", value: t.value } : { +function Zk(e, t) { + const n = t.data || {}, o = "value" in t && !(Ya.call(n, "hProperties") || Ya.call(n, "hChildren")) ? { type: "text", value: t.value } : { type: "element", tagName: "div", properties: {}, - children: i1(e, t) + children: b1(e, t) }; return e.patch(t, o), e.applyData(t, o); } -function Lk(e, t) { +function Uk(e, t) { const n = []; let o = -1; for (t && n.push({ type: "text", value: ` @@ -29556,14 +29836,14 @@ function Lk(e, t) { return t && e.length > 0 && n.push({ type: "text", value: ` ` }), n; } -function Fk(e) { +function qk(e) { const t = []; let n = -1; for (; ++n < e.footnoteOrder.length; ) { const o = e.footnoteById[e.footnoteOrder[n]]; if (!o) continue; - const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Fo(a.toLowerCase()); + const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Po(a.toLowerCase()); let l = 0; const s = []; for (; ++l <= e.footnoteCounts[a]; ) { @@ -29627,28 +29907,28 @@ function Fk(e) { ] }; } -function l5(e, t) { - const n = Tk(e, t), o = n.one(e, null), r = Fk(n); +function E5(e, t) { + const n = Vk(e, t), o = n.one(e, null), r = qk(n); return r && o.children.push({ type: "text", value: ` ` }, r), Array.isArray(o) ? { type: "root", children: o } : o; } -const Rk = ( +const Yk = ( /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ function(e, t) { - return e && "run" in e ? jk(e, t) : Ik(e || t); + return e && "run" in e ? Gk(e, t) : Kk(e || t); } ); -function jk(e, t) { +function Gk(e, t) { return (n, o, r) => { - e.run(l5(n, t), o, (a) => { + e.run(E5(n, t), o, (a) => { r(a); }); }; } -function Ik(e) { - return (t) => l5(t, e); +function Kk(e) { + return (t) => E5(t, e); } -class Nr { +class Ir { /** * @constructor * @param {Properties} property @@ -29659,20 +29939,20 @@ class Nr { this.property = t, this.normal = n, o && (this.space = o); } } -Nr.prototype.property = {}; -Nr.prototype.normal = {}; -Nr.prototype.space = null; -function s5(e, t) { +Ir.prototype.property = {}; +Ir.prototype.normal = {}; +Ir.prototype.space = null; +function S5(e, t) { const n = {}, o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); - return new Nr(n, o, t); + return new Ir(n, o, t); } -function Vs(e) { +function qs(e) { return e.toLowerCase(); } -class Bt { +class Vt { /** * @constructor * @param {string} property @@ -29682,32 +29962,32 @@ class Bt { this.property = t, this.attribute = n; } } -Bt.prototype.space = null; -Bt.prototype.boolean = !1; -Bt.prototype.booleanish = !1; -Bt.prototype.overloadedBoolean = !1; -Bt.prototype.number = !1; -Bt.prototype.commaSeparated = !1; -Bt.prototype.spaceSeparated = !1; -Bt.prototype.commaOrSpaceSeparated = !1; -Bt.prototype.mustUseProperty = !1; -Bt.prototype.defined = !1; -let zk = 0; -const me = to(), Ke = to(), c5 = to(), te = to(), Ie = to(), vo = to(), Et = to(); -function to() { - return 2 ** ++zk; -} -const $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +Vt.prototype.space = null; +Vt.prototype.boolean = !1; +Vt.prototype.booleanish = !1; +Vt.prototype.overloadedBoolean = !1; +Vt.prototype.number = !1; +Vt.prototype.commaSeparated = !1; +Vt.prototype.spaceSeparated = !1; +Vt.prototype.commaOrSpaceSeparated = !1; +Vt.prototype.mustUseProperty = !1; +Vt.prototype.defined = !1; +let Xk = 0; +const me = oo(), Ke = oo(), k5 = oo(), te = oo(), He = oo(), xo = oo(), kt = oo(); +function oo() { + return 2 ** ++Xk; +} +const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: me, booleanish: Ke, - commaOrSpaceSeparated: Et, - commaSeparated: vo, + commaOrSpaceSeparated: kt, + commaSeparated: xo, number: te, - overloadedBoolean: c5, - spaceSeparated: Ie -}, Symbol.toStringTag, { value: "Module" })), Gl = Object.keys($s); -class l1 extends Bt { + overloadedBoolean: k5, + spaceSeparated: He +}, Symbol.toStringTag, { value: "Module" })), Jl = Object.keys(Ys); +class y1 extends Vt { /** * @constructor * @param {string} property @@ -29717,34 +29997,34 @@ class l1 extends Bt { */ constructor(t, n, o, r) { let a = -1; - if (super(t, n), E0(this, "space", r), typeof o == "number") - for (; ++a < Gl.length; ) { - const i = Gl[a]; - E0(this, Gl[a], (o & $s[i]) === $s[i]); + if (super(t, n), j0(this, "space", r), typeof o == "number") + for (; ++a < Jl.length; ) { + const i = Jl[a]; + j0(this, Jl[a], (o & Ys[i]) === Ys[i]); } } } -l1.prototype.defined = !0; -function E0(e, t, n) { +y1.prototype.defined = !0; +function j0(e, t, n) { n && (e[t] = n); } -const Hk = {}.hasOwnProperty; -function Ro(e) { +const Qk = {}.hasOwnProperty; +function Bo(e) { const t = {}, n = {}; let o; for (o in e.properties) - if (Hk.call(e.properties, o)) { - const r = e.properties[o], a = new l1( + if (Qk.call(e.properties, o)) { + const r = e.properties[o], a = new y1( o, e.transform(e.attributes || {}, o), r, e.space ); - e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[Vs(o)] = o, n[Vs(a.attribute)] = o; + e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[qs(o)] = o, n[qs(a.attribute)] = o; } - return new Nr(t, n, e.space); + return new Ir(t, n, e.space); } -const u5 = Ro({ +const _5 = Bo({ space: "xlink", transform(e, t) { return "xlink:" + t.slice(5).toLowerCase(); @@ -29758,25 +30038,25 @@ const u5 = Ro({ xLinkTitle: null, xLinkType: null } -}), d5 = Ro({ +}), A5 = Bo({ space: "xml", transform(e, t) { return "xml:" + t.slice(3).toLowerCase(); }, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); -function f5(e, t) { +function M5(e, t) { return t in e ? e[t] : t; } -function h5(e, t) { - return f5(e, t.toLowerCase()); +function T5(e, t) { + return M5(e, t.toLowerCase()); } -const p5 = Ro({ +const O5 = Bo({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: h5, + transform: T5, properties: { xmlns: null, xmlnsXLink: null } -}), g5 = Ro({ +}), N5 = Bo({ transform(e, t) { return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); }, @@ -29789,36 +30069,36 @@ const p5 = Ro({ ariaColCount: te, ariaColIndex: te, ariaColSpan: te, - ariaControls: Ie, + ariaControls: He, ariaCurrent: null, - ariaDescribedBy: Ie, + ariaDescribedBy: He, ariaDetails: null, ariaDisabled: Ke, - ariaDropEffect: Ie, + ariaDropEffect: He, ariaErrorMessage: null, ariaExpanded: Ke, - ariaFlowTo: Ie, + ariaFlowTo: He, ariaGrabbed: Ke, ariaHasPopup: null, ariaHidden: Ke, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, - ariaLabelledBy: Ie, + ariaLabelledBy: He, ariaLevel: te, ariaLive: null, ariaModal: Ke, ariaMultiLine: Ke, ariaMultiSelectable: Ke, ariaOrientation: null, - ariaOwns: Ie, + ariaOwns: He, ariaPlaceholder: null, ariaPosInSet: te, ariaPressed: Ke, ariaReadOnly: Ke, ariaRelevant: null, ariaRequired: Ke, - ariaRoleDescription: Ie, + ariaRoleDescription: He, ariaRowCount: te, ariaRowIndex: te, ariaRowSpan: te, @@ -29831,7 +30111,7 @@ const p5 = Ro({ ariaValueText: null, role: null } -}), Pk = Ro({ +}), Jk = Bo({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -29839,14 +30119,14 @@ const p5 = Ro({ htmlfor: "for", httpequiv: "http-equiv" }, - transform: h5, + transform: T5, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. abbr: null, - accept: vo, - acceptCharset: Ie, - accessKey: Ie, + accept: xo, + acceptCharset: He, + accessKey: He, action: null, allow: null, allowFullScreen: me, @@ -29856,22 +30136,22 @@ const p5 = Ro({ as: null, async: me, autoCapitalize: null, - autoComplete: Ie, + autoComplete: He, autoFocus: me, autoPlay: me, - blocking: Ie, + blocking: He, capture: null, charSet: null, checked: me, cite: null, - className: Ie, + className: He, cols: te, colSpan: null, content: null, contentEditable: Ke, controls: me, - controlsList: Ie, - coords: te | vo, + controlsList: He, + coords: te | xo, crossOrigin: null, data: null, dateTime: null, @@ -29881,7 +30161,7 @@ const p5 = Ro({ dir: null, dirName: null, disabled: me, - download: c5, + download: k5, draggable: Ke, encType: null, enterKeyHint: null, @@ -29892,14 +30172,14 @@ const p5 = Ro({ formMethod: null, formNoValidate: me, formTarget: null, - headers: Ie, + headers: He, height: te, hidden: me, high: te, href: null, hrefLang: null, - htmlFor: Ie, - httpEquiv: Ie, + htmlFor: He, + httpEquiv: He, id: null, imageSizes: null, imageSrcSet: null, @@ -29909,10 +30189,10 @@ const p5 = Ro({ is: null, isMap: me, itemId: null, - itemProp: Ie, - itemRef: Ie, + itemProp: He, + itemRef: He, itemScope: me, - itemType: Ie, + itemType: He, kind: null, label: null, lang: null, @@ -30025,7 +30305,7 @@ const p5 = Ro({ open: me, optimum: te, pattern: null, - ping: Ie, + ping: He, placeholder: null, playsInline: me, popover: null, @@ -30035,12 +30315,12 @@ const p5 = Ro({ preload: null, readOnly: me, referrerPolicy: null, - rel: Ie, + rel: He, required: me, reversed: me, rows: te, rowSpan: te, - sandbox: Ie, + sandbox: He, scope: null, scoped: me, seamless: me, @@ -30078,7 +30358,7 @@ const p5 = Ro({ // Several. Use CSS `text-align` instead, aLink: null, // ``. Use CSS `a:active {color}` instead - archive: Ie, + archive: He, // ``. List of URIs to archives axis: null, // `` and ``. Use `scope` on `` @@ -30192,7 +30472,7 @@ const p5 = Ro({ security: null, unselectable: null } -}), Bk = Ro({ +}), e_ = Bo({ space: "svg", attributes: { accentHeight: "accent-height", @@ -30369,9 +30649,9 @@ const p5 = Ro({ playbackOrder: "playbackorder", timelineBegin: "timelinebegin" }, - transform: f5, + transform: M5, properties: { - about: Et, + about: kt, accentHeight: te, accumulate: null, additive: null, @@ -30393,7 +30673,7 @@ const p5 = Ro({ by: null, calcMode: null, capHeight: te, - className: Ie, + className: He, clip: null, clipPath: null, clipPathUnits: null, @@ -30453,9 +30733,9 @@ const p5 = Ro({ from: null, fx: null, fy: null, - g1: vo, - g2: vo, - glyphName: vo, + g1: xo, + g2: xo, + glyphName: xo, glyphOrientationHorizontal: null, glyphOrientationVertical: null, glyphRef: null, @@ -30483,7 +30763,7 @@ const p5 = Ro({ k2: te, k3: te, k4: te, - kernelMatrix: Et, + kernelMatrix: kt, kernelUnitLength: null, keyPoints: null, // SEMI_COLON_SEPARATED @@ -30628,7 +30908,7 @@ const p5 = Ro({ patternTransform: null, patternUnits: null, phase: null, - ping: Ie, + ping: He, pitch: null, playbackOrder: null, pointerEvents: null, @@ -30640,21 +30920,21 @@ const p5 = Ro({ preserveAspectRatio: null, primitiveUnits: null, propagate: null, - property: Et, + property: kt, r: null, radius: null, referrerPolicy: null, refX: null, refY: null, - rel: Et, - rev: Et, + rel: kt, + rev: kt, renderingIntent: null, repeatCount: null, repeatDur: null, - requiredExtensions: Et, - requiredFeatures: Et, - requiredFonts: Et, - requiredFormats: Et, + requiredExtensions: kt, + requiredFeatures: kt, + requiredFonts: kt, + requiredFormats: kt, resource: null, restart: null, result: null, @@ -30682,7 +30962,7 @@ const p5 = Ro({ strikethroughThickness: te, string: null, stroke: null, - strokeDashArray: Et, + strokeDashArray: kt, strokeDashOffset: null, strokeLineCap: null, strokeLineJoin: null, @@ -30696,7 +30976,7 @@ const p5 = Ro({ syncMaster: null, syncTolerance: null, syncToleranceDefault: null, - systemLanguage: Et, + systemLanguage: kt, tabIndex: te, tableValues: null, target: null, @@ -30710,7 +30990,7 @@ const p5 = Ro({ title: null, transformBehavior: null, type: null, - typeOf: Et, + typeOf: kt, to: null, transform: null, transformOrigin: null, @@ -30751,34 +31031,34 @@ const p5 = Ro({ z: null, zoomAndPan: null } -}), Vk = /^data[-\w.:]+$/i, S0 = /-[a-z]/g, $k = /[A-Z]/g; -function Wk(e, t) { - const n = Vs(t); - let o = t, r = Bt; +}), t_ = /^data[-\w.:]+$/i, R0 = /-[a-z]/g, n_ = /[A-Z]/g; +function o_(e, t) { + const n = qs(t); + let o = t, r = Vt; if (n in e.normal) return e.property[e.normal[n]]; - if (n.length > 4 && n.slice(0, 4) === "data" && Vk.test(t)) { + if (n.length > 4 && n.slice(0, 4) === "data" && t_.test(t)) { if (t.charAt(4) === "-") { - const a = t.slice(5).replace(S0, Uk); + const a = t.slice(5).replace(R0, a_); o = "data" + a.charAt(0).toUpperCase() + a.slice(1); } else { const a = t.slice(4); - if (!S0.test(a)) { - let i = a.replace($k, Zk); + if (!R0.test(a)) { + let i = a.replace(n_, r_); i.charAt(0) !== "-" && (i = "-" + i), t = "data" + i; } } - r = l1; + r = y1; } return new r(o, t); } -function Zk(e) { +function r_(e) { return "-" + e.toLowerCase(); } -function Uk(e) { +function a_(e) { return e.charAt(1).toUpperCase(); } -const k0 = { +const I0 = { classId: "classID", dataType: "datatype", itemId: "itemID", @@ -30796,15 +31076,15 @@ const k0 = { xLinkTitle: "xlinkTitle", xLinkType: "xlinkType", xmlnsXLink: "xmlnsXlink" -}, qk = s5([d5, u5, p5, g5, Pk], "html"), Yk = s5([d5, u5, p5, g5, Bk], "svg"); -function Gk(e) { +}, i_ = S5([A5, _5, O5, N5, Jk], "html"), l_ = S5([A5, _5, O5, N5, e_], "svg"); +function s_(e) { if (e.allowedElements && e.disallowedElements) throw new TypeError( "Only one of `allowedElements` and `disallowedElements` should be defined" ); if (e.allowedElements || e.disallowedElements || e.allowElement) return (t) => { - a1(t, "element", (n, o, r) => { + m1(t, "element", (n, o, r) => { const a = ( /** @type {Element|Root} */ r @@ -30815,7 +31095,7 @@ function Gk(e) { }); }; } -var Ws = { exports: {} }, Le = {}; +var Gs = { exports: {} }, Le = {}; /** * @license React * react-is.production.min.js @@ -30825,11 +31105,11 @@ var Ws = { exports: {} }, Le = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var _0; -function Kk() { - if (_0) return Le; - _0 = 1; - var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m; +var z0; +function c_() { + if (z0) return Le; + z0 = 1; + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m; m = Symbol.for("react.module.reference"); function b(y) { if (typeof y == "object" && y !== null) { @@ -30848,7 +31128,7 @@ function Kk() { case l: case i: case s: - case h: + case p: case d: case a: return y; @@ -30861,7 +31141,7 @@ function Kk() { } } } - return Le.ContextConsumer = i, Le.ContextProvider = a, Le.Element = e, Le.ForwardRef = s, Le.Fragment = n, Le.Lazy = h, Le.Memo = d, Le.Portal = t, Le.Profiler = r, Le.StrictMode = o, Le.Suspense = u, Le.SuspenseList = c, Le.isAsyncMode = function() { + return Le.ContextConsumer = i, Le.ContextProvider = a, Le.Element = e, Le.ForwardRef = s, Le.Fragment = n, Le.Lazy = p, Le.Memo = d, Le.Portal = t, Le.Profiler = r, Le.StrictMode = o, Le.Suspense = u, Le.SuspenseList = c, Le.isAsyncMode = function() { return !1; }, Le.isConcurrentMode = function() { return !1; @@ -30876,7 +31156,7 @@ function Kk() { }, Le.isFragment = function(y) { return b(y) === n; }, Le.isLazy = function(y) { - return b(y) === h; + return b(y) === p; }, Le.isMemo = function(y) { return b(y) === d; }, Le.isPortal = function(y) { @@ -30890,7 +31170,7 @@ function Kk() { }, Le.isSuspenseList = function(y) { return b(y) === c; }, Le.isValidElementType = function(y) { - return typeof y == "string" || typeof y == "function" || y === n || y === r || y === o || y === u || y === c || y === f || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === d || y.$$typeof === a || y.$$typeof === i || y.$$typeof === s || y.$$typeof === m || y.getModuleId !== void 0); + return typeof y == "string" || typeof y == "function" || y === n || y === r || y === o || y === u || y === c || y === f || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === d || y.$$typeof === a || y.$$typeof === i || y.$$typeof === s || y.$$typeof === m || y.getModuleId !== void 0); }, Le.typeOf = b, Le; } var Fe = {}; @@ -30903,38 +31183,38 @@ var Fe = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var A0; -function Xk() { - return A0 || (A0 = 1, process.env.NODE_ENV !== "production" && function() { - var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = !1, b = !1, y = !1, g = !1, x = !1, C; +var H0; +function u_() { + return H0 || (H0 = 1, process.env.NODE_ENV !== "production" && function() { + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = !1, b = !1, y = !1, g = !1, x = !1, C; C = Symbol.for("react.module.reference"); function S(ae) { - return !!(typeof ae == "string" || typeof ae == "function" || ae === n || ae === r || x || ae === o || ae === u || ae === c || g || ae === f || m || b || y || typeof ae == "object" && ae !== null && (ae.$$typeof === h || ae.$$typeof === d || ae.$$typeof === a || ae.$$typeof === i || ae.$$typeof === s || // This needs to include all possible module reference object + return !!(typeof ae == "string" || typeof ae == "function" || ae === n || ae === r || x || ae === o || ae === u || ae === c || g || ae === f || m || b || y || typeof ae == "object" && ae !== null && (ae.$$typeof === p || ae.$$typeof === d || ae.$$typeof === a || ae.$$typeof === i || ae.$$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. ae.$$typeof === C || ae.getModuleId !== void 0)); } - function E(ae) { + function w(ae) { if (typeof ae == "object" && ae !== null) { var _e = ae.$$typeof; switch (_e) { case e: - var Ve = ae.type; - switch (Ve) { + var $e = ae.type; + switch ($e) { case n: case r: case o: case u: case c: - return Ve; + return $e; default: - var Ee = Ve && Ve.$$typeof; + var Ee = $e && $e.$$typeof; switch (Ee) { case l: case i: case s: - case h: + case p: case d: case a: return Ee; @@ -30947,56 +31227,56 @@ function Xk() { } } } - var w = i, O = a, _ = e, L = s, j = n, F = h, P = d, V = t, k = r, D = o, M = u, N = c, I = !1, R = !1; + var E = i, M = a, _ = e, L = s, R = n, F = p, P = d, V = t, k = r, N = o, T = u, D = c, I = !1, j = !1; function v(ae) { return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function z(ae) { - return R || (R = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + return j || (j = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function B(ae) { - return E(ae) === i; + return w(ae) === i; } function A(ae) { - return E(ae) === a; + return w(ae) === a; } function W(ae) { return typeof ae == "object" && ae !== null && ae.$$typeof === e; } function Y(ae) { - return E(ae) === s; + return w(ae) === s; } function K(ae) { - return E(ae) === n; + return w(ae) === n; } function Q(ae) { - return E(ae) === h; + return w(ae) === p; } function ne(ae) { - return E(ae) === d; + return w(ae) === d; } function oe(ae) { - return E(ae) === t; + return w(ae) === t; } function U(ae) { - return E(ae) === r; + return w(ae) === r; } function ge(ae) { - return E(ae) === o; + return w(ae) === o; } function J(ae) { - return E(ae) === u; + return w(ae) === u; } function ke(ae) { - return E(ae) === c; + return w(ae) === c; } - Fe.ContextConsumer = w, Fe.ContextProvider = O, Fe.Element = _, Fe.ForwardRef = L, Fe.Fragment = j, Fe.Lazy = F, Fe.Memo = P, Fe.Portal = V, Fe.Profiler = k, Fe.StrictMode = D, Fe.Suspense = M, Fe.SuspenseList = N, Fe.isAsyncMode = v, Fe.isConcurrentMode = z, Fe.isContextConsumer = B, Fe.isContextProvider = A, Fe.isElement = W, Fe.isForwardRef = Y, Fe.isFragment = K, Fe.isLazy = Q, Fe.isMemo = ne, Fe.isPortal = oe, Fe.isProfiler = U, Fe.isStrictMode = ge, Fe.isSuspense = J, Fe.isSuspenseList = ke, Fe.isValidElementType = S, Fe.typeOf = E; + Fe.ContextConsumer = E, Fe.ContextProvider = M, Fe.Element = _, Fe.ForwardRef = L, Fe.Fragment = R, Fe.Lazy = F, Fe.Memo = P, Fe.Portal = V, Fe.Profiler = k, Fe.StrictMode = N, Fe.Suspense = T, Fe.SuspenseList = D, Fe.isAsyncMode = v, Fe.isConcurrentMode = z, Fe.isContextConsumer = B, Fe.isContextProvider = A, Fe.isElement = W, Fe.isForwardRef = Y, Fe.isFragment = K, Fe.isLazy = Q, Fe.isMemo = ne, Fe.isPortal = oe, Fe.isProfiler = U, Fe.isStrictMode = ge, Fe.isSuspense = J, Fe.isSuspenseList = ke, Fe.isValidElementType = S, Fe.typeOf = w; }()), Fe; } -process.env.NODE_ENV === "production" ? Ws.exports = Kk() : Ws.exports = Xk(); -var Qk = Ws.exports; -const Jk = /* @__PURE__ */ un(Qk); -function e_(e) { +process.env.NODE_ENV === "production" ? Gs.exports = c_() : Gs.exports = u_(); +var d_ = Gs.exports; +const f_ = /* @__PURE__ */ dn(d_); +function h_(e) { const t = ( // @ts-expect-error looks like a node. e && typeof e == "object" && e.type === "text" ? ( @@ -31006,26 +31286,26 @@ function e_(e) { ); return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === ""; } -function t_(e) { +function p_(e) { return e.join(" ").trim(); } -function n_(e, t) { +function g_(e, t) { const n = {}; return (e[e.length - 1] === "" ? [...e, ""] : e).join( (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ") ).trim(); } -var s1 = { exports: {} }, M0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, o_ = /\n/g, r_ = /^\s*/, a_ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i_ = /^:\s*/, l_ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, s_ = /^[;\s]*/, c_ = /^\s+|\s+$/g, u_ = ` -`, T0 = "/", O0 = "*", Pn = "", d_ = "comment", f_ = "declaration", h_ = function(e, t) { +var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ = /^\s*/, y_ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, C_ = /^:\s*/, v_ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, x_ = /^[;\s]*/, w_ = /^\s+|\s+$/g, E_ = ` +`, B0 = "/", V0 = "*", $n = "", S_ = "comment", k_ = "declaration", __ = function(e, t) { if (typeof e != "string") throw new TypeError("First argument must be a string"); if (!e) return []; t = t || {}; var n = 1, o = 1; function r(m) { - var b = m.match(o_); + var b = m.match(m_); b && (n += b.length); - var y = m.lastIndexOf(u_); + var y = m.lastIndexOf(E_); o = ~y ? m.length - y : o + m.length; } function a() { @@ -31052,7 +31332,7 @@ var s1 = { exports: {} }, M0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, o_ = /\n/g, r_ } } function u() { - s(r_); + s(b_); } function c(m) { var b; @@ -31062,76 +31342,76 @@ var s1 = { exports: {} }, M0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, o_ = /\n/g, r_ } function d() { var m = a(); - if (!(T0 != e.charAt(0) || O0 != e.charAt(1))) { - for (var b = 2; Pn != e.charAt(b) && (O0 != e.charAt(b) || T0 != e.charAt(b + 1)); ) + if (!(B0 != e.charAt(0) || V0 != e.charAt(1))) { + for (var b = 2; $n != e.charAt(b) && (V0 != e.charAt(b) || B0 != e.charAt(b + 1)); ) ++b; - if (b += 2, Pn === e.charAt(b - 1)) + if (b += 2, $n === e.charAt(b - 1)) return l("End of comment missing"); var y = e.slice(2, b - 2); return o += 2, r(y), e = e.slice(b), o += 2, m({ - type: d_, + type: S_, comment: y }); } } - function h() { - var m = a(), b = s(a_); + function p() { + var m = a(), b = s(y_); if (b) { - if (d(), !s(i_)) return l("property missing ':'"); - var y = s(l_), g = m({ - type: f_, - property: D0(b[0].replace(M0, Pn)), - value: y ? D0(y[0].replace(M0, Pn)) : Pn + if (d(), !s(C_)) return l("property missing ':'"); + var y = s(v_), g = m({ + type: k_, + property: $0(b[0].replace(P0, $n)), + value: y ? $0(y[0].replace(P0, $n)) : $n }); - return s(s_), g; + return s(x_), g; } } function f() { var m = []; c(m); - for (var b; b = h(); ) + for (var b; b = p(); ) b !== !1 && (m.push(b), c(m)); return m; } return u(), f(); }; -function D0(e) { - return e ? e.replace(c_, Pn) : Pn; +function $0(e) { + return e ? e.replace(w_, $n) : $n; } -var p_ = h_; -function m5(e, t) { +var A_ = __; +function D5(e, t) { var n = null; if (!e || typeof e != "string") return n; - for (var o, r = p_(e), a = typeof t == "function", i, l, s = 0, u = r.length; s < u; s++) + for (var o, r = A_(e), a = typeof t == "function", i, l, s = 0, u = r.length; s < u; s++) o = r[s], i = o.property, l = o.value, a ? t(i, l, o) : l && (n || (n = {}), n[i] = l); return n; } -s1.exports = m5; -s1.exports.default = m5; -var g_ = s1.exports; -const m_ = /* @__PURE__ */ un(g_), Zs = {}.hasOwnProperty, b_ = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); -function b5(e, t) { +C1.exports = D5; +C1.exports.default = D5; +var M_ = C1.exports; +const T_ = /* @__PURE__ */ dn(M_), Ks = {}.hasOwnProperty, O_ = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); +function L5(e, t) { const n = []; let o = -1, r; for (; ++o < t.children.length; ) - r = t.children[o], r.type === "element" ? n.push(y_(e, r, o, t)) : r.type === "text" ? (t.type !== "element" || !b_.has(t.tagName) || !e_(r)) && n.push(r.value) : r.type === "raw" && !e.options.skipHtml && n.push(r.value); + r = t.children[o], r.type === "element" ? n.push(N_(e, r, o, t)) : r.type === "text" ? (t.type !== "element" || !O_.has(t.tagName) || !h_(r)) && n.push(r.value) : r.type === "raw" && !e.options.skipHtml && n.push(r.value); return n; } -function y_(e, t, n, o) { - const r = e.options, a = r.transformLinkUri === void 0 ? vw : r.transformLinkUri, i = e.schema, l = t.tagName, s = {}; +function N_(e, t, n, o) { + const r = e.options, a = r.transformLinkUri === void 0 ? Lw : r.transformLinkUri, i = e.schema, l = t.tagName, s = {}; let u = i, c; - if (i.space === "html" && l === "svg" && (u = Yk, e.schema = u), t.properties) + if (i.space === "html" && l === "svg" && (u = l_, e.schema = u), t.properties) for (c in t.properties) - Zs.call(t.properties, c) && v_(s, c, t.properties[c], e); + Ks.call(t.properties, c) && L_(s, c, t.properties[c], e); (l === "ol" || l === "ul") && e.listDepth++; - const d = b5(e, t); + const d = L5(e, t); (l === "ol" || l === "ul") && e.listDepth--, e.schema = i; - const h = t.position || { + const p = t.position || { start: { line: null, column: null, offset: null }, end: { line: null, column: null, offset: null } - }, f = r.components && Zs.call(r.components, l) ? r.components[l] : l, m = typeof f == "string" || f === $.Fragment; - if (!Jk.isValidElementType(f)) + }, f = r.components && Ks.call(r.components, l) ? r.components[l] : l, m = typeof f == "string" || f === $.Fragment; + if (!f_.isValidElementType(f)) throw new TypeError( `Component for name \`${l}\` not defined or is not renderable` ); @@ -31148,12 +31428,12 @@ function y_(e, t, n, o) { String(s.alt || ""), typeof s.title == "string" ? s.title : null )), !m && l === "li" && o.type === "element") { - const b = C_(t); - s.checked = b && b.properties ? !!b.properties.checked : null, s.index = Kl(o, t), s.ordered = o.tagName === "ol"; + const b = D_(t); + s.checked = b && b.properties ? !!b.properties.checked : null, s.index = es(o, t), s.ordered = o.tagName === "ol"; } - return !m && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = l === "th")), !m && l === "tr" && o.type === "element" && (s.isHeader = o.tagName === "thead"), r.sourcePos && (s["data-sourcepos"] = E_(h)), !m && r.rawSourcePos && (s.sourcePosition = t.position), !m && r.includeElementIndex && (s.index = Kl(o, t), s.siblingCount = Kl(o)), m || (s.node = t), d.length > 0 ? $.createElement(f, s, d) : $.createElement(f, s); + return !m && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = l === "th")), !m && l === "tr" && o.type === "element" && (s.isHeader = o.tagName === "thead"), r.sourcePos && (s["data-sourcepos"] = R_(p)), !m && r.rawSourcePos && (s.sourcePosition = t.position), !m && r.includeElementIndex && (s.index = es(o, t), s.siblingCount = es(o)), m || (s.node = t), d.length > 0 ? $.createElement(f, s, d) : $.createElement(f, s); } -function C_(e) { +function D_(e) { let t = -1; for (; ++t < e.children.length; ) { const n = e.children[t]; @@ -31162,33 +31442,33 @@ function C_(e) { } return null; } -function Kl(e, t) { +function es(e, t) { let n = -1, o = 0; for (; ++n < e.children.length && e.children[n] !== t; ) e.children[n].type === "element" && o++; return o; } -function v_(e, t, n, o) { - const r = Wk(o.schema, t); +function L_(e, t, n, o) { + const r = o_(o.schema, t); let a = n; - a == null || a !== a || (Array.isArray(a) && (a = r.commaSeparated ? n_(a) : t_(a)), r.property === "style" && typeof a == "string" && (a = x_(a)), r.space && r.property ? e[Zs.call(k0, r.property) ? k0[r.property] : r.property] = a : r.attribute && (e[r.attribute] = a)); + a == null || a !== a || (Array.isArray(a) && (a = r.commaSeparated ? g_(a) : p_(a)), r.property === "style" && typeof a == "string" && (a = F_(a)), r.space && r.property ? e[Ks.call(I0, r.property) ? I0[r.property] : r.property] = a : r.attribute && (e[r.attribute] = a)); } -function x_(e) { +function F_(e) { const t = {}; try { - m_(e, n); + T_(e, n); } catch { } return t; function n(o, r) { const a = o.slice(0, 4) === "-ms-" ? `ms-${o.slice(4)}` : o; - t[a.replace(/-([a-z])/g, w_)] = r; + t[a.replace(/-([a-z])/g, j_)] = r; } } -function w_(e, t) { +function j_(e, t) { return t.toUpperCase(); } -function E_(e) { +function R_(e) { return [ e.start.line, ":", @@ -31199,7 +31479,7 @@ function E_(e) { e.end.column ].map(String).join(""); } -const N0 = {}.hasOwnProperty, S_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", ia = { +const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", da = { plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" }, renderers: { to: "components", id: "change-renderers-to-components" }, astPlugins: { id: "remove-buggy-html-in-markdown-parser" }, @@ -31223,18 +31503,18 @@ const N0 = {}.hasOwnProperty, S_ = "https://github.com/remarkjs/react-markdown/b id: "change-includenodeindex-to-includeelementindex" } }; -function y5(e) { - for (const a in ia) - if (N0.call(ia, a) && N0.call(e, a)) { - const i = ia[a]; +function F5(e) { + for (const a in da) + if (W0.call(da, a) && W0.call(e, a)) { + const i = da[a]; console.warn( - `[react-markdown] Warning: please ${i.to ? `use \`${i.to}\` instead of` : "remove"} \`${a}\` (see <${S_}#${i.id}> for more info)` - ), delete ia[a]; + `[react-markdown] Warning: please ${i.to ? `use \`${i.to}\` instead of` : "remove"} \`${a}\` (see <${I_}#${i.id}> for more info)` + ), delete da[a]; } - const t = jw().use(ZS).use(e.remarkPlugins || []).use(Rk, { + const t = Gw().use(rk).use(e.remarkPlugins || []).use(Yk, { ...e.remarkRehypeOptions, allowDangerousHtml: !0 - }).use(e.rehypePlugins || []).use(Gk, e), n = new zf(); + }).use(e.rehypePlugins || []).use(s_, e), n = new e5(); typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn( `[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)` ); @@ -31244,11 +31524,11 @@ function y5(e) { let r = $.createElement( $.Fragment, {}, - b5({ options: e, schema: qk, listDepth: 0 }, o) + L5({ options: e, schema: i_, listDepth: 0 }, o) ); return e.className && (r = $.createElement("div", { className: e.className }, r)), r; } -y5.propTypes = { +F5.propTypes = { // Core options: children: q.string, // Layout options: @@ -31307,65 +31587,65 @@ y5.propTypes = { transformImageUri: q.func, components: q.object }; -const k_ = ({ chat: e }) => { +const z_ = ({ chat: e }) => { var s; - const [t, n] = ue(!0), { + const [t, n] = ce(!0), { 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.filter( (u) => u.type === "info" - ), l = e.loading ? /* @__PURE__ */ p.jsx(L0, { size: "sm" }) : /* @__PURE__ */ p.jsx(m2, {}); - return /* @__PURE__ */ p.jsxs(sn, { className: Jc.statusUpdates, children: [ - /* @__PURE__ */ p.jsxs(wr, { color: "primary", onClick: r, children: [ - /* @__PURE__ */ p.jsxs("span", { children: [ + ), l = e.loading ? /* @__PURE__ */ h.jsx(Xs, { size: "sm" }) : /* @__PURE__ */ h.jsx(_2, {}); + return /* @__PURE__ */ h.jsxs(zt, { className: u1.statusUpdates, children: [ + /* @__PURE__ */ h.jsxs(Fo, { color: "primary", onClick: r, children: [ + /* @__PURE__ */ h.jsxs("span", { children: [ l, " ", a.message ] }), - t ? /* @__PURE__ */ p.jsx(cd, {}) : /* @__PURE__ */ p.jsx(ud, {}) + t ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) ] }), - i.length ? /* @__PURE__ */ p.jsx(H0, { isOpen: t, children: /* @__PURE__ */ p.jsx(sn, { children: /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsx(F5, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ p.jsxs("li", { children: [ - /* @__PURE__ */ p.jsx(m2, {}), + i.length ? /* @__PURE__ */ h.jsx(K0, { isOpen: t, children: /* @__PURE__ */ h.jsx(zt, { children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx(Q5, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ h.jsxs("li", { children: [ + /* @__PURE__ */ h.jsx(_2, {}), " ", - /* @__PURE__ */ p.jsx("div", { children: /* @__PURE__ */ p.jsx(y5, { children: u.message.trim().replace(/```/g, "\n```") }) }) + /* @__PURE__ */ h.jsx("div", { children: /* @__PURE__ */ h.jsx(F5, { children: u.message.trim().replace(/```/g, "\n```") }) }) ] }, u.id)) }) }) }) }) : null ] }); }; -var la, __ = new Uint8Array(16); -function A_() { - if (!la && (la = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !la)) +var fa, H_ = new Uint8Array(16); +function P_() { + if (!fa && (fa = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !fa)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); - return la(__); -} -const M_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -function T_(e) { - return typeof e == "string" && M_.test(e); -} -var it = []; -for (var Xl = 0; Xl < 256; ++Xl) - it.push((Xl + 256).toString(16).substr(1)); -function O_(e) { - var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = (it[e[t + 0]] + it[e[t + 1]] + it[e[t + 2]] + it[e[t + 3]] + "-" + it[e[t + 4]] + it[e[t + 5]] + "-" + it[e[t + 6]] + it[e[t + 7]] + "-" + it[e[t + 8]] + it[e[t + 9]] + "-" + it[e[t + 10]] + it[e[t + 11]] + it[e[t + 12]] + it[e[t + 13]] + it[e[t + 14]] + it[e[t + 15]]).toLowerCase(); - if (!T_(n)) + return fa(H_); +} +const B_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; +function V_(e) { + return typeof e == "string" && B_.test(e); +} +var ct = []; +for (var ts = 0; ts < 256; ++ts) + ct.push((ts + 256).toString(16).substr(1)); +function $_(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = (ct[e[t + 0]] + ct[e[t + 1]] + ct[e[t + 2]] + ct[e[t + 3]] + "-" + ct[e[t + 4]] + ct[e[t + 5]] + "-" + ct[e[t + 6]] + ct[e[t + 7]] + "-" + ct[e[t + 8]] + ct[e[t + 9]] + "-" + ct[e[t + 10]] + ct[e[t + 11]] + ct[e[t + 12]] + ct[e[t + 13]] + ct[e[t + 14]] + ct[e[t + 15]]).toLowerCase(); + if (!V_(n)) throw TypeError("Stringified UUID is invalid"); return n; } -function D_(e, t, n) { +function W_(e, t, n) { e = e || {}; - var o = e.random || (e.rng || A_)(); - return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, O_(o); + var o = e.random || (e.rng || P_)(); + return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, $_(o); } -const N_ = "_citations_18435_1", L_ = { - citations: N_ -}, F_ = ({ +const Z_ = "_citations_18435_1", U_ = { + citations: Z_ +}, q_ = ({ citations: e, frontendUrl: t -}) => e != null && e.length ? /* @__PURE__ */ p.jsxs(ct, { className: L_.citations, children: [ +}) => e != null && e.length ? /* @__PURE__ */ h.jsxs(nt, { className: U_.citations, children: [ "Learnings applied:", - /* @__PURE__ */ p.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, o) => /* @__PURE__ */ p.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ p.jsx( - $0, + /* @__PURE__ */ h.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, o) => /* @__PURE__ */ h.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ h.jsx( + od, { tag: "a", href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`, @@ -31373,7 +31653,7 @@ const N_ = "_citations_18435_1", L_ = { children: o + 1 } ) }, n.id)) }) -] }) : null, sA = ({ +] }) : null, xA = ({ loading: e, onRequest: t, sessionId: n, @@ -31387,16 +31667,16 @@ const N_ = "_citations_18435_1", L_ = { { length: m }, () => b.charAt(Math.floor(Math.random() * b.length)) ).join(""); - }, [s, u] = ue(l()); - ce(() => { + }, [s, u] = ce(l()); + ue(() => { n && u(n); }, [n]); const c = (m) => { var y, g, x, C; const b = (y = i.current) == null ? void 0 : y.getChatLoadingId(); if (console.log("onStatusUpdate", m, b), b) { - const S = (g = i.current) == null ? void 0 : g.getChatById(b), E = S != null && S.extra ? { ...S.extra } : {}, w = m.id || D_(); - E.statusUpdates = E.statusUpdates ? [{ ...m, id: w }, ...E.statusUpdates] : [{ ...m, id: w }], (x = i.current) == null || x.setMessageValue(b, "extra", E), (C = i.current) == null || C.setMessageValue( + const S = (g = i.current) == null ? void 0 : g.getChatById(b), w = S != null && S.extra ? { ...S.extra } : {}, E = m.id || W_(); + w.statusUpdates = w.statusUpdates ? [{ ...m, id: E }, ...w.statusUpdates] : [{ ...m, id: E }], (x = i.current) == null || x.setMessageValue(b, "extra", w), (C = i.current) == null || C.setMessageValue( b, "content", (S == null ? void 0 : S.content) + " " @@ -31408,7 +31688,7 @@ const N_ = "_citations_18435_1", L_ = { } catch (b) { return typeof b == "string" ? b : b.message; } - }, h = () => { + }, p = () => { setTimeout(() => { var y, g, x; const m = (y = i.current) == null ? void 0 : y.getChats(); @@ -31428,14 +31708,14 @@ const N_ = "_citations_18435_1", L_ = { return (g = i.current) == null ? void 0 : g.deleteMessage(y.id); }); }; - return /* @__PURE__ */ p.jsx( - V5, + return /* @__PURE__ */ h.jsx( + i4, { actions: { render: () => [ - /* @__PURE__ */ p.jsxs($e, { onClick: f, outline: !0, color: "primary", size: "sm", children: [ + /* @__PURE__ */ h.jsxs(Re, { onClick: f, outline: !0, color: "primary", size: "sm", children: [ "Clear chat ", - /* @__PURE__ */ p.jsx(sd, { className: "align-middle" }) + /* @__PURE__ */ h.jsx(xd, { className: "align-middle" }) ] }) ] }, @@ -31443,35 +31723,35 @@ const N_ = "_citations_18435_1", L_ = { request: d, appStyle: { height: "100%", width: "100%" }, assistantMeta: { - avatar: Q6, + avatar: f8, name: "Altimate" }, helloMessage: "Hello, how are you??", userMeta: { - avatar: J6, + avatar: h8, name: "User" }, loading: e, - className: Jc.chatbot, + className: u1.chatbot, chatRef: i, - onChatEnd: h, + onChatEnd: p, chatItemRenderConfig: { contentRender: (m, b) => { var g, x, C; const y = (C = (x = (g = m.originData) == null ? void 0 : g.extra) == null ? void 0 : x.statusUpdates) == null ? void 0 : C.find((S) => S.type === "citations"); - return /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx(k_, { chat: m }), + return /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx(z_, { chat: m }), b, - /* @__PURE__ */ p.jsx(F_, { citations: y == null ? void 0 : y.citations, frontendUrl: r }) + /* @__PURE__ */ h.jsx(q_, { citations: y == null ? void 0 : y.citations, frontendUrl: r }) ] }); }, render: (m, b, y) => { var x; const g = m.loading || !o || ((x = m.originData) == null ? void 0 : x.role) !== "assistant"; - return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ + return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ y, - g ? null : /* @__PURE__ */ p.jsx( - Cw, + g ? null : /* @__PURE__ */ h.jsx( + Dw, { onFollowupRequest: o, sessionId: s @@ -31482,7 +31762,7 @@ const N_ = "_citations_18435_1", L_ = { }, markdownProps: { components: { - pre: ({ node: m, className: b, children: y, ...g }) => /* @__PURE__ */ p.jsx("pre", { ...g, className: b, children: y }) + pre: ({ node: m, className: b, children: y, ...g }) => /* @__PURE__ */ h.jsx("pre", { ...g, className: b, children: y }) } }, ...a @@ -31490,44 +31770,46 @@ const N_ = "_citations_18435_1", L_ = { ); }; export { - Pe as A, - $0 as B, - Er as C, - Q_ as D, - hw as E, - Xc as F, - Xo as G, - tw as H, - Wn as I, - uo as J, - ma as K, - $a as L, - Qc as P, - xn as T, - je as a, - G_ as b, - K_ as c, - W_ as d, - Xs as e, - Cn as f, - e6 as g, - Gs as h, - Md as i, - p as j, - o9 as k, - nA as l, + ze as A, + od as B, + Tr as C, + dA as D, + Yf as E, + s1 as F, + Bn as G, + mw as H, + qn as I, + Vn as J, + wa as K, + jo as L, + Lo as M, + Uf as N, + c1 as P, + Sn as T, + Ie as a, + sA as b, + cA as c, + oA as d, + rc as e, + xn as f, + p6 as g, + nc as h, + Bd as i, + h as j, + b9 as k, + gA as l, Xe as m, - ox as n, - sA as o, - yw as p, - F_ as q, - oA as r, - Y_ as s, - rA as t, - Ht as u, - aA as v, - ew as w, - Kx as x, - iA as y, - lA as z + yx as n, + xA as o, + Nw as p, + q_ as q, + mA as r, + lA as s, + bA as t, + Pt as u, + yA as v, + vw as w, + sw as x, + CA as y, + vA as z }; diff --git a/webview_panels/src/modules/healthCheck/ProjectHealthChecker.tsx b/webview_panels/src/modules/healthCheck/ProjectHealthChecker.tsx index 5137fa1d2..6576c93f3 100644 --- a/webview_panels/src/modules/healthCheck/ProjectHealthChecker.tsx +++ b/webview_panels/src/modules/healthCheck/ProjectHealthChecker.tsx @@ -28,6 +28,7 @@ import { } from "@assets/icons"; import { ProjectHealthcheck } from "./types"; import { IssueList } from "./IssueList"; +import ProjectHealthNewCheckButton from "./ProjectHealthNewCheckButton"; interface DBTConfig { id: number; @@ -322,7 +323,8 @@ const ProjectHealthcheckInput = ({ loadConfigs={loadConfigs} /> - + + + + diff --git a/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx new file mode 100644 index 000000000..a6b394473 --- /dev/null +++ b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx @@ -0,0 +1,43 @@ +import { CoachForm, TaskLabels, TeammateActions, useTeamMateContext } from "@lib"; +import { vscode } from "@modules/vscode"; +import { Drawer, DrawerRef } from "@uicore"; +import { useRef } from "react"; + +const ProjectHealthNewCheckButton = ({ + context, + extra, +}: { + context?: Record; + extra?: Record; +}): JSX.Element | null => { + const drawerRef = useRef(null); + const { dispatch } = useTeamMateContext(); + + const onOpen = () => { + dispatch(TeammateActions.setShowCoachingForm(true)); + }; + + return ( + + { + drawerRef.current?.close() + vscode.postMessage({ + command: "openURL", + url: "http://rakuten.localhost:3000/teammates/ProjectGovernor", + }); + }} + extra={extra} + /> + + ); +}; + +export default ProjectHealthNewCheckButton; diff --git a/webview_panels/src/modules/insights/Insights.stories.tsx b/webview_panels/src/modules/insights/Insights.stories.tsx index ff9cc1bc5..267401af4 100644 --- a/webview_panels/src/modules/insights/Insights.stories.tsx +++ b/webview_panels/src/modules/insights/Insights.stories.tsx @@ -1,6 +1,7 @@ import { faker } from "@faker-js/faker"; import type { Meta, StoryObj } from "@storybook/react"; import Insights from "./Insights"; +import { ProjectGovernorCheckTypes, TaskLabels } from "@lib"; export default { title: "Actions panel", @@ -28,6 +29,24 @@ export const SingleProject: StoryObj = { }, ]; } + + if (request.command === "fetch") { + switch (request.endpoint) { + case `projectgovernor/training`: + return { + ai_response: faker.lorem.paragraph(), + category: "Business", + personalizationScope: TaskLabels.ProjectGovernor, + type: ProjectGovernorCheckTypes.Modelling, + }; + case `projectgovernor/training/confirm`: + return { + ok: true, + }; + default: + break; + } + } }, timer: 500, }, From 5fec9ea26bb06c254bb14993d67566ed9c1fb30f Mon Sep 17 00:00:00 2001 From: Saravanan Date: Thu, 14 Nov 2024 13:26:12 +0530 Subject: [PATCH 02/17] fix: backend integration --- .../src/lib/altimate/altimate-components.d.ts | 22 +- webview_panels/src/lib/altimate/main.js | 4321 ++++++++--------- .../ProjectHealthNewCheckButton.tsx | 21 +- .../src/modules/insights/Insights.stories.tsx | 3 - 4 files changed, 2183 insertions(+), 2184 deletions(-) diff --git a/webview_panels/src/lib/altimate/altimate-components.d.ts b/webview_panels/src/lib/altimate/altimate-components.d.ts index 8b7e37ef4..f0609a1f9 100644 --- a/webview_panels/src/lib/altimate/altimate-components.d.ts +++ b/webview_panels/src/lib/altimate/altimate-components.d.ts @@ -299,31 +299,29 @@ export declare interface ProjectGovernorCheck { type: ProjectGovernorCheckTypes; description: string; files_required: ProjectGovernorAllowedFiles[]; + config?: Record; } export declare interface ProjectGovernorCheckConfirmationResponse { ok: boolean; + frontend_url: string; } export declare interface ProjectGovernorCheckFormValues { - content: string; - type: ProjectGovernorCheckTypes; + description: string; + category: ProjectGovernorCheckTypes; } export declare enum ProjectGovernorCheckTypes { - Modelling = "Modelling", - Governance = "governance", - Performance = "Performance", - Test = "Test", - Structure = "structure", - Checks = "Checks" + DOCUMENTATION = "documentation", + TESTS = "tests", + MODEL = "model", + FILE_STRUCTURE = "file_structure" } export declare interface ProjectGovernorCheckValidateResponse { - ai_response: string; - category: string; - personalizationScope: string; - type: ProjectGovernorCheckTypes; + name: string; + description: string; } declare interface Props extends ButtonHTMLAttributes { diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 2a8945ef4..def10a915 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -1,22 +1,22 @@ // * version 0.1.0 -import './main.css';var z5 = Object.defineProperty; -var H5 = (e, t, n) => t in e ? z5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var Wr = (e, t, n) => H5(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as P5, Button as Re, Spinner as Xs, Card as zt, CardTitle as Fo, CardBody as un, Badge as B5, CloseButton as V5, Popover as Z0, PopoverBody as U0, UncontrolledTooltip as $5, Input as Cn, Label as ha, Modal as q0, ModalBody as Y0, FormGroup as lr, FormFeedback as Qs, Alert as Mr, CardFooter as G0, Offcanvas as W5, OffcanvasHeader as Z5, OffcanvasBody as U5, Collapse as K0, Col as q5, CardImg as Y5, CardSubtitle as G5, CardText as K5, Row as X5, List as Q5 } from "reactstrap"; +import './main.css';var I5 = Object.defineProperty; +var z5 = (e, t, n) => t in e ? I5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +var $r = (e, t, n) => z5(e, typeof t != "symbol" ? t + "" : t, n); +import { Tooltip as H5, Button as Ie, Spinner as Xs, Card as zt, CardTitle as Lo, CardBody as un, Badge as P5, CloseButton as B5, Popover as Z0, PopoverBody as U0, UncontrolledTooltip as V5, Input as Cn, Label as fa, Modal as q0, ModalBody as Y0, FormGroup as ir, FormFeedback as Qs, Alert as Ar, CardFooter as G0, Offcanvas as $5, OffcanvasHeader as W5, OffcanvasBody as Z5, Collapse as K0, Col as U5, CardImg as q5, CardSubtitle as Y5, CardText as G5, Row as K5, List as X5 } from "reactstrap"; import * as O from "react"; -import $, { createContext as Ht, Component as J5, createElement as x1, isValidElement as X0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Me, useMemo as Be, useContext as Je, useLayoutEffect as e4, useId as Q0, useInsertionEffect as t4, Children as wo, lazy as n4, memo as Ye } from "react"; -import { Prism as o4 } from "react-syntax-highlighter"; -import r4, { createPortal as Rn } from "react-dom"; -import { useProChat as a4, ProChat as i4 } from "@ant-design/pro-chat"; -import { useFormikContext as J0, Form as ed, Field as ns, Formik as td, useFormik as l4 } from "formik"; -import { z as tt } from "zod"; -import { Select as os, Popconfirm as s4 } from "antd"; -var Kn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +import $, { createContext as Ht, Component as Q5, createElement as x1, isValidElement as X0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Me, useMemo as Be, useContext as et, useLayoutEffect as J5, useId as Q0, useInsertionEffect as e4, Children as wo, lazy as t4, memo as Ye } from "react"; +import { Prism as n4 } from "react-syntax-highlighter"; +import o4, { createPortal as Rn } from "react-dom"; +import { useProChat as r4, ProChat as a4 } from "@ant-design/pro-chat"; +import { useFormikContext as J0, Form as ed, Field as ns, Formik as td, useFormik as i4 } from "formik"; +import { z as nt } from "zod"; +import { Select as os, Popconfirm as l4 } from "antd"; +var Gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function dn(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var rs = { exports: {} }, $o = {}; +var rs = { exports: {} }, Vo = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -27,8 +27,8 @@ var rs = { exports: {} }, $o = {}; * LICENSE file in the root directory of this source tree. */ var w1; -function c4() { - if (w1) return $o; +function s4() { + if (w1) return Vo; w1 = 1; var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(l, s, u) { @@ -38,9 +38,9 @@ function c4() { 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: p, ref: f, props: d, _owner: r.current }; } - return $o.Fragment = n, $o.jsx = i, $o.jsxs = i, $o; + return Vo.Fragment = n, Vo.jsx = i, Vo.jsxs = i, Vo; } -var Wo = {}; +var $o = {}; /** * @license React * react-jsx-runtime.development.js @@ -51,7 +51,7 @@ var Wo = {}; * LICENSE file in the root directory of this source tree. */ var E1; -function u4() { +function c4() { return E1 || (E1 = 1, process.env.NODE_ENV !== "production" && function() { var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; function y(H) { @@ -72,10 +72,10 @@ function u4() { { var fe = g.ReactDebugCurrentFrame, Ae = fe.getStackAddendum(); Ae !== "" && (X += "%s", re = re.concat([Ae])); - var je = re.map(function(we) { + var Re = re.map(function(we) { return String(we); }); - je.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, je); + Re.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Re); } } var S = !1, w = !1, E = !1, M = !1, _ = !1, L; @@ -132,9 +132,9 @@ function u4() { var fe = H.displayName || null; return fe !== null ? fe : V(H.type) || "Memo"; case p: { - var Ae = H, je = Ae._payload, we = Ae._init; + var Ae = H, Re = Ae._payload, we = Ae._init; try { - return V(we(je)); + return V(we(Re)); } catch { return null; } @@ -235,8 +235,8 @@ function u4() { oe = !0; var Ae = Error.prepareStackTrace; Error.prepareStackTrace = void 0; - var je; - je = K.current, K.current = null, W(); + var Re; + Re = K.current, K.current = null, W(); try { if (X) { var we = function() { @@ -289,7 +289,7 @@ function u4() { } } } finally { - oe = !1, K.current = je, Y(), Error.prepareStackTrace = Ae; + oe = !1, K.current = Re, Y(), Error.prepareStackTrace = Ae; } var _n = H ? H.displayName || H.name : "", pn = _n ? ne(_n) : ""; return typeof H == "function" && U.set(H, pn), pn; @@ -321,9 +321,9 @@ function u4() { case d: return _e(H.type, X, re); case p: { - var fe = H, Ae = fe._payload, je = fe._init; + var fe = H, Ae = fe._payload, Re = fe._init; try { - return _e(je(Ae), X, re); + return _e(Re(Ae), X, re); } catch { } } @@ -340,9 +340,9 @@ function u4() { } function Ot(H, X, re, fe, Ae) { { - var je = Function.call.bind($e); + var Re = Function.call.bind($e); for (var we in H) - if (je(H, we)) { + if (Re(H, we)) { var ye = void 0; try { if (typeof H[we] != "function") { @@ -396,7 +396,7 @@ function u4() { } return H.ref !== void 0; } - function et(H) { + function tt(H) { if ($e.call(H, "key")) { var X = Object.getOwnPropertyDescriptor(H, "key").get; if (X && X.isReactWarning) @@ -432,7 +432,7 @@ function u4() { }); } } - var Se = function(H, X, re, fe, Ae, je, we) { + var Se = function(H, X, re, fe, Ae, Re, we) { var ye = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, @@ -442,7 +442,7 @@ function u4() { ref: re, props: we, // Record the component responsible for creating this element. - _owner: je + _owner: Re }; return ye._store = {}, Object.defineProperty(ye._store, "validated", { configurable: !1, @@ -463,14 +463,14 @@ function u4() { }; function Wt(H, X, re, fe, Ae) { { - var je, we = {}, ye = null, st = null; - re !== void 0 && (Dt(re), ye = "" + re), et(X) && (Dt(X.key), ye = "" + X.key), Ve(X) && (st = X.ref, Qe(X, Ae)); - for (je in X) - $e.call(X, je) && !ee.hasOwnProperty(je) && (we[je] = X[je]); + var Re, we = {}, ye = null, st = null; + re !== void 0 && (Dt(re), ye = "" + re), tt(X) && (Dt(X.key), ye = "" + X.key), Ve(X) && (st = X.ref, Qe(X, Ae)); + for (Re in X) + $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); if (H && H.defaultProps) { var We = H.defaultProps; - for (je in We) - we[je] === void 0 && (we[je] = We[je]); + for (Re in We) + we[Re] === void 0 && (we[Re] = We[Re]); } if (ye || st) { var Ue = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; @@ -487,12 +487,12 @@ function u4() { } else kn.setExtraStackFrame(null); } - var ro; - ro = !1; + var oo; + oo = !1; function Zt(H) { return typeof H == "object" && H !== null && H.$$typeof === t; } - function zr() { + function Ir() { { if (lt.current) { var H = V(lt.current.type); @@ -507,10 +507,10 @@ Check the render method of \`` + H + "`."; function mi(H) { return ""; } - var Hr = {}; + var zr = {}; function bi(H) { { - var X = zr(); + var X = Ir(); if (!X) { var re = typeof H == "string" ? H : H.displayName || H.name; re && (X = ` @@ -520,35 +520,35 @@ Check the top-level render call using <` + re + ">."); return X; } } - function Pr(H, X) { + function Hr(H, X) { { if (!H._store || H._store.validated || H.key != null) return; H._store.validated = !0; var re = bi(X); - if (Hr[re]) + if (zr[re]) return; - Hr[re] = !0; + zr[re] = !0; var fe = ""; H && H._owner && H._owner !== lt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), nn(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), nn(null); } } - function Br(H, X) { + function Pr(H, X) { { if (typeof H != "object") return; if (Nt(H)) for (var re = 0; re < H.length; re++) { var fe = H[re]; - Zt(fe) && Pr(fe, X); + Zt(fe) && Hr(fe, X); } else if (Zt(H)) H._store && (H._store.validated = !0); else if (H) { var Ae = y(H); if (typeof Ae == "function" && Ae !== H.entries) - for (var je = Ae.call(H), we; !(we = je.next()).done; ) - Zt(we.value) && Pr(we.value, X); + for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) + Zt(we.value) && Hr(we.value, X); } } } @@ -569,8 +569,8 @@ Check the top-level render call using <` + re + ">."); if (re) { var fe = V(X); Ot(re, H.props, "prop", fe, H); - } else if (X.PropTypes !== void 0 && !ro) { - ro = !0; + } else if (X.PropTypes !== void 0 && !oo) { + oo = !0; var Ae = V(X); x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown"); } @@ -589,19 +589,19 @@ Check the top-level render call using <` + re + ">."); H.ref !== null && (nn(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), nn(null)); } } - var Vr = {}; - function $r(H, X, re, fe, Ae, je) { + var Br = {}; + function Vr(H, X, re, fe, Ae, Re) { { var we = R(H); if (!we) { var ye = ""; (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); var st = mi(); - st ? ye += st : ye += zr(); + st ? ye += st : ye += Ir(); var We; H === null ? We = "null" : Nt(H) ? We = "array" : H !== void 0 && H.$$typeof === t ? (We = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : We = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, ye); } - var Ue = Wt(H, X, re, Ae, je); + var Ue = Wt(H, X, re, Ae, Re); if (Ue == null) return Ue; if (we) { @@ -610,57 +610,57 @@ Check the top-level render call using <` + re + ">."); if (fe) if (Nt(pt)) { for (var _n = 0; _n < pt.length; _n++) - Br(pt[_n], H); + Pr(pt[_n], H); Object.freeze && Object.freeze(pt); } else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else - Br(pt, H); + Pr(pt, H); } if ($e.call(X, "key")) { var pn = V(H), dt = Object.keys(X).filter(function(ki) { return ki !== "key"; - }), Vo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!Vr[pn + Vo]) { + }), Bo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; + if (!Br[pn + Bo]) { var Si = dt.length > 0 ? "{" + dt.join(": ..., ") + ": ...}" : "{}"; x(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, Vo, pn, Si, pn), Vr[pn + Vo] = !0; + <%s key={someKey} {...props} />`, Bo, pn, Si, pn), Br[pn + Bo] = !0; } } return H === o ? Ci(Ue) : yi(Ue), Ue; } } function vi(H, X, re) { - return $r(H, X, re, !0); + return Vr(H, X, re, !0); } function xi(H, X, re) { - return $r(H, X, re, !1); + return Vr(H, X, re, !1); } var wi = xi, Ei = vi; - Wo.Fragment = o, Wo.jsx = wi, Wo.jsxs = Ei; - }()), Wo; + $o.Fragment = o, $o.jsx = wi, $o.jsxs = Ei; + }()), $o; } -process.env.NODE_ENV === "production" ? rs.exports = c4() : rs.exports = u4(); +process.env.NODE_ENV === "production" ? rs.exports = s4() : rs.exports = c4(); var h = rs.exports; -const d4 = "_iconButton_eti7u_1", f4 = { - iconButton: d4 -}, qn = (e) => /* @__PURE__ */ h.jsx(Sn, { title: e.title, children: /* @__PURE__ */ h.jsx( +const u4 = "_iconButton_eti7u_1", d4 = { + iconButton: u4 +}, Un = (e) => /* @__PURE__ */ h.jsx(Sn, { title: e.title, children: /* @__PURE__ */ h.jsx( "button", { ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${f4.iconButton}`, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${d4.iconButton}`, type: e.type ?? "button", children: e.children } -) }), h4 = Ht(null), Ai = { +) }), f4 = Ht(null), Ai = { didCatch: !1, error: null }; -class p4 extends J5 { +class h4 extends Q5 { constructor(t) { super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ai; } @@ -693,7 +693,7 @@ class p4 extends J5 { } = this.state, { resetKeys: r } = this.props; - if (o && n.error !== null && g4(t.resetKeys, r)) { + if (o && n.error !== null && p4(t.resetKeys, r)) { var a, i; (a = (i = this.props).onReset) === null || a === void 0 || a.call(i, { next: r, @@ -727,7 +727,7 @@ class p4 extends J5 { else throw i; } - return x1(h4.Provider, { + return x1(f4.Provider, { value: { didCatch: a, error: i, @@ -736,7 +736,7 @@ class p4 extends J5 { }, l); } } -function g4() { +function p4() { 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])); } @@ -744,10 +744,10 @@ const Sn = (e) => { const [t, n] = ce(!1), o = () => n(!t), r = he( (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") ); - return /* @__PURE__ */ h.jsxs(p4, { fallback: /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), children: [ + return /* @__PURE__ */ h.jsxs(h4, { fallback: /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), children: [ /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), e.title ? /* @__PURE__ */ h.jsx( - P5, + H5, { isOpen: t, target: r.current, @@ -758,18 +758,18 @@ const Sn = (e) => { } ) : null ] }); -}, m4 = "_loadingBtn_gadec_1", b4 = { - loadingBtn: m4 -}, jo = ({ loading: e, ...t }) => /* @__PURE__ */ h.jsx( - Re, +}, g4 = "_loadingBtn_gadec_1", m4 = { + loadingBtn: g4 +}, Fo = ({ loading: e, ...t }) => /* @__PURE__ */ h.jsx( + Ie, { ...t, disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${b4.loadingBtn}`, + className: `${t.className ?? ""} ${m4.loadingBtn}`, children: e ? /* @__PURE__ */ h.jsx(Xs, {}) : t.children } ); -var Qo = {}, nd = { exports: {} }; +var Xo = {}, nd = { exports: {} }; (function(e) { function t(n) { return n && n.__esModule ? n : { @@ -778,8 +778,8 @@ var Qo = {}, nd = { exports: {} }; } e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports; })(nd); -var y4 = nd.exports, Mi = {}, S1; -function C4() { +var b4 = nd.exports, Mi = {}, S1; +function y4() { return S1 || (S1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1037,7 +1037,7 @@ function C4() { }(Mi)), Mi; } var Ti = {}, k1; -function v4() { +function C4() { return k1 || (k1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1200,7 +1200,7 @@ function v4() { }(Ti)), Ti; } var Oi = {}, _1; -function x4() { +function v4() { return _1 || (_1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1370,7 +1370,7 @@ function x4() { }(Oi)), Oi; } var Ni = {}, A1; -function w4() { +function x4() { return A1 || (A1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1535,7 +1535,7 @@ function w4() { }(Ni)), Ni; } var Di = {}, M1; -function E4() { +function w4() { return M1 || (M1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1712,7 +1712,7 @@ function E4() { }(Di)), Di; } var Li = {}, T1; -function S4() { +function E4() { return T1 || (T1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -1874,7 +1874,7 @@ function S4() { }(Li)), Li; } var Fi = {}, O1; -function k4() { +function S4() { return O1 || (O1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2097,7 +2097,7 @@ function k4() { }(Fi)), Fi; } var ji = {}, N1; -function _4() { +function k4() { return N1 || (N1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2298,7 +2298,7 @@ function _4() { }(ji)), ji; } var Ri = {}, D1; -function A4() { +function _4() { return D1 || (D1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2453,7 +2453,7 @@ function A4() { }(Ri)), Ri; } var Ii = {}, L1; -function M4() { +function A4() { return L1 || (L1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2615,7 +2615,7 @@ function M4() { }(Ii)), Ii; } var zi = {}, F1; -function T4() { +function M4() { return F1 || (F1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2821,7 +2821,7 @@ function T4() { }(zi)), zi; } var Hi = {}, j1; -function O4() { +function T4() { return j1 || (j1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -2991,7 +2991,7 @@ function O4() { }(Hi)), Hi; } var Pi = {}, R1; -function N4() { +function O4() { return R1 || (R1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -3386,7 +3386,7 @@ function N4() { }(Pi)), Pi; } var Bi = {}, I1; -function D4() { +function N4() { return I1 || (I1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -3781,7 +3781,7 @@ function D4() { }(Bi)), Bi; } var Vi = {}, z1; -function L4() { +function D4() { return z1 || (z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -3972,7 +3972,7 @@ function L4() { }(Vi)), Vi; } var $i = {}, H1; -function F4() { +function L4() { return H1 || (H1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -4182,7 +4182,7 @@ function F4() { }($i)), $i; } var Wi = {}, P1; -function j4() { +function F4() { return P1 || (P1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -4345,7 +4345,7 @@ function j4() { }(Wi)), Wi; } var Zi = {}, B1; -function R4() { +function j4() { return B1 || (B1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -4572,7 +4572,7 @@ function R4() { }(Zi)), Zi; } var Ui = {}, V1; -function I4() { +function R4() { return V1 || (V1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -4799,7 +4799,7 @@ function I4() { }(Ui)), Ui; } var qi = {}, $1; -function z4() { +function I4() { return $1 || ($1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -5026,7 +5026,7 @@ function z4() { }(qi)), qi; } var Yi = {}, W1; -function H4() { +function z4() { return W1 || (W1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -5253,7 +5253,7 @@ function H4() { }(Yi)), Yi; } var Gi = {}, Z1; -function P4() { +function H4() { return Z1 || (Z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -5480,7 +5480,7 @@ function P4() { }(Gi)), Gi; } var Ki = {}, U1; -function B4() { +function P4() { return U1 || (U1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -5707,7 +5707,7 @@ function B4() { }(Ki)), Ki; } var Xi = {}, q1; -function V4() { +function B4() { return q1 || (q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -5894,7 +5894,7 @@ function V4() { }(Xi)), Xi; } var Qi = {}, Y1; -function $4() { +function V4() { return Y1 || (Y1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6080,7 +6080,7 @@ function $4() { }(Qi)), Qi; } var Ji = {}, G1; -function W4() { +function $4() { return G1 || (G1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6266,7 +6266,7 @@ function W4() { }(Ji)), Ji; } var el = {}, K1; -function Z4() { +function W4() { return K1 || (K1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6469,7 +6469,7 @@ function Z4() { }(el)), el; } var tl = {}, X1; -function U4() { +function Z4() { return X1 || (X1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6626,7 +6626,7 @@ function U4() { }(tl)), tl; } var nl = {}, Q1; -function q4() { +function U4() { return Q1 || (Q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6789,7 +6789,7 @@ function q4() { }(nl)), nl; } var ol = {}, J1; -function Y4() { +function q4() { return J1 || (J1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -6993,7 +6993,7 @@ function Y4() { }(ol)), ol; } var rl = {}, e2; -function G4() { +function Y4() { return e2 || (e2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -7205,7 +7205,7 @@ function G4() { }(rl)), rl; } var al = {}, t2; -function K4() { +function G4() { return t2 || (t2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -7413,7 +7413,7 @@ function K4() { }(al)), al; } var il = {}, n2; -function X4() { +function K4() { return n2 || (n2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -7614,7 +7614,7 @@ function X4() { }(il)), il; } var ll = {}, o2; -function Q4() { +function X4() { return o2 || (o2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -7775,7 +7775,7 @@ function Q4() { }(ll)), ll; } var sl = {}, r2; -function J4() { +function Q4() { return r2 || (r2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -8285,7 +8285,7 @@ function J4() { }(sl)), sl; } var cl = {}, a2; -function e6() { +function J4() { return a2 || (a2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -8783,7 +8783,7 @@ function e6() { }(cl)), cl; } var ul = {}, i2; -function t6() { +function e6() { return i2 || (i2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -8953,7 +8953,7 @@ function t6() { }(ul)), ul; } var dl = {}, l2; -function n6() { +function t6() { return l2 || (l2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -9196,7 +9196,7 @@ function n6() { }(dl)), dl; } var fl = {}, s2; -function o6() { +function n6() { return s2 || (s2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -9358,7 +9358,7 @@ function o6() { }(fl)), fl; } var hl = {}, c2; -function r6() { +function o6() { return c2 || (c2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -9550,7 +9550,7 @@ function r6() { }(hl)), hl; } var pl = {}, u2; -function a6() { +function r6() { return u2 || (u2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -9765,7 +9765,7 @@ function a6() { }(pl)), pl; } var gl = {}, d2; -function i6() { +function a6() { return d2 || (d2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -10056,7 +10056,7 @@ function i6() { }(gl)), gl; } var ml = {}, f2; -function l6() { +function i6() { return f2 || (f2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -10245,7 +10245,7 @@ function l6() { }(ml)), ml; } var bl = {}, h2; -function s6() { +function l6() { return h2 || (h2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 @@ -10450,7 +10450,7 @@ function s6() { }(bl)), bl; } (function(e) { - var t = y4; + var t = b4; Object.defineProperty(e, "__esModule", { value: !0 }), Object.defineProperty(e, "a11yDark", { @@ -10674,12 +10674,12 @@ function s6() { return oe.default; } }); - var n = t(C4()), o = t(v4()), r = t(x4()), a = t(w4()), i = t(E4()), l = t(S4()), s = t(k4()), u = t(_4()), c = t(A4()), d = t(M4()), p = t(T4()), f = t(O4()), m = t(N4()), b = t(D4()), y = t(L4()), g = t(F4()), x = t(j4()), C = t(R4()), S = t(I4()), w = t(z4()), E = t(H4()), M = t(P4()), _ = t(B4()), L = t(V4()), R = t($4()), F = t(W4()), P = t(Z4()), V = t(U4()), k = t(q4()), N = t(Y4()), T = t(G4()), D = t(K4()), I = t(X4()), j = t(Q4()), v = t(J4()), z = t(e6()), B = t(t6()), A = t(n6()), W = t(o6()), Y = t(r6()), K = t(a6()), Q = t(i6()), ne = t(l6()), oe = t(s6()); -})(Qo); -const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { - codeblock: c6, - dark: u6 -}, d6 = { vs: Qo.vs, "vsc-dark-plus": Qo.vscDarkPlus, solarizedLight: Qo.solarizedlight, tomorrow: Qo.tomorrow }, Tr = ({ + var n = t(y4()), o = t(C4()), r = t(v4()), a = t(x4()), i = t(w4()), l = t(E4()), s = t(S4()), u = t(k4()), c = t(_4()), d = t(A4()), p = t(M4()), f = t(T4()), m = t(O4()), b = t(N4()), y = t(D4()), g = t(L4()), x = t(F4()), C = t(j4()), S = t(R4()), w = t(I4()), E = t(z4()), M = t(H4()), _ = t(P4()), L = t(B4()), R = t(V4()), F = t($4()), P = t(W4()), V = t(Z4()), k = t(U4()), N = t(q4()), T = t(Y4()), D = t(G4()), I = t(K4()), j = t(X4()), v = t(Q4()), z = t(J4()), B = t(e6()), A = t(t6()), W = t(n6()), Y = t(o6()), K = t(r6()), Q = t(a6()), ne = t(i6()), oe = t(l6()); +})(Xo); +const s6 = "_codeblock_19tsp_1", c6 = "_dark_19tsp_1", p2 = { + codeblock: s6, + dark: c6 +}, u6 = { vs: Xo.vs, "vsc-dark-plus": Xo.vscDarkPlus, solarizedLight: Xo.solarizedlight, tomorrow: Xo.tomorrow }, Mr = ({ code: e, language: t, fileName: n, @@ -10693,25 +10693,25 @@ const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { { className: `${p2.codeblock} ${i || ""} ${r === "dark" ? p2.dark : ""}`, children: [ - n ? /* @__PURE__ */ h.jsxs(Fo, { className: "d-flex justify-content-between", children: [ + n ? /* @__PURE__ */ h.jsxs(Lo, { className: "d-flex justify-content-between", children: [ n, " ", l ] }) : null, /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx( - o4, + n4, { showLineNumbers: a, language: t, - style: d6[o], + style: u6[o], children: e } ) }) ] } -), f6 = "_stack_73h55_1", h6 = { - stack: f6 -}, nt = Js(function({ +), d6 = "_stack_73h55_1", f6 = { + stack: d6 +}, Je = Js(function({ children: t, direction: n = "row", ...o @@ -10720,12 +10720,12 @@ const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { "div", { ...o, - className: `${o.className} ${h6.stack} stack-${n}`, + className: `${o.className} ${f6.stack} stack-${n}`, ref: r, children: t } ); -}), od = ({ tooltip: e, ...t }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx(B5, { ...t }) }), tc = ({ queryFn: e }) => { +}), od = ({ tooltip: e, ...t }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx(P5, { ...t }) }), tc = ({ queryFn: e }) => { const [t, n] = ce(), [o, r] = ce(!1), [a, i] = ce(), l = async () => { r(!0); try { @@ -10747,7 +10747,7 @@ const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { l(); } }; -}, Ro = ({ queryFn: e, onSuccess: t }) => { +}, jo = ({ queryFn: e, onSuccess: t }) => { const [n, o] = ce(), [r, a] = ce(!1), [i, l] = ce(); return { error: n, @@ -10765,12 +10765,12 @@ const c6 = "_codeblock_19tsp_1", u6 = "_dark_19tsp_1", p2 = { } } }; -}, ze = { +}, je = { get: async (e, t, n) => ({}), post: async (e, t, n) => ({}) }; var nc = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(nc || {}); -const p6 = () => { +const h6 = () => { 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] }; @@ -11578,15 +11578,15 @@ var rd = { exports: {} }; }]).default; }); })(rd); -var g6 = rd.exports; -const ad = /* @__PURE__ */ dn(g6), Ga = "altimate-display-", m6 = `${Ga}-highlight`, g2 = `${Ga}-highlight-hover`, b6 = `${Ga}-active-highlight`, y6 = 1049, ho = new ad({ +var p6 = rd.exports; +const ad = /* @__PURE__ */ dn(p6), Ya = "altimate-display-", g6 = `${Ya}-highlight`, g2 = `${Ya}-highlight-hover`, m6 = `${Ya}-active-highlight`, b6 = 1049, ho = new ad({ style: { - className: m6 + className: g6 } // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, }), oc = new ad({ style: { - className: b6 + className: m6 } // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, }), id = (e, t) => t.filter( @@ -11607,11 +11607,11 @@ ho.on("selection:hover", ({ id: e }) => { }).on("selection:hover-out", ({ id: e }) => { ho.removeClass(g2, e); }); -const C6 = (e) => { +const y6 = (e) => { var t, n; return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, v6 = (e) => { - const t = C6(e); +}, C6 = (e) => { + const t = y6(e); t && (ho.remove(t.id), oc.remove(t.id)); }, rc = () => { var n, o; @@ -11622,17 +11622,17 @@ const C6 = (e) => { return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); }, ic = () => document.querySelector( '[marked="model.description"]' -), x6 = (e) => { +), v6 = (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 = ic()) == null ? void 0 : o.firstChild : rc(); -}, w6 = (e) => { +}, x6 = (e) => { if (e.getAttribute("marked") === "model.description") return "description"; -}, E6 = (e, t, n, o, r) => { +}, w6 = (e, t, n, o, r) => { if (e === "description") return { start: 0, @@ -11659,7 +11659,7 @@ const C6 = (e) => { ]; }; var jt = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(jt || {}); -function S6(e) { +function E6(e) { if (typeof e != "object" || e === null) return !1; let t = e; @@ -11667,10 +11667,10 @@ function S6(e) { t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } -function k6(e) { - return S6(e) && "type" in e && typeof e.type == "string"; +function S6(e) { + return E6(e) && "type" in e && typeof e.type == "string"; } -var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), _6 = process.env.NODE_ENV !== "production" ? [ +var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), k6 = 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.`; @@ -11703,7 +11703,7 @@ var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = S ] : []; function Ct(e, ...t) { if (process.env.NODE_ENV !== "production") { - const n = _6[e], o = typeof n == "function" ? n.apply(null, t) : n; + const n = k6[e], o = typeof n == "function" ? n.apply(null, t) : n; throw new Error(`[Immer] ${o}`); } throw new Error( @@ -11711,14 +11711,14 @@ function Ct(e, ...t) { ); } var Eo = Object.getPrototypeOf; -function Xn(e) { +function Kn(e) { return !!e && !!e[At]; } function vn(e) { var t; - return e ? cd(e) || Array.isArray(e) || !!e[m2] || !!((t = e.constructor) != null && t[m2]) || Xa(e) || Qa(e) : !1; + return e ? cd(e) || Array.isArray(e) || !!e[m2] || !!((t = e.constructor) != null && t[m2]) || Ka(e) || Xa(e) : !1; } -var A6 = Object.prototype.constructor.toString(); +var _6 = Object.prototype.constructor.toString(); function cd(e) { if (!e || typeof e != "object") return !1; @@ -11726,40 +11726,40 @@ function cd(e) { if (t === null) return !0; const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; - return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === A6; + return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === _6; } -function ka(e, t) { - Ka(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { +function Sa(e, t) { + Ga(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { t(n, e[n], e); }) : e.forEach((n, o) => t(o, n, e)); } -function Ka(e) { +function Ga(e) { const t = e[At]; - return t ? t.type_ : Array.isArray(e) ? 1 : Xa(e) ? 2 : Qa(e) ? 3 : 0; + return t ? t.type_ : Array.isArray(e) ? 1 : Ka(e) ? 2 : Xa(e) ? 3 : 0; } function as(e, t) { - return Ka(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); + return Ga(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); } function ud(e, t, n) { - const o = Ka(e); + const o = Ga(e); o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; } -function M6(e, t) { +function A6(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; } -function Xa(e) { +function Ka(e) { return e instanceof Map; } -function Qa(e) { +function Xa(e) { return e instanceof Set; } function zn(e) { return e.copy_ || e.base_; } function is(e, t) { - if (Xa(e)) + if (Ka(e)) return new Map(e); - if (Qa(e)) + if (Xa(e)) return new Set(e); if (Array.isArray(e)) return Array.prototype.slice.call(e); @@ -11788,24 +11788,24 @@ function is(e, t) { } } function lc(e, t = !1) { - return Ja(e) || Xn(e) || !vn(e) || (Ka(e) > 1 && (e.set = e.add = e.clear = e.delete = T6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; + return Qa(e) || Kn(e) || !vn(e) || (Ga(e) > 1 && (e.set = e.add = e.clear = e.delete = M6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; } -function T6() { +function M6() { Ct(2); } -function Ja(e) { +function Qa(e) { return Object.isFrozen(e); } -var O6 = {}; -function Qn(e) { - const t = O6[e]; +var T6 = {}; +function Xn(e) { + const t = T6[e]; return t || Ct(0, e), t; } -var sr; +var lr; function dd() { - return sr; + return lr; } -function N6(e, t) { +function O6(e, t) { return { drafts_: [], parent_: e, @@ -11817,52 +11817,52 @@ function N6(e, t) { }; } function b2(e, t) { - t && (Qn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); + t && (Xn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); } function ls(e) { - ss(e), e.drafts_.forEach(D6), e.drafts_ = null; + ss(e), e.drafts_.forEach(N6), e.drafts_ = null; } function ss(e) { - e === sr && (sr = e.parent_); + e === lr && (lr = e.parent_); } function y2(e) { - return sr = N6(sr, e); + return lr = O6(lr, e); } -function D6(e) { +function N6(e) { const t = e[At]; t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; } function C2(e, t) { t.unfinalizedDrafts_ = t.drafts_.length; const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[At].modified_ && (ls(t), Ct(4)), vn(e) && (e = _a(t, e), t.parent_ || Aa(t, e)), t.patches_ && Qn("Patches").generateReplacementPatches_( + return e !== void 0 && e !== n ? (n[At].modified_ && (ls(t), Ct(4)), vn(e) && (e = ka(t, e), t.parent_ || _a(t, e)), t.patches_ && Xn("Patches").generateReplacementPatches_( n[At].base_, e, t.patches_, t.inversePatches_ - )) : e = _a(t, n, []), ls(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== sd ? e : void 0; + )) : e = ka(t, n, []), ls(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== sd ? e : void 0; } -function _a(e, t, n) { - if (Ja(t)) +function ka(e, t, n) { + if (Qa(t)) return t; const o = t[At]; if (!o) - return ka( + return Sa( t, (r, a) => v2(e, o, t, r, a, n) ), t; if (o.scope_ !== e) return t; if (!o.modified_) - return Aa(e, o.base_, !0), o.base_; + return _a(e, o.base_, !0), o.base_; if (!o.finalized_) { 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), ka( + o.type_ === 3 && (a = new Set(r), r.clear(), i = !0), Sa( a, (l, s) => v2(e, o, r, l, s, n, i) - ), Aa(e, r, !1), n && e.patches_ && Qn("Patches").generatePatches_( + ), _a(e, r, !1), n && e.patches_ && Xn("Patches").generatePatches_( o, n, e.patches_, @@ -11872,24 +11872,24 @@ function _a(e, t, n) { return o.copy_; } function v2(e, t, n, o, r, a, i) { - if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Xn(r)) { + if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Kn(r)) { const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !as(t.assigned_, o) ? a.concat(o) : void 0, s = _a(e, r, l); - if (ud(n, o, s), Xn(s)) + !as(t.assigned_, o) ? a.concat(o) : void 0, s = ka(e, r, l); + if (ud(n, o, s), Kn(s)) e.canAutoFreeze_ = !1; else return; } else i && n.add(r); - if (vn(r) && !Ja(r)) { + if (vn(r) && !Qa(r)) { if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; - _a(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && Aa(e, r); + ka(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && _a(e, r); } } -function Aa(e, t, n = !1) { +function _a(e, t, n = !1) { !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && lc(t, n); } -function L6(e, t) { +function D6(e, t) { const n = Array.isArray(e), o = { type_: n ? 1 : 0, // Track which produce call this is associated with. @@ -11914,7 +11914,7 @@ function L6(e, t) { isManual_: !1 }; let r = o, a = sc; - n && (r = [o], a = cr); + n && (r = [o], a = sr); const { revoke: i, proxy: l } = Proxy.revocable(r, a); return o.draft_ = l, o.revoke_ = i, l; } @@ -11924,7 +11924,7 @@ var sc = { return e; const n = zn(e); if (!as(n, t)) - return F6(e, n, t); + return L6(e, n, t); const o = n[t]; return e.finalized_ || !vn(o) ? o : o === yl(e.base_, t) ? (Cl(e), e.copy_[t] = us(o, e)) : o; }, @@ -11942,7 +11942,7 @@ var sc = { const r = yl(zn(e), t), a = r == null ? void 0 : r[At]; if (a && a.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (M6(n, r) && (n !== void 0 || as(e.base_, t))) + if (A6(n, r) && (n !== void 0 || as(e.base_, t))) return !0; Cl(e), cs(e); } @@ -11973,23 +11973,23 @@ var sc = { setPrototypeOf() { Ct(12); } -}, cr = {}; -ka(sc, (e, t) => { - cr[e] = function() { +}, sr = {}; +Sa(sc, (e, t) => { + sr[e] = function() { return arguments[0] = arguments[0][0], t.apply(this, arguments); }; }); -cr.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), cr.set.call(this, e, t, void 0); +sr.deleteProperty = function(e, t) { + return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), sr.set.call(this, e, t, void 0); }; -cr.set = function(e, t, n) { +sr.set = function(e, t, n) { return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), sc.set.call(this, e[0], t, n, e[0]); }; function yl(e, t) { const n = e[At]; return (n ? zn(n) : e)[t]; } -function F6(e, t, n) { +function L6(e, t, n) { var r; const o = fd(t, n); return o ? "value" in o ? o.value : ( @@ -12018,7 +12018,7 @@ function Cl(e) { e.scope_.immer_.useStrictShallowCopy_ )); } -var j6 = class { +var F6 = class { constructor(e) { this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, o) => { if (typeof t == "function" && typeof n != "function") { @@ -12043,7 +12043,7 @@ var j6 = class { } else if (!t || typeof t != "object") { if (r = n(t), r === void 0 && (r = t), r === sd && (r = void 0), this.autoFreeze_ && lc(r, !0), o) { const a = [], i = []; - Qn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); + Xn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); } return r; } else @@ -12058,7 +12058,7 @@ var j6 = class { }, 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) { - vn(e) || Ct(8), Xn(e) && (e = R6(e)); + vn(e) || Ct(8), Kn(e) && (e = j6(e)); const t = y2(this), n = us(e, void 0); return n[At].isManual_ = !0, ss(t), n; } @@ -12094,22 +12094,22 @@ var j6 = class { } } n > -1 && (t = t.slice(n + 1)); - const o = Qn("Patches").applyPatches_; - return Xn(e) ? o(e, t) : this.produce( + const o = Xn("Patches").applyPatches_; + return Kn(e) ? o(e, t) : this.produce( e, (r) => o(r, t) ); } }; function us(e, t) { - const n = Xa(e) ? Qn("MapSet").proxyMap_(e, t) : Qa(e) ? Qn("MapSet").proxySet_(e, t) : L6(e, t); + const n = Ka(e) ? Xn("MapSet").proxyMap_(e, t) : Xa(e) ? Xn("MapSet").proxySet_(e, t) : D6(e, t); return (t ? t.scope_ : dd()).drafts_.push(n), n; } -function R6(e) { - return Xn(e) || Ct(10, e), hd(e); +function j6(e) { + return Kn(e) || Ct(10, e), hd(e); } function hd(e) { - if (!vn(e) || Ja(e)) + if (!vn(e) || Qa(e)) return e; const t = e[At]; let n; @@ -12119,11 +12119,11 @@ function hd(e) { t.finalized_ = !0, n = is(e, t.scope_.immer_.useStrictShallowCopy_); } else n = is(e, !0); - return ka(n, (o, r) => { + return Sa(n, (o, r) => { ud(n, o, hd(r)); }), t && (t.finalized_ = !1), n; } -var Mt = new j6(), pd = Mt.produce; +var Mt = new F6(), pd = Mt.produce; Mt.produceWithPatches.bind( Mt ); @@ -12154,7 +12154,7 @@ function x2(e, t) { payload: o[0] }; } - return n.toString = () => `${e}`, n.type = e, n.match = (o) => k6(o) && o.type === e, n; + return n.toString = () => `${e}`, n.type = e, n.match = (o) => S6(o) && o.type === e, n; } function w2(e) { return vn(e) ? pd(e, () => { @@ -12203,14 +12203,14 @@ function gd(e) { }; return e(r), [t, n, o]; } -function I6(e) { +function R6(e) { return typeof e == "function"; } -function z6(e, t) { +function I6(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") throw new Error(process.env.NODE_ENV === "production" ? ot(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] = gd(t), a; - if (I6(e)) + if (R6(e)) a = () => w2(e()); else { const l = w2(e); @@ -12224,7 +12224,7 @@ function z6(e, t) { }) => c)]; return u.filter((c) => !!c).length === 0 && (u = [r]), u.reduce((c, d) => { if (d) - if (Xn(c)) { + if (Kn(c)) { const f = d(c, s); return f === void 0 ? c : f; } else { @@ -12245,15 +12245,15 @@ function z6(e, t) { } return i.getInitialState = a, i; } -var H6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); -function P6(e, t) { +var z6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); +function H6(e, t) { return `${e}/${t}`; } -function B6({ +function P6({ creators: e } = {}) { var n; - const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[H6]; + const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[z6]; return function(r) { const { name: a, @@ -12262,7 +12262,7 @@ function B6({ if (!a) throw new Error(process.env.NODE_ENV === "production" ? ot(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($6()) : r.reducers) || {}, s = Object.keys(l), u = { + const l = (typeof r.reducers == "function" ? r.reducers(V6()) : r.reducers) || {}, s = Object.keys(l), u = { sliceCaseReducersByName: {}, sliceCaseReducersByType: {}, actionCreators: {}, @@ -12292,10 +12292,10 @@ function B6({ s.forEach((C) => { const S = l[C], w = { reducerName: C, - type: P6(a, C), + type: H6(a, C), createNotation: typeof r.reducers == "function" }; - Z6(S) ? q6(w, S, c, t) : W6(w, S, c); + W6(S) ? U6(w, S, c, t) : $6(w, S, c); }); function d() { if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") @@ -12304,7 +12304,7 @@ function B6({ ...C, ...u.sliceCaseReducersByType }; - return z6(r.initialState, (M) => { + return I6(r.initialState, (M) => { for (let _ in E) M.addCase(_, E[_]); for (let _ of u.sliceMatchers) @@ -12341,7 +12341,7 @@ function B6({ insert: () => { const L = {}; for (const [R, F] of Object.entries(r.selectors ?? {})) - L[R] = V6(F, M, y, S); + L[R] = B6(F, M, y, S); return L; } }); @@ -12379,7 +12379,7 @@ function B6({ return x; }; } -function V6(e, t, n, o) { +function B6(e, t, n, o) { function r(a, ...i) { let l = t(a); if (typeof l > "u") { @@ -12392,8 +12392,8 @@ function V6(e, t, n, o) { } return r.unwrapped = e, r; } -var cc = /* @__PURE__ */ B6(); -function $6() { +var cc = /* @__PURE__ */ P6(); +function V6() { function e(t, n) { return { _reducerDefinitionType: "asyncThunk", @@ -12424,27 +12424,27 @@ function $6() { asyncThunk: e }; } -function W6({ +function $6({ type: e, reducerName: t, createNotation: n }, o, r) { let a, i; if ("reducer" in o) { - if (n && !U6(o)) + if (n && !Z6(o)) throw new Error(process.env.NODE_ENV === "production" ? ot(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 ? x2(e, i) : x2(e)); } -function Z6(e) { +function W6(e) { return e._reducerDefinitionType === "asyncThunk"; } -function U6(e) { +function Z6(e) { return e._reducerDefinitionType === "reducerWithPrepare"; } -function q6({ +function U6({ type: e, reducerName: t }, n, o, r) { @@ -12459,18 +12459,18 @@ function q6({ 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 || Zr, - pending: l || Zr, - rejected: s || Zr, - settled: u || Zr + fulfilled: i || Wr, + pending: l || Wr, + rejected: s || Wr, + settled: u || Wr }); } -function Zr() { +function Wr() { } function ot(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 Y6 = { +const q6 = { users: {}, isRightPanelOpen: !1, selectedConversationId: void 0, @@ -12479,13 +12479,13 @@ const Y6 = { newConversation: void 0, shareId: void 0, docsAppRendered: !1, - currentPage: p6(), + currentPage: h6(), codeblockLoaded: !1, source: nc.DBT_DOCS, manifest: {} -}, Ma = cc({ +}, Aa = cc({ name: "appState", - initialState: Y6, + initialState: q6, reducers: { setDocsAppRendered: (e, t) => { e.docsAppRendered = t.payload; @@ -12577,32 +12577,32 @@ const Y6 = { setShareId: aA, updateSelectedConversationId: uc, updateRightPanelState: dc, - setUsers: G6, - setConversations: K6, + setUsers: Y6, + setConversations: G6, resetNewConversation: fc, updateNewConversation: hc, upsertConversation: iA, setDocsAppRendered: lA, updateCurrentPage: sA, updateCodeblockLoaded: cA, - resolveConversationGroup: X6, + resolveConversationGroup: K6, setConversationsLoadingState: S2, refetchConversations: md, setConversationSource: uA, - setManifest: Q6 -} = Ma.actions, ei = Ht({ - state: Ma.getInitialState(), + setManifest: X6 +} = Aa.actions, Ja = Ht({ + state: Aa.getInitialState(), dispatch: () => null, getValue: () => null -}), J6 = ({ +}), Q6 = ({ children: e, shareId: t, userId: n, conversationGroupId: o, source: r }) => { - const [a, i] = ec(Ma.reducer, { - ...Ma.getInitialState(), + const [a, i] = ec(Aa.reducer, { + ...Aa.getInitialState(), shareId: t, currentUserId: n, selectedConversationId: o, @@ -12619,29 +12619,29 @@ const Y6 = { }), [a, i, l] ); - return /* @__PURE__ */ h.jsx(ei.Provider, { value: s, children: e }); -}, e8 = () => Je(ei), Ie = (e) => { - const { getValue: t } = Je(ei); + return /* @__PURE__ */ h.jsx(Ja.Provider, { value: s, children: e }); +}, J6 = () => et(Ja), ze = (e) => { + const { getValue: t } = et(Ja); return t(e); }, Pt = () => { - const { dispatch: e } = Je(ei); + const { dispatch: e } = et(Ja); return e; -}, t8 = (e) => e; -let bd = t8; +}, e8 = (e) => e; +let bd = e8; process.env.NODE_ENV !== "production" && (bd = (e, t) => { if (!e) throw new Error(t); }); -const n8 = Ht(null), o8 = Ht({}), r8 = Ht({ +const t8 = Ht(null), n8 = Ht({}), o8 = Ht({ transformPagePoint: (e) => e, isStatic: !1, reducedMotion: "never" -}), a8 = typeof window < "u", i8 = a8 ? e4 : ue; +}), r8 = typeof window < "u", a8 = r8 ? J5 : ue; function yd(e) { const t = he(null); return t.current === null && (t.current = e()), t.current; } -class l8 extends O.Component { +class i8 extends O.Component { getSnapshotBeforeUpdate(t) { const n = this.props.childRef.current; if (n && t.isPresent && !this.props.isPresent) { @@ -12659,14 +12659,14 @@ class l8 extends O.Component { return this.props.children; } } -function s8({ children: e, isPresent: t }) { +function l8({ children: e, isPresent: t }) { const n = Q0(), o = he(null), r = he({ width: 0, height: 0, top: 0, left: 0 - }), { nonce: a } = Je(r8); - return t4(() => { + }), { nonce: a } = et(o8); + return e4(() => { const { width: i, height: l, top: s, left: u } = r.current; if (t || !o.current || !i || !l) return; @@ -12683,10 +12683,10 @@ function s8({ children: e, isPresent: t }) { `), () => { document.head.removeChild(c); }; - }, [t]), h.jsx(l8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); + }, [t]), h.jsx(i8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); } -const c8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { - const l = yd(u8), s = Q0(), u = Be( +const s8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { + const l = yd(c8), s = Q0(), u = Be( () => ({ id: s, initial: t, @@ -12712,25 +12712,25 @@ const c8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: l.forEach((c, d) => l.set(d, !1)); }, [n]), O.useEffect(() => { !n && !l.size && o && o(); - }, [n]), i === "popLayout" && (e = h.jsx(s8, { isPresent: n, children: e })), h.jsx(n8.Provider, { value: u, children: e }); + }, [n]), i === "popLayout" && (e = h.jsx(l8, { isPresent: n, children: e })), h.jsx(t8.Provider, { value: u, children: e }); }; -function u8() { +function c8() { return /* @__PURE__ */ new Map(); } -const Ur = (e) => e.key || ""; +const Zr = (e) => e.key || ""; function k2(e) { const t = []; return wo.forEach(e, (n) => { X0(n) && t.push(n); }), t; } -const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { +const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { bd(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = Be(() => k2(e), [e]), s = l.map(Ur), u = he(!0), c = he(l), d = yd(() => /* @__PURE__ */ new Map()), [p, f] = ce(l), [m, b] = ce(l); - i8(() => { + const l = Be(() => k2(e), [e]), s = l.map(Zr), u = he(!0), c = he(l), d = yd(() => /* @__PURE__ */ new Map()), [p, f] = ce(l), [m, b] = ce(l); + a8(() => { u.current = !1, c.current = l; for (let x = 0; x < m.length; x++) { - const C = Ur(m[x]); + const C = Zr(m[x]); s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); } }, [m, s.length, s.join("-")]); @@ -12738,16 +12738,16 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi if (l !== p) { let x = [...l]; for (let C = 0; C < m.length; C++) { - const S = m[C], w = Ur(S); + const S = m[C], w = Zr(S); s.includes(w) || (x.splice(C, 0, S), y.push(S)); } i === "wait" && y.length && (x = y), b(k2(x)), f(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: g } = Je(o8); + const { forceRender: g } = et(n8); return h.jsx(h.Fragment, { children: m.map((x) => { - const C = Ur(x), S = l === m || s.includes(C), w = () => { + const C = Zr(x), S = l === m || s.includes(C), w = () => { if (d.has(C)) d.set(C, !0); else @@ -12757,24 +12757,24 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi M || (E = !1); }), E && (g == null || g(), b(c.current), r && r()); }; - return h.jsx(c8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); + return h.jsx(s8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); }) }); -}, f8 = "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", h8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ +}, d8 = "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", f8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ icon: e, className: t = "", ...n -}) => /* @__PURE__ */ h.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Cd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "code", ...e }), vd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "add", ...e }), xd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "trash", ...e }), p8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "comment-unresolved", ...e }), g8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "check", ...e }), _2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pass-filled", ...e }), m8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "debug-restart", ...e }), b8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "gear", ...e }), wd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-up", ...e }), Ed = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-down", ...e }), y8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "info", ...e }), C8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "send", ...e }), v8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pencil", ...e }), A2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "share", ...e }), x8 = ({ pos: e, onAddComment: t }) => Rn( - /* @__PURE__ */ h.jsx(d8, { children: e && /* @__PURE__ */ h.jsx( - Re, +}) => /* @__PURE__ */ h.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Cd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "code", ...e }), vd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "add", ...e }), xd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "trash", ...e }), h8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "comment-unresolved", ...e }), p8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "check", ...e }), _2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pass-filled", ...e }), g8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "debug-restart", ...e }), m8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "gear", ...e }), wd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-up", ...e }), Ed = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-down", ...e }), b8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "info", ...e }), y8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "send", ...e }), C8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pencil", ...e }), A2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "share", ...e }), v8 = ({ pos: e, onAddComment: t }) => Rn( + /* @__PURE__ */ h.jsx(u8, { children: e && /* @__PURE__ */ h.jsx( + Ie, { onClick: t, - id: `${Ga}-highlight`, + id: `${Ya}-highlight`, style: { position: "absolute", top: e.y, left: e.x, // right: "15px", - zIndex: y6 + 5, + zIndex: b6 + 5, cursor: "pointer", background: "#007AFF", width: 26, @@ -12794,20 +12794,20 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi } ) }), e.element.parentElement -), w8 = () => { +), x8 = () => { const { state: { isRightPanelOpen: e } - } = e8(), t = Pt(), n = () => { + } = J6(), t = Pt(), n = () => { t(dc(!e)); }; - return /* @__PURE__ */ h.jsx(Re, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, E8 = (e) => ze.get(`dbt/dbt_docs_share/${e}`), S8 = (e, t, n) => ze.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + return /* @__PURE__ */ h.jsx(Ie, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); +}, w8 = (e) => je.get(`dbt/dbt_docs_share/${e}`), E8 = (e, t, n) => je.post(`dbt/dbt_docs_share/${e}/conversation_group`, { ...t, telemetry: { eventName: "dbtCollaboration:create", properties: { source: n } } -}), k8 = (e, t, n, o) => ze.post( +}), S8 = (e, t, n, o) => je.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { ...n, @@ -12816,9 +12816,9 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: o } } } -), _8 = (e) => ze.get( +), k8 = (e) => je.get( `dbt/dbt_docs_share/${e}/conversations` -), A8 = (e) => ze.get("users/chat", { company: e }), M8 = (e, t, n) => ze.post( +), _8 = (e) => je.get("users/chat", { company: e }), A8 = (e, t, n) => je.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { resolved: !0, @@ -12827,15 +12827,15 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: n } } } -), T8 = () => { - const e = Ie( +), M8 = () => { + const e = ze( (l) => l.shareId ), [t, n] = ce( null ), [o, r] = ce(!1), a = Pt(); ue(() => { t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - a(Q6(l)); + a(X6(l)); }).catch( (l) => console.error( "error loading manifest", @@ -12848,7 +12848,7 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi if (!e) return; r(!0); - const l = await E8(e); + const l = await w8(e); if (l) { n(l); const s = document.getElementById("collapse-sidebar"); @@ -12859,19 +12859,19 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi return ue(() => { !e || t || o || i(); }, [e, t, i, o]), { shareDetails: t, loading: o }; -}, O8 = () => { - const e = Ie( +}, T8 = () => { + const e = ze( (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null - ), t = Ie( + ), t = ze( (c) => c.docsAppRendered - ), n = Ie( + ), n = ze( (c) => c.newConversation ), o = Pt(), [r, a] = ce(null), [i, l] = ce(null); ue(() => { n && (a(null), l(null)); }, [n]); const s = Me(() => { - console.log("resetHighlights"), r && v6(r), l(null), a(null); + console.log("resetHighlights"), r && C6(r), l(null), a(null); }, [r]); return ue(() => { !e || !t || e.meta.resource_type && e.meta.uniqueId && (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`); @@ -12879,13 +12879,13 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi getHighlightedSelectionData: () => r, pos: i, onSelectionEnd: (c) => { - const d = c.target, p = w6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); + const d = c.target, p = x6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); if (!b || !b.rangeCount) return s(), null; const g = b.getRangeAt(0).toString(), x = d == null ? void 0 : d.innerText; if (!g || !x) return; - const { end: C, start: S, x: w, y: E } = E6( + const { end: C, start: S, x: w, y: E } = w6( p, d, g, @@ -12911,12 +12911,12 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi }), document.body.addEventListener("click", s, { once: !0 }), a(M); } }; -}, N8 = ({ +}, O8 = ({ conversationGroup: e }) => { - const t = Ie( + const t = ze( (l) => l.selectedConversationId - ), n = Pt(), o = he(null), r = Be(() => x6(e.meta), [e.meta]), a = () => { + ), n = Pt(), o = he(null), r = Be(() => v6(e.meta), [e.meta]), a = () => { n( uc(e.conversation_group_id) ); @@ -12953,61 +12953,61 @@ const d8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, style: { top: i.top, height: i.bottom - i.top }, onClick: a, - children: /* @__PURE__ */ h.jsx(p8, {}) + children: /* @__PURE__ */ h.jsx(h8, {}) } ), r.parentElement ); -}, D8 = () => { - const e = Ie( +}, N8 = () => { + const e = ze( (r) => Object.values(r.conversations || {}) - ), t = Ie( + ), t = ze( (r) => r.codeblockLoaded - ), n = Ie( + ), n = ze( (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__ */ h.jsx(h.Fragment, { children: o.map((r) => /* @__PURE__ */ h.jsx( - N8, + O8, { conversationGroup: r }, r.conversation_group_id )) }); -}, L8 = "_dbtDocs_14zop_9", F8 = "_hotspotButton_14zop_46", j8 = "_pulse_14zop_1", R8 = "_conversationRightPanelCloseButton_14zop_62", I8 = "_conversationRightPanel_14zop_62", z8 = "_newConversationForm_14zop_94", H8 = "_highlightText_14zop_108", P8 = "_conversationInputForm_14zop_130", B8 = "_conversationGroup_14zop_156", V8 = "_replyForm_14zop_189", $8 = "_resolveButton_14zop_237", xn = { - dbtDocs: L8, - hotspotButton: F8, - pulse: j8, - conversationRightPanelCloseButton: R8, - conversationRightPanel: I8, - newConversationForm: z8, - highlightText: H8, - conversationInputForm: P8, - conversationGroup: B8, - replyForm: V8, - resolveButton: $8 -}, W8 = "_profileImage_11vaf_1", Z8 = { - profileImage: W8 +}, D8 = "_dbtDocs_14zop_9", L8 = "_hotspotButton_14zop_46", F8 = "_pulse_14zop_1", j8 = "_conversationRightPanelCloseButton_14zop_62", R8 = "_conversationRightPanel_14zop_62", I8 = "_newConversationForm_14zop_94", z8 = "_highlightText_14zop_108", H8 = "_conversationInputForm_14zop_130", P8 = "_conversationGroup_14zop_156", B8 = "_replyForm_14zop_189", V8 = "_resolveButton_14zop_237", xn = { + dbtDocs: D8, + hotspotButton: L8, + pulse: F8, + conversationRightPanelCloseButton: j8, + conversationRightPanel: R8, + newConversationForm: I8, + highlightText: z8, + conversationInputForm: H8, + conversationGroup: P8, + replyForm: B8, + resolveButton: V8 +}, $8 = "_profileImage_11vaf_1", W8 = { + profileImage: $8 }, Sd = ({ user: e }) => { var t; - return /* @__PURE__ */ h.jsx("div", { className: Z8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); + return /* @__PURE__ */ h.jsx("div", { className: W8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); }; -function U8(e) { +function Z8(e) { if (Array.isArray(e)) { for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } } -function q8(e) { +function U8(e) { if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); } -function Y8() { +function q8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function Ta(e) { - return U8(e) || q8(e) || Y8(); +function Ma(e) { + return Z8(e) || U8(e) || q8(); } function It() { return It = Object.assign || function(e) { @@ -13019,18 +13019,18 @@ function It() { return e; }, It.apply(this, arguments); } -function G8(e, t) { +function Y8(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function K8(e, t) { +function G8(e, t) { for (var n = 0; n < t.length; n++) { var o = t[n]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o); } } -function X8(e, t, n) { - return t && K8(e.prototype, t), e; +function K8(e, t, n) { + return t && G8(e.prototype, t), e; } function ve(e) { if (e === void 0) @@ -13042,7 +13042,7 @@ function ds(e, t) { return o.__proto__ = r, o; }, ds(e, t); } -function Q8(e, t) { +function X8(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, { @@ -13060,20 +13060,20 @@ function po(e) { return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; }, po(e); } -function pa(e) { - return typeof Symbol == "function" && po(Symbol.iterator) === "symbol" ? pa = function(n) { +function ha(e) { + return typeof Symbol == "function" && po(Symbol.iterator) === "symbol" ? ha = function(n) { return po(n); - } : pa = function(n) { + } : ha = function(n) { return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : po(n); - }, pa(e); + }, ha(e); } -function J8(e, t) { - return t && (pa(t) === "object" || typeof t == "function") ? t : ve(e); +function Q8(e, t) { + return t && (ha(t) === "object" || typeof t == "function") ? t : ve(e); } -function Oa(e) { - return Oa = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { +function Ta(e) { + return Ta = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { return n.__proto__ || Object.getPrototypeOf(n); - }, Oa(e); + }, Ta(e); } function be(e, t, n) { return t in e ? Object.defineProperty(e, t, { @@ -13083,7 +13083,7 @@ function be(e, t, n) { writable: !0 }) : e[t] = n, e; } -var e7 = function(e, t, n, o, r, a, i, l) { +var J8 = 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) { @@ -13102,12 +13102,12 @@ var e7 = function(e, t, n, o, r, a, i, l) { } throw s.framesToPop = 1, s; } -}, t7 = e7; -const So = /* @__PURE__ */ dn(t7); -function n7(e) { +}, e7 = J8; +const So = /* @__PURE__ */ dn(e7); +function t7(e) { if (Array.isArray(e)) return e; } -function o7(e, t) { +function n7(e, t) { 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) @@ -13123,22 +13123,22 @@ function o7(e, t) { } return n; } -function r7() { +function o7() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function Na(e, t) { - return n7(e) || o7(e, t) || r7(); +function Oa(e, t) { + return t7(e) || n7(e, t) || o7(); } -function a7(e, t) { +function r7(e, t) { if (e == null) return {}; 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]); return n; } -function i7(e, t) { +function a7(e, t) { if (e == null) return {}; - var n = a7(e, t), o, r; + var n = r7(e, t), o, r; if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) @@ -13146,30 +13146,30 @@ function i7(e, t) { } return n; } -function ur(e) { +function cr(e) { "@babel/helpers - typeof"; - return ur = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { + return cr = 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; - }, ur(e); + }, cr(e); } -function l7(e, t) { - if (ur(e) != "object" || !e) return e; +function i7(e, t) { + if (cr(e) != "object" || !e) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var o = n.call(e, t || "default"); - if (ur(o) != "object") return o; + if (cr(o) != "object") return o; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } -function s7(e) { - var t = l7(e, "string"); - return ur(t) == "symbol" ? t : t + ""; +function l7(e) { + var t = i7(e, "string"); + return cr(t) == "symbol" ? t : t + ""; } -function dr(e, t, n) { - return (t = s7(t)) in e ? Object.defineProperty(e, t, { +function ur(e, t, n) { + return (t = l7(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, @@ -13181,35 +13181,35 @@ function fs(e, t) { for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; return o; } -function c7(e) { +function s7(e) { if (Array.isArray(e)) return fs(e); } -function u7(e) { +function c7(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } -function d7(e, t) { +function u7(e, t) { if (e) { if (typeof e == "string") return fs(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) ? fs(e, t) : void 0; } } -function f7() { +function d7() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } function mn(e) { - return c7(e) || u7(e) || d7(e) || f7(); + return s7(e) || c7(e) || u7(e) || d7(); } -var Io = function(t) { +var Ro = function(t) { return t === Object(t) ? Object.keys(t) : []; }, kd = function(t) { return t === Object(t) ? Object.values(t) : []; }; function _d(e, t) { var n = Object.assign({}, e); - return ga(e) && ga(t) && Io(t).forEach(function(o) { - ga(t[o]) ? o in e ? n[o] = _d(e[o], t[o]) : Object.assign(n, dr({}, o, t[o])) : Object.assign(n, dr({}, o, t[o])); + return pa(e) && pa(t) && Ro(t).forEach(function(o) { + pa(t[o]) ? o in e ? n[o] = _d(e[o], t[o]) : Object.assign(n, ur({}, o, t[o])) : Object.assign(n, ur({}, o, t[o])); }), n; } var hs = function(t) { @@ -13218,26 +13218,26 @@ var hs = function(t) { return o.reduce(function(a, i) { return _d(a, i); }, t); -}, h7 = function(t, n) { +}, f7 = function(t, n) { var o = Object.assign({}, t); if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; return o; -}, ga = function(t) { +}, pa = function(t) { return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, p7 = function(t) { +}, h7 = function(t) { return (t || []).filter(Boolean); }, pc = function(t) { return t[0] === "&"; -}, g7 = function(t) { +}, p7 = function(t) { return !pc(t); }, M2 = function(t) { return t.replace(/-(\w)/g, function(n, o) { return o.toUpperCase(); }); -}, m7 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Io(t), r = {}, a = 0, i = o.length; a < i; a += 1) { +}, g7 = function(t) { + for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Ro(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 @@ -13246,13 +13246,13 @@ var hs = function(t) { } return r; }, Ad = function(t, n) { - for (var o = n.map(M2), r = Io(t), a = {}, i = 0, l = r.length; i < l; i += 1) { + for (var o = n.map(M2), r = Ro(t), a = {}, i = 0, l = r.length; i < l; i += 1) { var s = r[i]; (n.indexOf(s) >= 0 || o.indexOf(M2(s)) >= 0) && (a[s] = t[s]); } return a; -}, b7 = function e(t, n) { - for (var o = hs.apply(void 0, [{}, h7(t, n)].concat(mn(kd(Ad(t, n))))), r = Io(o).filter(pc), a = 0, i = r.length; a < i; a += 1) { +}, m7 = function e(t, n) { + for (var o = hs.apply(void 0, [{}, f7(t, n)].concat(mn(kd(Ad(t, n))))), r = Ro(o).filter(pc), 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 = hs({}, o, s)) : o[l] = s; } @@ -13272,17 +13272,17 @@ function O2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; t % 2 ? T2(Object(n), !0).forEach(function(o) { - dr(e, o, n[o]); + ur(e, o, n[o]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var y7 = ["animationName"], Md = function(t) { +var b7 = ["animationName"], Md = function(t) { var n = t.style, o = t.className; return O2(O2({}, n ? { - style: m7(n, y7) + style: g7(n, b7) } : {}), o ? { className: o } : {}); @@ -13294,15 +13294,15 @@ var Od = function(t) { return [t]; if (!Array.isArray(t)) { var n = t; - return Io(t).reduce(function(o, r) { + return Ro(t).reduce(function(o, r) { return o.concat(n[r] ? [r] : []); }, []); } } else return []; return t; -}, C7 = {}, v7 = function(t) { +}, y7 = {}, C7 = function(t) { return function(n, o) { - var r = o || C7; + var r = o || y7; t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); var a; t.memoize.has(r) ? a = t.memoize.get(r) : (a = {}, t.memoize.set(r, a)); @@ -13320,21 +13320,21 @@ function N2(e, t) { } return n; } -function ao(e) { +function ro(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) { - dr(e, o, n[o]); + ur(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 x7 = function(t) { - var n = t && Io(t)[0]; +var v7 = function(t) { + var n = t && Ro(t)[0]; return n && n.split("__")[0].split("--")[0]; -}, w7 = function(t, n, o) { +}, x7 = function(t, n, o) { if (t) { var r = t.split(" ")[0], a = [].concat(mn(n.length === 0 ? o.map(function(i) { return "".concat(r, "--").concat(i.substring(1)); @@ -13345,29 +13345,29 @@ var x7 = function(t) { } }; function Nd(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, a = n || x7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : v7(function(d, p) { + var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, a = n || v7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : C7(function(d, p) { var f = Od(d); - So(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), So(!p || ga(p), "Optional second parameter must be a plain object."); - var m = f.filter(pc), b = f.filter(g7), y = b.length > 0 ? function(C) { + So(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), So(!p || pa(p), "Optional second parameter must be a plain object."); + var m = f.filter(pc), b = f.filter(p7), y = b.length > 0 ? function(C) { return kd(Ad(C, b)); } : function(C) { return [C]; }, g = function() { var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return y(b7(S, m)); - }, x = w7(a, b, m); - return Nd(ao(ao(ao({}, (t || p) && { + return y(m7(S, m)); + }, x = x7(a, b, m); + return Nd(ro(ro(ro({}, (t || p) && { style: hs.apply(void 0, [{}].concat(mn(g(p)), mn(g(t)))) }), x && { className: x.join(" ") }), o && { classNames: o }), r); - }), l = ao({}, typeof t == "function" ? t : { + }), l = ro({}, typeof t == "function" ? t : { style: t - }), s = mn(new Set([].concat(mn(l.className ? l.className.split(" ") : []), mn(a ? a.split(" ") : [])))), u = o ? p7(s.map(function(d) { + }), s = mn(new Set([].concat(mn(l.className ? l.className.split(" ") : []), mn(a ? a.split(" ") : [])))), u = o ? h7(s.map(function(d) { return o[d]; - })) : s, c = r(ao(ao({}, l), u.length > 0 ? { + })) : s, c = r(ro(ro({}, l), u.length > 0 ? { className: u.join(" ") } : {})); return Object.assign(i, c), i; @@ -13382,27 +13382,27 @@ function D2(e, t) { } return n; } -function Zo(e) { +function Wo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; t % 2 ? D2(Object(n), !0).forEach(function(o) { - dr(e, o, n[o]); + ur(e, o, n[o]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var E7 = function() { +var w7 = 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 Zo(Zo(Zo({}, r), typeof a == "function" ? a : {}), {}, { - style: Zo(Zo({}, r.style), typeof a == "function" ? a.style : a) + return Wo(Wo(Wo({}, r), typeof a == "function" ? a : {}), {}, { + style: Wo(Wo({}, r.style), typeof a == "function" ? a.style : a) }); }, {}); }, gc = function(t, n, o) { - var r = n.style, a = n.className, i = n.classNames, l = Je(Td), s = Be(function() { + var r = n.style, a = n.className, i = n.classNames, l = et(Td), s = Be(function() { return Nd({ style: r, className: a, @@ -13410,7 +13410,7 @@ var E7 = function() { }, l); }, [r, a, i, l]); return s(o, t); -}, ps = { exports: {} }, qr = { exports: {} }, Ne = {}; +}, ps = { exports: {} }, Ur = { exports: {} }, Ne = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -13420,7 +13420,7 @@ var E7 = function() { * LICENSE file in the root directory of this source tree. */ var L2; -function S7() { +function E7() { if (L2) return Ne; L2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; @@ -13495,7 +13495,7 @@ var De = {}; * LICENSE file in the root directory of this source tree. */ var F2; -function k7() { +function S7() { return F2 || (F2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; function C(J) { @@ -13579,7 +13579,7 @@ function k7() { } var j2; function Dd() { - return j2 || (j2 = 1, process.env.NODE_ENV === "production" ? qr.exports = S7() : qr.exports = k7()), qr.exports; + return j2 || (j2 = 1, process.env.NODE_ENV === "production" ? Ur.exports = E7() : Ur.exports = S7()), Ur.exports; } /* object-assign @@ -13587,7 +13587,7 @@ object-assign @license MIT */ var vl, R2; -function _7() { +function k7() { if (R2) return vl; R2 = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; @@ -13644,7 +13644,7 @@ function Ld() { return z2 || (z2 = 1, wl = Function.call.bind(Object.prototype.hasOwnProperty)), wl; } var El, H2; -function A7() { +function _7() { if (H2) return El; H2 = 1; var e = function() { @@ -13693,10 +13693,10 @@ function A7() { }, El = r, El; } var Sl, P2; -function M7() { +function A7() { if (P2) return Sl; P2 = 1; - var e = Dd(), t = _7(), n = mc(), o = Ld(), r = A7(), a = function() { + var e = Dd(), t = k7(), n = mc(), o = Ld(), r = _7(), a = function() { }; process.env.NODE_ENV !== "production" && (a = function(l) { var s = "Warning: " + l; @@ -14014,7 +14014,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") }, Sl; } var kl, B2; -function T7() { +function M7() { if (B2) return kl; B2 = 1; var e = mc(); @@ -14062,13 +14062,13 @@ function T7() { }, kl; } if (process.env.NODE_ENV !== "production") { - var O7 = Dd(), N7 = !0; - ps.exports = M7()(O7.isElement, N7); + var T7 = Dd(), O7 = !0; + ps.exports = A7()(T7.isElement, O7); } else - ps.exports = T7()(); -var D7 = ps.exports; -const q = /* @__PURE__ */ dn(D7); -var ma = function(t) { + ps.exports = M7()(); +var N7 = ps.exports; +const q = /* @__PURE__ */ dn(N7); +var ga = function(t) { return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); }, an = { id: "__id__", @@ -14077,18 +14077,18 @@ var ma = function(t) { So(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); var o = t.indexOf(an.display), r = t.indexOf(an.id); return o < 0 && (o = null), r < 0 && (r = null), So(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; -}, L7 = function(t) { +}, D7 = function(t) { var n = /^\/(.+)\/(\w+)?$/; return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), a = Na(r, 3), i = a[1], l = a[2]; + var r = n.exec(o.toString()), a = Oa(r, 3), i = a[1], l = a[2]; return So(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); }).join("|"), "g"); }, Fd = function(t) { var n = 0; return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, F7 = function() { -}, Or = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : F7, a = L7(n.map(function(w) { +}, L7 = function() { +}, Tr = function(t, n, o) { + for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : L7, a = D7(n.map(function(w) { return w.regex; })), i = 2, l = n.map(function(w) { var E = w.markup, M = i; @@ -14102,7 +14102,7 @@ var ma = function(t) { u < t.length && r(t.substring(u), u, c); }, Pn = function(t, n) { var o = ""; - return Or(t, n, function(r, a, i, l, s) { + return Tr(t, n, function(r, a, i, l, s) { o += s; }, function(r) { o += r; @@ -14116,21 +14116,21 @@ var ma = function(t) { }, l = function(u, c, d, p, f, m, b) { a === void 0 && d + f.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); }; - return Or(t, n, l, i), a === void 0 ? t.length : a; -}, or = function(t, n, o, r) { + return Tr(t, n, l, i), a === void 0 ? t.length : a; +}, nr = function(t, n, o, r) { return t.substring(0, n) + r + t.substring(o); -}, j7 = function(t, n, o, r) { +}, F7 = function(t, n, o, r) { var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Pn(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), p = i; a === l && (p = Math.max(i, a + u)); - var f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = or(t, f, m, c); + var f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = nr(t, f, m, c); if (!g) { var C = Pn(x, r); if (C !== n) { for (d = 0; n[d] === C[d]; ) d++; - c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = or(t, f, m, c); + c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = nr(t, f, m, c); } } return x; @@ -14138,11 +14138,11 @@ var ma = function(t) { var r = o, a = !1, i = function(s, u, c, d, p, f, m) { c <= o && c + p.length > o && (r = c, a = !0); }; - if (Or(t, n, i), a) + if (Tr(t, n, i), a) return r; -}, Jo = function(t, n) { +}, Qo = function(t, n) { var o = []; - return Or(t, n, function(r, a, i, l, s, u, c) { + return Tr(t, n, function(r, a, i, l, s, u, c) { o.push({ id: l, display: s, @@ -14153,34 +14153,34 @@ var ma = function(t) { }), o; }, jd = function(t, n) { return "".concat(t, "-").concat(n); -}, Yr = function(t) { +}, qr = function(t) { return Object.values(t).reduce(function(n, o) { var r = o.results; return n + r.length; }, 0); -}, R7 = function(t, n) { - var o = Jo(t, n), r = o[o.length - 1]; +}, j7 = function(t, n) { + var o = Qo(t, n), r = o[o.length - 1]; return r ? r.plainTextIndex + r.display.length : 0; -}, I7 = function(t) { - var n = ma(t), o = t[t.indexOf(an.display) + an.display.length], r = t[t.indexOf(an.id) + an.id.length]; - return new RegExp(n.replace(an.display, "([^".concat(ma(o || ""), "]+?)")).replace(an.id, "([^".concat(ma(r || ""), "]+?)"))); +}, R7 = function(t) { + var n = ga(t), o = t[t.indexOf(an.display) + an.display.length], r = t[t.indexOf(an.id) + an.id.length]; + return new RegExp(n.replace(an.display, "([^".concat(ga(o || ""), "]+?)")).replace(an.id, "([^".concat(ga(r || ""), "]+?)"))); }, On = function(t) { return wo.toArray(t).map(function(n) { var o = n.props, r = o.markup, a = o.regex, i = o.displayTransform; return { markup: r, - regex: a ? z7(a, r) : I7(r), + regex: a ? I7(a, r) : R7(r), displayTransform: i || function(l, s) { return s || l; } }; }); -}, z7 = function(t, n) { +}, I7 = function(t, n) { var o = new RegExp(t.toString() + "|").exec("").length - 1, r = Fd(n); return So(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; -}, H7 = function(t, n, o) { +}, z7 = function(t, n, o) { return t.replace(an.id, n).replace(an.display, o); -}, P7 = [{ +}, H7 = [{ 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 }, { @@ -14450,29 +14450,29 @@ var ma = function(t) { }, { base: "z", letters: /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g -}], B7 = function(t) { +}], P7 = function(t) { var n = t; - return P7.forEach(function(o) { + return H7.forEach(function(o) { n = n.replace(o.letters, o.base); }), n; }, W2 = function(t) { - return B7(t).toLowerCase(); + return P7(t).toLowerCase(); }, Rd = function(t, n, o) { return o ? W2(t).indexOf(W2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, V7 = function() { +}, B7 = function() { return !!document.documentMode; }, gs = function(t) { return typeof t == "number"; -}, $7 = function(t) { +}, V7 = function(t) { return t === Object(t) ? Object.keys(t) : []; -}, W7 = function(t) { +}, $7 = 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; }, {}); -}, Z7 = ["style", "className", "classNames"]; +}, W7 = ["style", "className", "classNames"]; function Z2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { @@ -14494,10 +14494,10 @@ function U2(e) { } return e; } -function ti(e, t) { +function ei(e, t) { var n = function(r) { var a = function(s) { - var u = s.style, c = s.className, d = s.classNames, p = i7(s, Z7), f = t ? t(p) : void 0, m = gc(e, { + var u = s.style, c = s.className, d = s.classNames, p = a7(s, W7), f = t ? t(p) : void 0, m = gc(e, { style: u, className: c, classNames: d @@ -14514,7 +14514,7 @@ function ti(e, t) { }; return n; } -var U7 = function(t, n) { +var Z7 = function(t, n) { return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; }; function Id(e) { @@ -14523,7 +14523,7 @@ function Id(e) { var s = e.style, u = ce({ left: void 0, top: void 0 - }), c = Na(u, 2), d = c[0], p = c[1], f = ce(), m = Na(f, 2), b = m[0], y = m[1]; + }), c = Oa(u, 2), d = c[0], p = c[1], f = ce(), m = Oa(f, 2), b = m[0], y = m[1]; ue(function() { g(); }); @@ -14548,7 +14548,7 @@ function Id(e) { E.push(R(k, M)); M++; }, L = function(k, N, T, D, I, j, v) { - var z = U7(w, D); + var z = Z7(w, D); E.push(F(D, I, j, z)); }, R = function(k, N) { return /* @__PURE__ */ $.createElement("span", It({}, s("substring"), { @@ -14567,7 +14567,7 @@ function Id(e) { key: "caret" }), k); }; - return Or(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { + return Tr(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { ref: i }), S); } @@ -14581,7 +14581,7 @@ Id.propTypes = { })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired }; -var q7 = ti({ +var U7 = ei({ position: "relative", boxSizing: "border-box", width: "100%", @@ -14602,7 +14602,7 @@ var q7 = ti({ return { "&singleLine": e.singleLine }; -}), Y7 = q7(Id); +}), q7 = U7(Id); function zd(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; e.className, e.classNames; @@ -14639,26 +14639,26 @@ zd.propTypes = { renderSuggestion: q.func, focused: q.bool }; -var G7 = ti({ +var Y7 = ei({ cursor: "pointer" }, function(e) { return { "&focused": e.focused }; -}), K7 = G7(zd); -function X7(e) { - var t = e.style, n = e.className, o = e.classNames, r = gc(Q7, { +}), G7 = Y7(zd); +function K7(e) { + var t = e.style, n = e.className, o = e.classNames, r = gc(X7, { style: t, className: n, classNames: o }), a = r("spinner"); return /* @__PURE__ */ $.createElement("div", r, /* @__PURE__ */ $.createElement("div", a, /* @__PURE__ */ $.createElement("div", a(["element", "element1"])), /* @__PURE__ */ $.createElement("div", a(["element", "element2"])), /* @__PURE__ */ $.createElement("div", a(["element", "element3"])), /* @__PURE__ */ $.createElement("div", a(["element", "element4"])), /* @__PURE__ */ $.createElement("div", a(["element", "element5"])))); } -var Q7 = {}; +var X7 = {}; function Hd(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, p = e.isOpened, f = e.onSelect, m = f === void 0 ? function() { return null; - } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Na(E, 2), _ = M[0], L = M[1]; + } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Oa(E, 2), _ = M[0], L = M[1]; ue(function() { if (!(!_ || _.offsetHeight >= _.scrollHeight || !c)) { var T = _.scrollTop, D = _.children[a].getBoundingClientRect(), I = D.top, j = D.bottom, v = _.getBoundingClientRect(), z = v.top; @@ -14673,14 +14673,14 @@ function Hd(e) { "aria-label": r }, x("list")), Object.values(o).reduce(function(I, j) { var v = j.results, z = j.queryInfo; - return [].concat(Ta(I), Ta(v.map(function(B, A) { + return [].concat(Ma(I), Ma(v.map(function(B, A) { return F(B, z, I.length + A); }))); }, [])); return C ? C(D) : D; }, F = function(D, I, j) { var v = j === a, z = I.childIndex, B = I.query, A = wo.toArray(g)[z].props.renderSuggestion; - return /* @__PURE__ */ $.createElement(K7, { + return /* @__PURE__ */ $.createElement(G7, { style: x("item"), key: "".concat(z, "-").concat(N(D)), id: jd(t, j), @@ -14699,7 +14699,7 @@ function Hd(e) { }); }, P = function() { if (d) - return /* @__PURE__ */ $.createElement(X7, { + return /* @__PURE__ */ $.createElement(K7, { style: x("loadingIndicator") }); }, V = function(D, I) { @@ -14709,7 +14709,7 @@ function Hd(e) { }, N = function(D) { return typeof D == "string" ? D : D.id; }; - return p ? /* @__PURE__ */ $.createElement("div", It({}, E7({ + return p ? /* @__PURE__ */ $.createElement("div", It({}, w7({ position: i || "absolute", left: l, right: s, @@ -14738,7 +14738,7 @@ Hd.propTypes = { current: typeof Element > "u" ? q.any : q.instanceOf(Element) })]) }; -var J7 = ti({ +var Q7 = ei({ zIndex: 1, backgroundColor: "white", marginTop: 14, @@ -14748,7 +14748,7 @@ var J7 = ti({ padding: 0, listStyleType: "none" } -}), e9 = J7(Hd); +}), J7 = Q7(Hd); function q2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { @@ -14770,19 +14770,19 @@ function Ut(e) { } return e; } -function t9(e) { - var t = n9(); +function e9(e) { + var t = t9(); return function() { - var o = Oa(e), r; + var o = Ta(e), r; if (t) { - var a = Oa(this).constructor; + var a = Ta(this).constructor; r = Reflect.construct(o, arguments, a); } else r = o.apply(this, arguments); - return J8(this, r); + return Q8(this, r); }; } -function n9() { +function t9() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { @@ -14792,13 +14792,13 @@ function n9() { return !1; } } -var o9 = function(t) { +var n9 = function(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (t instanceof RegExp) return t; - var o = n.allowSpaceInQuery, r = ma(t); + var o = n.allowSpaceInQuery, r = ga(t); return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, r9 = function(t, n) { +}, o9 = 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; @@ -14806,13 +14806,13 @@ var o9 = function(t) { } return a; } : t; -}, io = { +}, ao = { TAB: 9, RETURN: 13, ESC: 27, UP: 38, DOWN: 40 -}, Gr = !1, Pd = { +}, Yr = !1, Pd = { /** * If set to `true` a regular text input element will be rendered * instead of a textarea @@ -14835,18 +14835,18 @@ var o9 = function(t) { })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired }, bc = /* @__PURE__ */ function(e) { - Q8(n, e); - var t = t9(n); + X8(n, e); + var t = e9(n); function n(o) { var r; - return G8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { + return Y8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { r.containerElement = a; }), be(ve(r), "getInputProps", function() { - var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = W7( + var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = $7( r.props, ["style", "classNames", "className"], // substyle props - $7(Pd) + V7(Pd) ); return Ut(Ut(Ut(Ut({}, u), s("input")), {}, { value: r.getPlainText(), @@ -14887,7 +14887,7 @@ var o9 = function(t) { }), be(ve(r), "renderSuggestionsOverlay", function() { if (!gs(r.state.selectionStart)) return null; - var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(e9, { + var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(J7, { id: r.uuidSuggestionsOverlay, style: r.props.style("suggestions"), position: i, @@ -14907,10 +14907,10 @@ var o9 = function(t) { ignoreAccents: r.props.ignoreAccents, a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel }, r.props.children); - return r.props.suggestionsPortalHost ? /* @__PURE__ */ r4.createPortal(c, r.props.suggestionsPortalHost) : c; + return r.props.suggestionsPortalHost ? /* @__PURE__ */ o4.createPortal(c, r.props.suggestionsPortalHost) : c; }), be(ve(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, p = s.style; - return /* @__PURE__ */ $.createElement(Y7, { + return /* @__PURE__ */ $.createElement(q7, { containerRef: r.setHighlighterElement, style: p("highlighter"), value: d, @@ -14939,7 +14939,7 @@ var o9 = function(t) { return (c = r.props.valueLink).requestChange.apply(c, [a.target.value].concat(l)); } }), be(ve(r), "handleChange", function(a) { - if (Gr = !1, V7()) { + if (Yr = !1, B7()) { var i = document.activeElement && document.activeElement.contentDocument || document; if (i.activeElement !== a.target) return; @@ -14948,7 +14948,7 @@ var o9 = function(t) { c == null && (c = a.target.selectionStart); var d = r.state.selectionEnd; d == null && (d = a.target.selectionEnd); - var p = j7(l, u, { + var p = F7(l, u, { selectionStartBefore: c, selectionEndBefore: d, selectionEndAfter: a.target.selectionEnd @@ -14960,7 +14960,7 @@ var o9 = function(t) { selectionEnd: m, setSelectionAfterMentionChange: b }); - var g = Jo(p, s); + var g = Qo(p, s); a.nativeEvent.isComposing && f === m && r.updateMentionsQueries(r.inputElement.value, f); var x = { target: { @@ -14972,34 +14972,34 @@ var o9 = function(t) { if (r.setState({ selectionStart: a.target.selectionStart, selectionEnd: a.target.selectionEnd - }), !Gr) { + }), !Yr) { 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); } }), be(ve(r), "handleKeyDown", function(a) { - var i = Yr(r.state.suggestions); + var i = qr(r.state.suggestions); if (i === 0 || !r.suggestionsElement) { r.props.onKeyDown(a); return; } - switch (Object.values(io).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { - case io.ESC: { + switch (Object.values(ao).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { + case ao.ESC: { r.clearSuggestions(); return; } - case io.DOWN: { + case ao.DOWN: { r.shiftFocus(1); return; } - case io.UP: { + case ao.UP: { r.shiftFocus(-1); return; } - case io.RETURN: { + case ao.RETURN: { r.selectFocused(); return; } - case io.TAB: { + case ao.TAB: { r.selectFocused(); return; } @@ -15007,7 +15007,7 @@ var o9 = function(t) { return; } }), be(ve(r), "shiftFocus", function(a) { - var i = Yr(r.state.suggestions); + var i = qr(r.state.suggestions); r.setState({ focusIndex: (i + r.state.focusIndex + a) % i, scrollFocusedIntoView: !0 @@ -15015,7 +15015,7 @@ var o9 = function(t) { }), be(ve(r), "selectFocused", function() { var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, p) { var f = p.results, m = p.queryInfo; - return [].concat(Ta(d), Ta(f.map(function(b) { + return [].concat(Ma(d), Ma(f.map(function(b) { return { result: b, queryInfo: m @@ -15068,9 +15068,9 @@ var o9 = function(t) { var a = r.inputElement, i = r.highlighterElement; !a || !i || (i.scrollLeft = a.scrollLeft, i.scrollTop = a.scrollTop, i.height = a.height); }), be(ve(r), "handleCompositionStart", function() { - Gr = !0; + Yr = !0; }), be(ve(r), "handleCompositionEnd", function() { - Gr = !1; + Yr = !1; }), be(ve(r), "setSelection", function(a, i) { if (!(a === null || i === null)) { var l = r.inputElement; @@ -15087,10 +15087,10 @@ var o9 = function(t) { }); var l = r.props.value || "", s = r.props.children, u = On(s), c = mt(l, u, i, "NULL"); if (c !== null) { - var d = R7(l.substring(0, c), u), p = a.substring(d, i); + var d = j7(l.substring(0, c), u), p = a.substring(d, i); $.Children.forEach(s, function(f, m) { if (f) { - var b = o9(f.props.trigger, r.props), y = p.match(b); + var b = n9(f.props.trigger, r.props), y = p.match(b); if (y) { var g = d + p.indexOf(y[1], y.index); r.queryData(y[2], m, g, g + y[1].length, a); @@ -15104,7 +15104,7 @@ var o9 = function(t) { focusIndex: 0 }); }), be(ve(r), "queryData", function(a, i, l, s, u) { - var c = r.props, d = c.children, p = c.ignoreAccents, f = wo.toArray(d)[i], m = r9(f.props.data, p), b = m(a, r.updateSuggestions.bind(null, r._queryId, i, a, l, s, u)); + var c = r.props, d = c.children, p = c.ignoreAccents, f = wo.toArray(d)[i], m = o9(f.props.data, p), 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); }), be(ve(r), "updateSuggestions", function(a, i, l, s, u, c, d) { if (a === r._queryId) { @@ -15118,16 +15118,16 @@ var o9 = function(t) { }, results: d })); - var p = r.state.focusIndex, f = Yr(r.suggestions); + var p = r.state.focusIndex, f = qr(r.suggestions); r.setState({ suggestions: r.suggestions, focusIndex: p >= f ? Math.max(f - 1, 0) : p }); } }), be(ve(r), "addMention", function(a, i) { - var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, f = r.props.value || "", m = On(r.props.children), b = wo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(f, m, c, "START"), E = w + d - c, M = H7(g, l, s); + var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, f = r.props.value || "", m = On(r.props.children), b = wo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(f, m, c, "START"), E = w + d - c, M = z7(g, l, s); C && (M += " "); - var _ = or(f, w, E, M); + var _ = nr(f, w, E, M); r.inputElement.focus(); var L = x(l, s); C && (L += " "); @@ -15141,7 +15141,7 @@ var o9 = function(t) { target: { value: _ } - }, P = Jo(_, m), V = or(p, c, d, L); + }, P = Qo(_, m), V = nr(p, c, d, L); r.executeOnChange(F, _, V, P), S && S(l, s, w, E), r.clearSuggestions(); }), be(ve(r), "isLoading", function() { var a = !1; @@ -15149,7 +15149,7 @@ var o9 = function(t) { a = a || i && i.props.isLoading; }), a; }), be(ve(r), "isOpened", function() { - return gs(r.state.selectionStart) && (Yr(r.state.suggestions) !== 0 || r.isLoading()); + return gs(r.state.selectionStart) && (qr(r.state.suggestions) !== 0 || r.isLoading()); }), be(ve(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(ve(r)), r.handleCut = r.handleCut.bind(ve(r)), r.handlePaste = r.handlePaste.bind(ve(r)), r.state = { focusIndex: 0, selectionStart: null, @@ -15160,7 +15160,7 @@ var o9 = function(t) { setSelectionAfterHandlePaste: !1 }, r; } - return X8(n, [{ + return K8(n, [{ key: "componentDidMount", value: function() { document.addEventListener("copy", this.handleCopy), document.addEventListener("cut", this.handleCut), document.addEventListener("paste", this.handlePaste), this.updateSuggestionsPosition(); @@ -15191,12 +15191,12 @@ var o9 = function(t) { 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 = On(c), p = mt(u, d, i, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = or(u, p, f, m || b).replace(/\r/g, ""), g = Pn(y, d), x = { + var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.value, c = s.children, d = On(c), p = mt(u, d, i, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = nr(u, p, f, m || b).replace(/\r/g, ""), g = Pn(y, d), x = { target: Ut(Ut({}, r.target), {}, { value: y }) }; - this.executeOnChange(x, y, g, Jo(y, d)); + this.executeOnChange(x, y, g, Qo(y, d)); var C = $2(u, d, i), S = (C || i) + Pn(m || b, d).length; this.setState({ selectionStart: S, @@ -15231,7 +15231,7 @@ var o9 = function(t) { value: b }) }; - this.executeOnChange(y, m, b, Jo(c, d)); + this.executeOnChange(y, m, b, Qo(c, d)); } } // Handle input element's change event @@ -15255,7 +15255,7 @@ be(bc, "defaultProps", { var _l = function(t, n) { var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); return isFinite(o) ? o : 0; -}, a9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), i9 = ti({ +}, r9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), a9 = ei({ position: "relative", overflowY: "visible", input: { @@ -15277,7 +15277,7 @@ var _l = function(t, n) { bottom: 0, overflow: "hidden", resize: "none" - }, a9 ? { + }, r9 ? { marginTop: 1, marginLeft: -3 } : null) @@ -15288,10 +15288,10 @@ var _l = function(t, n) { "&singleLine": t, "&multiLine": !t }; -}), l9 = i9(bc), s9 = { +}), i9 = a9(bc), l9 = { fontWeight: "inherit" }, yc = function(t) { - var n = t.display, o = t.style, r = t.className, a = t.classNames, i = gc(s9, { + var n = t.display, o = t.style, r = t.className, a = t.classNames, i = gc(l9, { style: o, className: r, classNames: a @@ -15338,7 +15338,7 @@ yc.defaultProps = { isLoading: !1, appendSpaceOnAdd: !1 }; -const c9 = { +const s9 = { "&multiLine": { minHeight: "40px" }, @@ -15368,7 +15368,7 @@ const c9 = { } } } -}, u9 = ({ +}, c9 = ({ value: e, setValue: t, users: n, @@ -15386,13 +15386,13 @@ const c9 = { t(u.target.value); }; return /* @__PURE__ */ h.jsx( - l9, + i9, { autoFocus: !0, value: e, onChange: s, style: { - ...c9, + ...s9, minHeight: "40px", marginBottom: "10px" }, @@ -15424,7 +15424,7 @@ const c9 = { }) => /* @__PURE__ */ h.jsxs("div", { className: xn.conversationInputForm, children: [ r ? /* @__PURE__ */ h.jsx(Sd, { user: r }) : null, /* @__PURE__ */ h.jsx( - u9, + c9, { value: e, setValue: t, @@ -15433,7 +15433,7 @@ const c9 = { onEnterKeypress: i } ), - /* @__PURE__ */ h.jsx(jo, { loading: n, color: "primary", children: /* @__PURE__ */ h.jsx(C8, {}) }) + /* @__PURE__ */ h.jsx(Fo, { loading: n, color: "primary", children: /* @__PURE__ */ h.jsx(y8, {}) }) ] }), Vd = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { @@ -15441,7 +15441,7 @@ const c9 = { return null; const r = o ? `${t} (${o})` : t; return /* @__PURE__ */ h.jsx("div", { className: xn.highlightText, children: /* @__PURE__ */ h.jsx( - Tr, + Mr, { code: e, language: n ? "markdown" : "sql", @@ -15450,21 +15450,21 @@ const c9 = { theme: "light" } ) }); -}, d9 = () => { - const e = Ie( +}, u9 = () => { + const e = ze( (c) => c.users - ), t = Ie( + ), t = ze( (c) => c.newConversation - ), n = Ie( + ), n = ze( (c) => c.currentUserId ? c.users[c.currentUserId] : null - ), o = Ie( + ), o = ze( (c) => c.shareId ), r = Pt(), [a, i] = ce(!1), [l, s] = ce(""), 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 S8( + const d = await E8( o, { ...t, @@ -15516,7 +15516,7 @@ var $d = { exports: {} }; (function(e, t) { (function(n, o) { e.exports = o(); - })(Kn, function() { + })(Gn, function() { var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", p = "quarter", f = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { var N = ["th", "st", "nd", "rd"], T = k % 100; return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; @@ -15788,22 +15788,22 @@ var $d = { exports: {} }; }, R.en = E[w], R.Ls = E, R.p = {}, R; }); })($d); -var f9 = $d.exports; -const ms = /* @__PURE__ */ dn(f9), h9 = ({ +var d9 = $d.exports; +const ms = /* @__PURE__ */ dn(d9), f9 = ({ conversationGroupId: e, shareId: t }) => { - const { onResolve: n, source: o } = fr(), [r, a] = ce(!1), i = async () => { - e && (a(!0), await M8(t, e, o), n(), a(!1)); + const { onResolve: n, source: o } = dr(), [r, a] = ce(!1), i = async () => { + e && (a(!0), await A8(t, e, o), n(), a(!1)); }; return e ? /* @__PURE__ */ h.jsx( - qn, + Un, { disabled: r, className: xn.resolveButton, title: "Resolve conversation", onClick: i, - children: /* @__PURE__ */ h.jsx(g8, {}) + children: /* @__PURE__ */ h.jsx(p8, {}) } ) : null; }, Wd = ({ @@ -15812,7 +15812,7 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ showResolveButton: n, conversationGroupId: o, shareId: r -}) => /* @__PURE__ */ h.jsxs(Fo, { className: "d-flex align-items-center justify-content-between mb-0", children: [ +}) => /* @__PURE__ */ h.jsxs(Lo, { className: "d-flex align-items-center justify-content-between mb-0", children: [ /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ /* @__PURE__ */ h.jsx(Sd, { user: e }), /* @__PURE__ */ h.jsxs("h4", { children: [ @@ -15823,14 +15823,14 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ /* @__PURE__ */ h.jsx("span", { children: ms(t).format("HH:mm, DD MMM YY") }) ] }), n ? /* @__PURE__ */ h.jsx( - h9, + f9, { conversationGroupId: o, shareId: r } ) : null -] }), p9 = ({ conversation: e, shareId: t }) => { - const { users: n } = fr(), o = Be(() => { +] }), h9 = ({ conversation: e, shareId: t }) => { + const { users: n } = dr(), o = Be(() => { if (e != null && e.user_id) return n[e.user_id]; }, [e.user_id, n]); @@ -15845,14 +15845,14 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ ), /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) ] }); -}, g9 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: a } = fr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { +}, p9 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: a } = dr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { if (p == null || p.stopPropagation(), p == null || p.preventDefault(), !(!t || !e)) { c(!0), console.log("saving reply", t, e, { message: l }); try { - await k8( + await S8( t, e, { @@ -15877,16 +15877,16 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ onEnterKeypress: d } ) }) }); -}, m9 = ({ +}, g9 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { var p; - const { users: o } = fr(), r = Be(() => { + const { users: o } = dr(), r = Be(() => { if (e.owner) return o[e.owner]; - }, [e.owner, o]), { isSelected: a } = fr(), [i, l] = ce(!1), s = Me( + }, [e.owner, o]), { isSelected: a } = dr(), [i, l] = ce(!1), s = Me( (f) => { !a || !f || (console.log( "ConversationGroupComponent scrolling", @@ -15917,9 +15917,9 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ /* @__PURE__ */ h.jsxs(un, { children: [ /* @__PURE__ */ h.jsx(Vd, { meta: e.meta }), /* @__PURE__ */ h.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ h.jsx(Re, { onClick: () => l((f) => !f), color: "link", children: d }), + /* @__PURE__ */ h.jsx(Ie, { onClick: () => l((f) => !f), color: "link", children: d }), c.length ? /* @__PURE__ */ h.jsx(h.Fragment, { children: i ? /* @__PURE__ */ h.jsx(h.Fragment, { children: c.map((f) => /* @__PURE__ */ h.jsx( - p9, + h9, { conversation: f, shareId: t @@ -15927,7 +15927,7 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ f.conversation_id )) }) : null }) : null, i ? /* @__PURE__ */ h.jsx( - g9, + p9, { conversationGroupId: e.conversation_group_id, shareId: t @@ -15945,7 +15945,7 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ onResolve: () => null, onReplyAdd: () => null, source: nc.DBT_DOCS -}), b9 = ({ +}), m9 = ({ currentUser: e, conversationGroup: t, shareId: n, @@ -15981,38 +15981,38 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ ] ); return !t || !n ? null : /* @__PURE__ */ h.jsx(Zd.Provider, { value: u, children: /* @__PURE__ */ h.jsx( - m9, + g9, { conversationGroup: t, shareId: n, onSelect: o } ) }); -}, fr = () => Je(Zd), y9 = () => { - const e = Ie( +}, dr = () => et(Zd), b9 = () => { + const e = ze( (d) => d.source - ), t = Ie( + ), t = ze( (d) => d.conversations - ), n = Ie( + ), n = ze( (d) => d.selectedConversationId - ), o = Ie( + ), o = ze( (d) => d.shareId - ), r = Ie( + ), r = ze( (d) => d.users - ), a = Ie( + ), a = ze( (d) => d.currentUserId ), i = Pt(); if (!a || !o) return null; const l = r[a], s = (d) => { - i(X6({ shareId: o, conversationGroupId: d })); + i(K6({ shareId: o, conversationGroupId: d })); }, u = (d) => { i(uc(d)); }, c = (d) => { console.log("onReplyAdd", d), i(md()); }; return !t || !Object.keys(t).length ? /* @__PURE__ */ h.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ h.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ h.jsx( - b9, + m9, { conversationGroup: d, shareId: o, @@ -16026,19 +16026,19 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ }, d.conversation_group_id )) }); -}, C9 = () => { - const e = Ie( +}, y9 = () => { + const e = ze( (i) => i.isRightPanelOpen - ), t = Ie( + ), t = ze( (i) => i.selectedConversationId - ), n = Ie( + ), n = ze( (i) => i.newConversation ), o = Pt(), r = () => { o(dc(!1)), o(uc(void 0)), o(fc()); }; return !!n || e || t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsx( - V5, + B5, { onClick: r, className: xn.conversationRightPanelCloseButton @@ -16046,22 +16046,22 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ ), /* @__PURE__ */ h.jsxs("div", { className: xn.conversationRightPanel, children: [ /* @__PURE__ */ h.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ h.jsx(d9, {}) : /* @__PURE__ */ h.jsx(y9, {}) + n ? /* @__PURE__ */ h.jsx(u9, {}) : /* @__PURE__ */ h.jsx(b9, {}) ] }) ] }) : null; -}, v9 = 10, x9 = () => { - const e = he(), t = Ie( +}, C9 = 10, v9 = () => { + const e = he(), t = ze( (i) => i.shareId - ), n = Ie( + ), n = ze( (i) => i.conversationsLoadingState - ), o = Pt(), r = Ie( + ), o = Pt(), r = ze( (i) => Object.keys(i.conversations || {}) ), a = Me( (i) => { - clearTimeout(e.current), _8(i).then((l) => { - console.log("useConversations", l), o(K6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { + clearTimeout(e.current), k8(i).then((l) => { + console.log("useConversations", l), o(G6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { a(i); - }, v9 * 1e3); + }, C9 * 1e3); }).catch( (l) => console.error("error while fetching conversations list", l) ).finally(() => { @@ -16073,23 +16073,23 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ return ue(() => { n !== jt.UNINITIALIZED || !t || (o(S2(jt.LOADING)), a(t)); }, [o, n, r, t, a]), { isLoading: n === jt.LOADING }; -}, w9 = () => { - const e = Pt(), t = Ie( +}, x9 = () => { + const e = Pt(), t = ze( (r) => Object.keys(r.users || {}) ), [n, o] = ce(jt.UNINITIALIZED); return ue(() => { - n !== jt.UNINITIALIZED || Object.keys(t).length || (o(jt.LOADING), A8().then((r) => { - console.log("useConversationUsers", r), e(G6(r)); + n !== jt.UNINITIALIZED || Object.keys(t).length || (o(jt.LOADING), _8().then((r) => { + console.log("useConversationUsers", r), e(Y6(r)); }).catch((r) => console.error("error while fetching users list", r)).finally(() => { o(jt.INITIALIZED); })); }, [e, n, t]), { isLoading: n === jt.LOADING }; -}, E9 = () => (w9(), x9(), /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(C9, {}), - /* @__PURE__ */ h.jsx(D8, {}) +}, w9 = () => (x9(), v9(), /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__PURE__ */ h.jsx(y9, {}), + /* @__PURE__ */ h.jsx(N8, {}) ] })), Ud = ({ target: e, ...t }) => Rn( /* @__PURE__ */ h.jsx( - qn, + Un, { className: xn.hotspotButton, title: "Click to start conversation", @@ -16098,11 +16098,11 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ } ), e -), S9 = () => { +), E9 = () => { var s; - const e = Pt(), t = Ie( + const e = Pt(), t = ze( (u) => u.codeblockLoaded - ), n = Ie( + ), n = ze( (u) => u.manifest ), [o, r] = ce(0), a = (s = rc()) == null ? void 0 : s.parentElement, i = () => { var p; @@ -16149,8 +16149,8 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ style: { top: o * 21.2 } } ); -}, k9 = () => { - const e = Pt(), t = Ie( +}, S9 = () => { + const e = Pt(), t = ze( (r) => r.codeblockLoaded ), n = ic(), o = () => { const r = { @@ -16160,40 +16160,40 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ e(hc({ meta: r })); }; return !t || !n ? null : /* @__PURE__ */ h.jsx(Ud, { target: n, onClick: o }); -}, _9 = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx(k9, {}), - /* @__PURE__ */ h.jsx(S9, {}) -] }), A9 = n4(() => import("./DbtDocsRenderer.js")), M9 = () => { - const { loading: e, shareDetails: t } = T8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = O8(), i = (l) => { +}, k9 = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + /* @__PURE__ */ h.jsx(S9, {}), + /* @__PURE__ */ h.jsx(E9, {}) +] }), _9 = t4(() => import("./DbtDocsRenderer.js")), A9 = () => { + const { loading: e, shareDetails: t } = M8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = T8(), i = (l) => { l.stopPropagation(); const s = o(); s && n(hc(s)); }; return e ? /* @__PURE__ */ h.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ h.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ h.jsxs("div", { children: [ /* @__PURE__ */ h.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ - /* @__PURE__ */ h.jsx(_9, {}), - /* @__PURE__ */ h.jsx(w8, {}) + /* @__PURE__ */ h.jsx(k9, {}), + /* @__PURE__ */ h.jsx(x8, {}) ] }), - /* @__PURE__ */ h.jsx(E9, {}), + /* @__PURE__ */ h.jsx(w9, {}), /* @__PURE__ */ h.jsx( - A9, + _9, { shareDetails: t, onSelectionEnd: a } ), - r ? /* @__PURE__ */ h.jsx(x8, { pos: r, onAddComment: i }) : null + r ? /* @__PURE__ */ h.jsx(v8, { pos: r, onAddComment: i }) : null ] }); }, dA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ h.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ h.jsx( - J6, + Q6, { shareId: e, userId: t, conversationGroupId: n, source: o, - children: /* @__PURE__ */ h.jsx(M9, {}) + children: /* @__PURE__ */ h.jsx(A9, {}) } -) }), T9 = { +) }), M9 = { selectedTable: "", moreTables: {}, sidebarScreen: "", @@ -16217,9 +16217,9 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ nodeSavingsPerformance: {}, nodesCost: {}, errors: {} -}, Da = cc({ +}, Na = cc({ name: "lineageState", - initialState: T9, + initialState: M9, reducers: { setAllowSyncColumnsWithDB: (e, t) => { e.allowSyncColumnsWithDB = t.payload; @@ -16328,35 +16328,35 @@ const ms = /* @__PURE__ */ dn(f9), h9 = ({ } } }), { - setSelectedTable: Jn, + setSelectedTable: Qn, setMoreTables: Cc, mergeSeeMoreTables: vc, setSidebarScreen: Gt, - setSelectedColumn: Wn, - setCollectColumns: hr, + setSelectedColumn: $n, + setCollectColumns: fr, mergeCollectColumns: xc, - setConfidence: O9, + setConfidence: T9, updateConfidenceWithOperatorList: wc, setLeftExpansion: Al, setRightExpansion: Ml, - setMinRange: pr, + setMinRange: hr, setNodeCount: ko, setSelectCheck: qd, setNonSelectCheck: Yd, setDefaultExpansion: Gd, - setAiEnabled: N9, + setAiEnabled: O9, setModalArgs: _o, - setTheme: D9, + setTheme: N9, setLineageType: fA, setStaticLineage: hA, setAllowSyncColumnsWithDB: pA, - setSqlLineageDetails: L9, - setHighlightedNodes: F9, - setSelectedNode: j9, - setNodesSavingsPerformance: R9, - setNodesCost: I9, + setSqlLineageDetails: D9, + setHighlightedNodes: L9, + setSelectedNode: F9, + setNodesSavingsPerformance: j9, + setNodesCost: R9, setErrors: Ec -} = Da.actions; +} = Na.actions; function bt(e) { if (typeof e == "string" || typeof e == "number") return "" + e; let t = ""; @@ -16368,7 +16368,7 @@ function bt(e) { e[n] && (t += (t && " ") + n); return t; } -var bs = { exports: {} }, Tl = {}, Kr = { exports: {} }, Ol = {}; +var bs = { exports: {} }, Tl = {}, Gr = { exports: {} }, Ol = {}; /** * @license React * use-sync-external-store-shim.production.min.js @@ -16379,7 +16379,7 @@ var bs = { exports: {} }, Tl = {}, Kr = { exports: {} }, Ol = {}; * LICENSE file in the root directory of this source tree. */ var Y2; -function z9() { +function I9() { if (Y2) return Ol; Y2 = 1; var e = $; @@ -16424,7 +16424,7 @@ var Nl = {}; * LICENSE file in the root directory of this source tree. */ var G2; -function H9() { +function z9() { return G2 || (G2 = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); var e = $, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -16496,7 +16496,7 @@ function H9() { } var K2; function Kd() { - return K2 || (K2 = 1, process.env.NODE_ENV === "production" ? Kr.exports = z9() : Kr.exports = H9()), Kr.exports; + return K2 || (K2 = 1, process.env.NODE_ENV === "production" ? Gr.exports = I9() : Gr.exports = z9()), Gr.exports; } /** * @license React @@ -16508,7 +16508,7 @@ function Kd() { * LICENSE file in the root directory of this source tree. */ var X2; -function P9() { +function H9() { if (X2) return Tl; X2 = 1; var e = $, t = Kd(); @@ -16559,7 +16559,7 @@ var Dl = {}; * LICENSE file in the root directory of this source tree. */ var Q2; -function B9() { +function P9() { return Q2 || (Q2 = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); var e = $, t = Kd(); @@ -16604,9 +16604,9 @@ function B9() { Dl.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); }()), Dl; } -process.env.NODE_ENV === "production" ? bs.exports = P9() : bs.exports = B9(); -var V9 = bs.exports; -const $9 = /* @__PURE__ */ dn(V9), W9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, J2 = (e) => { +process.env.NODE_ENV === "production" ? bs.exports = H9() : bs.exports = P9(); +var B9 = bs.exports; +const V9 = /* @__PURE__ */ dn(B9), $9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, J2 = (e) => { let t; const n = /* @__PURE__ */ new Set(), o = (c, d) => { const p = typeof c == "function" ? c(t) : c; @@ -16615,26 +16615,26 @@ const $9 = /* @__PURE__ */ dn(V9), W9 = { BASE_URL: "/", DEV: !1, MODE: "product t = d ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((m) => m(t, f)); } }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - (W9 ? "production" : void 0) !== "production" && console.warn( + ($9 ? "production" : void 0) !== "production" && console.warn( "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected." ), n.clear(); } }, u = t = e(o, r, s); return s; -}, Z9 = (e) => e ? J2(e) : J2, { useDebugValue: U9 } = $, { useSyncExternalStoreWithSelector: q9 } = $9, Y9 = (e) => e; -function Xd(e, t = Y9, n) { - const o = q9( +}, W9 = (e) => e ? J2(e) : J2, { useDebugValue: Z9 } = $, { useSyncExternalStoreWithSelector: U9 } = V9, q9 = (e) => e; +function Xd(e, t = q9, n) { + const o = U9( e.subscribe, e.getState, e.getServerState || e.getInitialState, t, n ); - return U9(o), o; + return Z9(o), o; } const eu = (e, t) => { - const n = Z9(e), o = (r, a = t) => Xd(n, r, a); + const n = W9(e), o = (r, a = t) => Xd(n, r, a); return Object.assign(o, n), o; -}, G9 = (e, t) => e ? eu(e, t) : eu; +}, Y9 = (e, t) => e ? eu(e, t) : eu; function ut(e, t) { if (Object.is(e, t)) return !0; @@ -16662,31 +16662,31 @@ function ut(e, t) { return !1; return !0; } -var K9 = { value: () => { +var G9 = { value: () => { } }; -function ni() { +function ti() { for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) throw new Error("illegal type: " + o); n[o] = []; } - return new ba(n); + return new ma(n); } -function ba(e) { +function ma(e) { this._ = e; } -function X9(e, t) { +function K9(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 }; }); } -ba.prototype = ni.prototype = { - constructor: ba, +ma.prototype = ti.prototype = { + constructor: ma, on: function(e, t) { - var n = this._, o = X9(e + "", n), r, a = -1, i = o.length; + var n = this._, o = K9(e + "", n), r, a = -1, i = o.length; if (arguments.length < 2) { - for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = Q9(n[r], e.name))) return r; + for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = X9(n[r], e.name))) return r; return; } if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); @@ -16698,7 +16698,7 @@ ba.prototype = ni.prototype = { copy: function() { var e = {}, t = this._; for (var n in t) e[n] = t[n].slice(); - return new ba(e); + return new ma(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]; @@ -16710,7 +16710,7 @@ ba.prototype = ni.prototype = { for (var o = this._[e], r = 0, a = o.length; r < a; ++r) o[r].value.apply(t, n); } }; -function Q9(e, t) { +function X9(e, t) { for (var n = 0, o = e.length, r; n < o; ++n) if ((r = e[n]).name === t) return r.value; @@ -16718,7 +16718,7 @@ function Q9(e, t) { function tu(e, t, n) { for (var o = 0, r = e.length; o < r; ++o) if (e[o].name === t) { - e[o] = K9, e = e.slice(0, o).concat(e.slice(o + 1)); + e[o] = G9, e = e.slice(0, o).concat(e.slice(o + 1)); break; } return n != null && e.push({ name: t, value: n }), e; @@ -16731,57 +16731,57 @@ const nu = { xml: "http://www.w3.org/XML/1998/namespace", xmlns: "http://www.w3.org/2000/xmlns/" }; -function oi(e) { +function ni(e) { var t = e += "", n = t.indexOf(":"); return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), nu.hasOwnProperty(t) ? { space: nu[t], local: e } : e; } -function J9(e) { +function Q9(e) { return function() { var t = this.ownerDocument, n = this.namespaceURI; return n === ys && t.documentElement.namespaceURI === ys ? t.createElement(e) : t.createElementNS(n, e); }; } -function eh(e) { +function J9(e) { return function() { return this.ownerDocument.createElementNS(e.space, e.local); }; } function Qd(e) { - var t = oi(e); - return (t.local ? eh : J9)(t); + var t = ni(e); + return (t.local ? J9 : Q9)(t); } -function th() { +function eh() { } function Sc(e) { - return e == null ? th : function() { + return e == null ? eh : function() { return this.querySelector(e); }; } -function nh(e) { +function th(e) { typeof e != "function" && (e = Sc(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); return new Tt(o, this._parents); } -function oh(e) { +function nh(e) { return e == null ? [] : Array.isArray(e) ? e : Array.from(e); } -function rh() { +function oh() { return []; } function Jd(e) { - return e == null ? rh : function() { + return e == null ? oh : function() { return this.querySelectorAll(e); }; } -function ah(e) { +function rh(e) { return function() { - return oh(e.apply(this, arguments)); + return nh(e.apply(this, arguments)); }; } -function ih(e) { - typeof e == "function" ? e = ah(e) : e = Jd(e); +function ah(e) { + typeof e == "function" ? e = rh(e) : e = Jd(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)); @@ -16797,31 +16797,31 @@ function t3(e) { return t.matches(e); }; } -var lh = Array.prototype.find; -function sh(e) { +var ih = Array.prototype.find; +function lh(e) { return function() { - return lh.call(this.children, e); + return ih.call(this.children, e); }; } -function ch() { +function sh() { return this.firstElementChild; } -function uh(e) { - return this.select(e == null ? ch : sh(typeof e == "function" ? e : t3(e))); +function ch(e) { + return this.select(e == null ? sh : lh(typeof e == "function" ? e : t3(e))); } -var dh = Array.prototype.filter; -function fh() { +var uh = Array.prototype.filter; +function dh() { return Array.from(this.children); } -function hh(e) { +function fh(e) { return function() { - return dh.call(this.children, e); + return uh.call(this.children, e); }; } -function ph(e) { - return this.selectAll(e == null ? fh : hh(typeof e == "function" ? e : t3(e))); +function hh(e) { + return this.selectAll(e == null ? dh : fh(typeof e == "function" ? e : t3(e))); } -function gh(e) { +function ph(e) { typeof e != "function" && (e = e3(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) @@ -16831,14 +16831,14 @@ function gh(e) { function n3(e) { return new Array(e.length); } -function mh() { +function gh() { return new Tt(this._enter || this._groups.map(n3), this._parents); } -function La(e, t) { +function Da(e, t) { this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; } -La.prototype = { - constructor: La, +Da.prototype = { + constructor: Da, appendChild: function(e) { return this._parent.insertBefore(e, this._next); }, @@ -16852,35 +16852,35 @@ La.prototype = { return this._parent.querySelectorAll(e); } }; -function bh(e) { +function mh(e) { return function() { return e; }; } -function yh(e, t, n, o, r, a) { +function bh(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 La(e, a[i]); + (l = t[i]) ? (l.__data__ = a[i], o[i] = l) : n[i] = new Da(e, a[i]); for (; i < s; ++i) (l = t[i]) && (r[i] = l); } -function Ch(e, t, n, o, r, a, i) { +function yh(e, t, n, o, r, a, i) { var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, p = new Array(c), f; for (l = 0; l < c; ++l) (s = t[l]) && (p[l] = f = i.call(s, s.__data__, l, t) + "", u.has(f) ? r[l] = s : u.set(f, s)); for (l = 0; l < d; ++l) - f = i.call(e, a[l], l, a) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = a[l], u.delete(f)) : n[l] = new La(e, a[l]); + f = i.call(e, a[l], l, a) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = a[l], u.delete(f)) : n[l] = new Da(e, a[l]); for (l = 0; l < c; ++l) (s = t[l]) && u.get(p[l]) === s && (r[l] = s); } -function vh(e) { +function Ch(e) { return e.__data__; } -function xh(e, t) { - if (!arguments.length) return Array.from(this, vh); - var n = t ? Ch : yh, o = this._parents, r = this._groups; - typeof e != "function" && (e = bh(e)); +function vh(e, t) { + if (!arguments.length) return Array.from(this, Ch); + var n = t ? yh : bh, o = this._parents, r = this._groups; + typeof e != "function" && (e = mh(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], p = d.length, f = wh(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); + var c = o[u], d = r[u], p = d.length, f = xh(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); n(c, d, b, y, g, f, t); for (var x = 0, C = 0, S, w; x < m; ++x) if (S = b[x]) { @@ -16890,17 +16890,17 @@ function xh(e, t) { } return i = new Tt(i, o), i._enter = l, i._exit = s, i; } -function wh(e) { +function xh(e) { return typeof e == "object" && "length" in e ? e : Array.from(e); } -function Eh() { +function wh() { return new Tt(this._exit || this._groups.map(n3), this._parents); } -function Sh(e, t, n) { +function Eh(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; } -function kh(e) { +function Sh(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, p = l[s] = new Array(d), f, m = 0; m < d; ++m) (f = u[m] || c[m]) && (p[m] = f); @@ -16908,14 +16908,14 @@ function kh(e) { l[s] = n[s]; return new Tt(l, this._parents); } -function _h() { +function kh() { 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); return this; } -function Ah(e) { - e || (e = Mh); +function _h(e) { + e || (e = Ah); function t(d, p) { return d && p ? e(d.__data__, p.__data__) : !d - !p; } @@ -16926,17 +16926,17 @@ function Ah(e) { } return new Tt(r, this._parents).order(); } -function Mh(e, t) { +function Ah(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function Th() { +function Mh() { var e = arguments[0]; return arguments[0] = this, e.apply(null, arguments), this; } -function Oh() { +function Th() { return Array.from(this); } -function Nh() { +function Oh() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length; r < a; ++r) { var i = o[r]; @@ -16944,103 +16944,103 @@ function Nh() { } return null; } -function Dh() { +function Nh() { let e = 0; for (const t of this) ++e; return e; } -function Lh() { +function Dh() { return !this.node(); } -function Fh(e) { +function Lh(e) { for (var t = this._groups, n = 0, o = t.length; n < o; ++n) for (var r = t[n], a = 0, i = r.length, l; a < i; ++a) (l = r[a]) && e.call(l, l.__data__, a, r); return this; } -function jh(e) { +function Fh(e) { return function() { this.removeAttribute(e); }; } -function Rh(e) { +function jh(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function Ih(e, t) { +function Rh(e, t) { return function() { this.setAttribute(e, t); }; } -function zh(e, t) { +function Ih(e, t) { return function() { this.setAttributeNS(e.space, e.local, t); }; } -function Hh(e, t) { +function zh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttribute(e) : this.setAttribute(e, n); }; } -function Ph(e, t) { +function Hh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); }; } -function Bh(e, t) { - var n = oi(e); +function Ph(e, t) { + var n = ni(e); if (arguments.length < 2) { var o = this.node(); return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - return this.each((t == null ? n.local ? Rh : jh : typeof t == "function" ? n.local ? Ph : Hh : n.local ? zh : Ih)(n, t)); + return this.each((t == null ? n.local ? jh : Fh : typeof t == "function" ? n.local ? Hh : zh : n.local ? Ih : Rh)(n, t)); } function o3(e) { return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; } -function Vh(e) { +function Bh(e) { return function() { this.style.removeProperty(e); }; } -function $h(e, t, n) { +function Vh(e, t, n) { return function() { this.style.setProperty(e, t, n); }; } -function Wh(e, t, n) { +function $h(e, t, n) { return function() { var o = t.apply(this, arguments); o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; } -function Zh(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? Vh : typeof t == "function" ? Wh : $h)(e, t, n ?? "")) : Ao(this.node(), e); +function Wh(e, t, n) { + return arguments.length > 1 ? this.each((t == null ? Bh : typeof t == "function" ? $h : Vh)(e, t, n ?? "")) : Ao(this.node(), e); } function Ao(e, t) { return e.style.getPropertyValue(t) || o3(e).getComputedStyle(e, null).getPropertyValue(t); } -function Uh(e) { +function Zh(e) { return function() { delete this[e]; }; } -function qh(e, t) { +function Uh(e, t) { return function() { this[e] = t; }; } -function Yh(e, t) { +function qh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? delete this[e] : this[e] = n; }; } -function Gh(e, t) { - return arguments.length > 1 ? this.each((t == null ? Uh : typeof t == "function" ? Yh : qh)(e, t)) : this.node()[e]; +function Yh(e, t) { + return arguments.length > 1 ? this.each((t == null ? Zh : typeof t == "function" ? qh : Uh)(e, t)) : this.node()[e]; } function r3(e) { return e.trim().split(/^|\s+/); @@ -17070,123 +17070,123 @@ function i3(e, t) { function l3(e, t) { for (var n = kc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); } -function Kh(e) { +function Gh(e) { return function() { i3(this, e); }; } -function Xh(e) { +function Kh(e) { return function() { l3(this, e); }; } -function Qh(e, t) { +function Xh(e, t) { return function() { (t.apply(this, arguments) ? i3 : l3)(this, e); }; } -function Jh(e, t) { +function Qh(e, t) { var n = r3(e + ""); if (arguments.length < 2) { for (var o = kc(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; return !0; } - return this.each((typeof t == "function" ? Qh : t ? Kh : Xh)(n, t)); + return this.each((typeof t == "function" ? Xh : t ? Gh : Kh)(n, t)); } -function ep() { +function Jh() { this.textContent = ""; } -function tp(e) { +function ep(e) { return function() { this.textContent = e; }; } -function np(e) { +function tp(e) { return function() { var t = e.apply(this, arguments); this.textContent = t ?? ""; }; } -function op(e) { - return arguments.length ? this.each(e == null ? ep : (typeof e == "function" ? np : tp)(e)) : this.node().textContent; +function np(e) { + return arguments.length ? this.each(e == null ? Jh : (typeof e == "function" ? tp : ep)(e)) : this.node().textContent; } -function rp() { +function op() { this.innerHTML = ""; } -function ap(e) { +function rp(e) { return function() { this.innerHTML = e; }; } -function ip(e) { +function ap(e) { return function() { var t = e.apply(this, arguments); this.innerHTML = t ?? ""; }; } -function lp(e) { - return arguments.length ? this.each(e == null ? rp : (typeof e == "function" ? ip : ap)(e)) : this.node().innerHTML; +function ip(e) { + return arguments.length ? this.each(e == null ? op : (typeof e == "function" ? ap : rp)(e)) : this.node().innerHTML; } -function sp() { +function lp() { this.nextSibling && this.parentNode.appendChild(this); } -function cp() { - return this.each(sp); +function sp() { + return this.each(lp); } -function up() { +function cp() { this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); } -function dp() { - return this.each(up); +function up() { + return this.each(cp); } -function fp(e) { +function dp(e) { var t = typeof e == "function" ? e : Qd(e); return this.select(function() { return this.appendChild(t.apply(this, arguments)); }); } -function hp() { +function fp() { return null; } -function pp(e, t) { - var n = typeof e == "function" ? e : Qd(e), o = t == null ? hp : typeof t == "function" ? t : Sc(t); +function hp(e, t) { + var n = typeof e == "function" ? e : Qd(e), o = t == null ? fp : typeof t == "function" ? t : Sc(t); return this.select(function() { return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); }); } -function gp() { +function pp() { var e = this.parentNode; e && e.removeChild(this); } -function mp() { - return this.each(gp); +function gp() { + return this.each(pp); } -function bp() { +function mp() { var e = this.cloneNode(!1), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function yp() { +function bp() { var e = this.cloneNode(!0), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function Cp(e) { - return this.select(e ? yp : bp); +function yp(e) { + return this.select(e ? bp : mp); } -function vp(e) { +function Cp(e) { return arguments.length ? this.property("__data__", e) : this.node().__data__; } -function xp(e) { +function vp(e) { return function(t) { e.call(this, t, this.__data__); }; } -function wp(e) { +function xp(e) { return e.trim().split(/^|\s+/).map(function(t) { var n = "", o = t.indexOf("."); return o >= 0 && (n = t.slice(o + 1), t = t.slice(0, o)), { type: t, name: n }; }); } -function Ep(e) { +function wp(e) { return function() { var t = this.__on; if (t) { @@ -17196,9 +17196,9 @@ function Ep(e) { } }; } -function Sp(e, t, n) { +function Ep(e, t, n) { return function() { - var o = this.__on, r, a = xp(t); + var o = this.__on, r, a = vp(t); if (o) { for (var i = 0, l = o.length; i < l; ++i) if ((r = o[i]).type === e.type && r.name === e.name) { @@ -17209,8 +17209,8 @@ function Sp(e, t, n) { 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 kp(e, t, n) { - var o = wp(e + ""), r, a = o.length, i; +function Sp(e, t, n) { + var o = xp(e + ""), r, a = o.length, i; if (arguments.length < 2) { var l = this.node().__on; if (l) { @@ -17221,27 +17221,27 @@ function kp(e, t, n) { } return; } - for (l = t ? Sp : Ep, r = 0; r < a; ++r) this.each(l(o[r], t, n)); + for (l = t ? Ep : wp, r = 0; r < a; ++r) this.each(l(o[r], t, n)); return this; } function s3(e, t, n) { var o = o3(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 _p(e, t) { +function kp(e, t) { return function() { return s3(this, e, t); }; } -function Ap(e, t) { +function _p(e, t) { return function() { return s3(this, e, t.apply(this, arguments)); }; } -function Mp(e, t) { - return this.each((typeof t == "function" ? Ap : _p)(e, t)); +function Ap(e, t) { + return this.each((typeof t == "function" ? _p : kp)(e, t)); } -function* Tp() { +function* Mp() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length, i; r < a; ++r) (i = o[r]) && (yield i); @@ -17250,60 +17250,60 @@ var c3 = [null]; function Tt(e, t) { this._groups = e, this._parents = t; } -function Nr() { +function Or() { return new Tt([[document.documentElement]], c3); } -function Op() { +function Tp() { return this; } -Tt.prototype = Nr.prototype = { +Tt.prototype = Or.prototype = { constructor: Tt, - select: nh, - selectAll: ih, - selectChild: uh, - selectChildren: ph, - filter: gh, - data: xh, - enter: mh, - exit: Eh, - join: Sh, - merge: kh, - selection: Op, - order: _h, - sort: Ah, - call: Th, - nodes: Oh, - node: Nh, - size: Dh, - empty: Lh, - each: Fh, - attr: Bh, - style: Zh, - property: Gh, - classed: Jh, - text: op, - html: lp, - raise: cp, - lower: dp, - append: fp, - insert: pp, - remove: mp, - clone: Cp, - datum: vp, - on: kp, - dispatch: Mp, - [Symbol.iterator]: Tp + select: th, + selectAll: ah, + selectChild: ch, + selectChildren: hh, + filter: ph, + data: vh, + enter: gh, + exit: wh, + join: Eh, + merge: Sh, + selection: Tp, + order: kh, + sort: _h, + call: Mh, + nodes: Th, + node: Oh, + size: Nh, + empty: Dh, + each: Lh, + attr: Ph, + style: Wh, + property: Yh, + classed: Qh, + text: np, + html: ip, + raise: sp, + lower: up, + append: dp, + insert: hp, + remove: gp, + clone: yp, + datum: Cp, + on: Sp, + dispatch: Ap, + [Symbol.iterator]: Mp }; function qt(e) { return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], c3); } -function Np(e) { +function Op(e) { let t; for (; t = e.sourceEvent; ) e = t; return e; } function rn(e, t) { - if (e = Np(e), t === void 0 && (t = e.currentTarget), t) { + if (e = Op(e), t === void 0 && (t = e.currentTarget), t) { var n = t.ownerSVGElement || t; if (n.createSVGPoint) { var o = n.createSVGPoint(); @@ -17316,7 +17316,7 @@ function rn(e, t) { } return [e.pageX, e.pageY]; } -const Dp = { passive: !1 }, gr = { capture: !0, passive: !1 }; +const Np = { passive: !1 }, pr = { capture: !0, passive: !1 }; function Ll(e) { e.stopImmediatePropagation(); } @@ -17324,16 +17324,16 @@ function go(e) { e.preventDefault(), e.stopImmediatePropagation(); } function u3(e) { - var t = e.document.documentElement, n = qt(e).on("dragstart.drag", go, gr); - "onselectstart" in t ? n.on("selectstart.drag", go, gr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); + var t = e.document.documentElement, n = qt(e).on("dragstart.drag", go, pr); + "onselectstart" in t ? n.on("selectstart.drag", go, pr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); } function d3(e, t) { var n = e.document.documentElement, o = qt(e).on("dragstart.drag", null); - t && (o.on("click.drag", go, gr), setTimeout(function() { + t && (o.on("click.drag", go, pr), 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 Xr = (e) => () => e; +const Kr = (e) => () => e; function Cs(e, { sourceEvent: t, subject: n, @@ -17364,27 +17364,27 @@ Cs.prototype.on = function() { var e = this._.on.apply(this._, arguments); return e === this._ ? this : e; }; -function Lp(e) { +function Dp(e) { return !e.ctrlKey && !e.button; } -function Fp() { +function Lp() { return this.parentNode; } -function jp(e, t) { +function Fp(e, t) { return t ?? { x: e.x, y: e.y }; } -function Rp() { +function jp() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function Ip() { - var e = Lp, t = Fp, n = jp, o = Rp, r = {}, a = ni("start", "drag", "end"), i = 0, l, s, u, c, d = 0; +function Rp() { + var e = Dp, t = Lp, n = Fp, o = jp, r = {}, a = ti("start", "drag", "end"), i = 0, l, s, u, c, d = 0; function p(S) { - S.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Dp).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + S.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Np).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } function f(S, w) { if (!(c || !e.call(this, S, w))) { var E = C(this, t.call(this, S, w), S, w, "mouse"); - E && (qt(S.view).on("mousemove.drag", m, gr).on("mouseup.drag", b, gr), u3(S.view), Ll(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); + E && (qt(S.view).on("mousemove.drag", m, pr).on("mouseup.drag", b, pr), u3(S.view), Ll(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); } } function m(S) { @@ -17461,13 +17461,13 @@ function Ip() { }; } return p.filter = function(S) { - return arguments.length ? (e = typeof S == "function" ? S : Xr(!!S), p) : e; + return arguments.length ? (e = typeof S == "function" ? S : Kr(!!S), p) : e; }, p.container = function(S) { - return arguments.length ? (t = typeof S == "function" ? S : Xr(S), p) : t; + return arguments.length ? (t = typeof S == "function" ? S : Kr(S), p) : t; }, p.subject = function(S) { - return arguments.length ? (n = typeof S == "function" ? S : Xr(S), p) : n; + return arguments.length ? (n = typeof S == "function" ? S : Kr(S), p) : n; }, p.touchable = function(S) { - return arguments.length ? (o = typeof S == "function" ? S : Xr(!!S), p) : o; + return arguments.length ? (o = typeof S == "function" ? S : Kr(!!S), p) : o; }, p.on = function() { var S = a.on.apply(a, arguments); return S === a ? p : S; @@ -17483,9 +17483,9 @@ function f3(e, t) { for (var o in t) n[o] = t[o]; return n; } -function Dr() { +function Nr() { } -var mr = 0.7, Fa = 1 / mr, mo = "\\s*([+-]?\\d+)\\s*", br = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", sn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", zp = /^#([0-9a-f]{3,8})$/, Hp = new RegExp(`^rgb\\(${mo},${mo},${mo}\\)$`), Pp = new RegExp(`^rgb\\(${sn},${sn},${sn}\\)$`), Bp = new RegExp(`^rgba\\(${mo},${mo},${mo},${br}\\)$`), Vp = new RegExp(`^rgba\\(${sn},${sn},${sn},${br}\\)$`), $p = new RegExp(`^hsl\\(${br},${sn},${sn}\\)$`), Wp = new RegExp(`^hsla\\(${br},${sn},${sn},${br}\\)$`), ou = { +var gr = 0.7, La = 1 / gr, mo = "\\s*([+-]?\\d+)\\s*", mr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", sn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ip = /^#([0-9a-f]{3,8})$/, zp = new RegExp(`^rgb\\(${mo},${mo},${mo}\\)$`), Hp = new RegExp(`^rgb\\(${sn},${sn},${sn}\\)$`), Pp = new RegExp(`^rgba\\(${mo},${mo},${mo},${mr}\\)$`), Bp = new RegExp(`^rgba\\(${sn},${sn},${sn},${mr}\\)$`), Vp = new RegExp(`^hsl\\(${mr},${sn},${sn}\\)$`), $p = new RegExp(`^hsla\\(${mr},${sn},${sn},${mr}\\)$`), ou = { aliceblue: 15792383, antiquewhite: 16444375, aqua: 65535, @@ -17635,7 +17635,7 @@ var mr = 0.7, Fa = 1 / mr, mo = "\\s*([+-]?\\d+)\\s*", br = "\\s*([+-]?(?:\\d*\\ yellow: 16776960, yellowgreen: 10145074 }; -_c(Dr, yr, { +_c(Nr, br, { copy(e) { return Object.assign(new this.constructor(), this, e); }, @@ -17645,54 +17645,54 @@ _c(Dr, yr, { hex: ru, // Deprecated! Use color.formatHex. formatHex: ru, - formatHex8: Zp, - formatHsl: Up, + formatHex8: Wp, + formatHsl: Zp, formatRgb: au, toString: au }); function ru() { return this.rgb().formatHex(); } -function Zp() { +function Wp() { return this.rgb().formatHex8(); } -function Up() { +function Zp() { return h3(this).formatHsl(); } function au() { return this.rgb().formatRgb(); } -function yr(e) { +function br(e) { var t, n; - return e = (e + "").trim().toLowerCase(), (t = zp.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iu(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Qr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Qr(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Hp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Pp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Bp.exec(e)) ? Qr(t[1], t[2], t[3], t[4]) : (t = Vp.exec(e)) ? Qr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = $p.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, 1) : (t = Wp.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, t[4]) : ou.hasOwnProperty(e) ? iu(ou[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; + return e = (e + "").trim().toLowerCase(), (t = Ip.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iu(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xr(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 = zp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Hp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Pp.exec(e)) ? Xr(t[1], t[2], t[3], t[4]) : (t = Bp.exec(e)) ? Xr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Vp.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, 1) : (t = $p.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, t[4]) : ou.hasOwnProperty(e) ? iu(ou[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; } function iu(e) { return new xt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); } -function Qr(e, t, n, o) { +function Xr(e, t, n, o) { return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); } -function qp(e) { - return e instanceof Dr || (e = yr(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); +function Up(e) { + return e instanceof Nr || (e = br(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); } function vs(e, t, n, o) { - return arguments.length === 1 ? qp(e) : new xt(e, t, n, o ?? 1); + return arguments.length === 1 ? Up(e) : new xt(e, t, n, o ?? 1); } function xt(e, t, n, o) { this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; } -_c(xt, vs, f3(Dr, { +_c(xt, vs, f3(Nr, { brighter(e) { - return e = e == null ? Fa : Math.pow(Fa, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? La : Math.pow(La, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, darker(e) { - return e = e == null ? mr : Math.pow(mr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? gr : Math.pow(gr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, rgb() { return this; }, clamp() { - return new xt(Yn(this.r), Yn(this.g), Yn(this.b), ja(this.opacity)); + return new xt(qn(this.r), qn(this.g), qn(this.b), Fa(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; @@ -17700,52 +17700,52 @@ _c(xt, vs, f3(Dr, { hex: lu, // Deprecated! Use color.formatHex. formatHex: lu, - formatHex8: Yp, + formatHex8: qp, formatRgb: su, toString: su })); function lu() { - return `#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}`; + return `#${Wn(this.r)}${Wn(this.g)}${Wn(this.b)}`; } -function Yp() { - return `#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}${Zn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; +function qp() { + return `#${Wn(this.r)}${Wn(this.g)}${Wn(this.b)}${Wn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; } function su() { - const e = ja(this.opacity); - return `${e === 1 ? "rgb(" : "rgba("}${Yn(this.r)}, ${Yn(this.g)}, ${Yn(this.b)}${e === 1 ? ")" : `, ${e})`}`; + const e = Fa(this.opacity); + return `${e === 1 ? "rgb(" : "rgba("}${qn(this.r)}, ${qn(this.g)}, ${qn(this.b)}${e === 1 ? ")" : `, ${e})`}`; } -function ja(e) { +function Fa(e) { return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); } -function Yn(e) { +function qn(e) { return Math.max(0, Math.min(255, Math.round(e) || 0)); } -function Zn(e) { - return e = Yn(e), (e < 16 ? "0" : "") + e.toString(16); +function Wn(e) { + return e = qn(e), (e < 16 ? "0" : "") + e.toString(16); } function cu(e, t, n, o) { return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Yt(e, t, n, o); } function h3(e) { if (e instanceof Yt) return new Yt(e.h, e.s, e.l, e.opacity); - if (e instanceof Dr || (e = yr(e)), !e) return new Yt(); + if (e instanceof Nr || (e = br(e)), !e) return new Yt(); if (e instanceof Yt) 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 Yt(i, l, s, e.opacity); } -function Gp(e, t, n, o) { +function Yp(e, t, n, o) { return arguments.length === 1 ? h3(e) : new Yt(e, t, n, o ?? 1); } function Yt(e, t, n, o) { this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; } -_c(Yt, Gp, f3(Dr, { +_c(Yt, Yp, f3(Nr, { brighter(e) { - return e = e == null ? Fa : Math.pow(Fa, e), new Yt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? La : Math.pow(La, e), new Yt(this.h, this.s, this.l * e, this.opacity); }, darker(e) { - return e = e == null ? mr : Math.pow(mr, e), new Yt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? gr : Math.pow(gr, e), new Yt(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; @@ -17757,47 +17757,47 @@ _c(Yt, Gp, f3(Dr, { ); }, clamp() { - return new Yt(uu(this.h), Jr(this.s), Jr(this.l), ja(this.opacity)); + return new Yt(uu(this.h), Qr(this.s), Qr(this.l), Fa(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 = ja(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${uu(this.h)}, ${Jr(this.s) * 100}%, ${Jr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + const e = Fa(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${uu(this.h)}, ${Qr(this.s) * 100}%, ${Qr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; } })); function uu(e) { return e = (e || 0) % 360, e < 0 ? e + 360 : e; } -function Jr(e) { +function Qr(e) { return Math.max(0, Math.min(1, e || 0)); } function Fl(e, t, n) { return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; } const p3 = (e) => () => e; -function Kp(e, t) { +function Gp(e, t) { return function(n) { return e + n * t; }; } -function Xp(e, t, n) { +function Kp(e, t, n) { return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(o) { return Math.pow(e + o * t, n); }; } -function Qp(e) { +function Xp(e) { return (e = +e) == 1 ? g3 : function(t, n) { - return n - t ? Xp(t, n, e) : p3(isNaN(t) ? n : t); + return n - t ? Kp(t, n, e) : p3(isNaN(t) ? n : t); }; } function g3(e, t) { var n = t - e; - return n ? Kp(e, n) : p3(isNaN(e) ? t : e); + return n ? Gp(e, n) : p3(isNaN(e) ? t : e); } const du = function e(t) { - var n = Qp(t); + var n = Xp(t); function o(r, a) { var i = n((r = vs(r)).r, (a = vs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = g3(r.opacity, a.opacity); return function(c) { @@ -17812,21 +17812,21 @@ function Nn(e, t) { }; } var xs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, jl = new RegExp(xs.source, "g"); -function Jp(e) { +function Qp(e) { return function() { return e; }; } -function eg(e) { +function Jp(e) { return function(t) { return e(t) + ""; }; } -function tg(e, t) { +function eg(e, t) { var n = xs.lastIndex = jl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; for (e = e + "", t = t + ""; (o = xs.exec(e)) && (r = jl.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 = jl.lastIndex; - return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? eg(s[0].x) : Jp(t) : (t = s.length, function(u) { + return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? Jp(s[0].x) : Qp(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(""); }); @@ -17850,13 +17850,13 @@ function m3(e, t, n, o, r, a) { scaleY: l }; } -var ea; -function ng(e) { +var Jr; +function tg(e) { const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); return t.isIdentity ? ws : m3(t.a, t.b, t.c, t.d, t.e, t.f); } -function og(e) { - return e == null || (ea || (ea = document.createElementNS("http://www.w3.org/2000/svg", "g")), ea.setAttribute("transform", e), !(e = ea.transform.baseVal.consolidate())) ? ws : (e = e.matrix, m3(e.a, e.b, e.c, e.d, e.e, e.f)); +function ng(e) { + return e == null || (Jr || (Jr = document.createElementNS("http://www.w3.org/2000/svg", "g")), Jr.setAttribute("transform", e), !(e = Jr.transform.baseVal.consolidate())) ? ws : (e = e.matrix, m3(e.a, e.b, e.c, e.d, e.e, e.f)); } function b3(e, t, n, o) { function r(u) { @@ -17888,20 +17888,20 @@ function b3(e, t, n, o) { }; }; } -var rg = b3(ng, "px, ", "px)", "deg)"), ag = b3(og, ", ", ")", ")"), ig = 1e-12; +var og = b3(tg, "px, ", "px)", "deg)"), rg = b3(ng, ", ", ")", ")"), ag = 1e-12; function hu(e) { return ((e = Math.exp(e)) + 1 / e) / 2; } -function lg(e) { +function ig(e) { return ((e = Math.exp(e)) - 1 / e) / 2; } -function sg(e) { +function lg(e) { return ((e = Math.exp(2 * e)) - 1) / (e + 1); } -const cg = function e(t, n, o) { +const sg = 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], p = i[2], f = c - l, m = d - s, b = f * f + m * m, y, g; - if (b < ig) + if (b < ag) g = Math.log(p / u) / t, y = function(M) { return [ l + M * f, @@ -17912,7 +17912,7 @@ const cg = function e(t, n, o) { else { var x = Math.sqrt(b), C = (p * p - u * u + o * b) / (2 * u * n * x), S = (p * p - u * u - o * b) / (2 * p * n * x), w = Math.log(Math.sqrt(C * C + 1) - C), E = Math.log(Math.sqrt(S * S + 1) - S); g = (E - w) / t, y = function(M) { - var _ = M * g, L = hu(w), R = u / (n * x) * (L * sg(t * _ + w) - lg(w)); + var _ = M * g, L = hu(w), R = u / (n * x) * (L * lg(t * _ + w) - ig(w)); return [ l + R * f, s + R * m, @@ -17927,81 +17927,81 @@ const cg = function e(t, n, o) { return e(i, l, s); }, r; }(Math.SQRT2, 2, 4); -var Mo = 0, er = 0, Uo = 0, y3 = 1e3, Ra, tr, Ia = 0, eo = 0, ri = 0, Cr = typeof performance == "object" && performance.now ? performance : Date, C3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { +var Mo = 0, Jo = 0, Zo = 0, y3 = 1e3, ja, er, Ra = 0, Jn = 0, oi = 0, yr = typeof performance == "object" && performance.now ? performance : Date, C3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { setTimeout(e, 17); }; function Ac() { - return eo || (C3(ug), eo = Cr.now() + ri); + return Jn || (C3(cg), Jn = yr.now() + oi); } -function ug() { - eo = 0; +function cg() { + Jn = 0; } -function za() { +function Ia() { this._call = this._time = this._next = null; } -za.prototype = v3.prototype = { - constructor: za, +Ia.prototype = v3.prototype = { + constructor: Ia, restart: function(e, t, n) { if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? Ac() : +n) + (t == null ? 0 : +t), !this._next && tr !== this && (tr ? tr._next = this : Ra = this, tr = this), this._call = e, this._time = n, Es(); + n = (n == null ? Ac() : +n) + (t == null ? 0 : +t), !this._next && er !== this && (er ? er._next = this : ja = this, er = this), this._call = e, this._time = n, Es(); }, stop: function() { this._call && (this._call = null, this._time = 1 / 0, Es()); } }; function v3(e, t, n) { - var o = new za(); + var o = new Ia(); return o.restart(e, t, n), o; } -function dg() { +function ug() { Ac(), ++Mo; - for (var e = Ra, t; e; ) - (t = eo - e._time) >= 0 && e._call.call(void 0, t), e = e._next; + for (var e = ja, t; e; ) + (t = Jn - e._time) >= 0 && e._call.call(void 0, t), e = e._next; --Mo; } function pu() { - eo = (Ia = Cr.now()) + ri, Mo = er = 0; + Jn = (Ra = yr.now()) + oi, Mo = Jo = 0; try { - dg(); + ug(); } finally { - Mo = 0, hg(), eo = 0; + Mo = 0, fg(), Jn = 0; } } -function fg() { - var e = Cr.now(), t = e - Ia; - t > y3 && (ri -= t, Ia = e); +function dg() { + var e = yr.now(), t = e - Ra; + t > y3 && (oi -= t, Ra = e); } -function hg() { - for (var e, t = Ra, 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 : Ra = n); - tr = e, Es(o); +function fg() { + for (var e, t = ja, 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 : ja = n); + er = e, Es(o); } function Es(e) { if (!Mo) { - er && (er = clearTimeout(er)); - var t = e - eo; - t > 24 ? (e < 1 / 0 && (er = setTimeout(pu, e - Cr.now() - ri)), Uo && (Uo = clearInterval(Uo))) : (Uo || (Ia = Cr.now(), Uo = setInterval(fg, y3)), Mo = 1, C3(pu)); + Jo && (Jo = clearTimeout(Jo)); + var t = e - Jn; + t > 24 ? (e < 1 / 0 && (Jo = setTimeout(pu, e - yr.now() - oi)), Zo && (Zo = clearInterval(Zo))) : (Zo || (Ra = yr.now(), Zo = setInterval(dg, y3)), Mo = 1, C3(pu)); } } function gu(e, t, n) { - var o = new za(); + var o = new Ia(); return t = t == null ? 0 : +t, o.restart((r) => { o.stop(), e(r + t); }, t, n), o; } -var pg = ni("start", "end", "cancel", "interrupt"), gg = [], x3 = 0, mu = 1, Ss = 2, ya = 3, bu = 4, ks = 5, Ca = 6; -function ai(e, t, n, o, r, a) { +var hg = ti("start", "end", "cancel", "interrupt"), pg = [], x3 = 0, mu = 1, Ss = 2, ba = 3, bu = 4, ks = 5, ya = 6; +function ri(e, t, n, o, r, a) { var i = e.__transition; if (!i) e.__transition = {}; else if (n in i) return; - mg(e, n, { + gg(e, n, { name: t, index: o, // For context during callback. group: r, // For context during callback. - on: pg, - tween: gg, + on: hg, + tween: pg, time: a.time, delay: a.delay, duration: a.duration, @@ -18017,7 +18017,7 @@ function Mc(e, t) { } function fn(e, t) { var n = Qt(e, t); - if (n.state > ya) throw new Error("too late; already running"); + if (n.state > ba) throw new Error("too late; already running"); return n; } function Qt(e, t) { @@ -18025,7 +18025,7 @@ function Qt(e, t) { if (!n || !(n = n[t])) throw new Error("transition not found"); return n; } -function mg(e, t, n) { +function gg(e, t, n) { var o = e.__transition, r; o[t] = n, n.timer = v3(a, 0, n.time); function a(u) { @@ -18036,13 +18036,13 @@ function mg(e, t, n) { if (n.state !== mu) return s(); for (c in o) if (f = o[c], f.name === n.name) { - if (f.state === ya) return gu(i); - f.state === bu ? (f.state = Ca, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = Ca, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); + if (f.state === ba) return gu(i); + f.state === bu ? (f.state = ya, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = ya, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); } if (gu(function() { - n.state === ya && (n.state = bu, n.timer.restart(l, n.delay, n.time), l(u)); + n.state === ba && (n.state = bu, n.timer.restart(l, n.delay, n.time), l(u)); }), n.state = Ss, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Ss) { - for (n.state = ya, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) + for (n.state = ba, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = f); r.length = d + 1; } @@ -18053,12 +18053,12 @@ function mg(e, t, n) { n.state === ks && (n.on.call("end", e, e.__data__, n.index, n.group), s()); } function s() { - n.state = Ca, n.timer.stop(), delete o[t]; + n.state = ya, n.timer.stop(), delete o[t]; for (var u in o) return; delete e.__transition; } } -function va(e, t) { +function Ca(e, t) { var n = e.__transition, o, r, a = !0, i; if (n) { t = t == null ? null : t + ""; @@ -18067,17 +18067,17 @@ function va(e, t) { a = !1; continue; } - r = o.state > Ss && o.state < ks, o.state = Ca, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; + r = o.state > Ss && o.state < ks, o.state = ya, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; } a && delete e.__transition; } } -function bg(e) { +function mg(e) { return this.each(function() { - va(this, e); + Ca(this, e); }); } -function yg(e, t) { +function bg(e, t) { var n, o; return function() { var r = fn(this, e), a = r.tween; @@ -18092,7 +18092,7 @@ function yg(e, t) { r.tween = o; }; } -function Cg(e, t, n) { +function yg(e, t, n) { var o, r; if (typeof n != "function") throw new Error(); return function() { @@ -18109,7 +18109,7 @@ function Cg(e, t, n) { a.tween = r; }; } -function vg(e, t) { +function Cg(e, t) { var n = this._id; if (e += "", arguments.length < 2) { for (var o = Qt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) @@ -18117,7 +18117,7 @@ function vg(e, t) { return i.value; return null; } - return this.each((t == null ? yg : Cg)(n, e, t)); + return this.each((t == null ? bg : yg)(n, e, t)); } function Tc(e, t, n) { var o = e._id; @@ -18130,141 +18130,141 @@ function Tc(e, t, n) { } function w3(e, t) { var n; - return (typeof t == "number" ? Nn : t instanceof yr ? du : (n = yr(t)) ? (t = n, du) : tg)(e, t); + return (typeof t == "number" ? Nn : t instanceof br ? du : (n = br(t)) ? (t = n, du) : eg)(e, t); } -function xg(e) { +function vg(e) { return function() { this.removeAttribute(e); }; } -function wg(e) { +function xg(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function Eg(e, t, n) { +function wg(e, t, n) { var o, r = n + "", a; return function() { var i = this.getAttribute(e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function Sg(e, t, n) { +function Eg(e, t, n) { 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); }; } -function kg(e, t, n) { +function Sg(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))); }; } -function _g(e, t, n) { +function kg(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))); }; } -function Ag(e, t) { - var n = oi(e), o = n === "transform" ? ag : w3; - return this.attrTween(e, typeof t == "function" ? (n.local ? _g : kg)(n, o, Tc(this, "attr." + e, t)) : t == null ? (n.local ? wg : xg)(n) : (n.local ? Sg : Eg)(n, o, t)); +function _g(e, t) { + var n = ni(e), o = n === "transform" ? rg : w3; + return this.attrTween(e, typeof t == "function" ? (n.local ? kg : Sg)(n, o, Tc(this, "attr." + e, t)) : t == null ? (n.local ? xg : vg)(n) : (n.local ? Eg : wg)(n, o, t)); } -function Mg(e, t) { +function Ag(e, t) { return function(n) { this.setAttribute(e, t.call(this, n)); }; } -function Tg(e, t) { +function Mg(e, t) { return function(n) { this.setAttributeNS(e.space, e.local, t.call(this, n)); }; } -function Og(e, t) { +function Tg(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Tg(e, a)), n; + return a !== o && (n = (o = a) && Mg(e, a)), n; } return r._value = t, r; } -function Ng(e, t) { +function Og(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Mg(e, a)), n; + return a !== o && (n = (o = a) && Ag(e, a)), n; } return r._value = t, r; } -function Dg(e, t) { +function Ng(e, t) { var n = "attr." + e; if (arguments.length < 2) return (n = this.tween(n)) && n._value; if (t == null) return this.tween(n, null); if (typeof t != "function") throw new Error(); - var o = oi(e); - return this.tween(n, (o.local ? Og : Ng)(o, t)); + var o = ni(e); + return this.tween(n, (o.local ? Tg : Og)(o, t)); } -function Lg(e, t) { +function Dg(e, t) { return function() { Mc(this, e).delay = +t.apply(this, arguments); }; } -function Fg(e, t) { +function Lg(e, t) { return t = +t, function() { Mc(this, e).delay = t; }; } -function jg(e) { +function Fg(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Lg : Fg)(t, e)) : Qt(this.node(), t).delay; + return arguments.length ? this.each((typeof e == "function" ? Dg : Lg)(t, e)) : Qt(this.node(), t).delay; } -function Rg(e, t) { +function jg(e, t) { return function() { fn(this, e).duration = +t.apply(this, arguments); }; } -function Ig(e, t) { +function Rg(e, t) { return t = +t, function() { fn(this, e).duration = t; }; } -function zg(e) { +function Ig(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Rg : Ig)(t, e)) : Qt(this.node(), t).duration; + return arguments.length ? this.each((typeof e == "function" ? jg : Rg)(t, e)) : Qt(this.node(), t).duration; } -function Hg(e, t) { +function zg(e, t) { if (typeof t != "function") throw new Error(); return function() { fn(this, e).ease = t; }; } -function Pg(e) { +function Hg(e) { var t = this._id; - return arguments.length ? this.each(Hg(t, e)) : Qt(this.node(), t).ease; + return arguments.length ? this.each(zg(t, e)) : Qt(this.node(), t).ease; } -function Bg(e, t) { +function Pg(e, t) { return function() { var n = t.apply(this, arguments); if (typeof n != "function") throw new Error(); fn(this, e).ease = n; }; } -function Vg(e) { +function Bg(e) { if (typeof e != "function") throw new Error(); - return this.each(Bg(this._id, e)); + return this.each(Pg(this._id, e)); } -function $g(e) { +function Vg(e) { typeof e != "function" && (e = e3(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 wn(o, this._parents, this._name, this._id); } -function Wg(e) { +function $g(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), p, f = 0; f < c; ++f) @@ -18273,58 +18273,58 @@ function Wg(e) { i[l] = t[l]; return new wn(i, this._parents, this._name, this._id); } -function Zg(e) { +function Wg(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 Ug(e, t, n) { - var o, r, a = Zg(t) ? Mc : fn; +function Zg(e, t, n) { + var o, r, a = Wg(t) ? Mc : fn; return function() { var i = a(this, e), l = i.on; l !== o && (r = (o = l).copy()).on(t, n), i.on = r; }; } -function qg(e, t) { +function Ug(e, t) { var n = this._id; - return arguments.length < 2 ? Qt(this.node(), n).on.on(e) : this.each(Ug(n, e, t)); + return arguments.length < 2 ? Qt(this.node(), n).on.on(e) : this.each(Zg(n, e, t)); } -function Yg(e) { +function qg(e) { return function() { var t = this.parentNode; for (var n in this.__transition) if (+n !== e) return; t && t.removeChild(this); }; } -function Gg() { - return this.on("end.remove", Yg(this._id)); +function Yg() { + return this.on("end.remove", qg(this._id)); } -function Kg(e) { +function Gg(e) { var t = this._name, n = this._id; typeof e != "function" && (e = Sc(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, p = 0; p < s; ++p) - (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ai(u[p], t, n, p, u, Qt(c, n))); + (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ri(u[p], t, n, p, u, Qt(c, n))); return new wn(a, this._parents, t, n); } -function Xg(e) { +function Kg(e) { var t = this._name, n = this._id; typeof e != "function" && (e = Jd(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 p = e.call(c, c.__data__, d, s), f, m = Qt(c, n), b = 0, y = p.length; b < y; ++b) - (f = p[b]) && ai(f, t, n, b, p, m); + (f = p[b]) && ri(f, t, n, b, p, m); a.push(p), i.push(c); } return new wn(a, i, t, n); } -var Qg = Nr.prototype.constructor; -function Jg() { - return new Qg(this._groups, this._parents); +var Xg = Or.prototype.constructor; +function Qg() { + return new Xg(this._groups, this._parents); } -function em(e, t) { +function Jg(e, t) { var n, o, r; return function() { var a = Ao(this, e), i = (this.style.removeProperty(e), Ao(this, e)); @@ -18336,91 +18336,91 @@ function E3(e) { this.style.removeProperty(e); }; } -function tm(e, t, n) { +function em(e, t, n) { var o, r = n + "", a; return function() { var i = Ao(this, e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function nm(e, t, n) { +function tm(e, t, n) { var o, r, a; return function() { var i = Ao(this, e), l = n(this), s = l + ""; return l == null && (s = l = (this.style.removeProperty(e), Ao(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); }; } -function om(e, t) { +function nm(e, t) { var n, o, r, a = "style." + t, i = "end." + a, l; return function() { var s = fn(this, e), u = s.on, c = s.value[a] == null ? l || (l = E3(t)) : void 0; (u !== n || r !== c) && (o = (n = u).copy()).on(i, r = c), s.on = o; }; } -function rm(e, t, n) { - var o = (e += "") == "transform" ? rg : w3; - return t == null ? this.styleTween(e, em(e, o)).on("end.style." + e, E3(e)) : typeof t == "function" ? this.styleTween(e, nm(e, o, Tc(this, "style." + e, t))).each(om(this._id, e)) : this.styleTween(e, tm(e, o, t), n).on("end.style." + e, null); +function om(e, t, n) { + var o = (e += "") == "transform" ? og : w3; + return t == null ? this.styleTween(e, Jg(e, o)).on("end.style." + e, E3(e)) : typeof t == "function" ? this.styleTween(e, tm(e, o, Tc(this, "style." + e, t))).each(nm(this._id, e)) : this.styleTween(e, em(e, o, t), n).on("end.style." + e, null); } -function am(e, t, n) { +function rm(e, t, n) { return function(o) { this.style.setProperty(e, t.call(this, o), n); }; } -function im(e, t, n) { +function am(e, t, n) { var o, r; function a() { var i = t.apply(this, arguments); - return i !== r && (o = (r = i) && am(e, i, n)), o; + return i !== r && (o = (r = i) && rm(e, i, n)), o; } return a._value = t, a; } -function lm(e, t, n) { +function im(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, im(e, t, n ?? "")); + return this.tween(o, am(e, t, n ?? "")); } -function sm(e) { +function lm(e) { return function() { this.textContent = e; }; } -function cm(e) { +function sm(e) { return function() { var t = e(this); this.textContent = t ?? ""; }; } -function um(e) { - return this.tween("text", typeof e == "function" ? cm(Tc(this, "text", e)) : sm(e == null ? "" : e + "")); +function cm(e) { + return this.tween("text", typeof e == "function" ? sm(Tc(this, "text", e)) : lm(e == null ? "" : e + "")); } -function dm(e) { +function um(e) { return function(t) { this.textContent = e.call(this, t); }; } -function fm(e) { +function dm(e) { var t, n; function o() { var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && dm(r)), t; + return r !== n && (t = (n = r) && um(r)), t; } return o._value = e, o; } -function hm(e) { +function fm(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, fm(e)); + return this.tween(t, dm(e)); } -function pm() { +function hm() { for (var e = this._name, t = this._id, n = S3(), 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 = Qt(s, t); - ai(s, e, n, u, i, { + ri(s, e, n, u, i, { time: c.time + c.delay + c.duration, delay: 0, duration: c.duration, @@ -18429,7 +18429,7 @@ function pm() { } return new wn(o, this._parents, e, n); } -function gm() { +function pm() { var e, t, n = this, o = n._id, r = n.size(); return new Promise(function(a, i) { var l = { value: i }, s = { value: function() { @@ -18441,74 +18441,74 @@ function gm() { }), r === 0 && a(); }); } -var mm = 0; +var gm = 0; function wn(e, t, n, o) { this._groups = e, this._parents = t, this._name = n, this._id = o; } function S3() { - return ++mm; + return ++gm; } -var gn = Nr.prototype; +var gn = Or.prototype; wn.prototype = { constructor: wn, - select: Kg, - selectAll: Xg, + select: Gg, + selectAll: Kg, selectChild: gn.selectChild, selectChildren: gn.selectChildren, - filter: $g, - merge: Wg, - selection: Jg, - transition: pm, + filter: Vg, + merge: $g, + selection: Qg, + transition: hm, call: gn.call, nodes: gn.nodes, node: gn.node, size: gn.size, empty: gn.empty, each: gn.each, - on: qg, - attr: Ag, - attrTween: Dg, - style: rm, - styleTween: lm, - text: um, - textTween: hm, - remove: Gg, - tween: vg, - delay: jg, - duration: zg, - ease: Pg, - easeVarying: Vg, - end: gm, + on: Ug, + attr: _g, + attrTween: Ng, + style: om, + styleTween: im, + text: cm, + textTween: fm, + remove: Yg, + tween: Cg, + delay: Fg, + duration: Ig, + ease: Hg, + easeVarying: Bg, + end: pm, [Symbol.iterator]: gn[Symbol.iterator] }; -function bm(e) { +function mm(e) { return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; } -var ym = { +var bm = { time: null, // Set on use. delay: 0, duration: 250, - ease: bm + ease: mm }; -function Cm(e, t) { +function ym(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 vm(e) { +function Cm(e) { var t, n; - e instanceof wn ? (t = e._id, e = e._name) : (t = S3(), (n = ym).time = Ac(), e = e == null ? null : e + ""); + e instanceof wn ? (t = e._id, e = e._name) : (t = S3(), (n = bm).time = Ac(), 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]) && ai(s, e, t, u, i, n || Cm(s, t)); + (s = i[u]) && ri(s, e, t, u, i, n || ym(s, t)); return new wn(o, this._parents, e, t); } -Nr.prototype.interrupt = bg; -Nr.prototype.transition = vm; -const ta = (e) => () => e; -function xm(e, { +Or.prototype.interrupt = mg; +Or.prototype.transition = Cm; +const ea = (e) => () => e; +function vm(e, { sourceEvent: t, target: n, transform: o, @@ -18566,34 +18566,34 @@ bn.prototype; function Rl(e) { e.stopImmediatePropagation(); } -function qo(e) { +function Uo(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function wm(e) { +function xm(e) { return (!e.ctrlKey || e.type === "wheel") && !e.button; } -function Em() { +function wm() { 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 yu() { return this.__zoom || Fn; } -function Sm(e) { +function Em(e) { return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); } -function km() { +function Sm() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function _m(e, t, n) { +function km(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 Am() { - var e = wm, t = Em, n = _m, o = Sm, r = km, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = cg, u = ni("start", "zoom", "end"), c, d, p, f = 500, m = 150, b = 0, y = 10; +function _m() { + var e = xm, t = wm, n = km, o = Em, r = Sm, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = sg, u = ti("start", "zoom", "end"), c, d, p, f = 500, m = 150, b = 0, y = 10; function g(k) { k.property("__zoom", yu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", R).filter(r).on("touchstart.zoom", F).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } @@ -18679,7 +18679,7 @@ function Am() { u.call( k, this.that, - new xm(k, { + new vm(k, { sourceEvent: this.sourceEvent, target: g, type: k, @@ -18697,9 +18697,9 @@ function Am() { (T.mouse[0][0] !== j[0] || T.mouse[0][1] !== j[1]) && (T.mouse[1] = D.invert(T.mouse[0] = j)), clearTimeout(T.wheel); else { if (D.k === I) return; - T.mouse = [j, D.invert(j)], va(this), T.start(); + T.mouse = [j, D.invert(j)], Ca(this), T.start(); } - qo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); + Uo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); function v() { T.wheel = null, T.end(); } @@ -18707,22 +18707,22 @@ function Am() { function L(k, ...N) { if (p || !e.apply(this, arguments)) return; var T = k.currentTarget, D = E(this, N, !0).event(k), I = qt(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), j = rn(k, T), v = k.clientX, z = k.clientY; - u3(k.view), Rl(k), D.mouse = [j, this.__zoom.invert(j)], va(this), D.start(); + u3(k.view), Rl(k), D.mouse = [j, this.__zoom.invert(j)], Ca(this), D.start(); function B(W) { - if (qo(W), !D.moved) { + if (Uo(W), !D.moved) { var Y = W.clientX - v, K = W.clientY - z; D.moved = Y * Y + K * K > b; } D.event(W).zoom("mouse", n(C(D.that.__zoom, D.mouse[0] = rn(W, T), D.mouse[1]), D.extent, i)); } function A(W) { - I.on("mousemove.zoom mouseup.zoom", null), d3(W.view, D.moved), qo(W), D.event(W).end(); + I.on("mousemove.zoom mouseup.zoom", null), d3(W.view, D.moved), Uo(W), D.event(W).end(); } } function R(k, ...N) { if (e.apply(this, arguments)) { var T = this.__zoom, D = rn(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(D), j = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, j), D, I), t.apply(this, N), i); - qo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); + Uo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); } } function F(k, ...N) { @@ -18732,13 +18732,13 @@ function Am() { z = T[v], B = rn(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, j = !0, I.taps = 1 + !!c); c && (c = clearTimeout(c)), j && (I.taps < 2 && (d = B[0], c = setTimeout(function() { c = null; - }, f)), va(this), I.start()); + }, f)), Ca(this), I.start()); } } function P(k, ...N) { if (this.__zooming) { var T = E(this, N).event(k), D = k.changedTouches, I = D.length, j, v, z, B; - for (qo(k), j = 0; j < I; ++j) + for (Uo(k), j = 0; j < I; ++j) v = D[j], z = rn(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); if (v = T.that.__zoom, T.touch1) { var A = T.touch0[0], W = T.touch0[1], Y = T.touch1[0], K = T.touch1[1], Q = (Q = Y[0] - A[0]) * Q + (Q = Y[1] - A[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; @@ -18763,13 +18763,13 @@ function Am() { } } return g.wheelDelta = function(k) { - return arguments.length ? (o = typeof k == "function" ? k : ta(+k), g) : o; + return arguments.length ? (o = typeof k == "function" ? k : ea(+k), g) : o; }, g.filter = function(k) { - return arguments.length ? (e = typeof k == "function" ? k : ta(!!k), g) : e; + return arguments.length ? (e = typeof k == "function" ? k : ea(!!k), g) : e; }, g.touchable = function(k) { - return arguments.length ? (r = typeof k == "function" ? k : ta(!!k), g) : r; + return arguments.length ? (r = typeof k == "function" ? k : ea(!!k), g) : r; }, g.extent = function(k) { - return arguments.length ? (t = typeof k == "function" ? k : ta([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; + return arguments.length ? (t = typeof k == "function" ? k : ea([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; }, g.scaleExtent = function(k) { return arguments.length ? (a[0] = +k[0], a[1] = +k[1], g) : [a[0], a[1]]; }, g.translateExtent = function(k) { @@ -18789,7 +18789,7 @@ function Am() { return arguments.length ? (y = +k, g) : y; }, g; } -const ii = Ht(null), Mm = ii.Provider, Xt = { +const ai = Ht(null), Am = ai.Provider, Xt = { 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".`, @@ -18804,13 +18804,13 @@ const ii = Ht(null), Mm = ii.Provider, Xt = { 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.` }, k3 = Xt.error001(); function Ze(e, t) { - const n = Je(ii); + const n = et(ai); if (n === null) throw new Error(k3); return Xd(n, e, t); } const rt = () => { - const e = Je(ii); + const e = et(ai); if (e === null) throw new Error(k3); return Be(() => ({ @@ -18819,19 +18819,19 @@ const rt = () => { subscribe: e.subscribe, destroy: e.destroy }), [e]); -}, Tm = (e) => e.userSelectionActive ? "none" : "all"; +}, Mm = (e) => e.userSelectionActive ? "none" : "all"; function _3({ position: e, children: t, className: n, style: o, ...r }) { - const a = Ze(Tm), i = `${e}`.split("-"); + const a = Ze(Mm), i = `${e}`.split("-"); return $.createElement("div", { className: bt(["react-flow__panel", n, ...i]), style: { ...o, pointerEvents: a }, ...r }, t); } -function Om({ proOptions: e, position: t = "bottom-right" }) { +function Tm({ proOptions: e, position: t = "bottom-right" }) { return e != null && e.hideAttribution ? null : $.createElement( _3, { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" }, $.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") ); } -const Nm = ({ 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 Om = ({ 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 = he(null), [p, f] = ce({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); return ue(() => { if (d.current) { @@ -18851,7 +18851,7 @@ const Nm = ({ x: e, y: t, label: n, labelStyle: o = {}, labelShowBg: r = !0, lab s ); }; -var Dm = Ye(Nm); +var Nm = Ye(Om); const Oc = (e) => ({ width: e.offsetWidth, height: e.offsetHeight @@ -18864,7 +18864,7 @@ const Oc = (e) => ({ }, M3 = (e) => { var t; return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, Lm = (e, t) => ({ +}, Dm = (e, t) => ({ x: Math.min(e.x, t.x), y: Math.min(e.y, t.y), x2: Math.max(e.x2, t.x2), @@ -18874,7 +18874,7 @@ const Oc = (e) => ({ y: t, x2: e + n, y2: t + o -}), Fm = ({ x: e, y: t, x2: n, y2: o }) => ({ +}), Lm = ({ x: e, y: t, x2: n, y2: o }) => ({ x: e, y: t, width: n - e, @@ -18886,12 +18886,12 @@ const Oc = (e) => ({ }), _s = (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); -}, jm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), T3 = ["Enter", " ", "Escape"], O3 = (e, t) => { +}, Fm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), T3 = ["Enter", " ", "Escape"], O3 = (e, t) => { process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, Rm = (e) => "nativeEvent" in e; +}, jm = (e) => "nativeEvent" in e; function As(e) { var r, a; - const t = Rm(e) ? e.nativeEvent : e, n = ((a = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : a[0]) || e.target; + const t = jm(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")); } const N3 = (e) => "clientX" in e, jn = (e, t) => { @@ -18901,18 +18901,18 @@ const N3 = (e) => "clientX" in e, jn = (e, t) => { x: o - ((t == null ? void 0 : t.left) ?? 0), y: r - ((t == null ? void 0 : t.top) ?? 0) }; -}, Ha = () => { +}, za = () => { var e; return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0; -}, zo = ({ 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: p, interactionWidth: f = 20 }) => $.createElement( +}, 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: p, interactionWidth: f = 20 }) => $.createElement( $.Fragment, null, $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: p }), f && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: f, className: "react-flow__edge-interaction" }), - r && Rt(n) && Rt(o) ? $.createElement(Dm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null + r && Rt(n) && Rt(o) ? $.createElement(Nm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null ); -zo.displayName = "BaseEdge"; -function Yo(e, t, n) { +Io.displayName = "BaseEdge"; +function qo(e, t, n) { return n === void 0 ? n : (o) => { const r = t().edges.find((a) => a.id === e); r && n(o, { ...r }); @@ -18926,26 +18926,26 @@ function L3({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourceControlX: r, 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]; } -var to; +var eo; (function(e) { e.Strict = "strict", e.Loose = "loose"; -})(to || (to = {})); -var Un; +})(eo || (eo = {})); +var Zn; (function(e) { e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})(Un || (Un = {})); -var vr; +})(Zn || (Zn = {})); +var Cr; (function(e) { e.Partial = "partial", e.Full = "full"; -})(vr || (vr = {})); +})(Cr || (Cr = {})); var Ln; (function(e) { e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; })(Ln || (Ln = {})); -var Pa; +var Ha; (function(e) { e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Pa || (Pa = {})); +})(Ha || (Ha = {})); var ie; (function(e) { e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; @@ -18993,7 +18993,7 @@ const Lc = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetY: o, targetPosition: a }); - return $.createElement(zo, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }); + return $.createElement(Io, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }); }); Lc.displayName = "SimpleBezierEdge"; const wu = { @@ -19001,9 +19001,9 @@ const wu = { [ie.Right]: { x: 1, y: 0 }, [ie.Top]: { x: 0, y: -1 }, [ie.Bottom]: { x: 0, y: 1 } -}, Im = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, Eu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function zm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { - const i = wu[t], l = wu[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 = Im({ +}, Rm = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, Eu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function Im({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { + const i = wu[t], l = wu[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 = Rm({ source: s, sourcePosition: t, target: u @@ -19049,7 +19049,7 @@ function zm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPositio n ], m, b, S, w]; } -function Hm(e, t, n, o) { +function zm(e, t, n, o) { const r = Math.min(Eu(e, t) / 2, Eu(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}`; @@ -19061,7 +19061,7 @@ function Hm(e, t, n, o) { return `L ${a},${i + r * s}Q ${a},${i} ${a + r * l},${i}`; } function Ms({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, p, f, m] = zm({ + const [c, d, p, f, m] = Im({ source: { x: e, y: t }, sourcePosition: n, target: { x: o, y: r }, @@ -19071,10 +19071,10 @@ function Ms({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, }); return [c.reduce((y, g, x) => { let C = ""; - return x > 0 && x < c.length - 1 ? C = Hm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; + return x > 0 && x < c.length - 1 ? C = zm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; }, ""), d, p, f, m]; } -const li = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { +const ii = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { const [g, x, C] = Ms({ sourceX: e, sourceY: t, @@ -19085,18 +19085,18 @@ const li = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, label borderRadius: b == null ? void 0 : b.borderRadius, offset: b == null ? void 0 : b.offset }); - return $.createElement(zo, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(Io, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); }); -li.displayName = "SmoothStepEdge"; +ii.displayName = "SmoothStepEdge"; const Fc = Ye((e) => { var t; - return $.createElement(li, { ...e, pathOptions: Be(() => { + return $.createElement(ii, { ...e, pathOptions: Be(() => { var n; return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); }); Fc.displayName = "StepEdge"; -function Pm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { +function Hm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { const [r, a, i, l] = D3({ sourceX: e, sourceY: t, @@ -19106,23 +19106,23 @@ function Pm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; } const jc = Ye(({ 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: p, interactionWidth: f }) => { - const [m, b, y] = Pm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return $.createElement(zo, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: f }); + const [m, b, y] = Hm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return $.createElement(Io, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: f }); }); jc.displayName = "StraightEdge"; -function na(e, t) { +function ta(e, t) { return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); } function Su({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { switch (e) { case ie.Left: - return [t - na(t - o, a), n]; + return [t - ta(t - o, a), n]; case ie.Right: - return [t + na(o - t, a), n]; + return [t + ta(o - t, a), n]; case ie.Top: - return [t, n - na(n - r, a)]; + return [t, n - ta(n - r, a)]; case ie.Bottom: - return [t, n + na(r - n, a)]; + return [t, n + ta(r - n, a)]; } } function j3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { @@ -19158,7 +19158,7 @@ function j3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, m ]; } -const Ba = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { +const Pa = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { const [g, x, C] = j3({ sourceX: e, sourceY: t, @@ -19168,19 +19168,19 @@ const Ba = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetPosition: a, curvature: b == null ? void 0 : b.curvature }); - return $.createElement(zo, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(Io, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: y }); }); -Ba.displayName = "BezierEdge"; -const Rc = Ht(null), Bm = Rc.Provider; +Pa.displayName = "BezierEdge"; +const Rc = Ht(null), Pm = Rc.Provider; Rc.Consumer; -const Vm = () => Je(Rc), $m = (e) => "id" in e && "source" in e && "target" in e, Wm = (e) => "id" in e && !("source" in e) && !("target" in e), Zm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Ts = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Um = (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)), qm = (e, t) => { +const Bm = () => et(Rc), Vm = (e) => "id" in e && "source" in e && "target" in e, $m = (e) => "id" in e && !("source" in e) && !("target" in e), Wm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Ts = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Zm = (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)), Um = (e, t) => { if (!e.source || !e.target) return O3("006", Xt.error006()), t; let n; - return $m(e) ? n = { ...e } : n = { + return Vm(e) ? n = { ...e } : n = { ...e, - id: Zm(e) - }, Um(n, t) ? t : t.concat(n); + id: Wm(e) + }, Zm(n, t) ? t : t.concat(n); }, Os = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { const s = { x: (e - n) / r, @@ -19219,14 +19219,14 @@ const Vm = () => Je(Rc), $m = (e) => "id" in e && "source" in e && "target" in e return { x: 0, y: 0, width: 0, height: 0 }; const n = e.reduce((o, r) => { const { x: a, y: i } = bo(r, t).positionAbsolute; - return Lm(o, Dc({ + return Dm(o, Dc({ 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 Fm(n); + return Lm(n); }, I3 = (e, t, [n, o, r] = [0, 0, 1], a = !1, i = !1, l = [0, 0]) => { const s = { x: (t.x - n) / r, @@ -19265,7 +19265,7 @@ function ku(e, t, n, o) { }), r; }, []); } -function Ym(e, t, n, o, r, a) { +function qm(e, t, n, o, r, a) { const { x: i, y: l } = jn(e), u = t.elementsFromPoint(i, l).find((m) => m.classList.contains("react-flow__handle")); if (u) { const m = u.getAttribute("data-nodeid"); @@ -19303,10 +19303,10 @@ function Ym(e, t, n, o, r, a) { const p = c.some(({ validHandleResult: m }) => m.isValid), f = c.some(({ handle: m }) => m.type === "target"); return c.find(({ handle: m, validHandleResult: b }) => f ? m.type === "target" : p ? b.isValid : !0) || c[0]; } -const Gm = { source: null, target: null, sourceHandle: null, targetHandle: null }, P3 = () => ({ +const Ym = { source: null, target: null, sourceHandle: null, targetHandle: null }, P3 = () => ({ handleDomNode: null, isValid: !1, - connection: Gm, + connection: Ym, endHandle: null }); function B3(e, t, n, o, r, a, i) { @@ -19321,7 +19321,7 @@ function B3(e, t, n, o, r, a, i) { target: l ? n : d, targetHandle: l ? o : p }; - u.connection = b, f && m && (t === to.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { + u.connection = b, f && m && (t === eo.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { nodeId: d, handleId: p, type: c @@ -19329,7 +19329,7 @@ function B3(e, t, n, o, r, a, i) { } return u; } -function Km({ nodes: e, nodeId: t, handleId: n, handleType: o }) { +function Gm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { return e.reduce((r, a) => { if (a[qe]) { const { handleBounds: i } = a[qe]; @@ -19345,7 +19345,7 @@ function zc(e, t) { function Il(e) { e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); } -function Xm(e, t) { +function Km(e, t) { let n = null; return t ? n = "valid" : e && !t && (n = "invalid"), n; } @@ -19356,7 +19356,7 @@ function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getSt if (!L || !_) return; let R, F = jn(e, L), P = !1, V = null, k = !1, N = null; - const T = Km({ + const T = Gm({ nodes: g(), nodeId: n, handleId: t, @@ -19384,13 +19384,13 @@ function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getSt function I(v) { const { transform: z } = a(); F = jn(v, L); - const { handle: B, validHandleResult: A } = Ym(v, c, Os(F, z, !1, [1, 1]), m, T, (W) => B3(W, d, n, t, r ? "target" : "source", l, c)); + const { handle: B, validHandleResult: A } = qm(v, c, Os(F, z, !1, [1, 1]), m, T, (W) => B3(W, d, n, t, r ? "target" : "source", l, c)); if (S = B, P || (D(), P = !0), N = A.handleDomNode, V = A.connection, k = A.isValid, i({ connectionPosition: S && k ? R3({ x: S.x, y: S.y }, z) : F, - connectionStatus: Xm(!!S, k), + connectionStatus: Km(!!S, k), connectionEndHandle: A.endHandle }), !S && !k && !N) return Il(R); @@ -19402,11 +19402,11 @@ function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getSt } c.addEventListener("mousemove", I), c.addEventListener("mouseup", j), c.addEventListener("touchmove", I), c.addEventListener("touchend", j); } -const _u = () => !0, Qm = (e) => ({ +const _u = () => !0, Xm = (e) => ({ connectionStartHandle: e.connectionStartHandle, connectOnClick: e.connectOnClick, noPanClassName: e.noPanClassName -}), Jm = (e, t, n) => (o) => { +}), Qm = (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, @@ -19414,7 +19414,7 @@ const _u = () => !0, Qm = (e) => ({ }; }, $3 = Js(({ type: e = "source", position: t = ie.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...p }, f) => { var L, R; - const m = i || null, b = e === "target", y = rt(), g = Vm(), { connectOnClick: x, noPanClassName: C } = Ze(Qm, ut), { connecting: S, clickConnecting: w } = Ze(Jm(g, m, e), ut); + const m = i || null, b = e === "target", y = rt(), g = Bm(), { connectOnClick: x, noPanClassName: C } = Ze(Xm, ut), { connecting: S, clickConnecting: w } = Ze(Qm(g, m, e), ut); g || (R = (L = y.getState()).onError) == null || R.call(L, "010", Xt.error010()); const E = (F) => { const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), N = { @@ -19423,7 +19423,7 @@ const _u = () => !0, Qm = (e) => ({ }; if (k) { const { edges: T, setEdges: D } = y.getState(); - D(qm(N, T)); + D(Um(N, T)); } V == null || V(N), l == null || l(N); }, M = (F) => { @@ -19502,27 +19502,27 @@ q3.displayName = "OutputNode"; var Y3 = Ye(q3); const Hc = () => null; Hc.displayName = "GroupNode"; -const eb = (e) => ({ +const Jm = (e) => ({ selectedNodes: e.getNodes().filter((t) => t.selected), selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), oa = (e) => e.id; -function tb(e, t) { - return ut(e.selectedNodes.map(oa), t.selectedNodes.map(oa)) && ut(e.selectedEdges.map(oa), t.selectedEdges.map(oa)); +}), na = (e) => e.id; +function eb(e, t) { + return ut(e.selectedNodes.map(na), t.selectedNodes.map(na)) && ut(e.selectedEdges.map(na), t.selectedEdges.map(na)); } const G3 = Ye(({ onSelectionChange: e }) => { - const t = rt(), { selectedNodes: n, selectedEdges: o } = Ze(eb, tb); + const t = rt(), { selectedNodes: n, selectedEdges: o } = Ze(Jm, eb); return ue(() => { const r = { nodes: n, edges: o }; e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); }, [n, o, e]), null; }); G3.displayName = "SelectionListener"; -const nb = (e) => !!e.onSelectionChange; -function ob({ onSelectionChange: e }) { - const t = Ze(nb); +const tb = (e) => !!e.onSelectionChange; +function nb({ onSelectionChange: e }) { + const t = Ze(tb); return e || t ? $.createElement(G3, { onSelectionChange: e }) : null; } -const rb = (e) => ({ +const ob = (e) => ({ setNodes: e.setNodes, setEdges: e.setEdges, setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, @@ -19532,7 +19532,7 @@ const rb = (e) => ({ setNodeExtent: e.setNodeExtent, reset: e.reset }); -function lo(e, t) { +function io(e, t) { ue(() => { typeof e < "u" && t(e); }, [e]); @@ -19542,15 +19542,15 @@ function Ce(e, t, n) { typeof t < "u" && n({ [e]: t }); }, [t]); } -const ab = ({ 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: p, edgesUpdatable: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: F, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: j, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { - const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: $e, reset: Ee } = Ze(rb, ut), le = rt(); +const rb = ({ 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: p, edgesUpdatable: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: F, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: j, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { + const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: $e, reset: Ee } = Ze(ob, ut), le = rt(); return ue(() => { const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...R })); return J(n, Ge), () => { Ee(); }; - }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", F, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", j, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), lo(e, U), lo(t, ge), lo(b, ke), lo(y, ae), lo(_, _e), lo(g, $e), null; -}, Au = { display: "none" }, ib = { + }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", F, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", j, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), io(e, U), io(t, ge), io(b, ke), io(y, ae), io(_, _e), io(g, $e), null; +}, Au = { display: "none" }, ab = { position: "absolute", width: 1, height: 1, @@ -19560,12 +19560,12 @@ const ab = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: r overflow: "hidden", clip: "rect(0px, 0px, 0px, 0px)", clipPath: "inset(100%)" -}, K3 = "react-flow__node-desc", X3 = "react-flow__edge-desc", lb = "react-flow__aria-live", sb = (e) => e.ariaLiveMessage; -function cb({ rfId: e }) { - const t = Ze(sb); - return $.createElement("div", { id: `${lb}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: ib }, t); +}, K3 = "react-flow__node-desc", X3 = "react-flow__edge-desc", ib = "react-flow__aria-live", lb = (e) => e.ariaLiveMessage; +function sb({ rfId: e }) { + const t = Ze(lb); + return $.createElement("div", { id: `${ib}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: ab }, t); } -function ub({ rfId: e, disableKeyboardA11y: t }) { +function cb({ rfId: e, disableKeyboardA11y: t }) { return $.createElement( $.Fragment, null, @@ -19578,10 +19578,10 @@ function ub({ rfId: e, disableKeyboardA11y: t }) { " " ), $.createElement("div", { id: `${X3}-${e}`, style: Au }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && $.createElement(cb, { rfId: e }) + !t && $.createElement(sb, { rfId: e }) ); } -var xr = (e = null, t = { actInsideInputWithModifier: !0 }) => { +var vr = (e = null, t = { actInsideInputWithModifier: !0 }) => { const [n, o] = ce(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = Be(() => { if (e !== null) { const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, p) => d.concat(...p), []); @@ -19684,7 +19684,7 @@ function ef(e, t = {}) { } return !1; } -function db(e, t) { +function ub(e, t) { return e.forEach((n) => { const o = t.get(n.id); o && t.set(o.id, { @@ -19694,36 +19694,36 @@ function db(e, t) { }); }), new Map(t); } -function fb(e, t) { +function db(e, t) { return t.map((n) => { const o = e.find((r) => r.id === n.id); return o && (n.selected = o.selected), n; }); } -function ra({ changedNodes: e, changedEdges: t, get: n, set: o }) { +function oa({ 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: db(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: fb(t, a) }), l == null || l(t)); + e != null && e.length && (s && o({ nodeInternals: ub(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: db(t, a) }), l == null || l(t)); } -const so = () => { -}, hb = { - zoomIn: so, - zoomOut: so, - zoomTo: so, +const lo = () => { +}, fb = { + zoomIn: lo, + zoomOut: lo, + zoomTo: lo, getZoom: () => 1, - setViewport: so, + setViewport: lo, getViewport: () => ({ x: 0, y: 0, zoom: 1 }), fitView: () => !1, - setCenter: so, - fitBounds: so, + setCenter: lo, + fitBounds: lo, project: (e) => e, screenToFlowPosition: (e) => e, flowToScreenPosition: (e) => e, viewportInitialized: !1 -}, pb = (e) => ({ +}, hb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection -}), gb = () => { - const e = rt(), { d3Zoom: t, d3Selection: n } = Ze(pb, ut); +}), pb = () => { + const e = rt(), { d3Zoom: t, d3Selection: n } = Ze(hb, ut); return Be(() => n && t ? { zoomIn: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), zoomOut: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), @@ -19772,10 +19772,10 @@ const so = () => { }; }, viewportInitialized: !0 - } : hb, [t, n]); + } : fb, [t, n]); }; function Jt() { - const e = gb(), t = rt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { + const e = pb(), t = rt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { const { edges: b = [] } = t.getState(); return b.map((y) => ({ ...y })); }, []), a = Me((b) => { @@ -19847,7 +19847,7 @@ function Jt() { } } }, []), p = Me((b) => { - const y = jm(b), g = y ? null : t.getState().nodeInternals.get(b.id); + const y = Fm(b), g = y ? null : t.getState().nodeInternals.get(b.id); return !y && !g ? [null, null, y] : [y ? b : vu(g), g, y]; }, []), f = Me((b, y = !0, g) => { const [x, C, S] = p(b); @@ -19894,9 +19894,9 @@ function Jt() { m ]); } -const mb = { actInsideInputWithModifier: !1 }; -var bb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = rt(), { deleteElements: o } = Jt(), r = xr(e, mb), a = xr(t); +const gb = { actInsideInputWithModifier: !1 }; +var mb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = rt(), { deleteElements: o } = Jt(), r = vr(e, gb), a = vr(t); ue(() => { if (r) { const { edges: i, getNodes: l } = n.getState(), s = l().filter((c) => c.selected), u = i.filter((c) => c.selected); @@ -19906,7 +19906,7 @@ var bb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { n.setState({ multiSelectionActive: a }); }, [a]); }; -function yb(e) { +function bb(e) { const t = rt(); ue(() => { let n; @@ -19928,23 +19928,23 @@ const Pc = { height: "100%", top: 0, left: 0 -}, Cb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, aa = (e) => ({ +}, yb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ra = (e) => ({ x: e.x, y: e.y, zoom: e.k -}), co = (e, t) => e.target.closest(`.${t}`), Ou = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Nu = (e) => { - const t = e.ctrlKey && Ha() ? 10 : 1; +}), so = (e, t) => e.target.closest(`.${t}`), Ou = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Nu = (e) => { + const t = e.ctrlKey && za() ? 10 : 1; return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, vb = (e) => ({ +}, Cb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection, d3ZoomHandler: e.d3ZoomHandler, userSelectionActive: e.userSelectionActive -}), xb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = Un.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { - const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: F, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(vb, ut), N = xr(y), T = he(0), D = he(!1), I = he(); - return yb(L), ue(() => { +}), vb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = Zn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { + const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: F, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(Cb, ut), N = vr(y), T = he(0), D = he(!1), I = he(); + return bb(L), ue(() => { if (L.current) { - const j = L.current.getBoundingClientRect(), v = Am().scaleExtent([m, b]).translateExtent(f), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(To(p.zoom, m, b)), A = [ + const j = L.current.getBoundingClientRect(), v = _m().scaleExtent([m, b]).translateExtent(f), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(To(p.zoom, m, b)), A = [ [0, 0], [j.width, j.height] ], W = v.constrain()(B, A, f); @@ -19959,7 +19959,7 @@ const Pc = { } }, []), ue(() => { P && F && (i && !N && !k ? P.on("wheel.zoom", (j) => { - if (co(j, C)) + if (so(j, C)) return !1; j.preventDefault(), j.stopImmediatePropagation(); const v = P.property("__zoom").k || 1; @@ -19969,20 +19969,20 @@ const Pc = { return; } const z = j.deltaMode === 1 ? 20 : 1; - let B = s === Un.Vertical ? 0 : j.deltaX * z, A = s === Un.Horizontal ? 0 : j.deltaY * z; - !Ha() && j.shiftKey && s !== Un.Vertical && (B = j.deltaY * z, A = 0), F.translateBy( + let B = s === Zn.Vertical ? 0 : j.deltaX * z, A = s === Zn.Horizontal ? 0 : j.deltaY * z; + !za() && j.shiftKey && s !== Zn.Vertical && (B = j.deltaY * z, A = 0), F.translateBy( P, -(B / v) * l, -(A / v) * l, // @ts-ignore { internal: !0 } ); - const W = aa(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); + const W = ra(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); clearTimeout(I.current), D.current || (D.current = !0, t == null || t(j, W), Y == null || Y(W)), D.current && (e == null || e(j, W), K == null || K(W), I.current = setTimeout(() => { n == null || n(j, W), Q == null || Q(W), D.current = !1; }, 150)); }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(j, v) { - if (!g && j.type === "wheel" && !j.ctrlKey || co(j, C)) + if (!g && j.type === "wheel" && !j.ctrlKey || so(j, C)) return null; j.preventDefault(), V.call(this, j, v); }, { passive: !1 })); @@ -20006,7 +20006,7 @@ const Pc = { if (!j.sourceEvent || j.sourceEvent.internal) return null; T.current = (B = j.sourceEvent) == null ? void 0 : B.button; - const { onViewportChangeStart: v } = E.getState(), z = aa(j.transform); + const { onViewportChangeStart: v } = E.getState(), z = ra(j.transform); M.current = !0, R.current = z, ((A = j.sourceEvent) == null ? void 0 : A.type) === "mousedown" && E.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(j.sourceEvent, z); }); }, [F, t]), ue(() => { @@ -20014,7 +20014,7 @@ const Pc = { var z; const { onViewportChange: v } = E.getState(); if (E.setState({ transform: [j.transform.x, j.transform.y, j.transform.k] }), _.current = !!(o && Ou(d, T.current ?? 0)), (e || v) && !((z = j.sourceEvent) != null && z.internal)) { - const B = aa(j.transform); + const B = ra(j.transform); v == null || v(B), e == null || e(j.sourceEvent, B); } })); @@ -20023,8 +20023,8 @@ const Pc = { if (!j.sourceEvent || j.sourceEvent.internal) return null; const { onViewportChangeEnd: v } = E.getState(); - if (M.current = !1, E.setState({ paneDragging: !1 }), o && Ou(d, T.current ?? 0) && !_.current && o(j.sourceEvent), _.current = !1, (n || v) && Cb(R.current, j.transform)) { - const z = aa(j.transform); + if (M.current = !1, E.setState({ paneDragging: !1 }), o && Ou(d, T.current ?? 0) && !_.current && o(j.sourceEvent), _.current = !1, (n || v) && yb(R.current, j.transform)) { + const z = ra(j.transform); R.current = z, clearTimeout(w.current), w.current = setTimeout(() => { v == null || v(z), n == null || n(j.sourceEvent, z); }, i ? 150 : 0); @@ -20033,9 +20033,9 @@ const Pc = { }, [F, i, d, n, o]), ue(() => { F && F.filter((j) => { const v = N || r, z = a && j.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && j.button === 1 && j.type === "mousedown" && (co(j, "react-flow__node") || co(j, "react-flow__edge"))) + if ((d === !0 || Array.isArray(d) && d.includes(1)) && j.button === 1 && j.type === "mousedown" && (so(j, "react-flow__node") || so(j, "react-flow__edge"))) return !0; - if (!d && !v && !i && !u && !a || k || !u && j.type === "dblclick" || co(j, C) && j.type === "wheel" || co(j, S) && (j.type !== "wheel" || i && j.type === "wheel" && !N) || !a && j.ctrlKey && j.type === "wheel" || !v && !i && !z && j.type === "wheel" || !d && (j.type === "mousedown" || j.type === "touchstart") || Array.isArray(d) && !d.includes(j.button) && j.type === "mousedown") + if (!d && !v && !i && !u && !a || k || !u && j.type === "dblclick" || so(j, C) && j.type === "wheel" || so(j, S) && (j.type !== "wheel" || i && j.type === "wheel" && !N) || !a && j.ctrlKey && j.type === "wheel" || !v && !i && !z && j.type === "wheel" || !d && (j.type === "mousedown" || j.type === "touchstart") || Array.isArray(d) && !d.includes(j.button) && j.type === "mousedown") return !1; const B = Array.isArray(d) && d.includes(j.button) || !j.button || j.button <= 1; return (!j.ctrlKey || j.type === "wheel") && B; @@ -20051,12 +20051,12 @@ const Pc = { c, N ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Pc }, x); -}, wb = (e) => ({ +}, xb = (e) => ({ userSelectionActive: e.userSelectionActive, userSelectionRect: e.userSelectionRect }); -function Eb() { - const { userSelectionActive: e, userSelectionRect: t } = Ze(wb, ut); +function wb() { + const { userSelectionActive: e, userSelectionRect: t } = Ze(xb, ut); return e && t ? $.createElement("div", { className: "react-flow__selection react-flow__container", style: { width: t.width, height: t.height, @@ -20080,7 +20080,7 @@ function Du(e, t) { } } } -function Sb(e, t) { +function Eb(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); @@ -20110,8 +20110,8 @@ function Sb(e, t) { return o.push(i), o; }, n); } -function kb(e, t) { - return Sb(e, t); +function Sb(e, t) { + return Eb(e, t); } const Dn = (e, t) => ({ id: e, @@ -20126,12 +20126,12 @@ function fo(e, t) { } const Hl = (e, t) => (n) => { n.target === t.current && (e == null || e(n)); -}, _b = (e) => ({ +}, kb = (e) => ({ userSelectionActive: e.userSelectionActive, elementsSelectable: e.elementsSelectable, dragging: e.paneDragging -}), tf = Ye(({ isSelecting: e, selectionMode: t = vr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const p = he(null), f = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(_b, ut), S = () => { +}), tf = Ye(({ isSelecting: e, selectionMode: t = Cr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { + const p = he(null), f = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(kb, ut), S = () => { f.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; }, w = (V) => { a == null || a(V), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 }); @@ -20167,7 +20167,7 @@ const Hl = (e, t) => (n) => { y: B.y < W ? B.y : W, width: Math.abs(B.x - A), height: Math.abs(B.y - W) - }, K = z(), Q = I3(N, Y, D, t === vr.Partial, !0, v), ne = z3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); + }, K = z(), Q = I3(N, Y, D, t === Cr.Partial, !0, v), ne = z3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); if (m.current !== oe.length) { m.current = oe.length; const U = fo(K, oe); @@ -20193,7 +20193,7 @@ const Hl = (e, t) => (n) => { "div", { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Hl(w, p), onContextMenu: Hl(E, p), onWheel: Hl(M, p), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? R : void 0, onMouseLeave: P ? F : c, ref: p, style: Pc }, d, - $.createElement(Eb, null) + $.createElement(wb, null) ); }); tf.displayName = "Pane"; @@ -20215,7 +20215,7 @@ function Lu(e, t, n) { } while (o); return !1; } -function Ab(e, t, n, o) { +function _b(e, t, n, o) { return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !nf(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { var a, i; return { @@ -20239,11 +20239,11 @@ function Ab(e, t, n, o) { }; }); } -function Mb(e, t) { +function Ab(e, t) { return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; } function of(e, t, n, o, r = [0, 0], a) { - const i = Mb(e, e.extent || o); + const i = Ab(e, e.extent || o); let l = i; const s = e.parentNode || e.parentId; if (e.extent === "parent" && !e.expandParent) @@ -20306,7 +20306,7 @@ const Fu = (e, t, n, o) => { }; }); }; -function Go(e, t, n) { +function Yo(e, t, n) { return n === void 0 ? n : (o) => { const r = t().nodeInternals.get(e); r && n(o, { ...r }); @@ -20323,7 +20323,7 @@ function Ds({ id: e, store: t, unselect: n = !1, nodeRef: o }) { return (c = o == null ? void 0 : o.current) == null ? void 0 : c.blur(); })) : r([e]); } -function Tb() { +function Mb() { const e = rt(); return Me(({ 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 = { @@ -20341,7 +20341,7 @@ function Bl(e) { return (t, n, o) => e == null ? void 0 : e(t, o); } function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { - const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), f = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Tb(); + const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), f = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Mb(); return ue(() => { if (e != null && e.current) { const S = qt(e.current), w = ({ x: _, y: L }) => { @@ -20394,7 +20394,7 @@ function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: nodeRef: e }); const T = C(_); - if (d.current = T, c.current = Ab(L, F, T, r), N && c.current) { + if (d.current = T, c.current = _b(L, F, T, r), N && c.current) { const [I, j] = Pl({ nodeId: r, dragItems: c.current, @@ -20406,7 +20406,7 @@ function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: if (t) S.on(".drag", null); else { - const _ = Ip().on("start", (L) => { + const _ = Rp().on("start", (L) => { const { domNode: R, nodeDragThreshold: F } = l.getState(); F === 0 && M(L), x.current = !1; const P = C(L); @@ -20475,9 +20475,9 @@ const yo = { ArrowLeft: { x: -1, y: 0 }, ArrowRight: { x: 1, y: 0 } }; -var Ko = (e) => { +var Go = (e) => { const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: p, onMouseLeave: f, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: w, selectNodesOnDrag: E, sourcePosition: M, targetPosition: _, hidden: L, resizeObserver: R, dragHandle: F, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: D, ariaLabel: I, rfId: j, hasHandleBounds: v }) => { - const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || f, ne = af(), oe = Go(n, z.getState, d), U = Go(n, z.getState, p), ge = Go(n, z.getState, f), J = Go(n, z.getState, m), ke = Go(n, z.getState, b), ae = (Ee) => { + const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || f, ne = af(), oe = Yo(n, z.getState, d), U = Yo(n, z.getState, p), ge = Yo(n, z.getState, f), J = Yo(n, z.getState, m), ke = Yo(n, z.getState, b), ae = (Ee) => { const { nodeDragThreshold: le } = z.getState(); if (C && (!E || !x || le > 0) && Ds({ id: n, @@ -20549,7 +20549,7 @@ var Ko = (e) => { ...y }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": D ? void 0 : `${K3}-${j}`, "aria-label": I }, $.createElement( - Bm, + Pm, { value: n }, $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: M, targetPosition: _, dragging: $e, dragHandle: F, zIndex: P }) ) @@ -20557,7 +20557,7 @@ var Ko = (e) => { }; return t.displayName = "NodeWrapper", Ye(t); }; -const Ob = (e) => { +const Tb = (e) => { const t = e.getNodes().filter((n) => n.selected); return { ...Ic(t, e.nodeOrigin), @@ -20565,8 +20565,8 @@ const Ob = (e) => { userSelectionActive: e.userSelectionActive }; }; -function Nb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ze(Ob, ut), c = af(), d = he(null); +function Ob({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { + const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ze(Tb, ut), c = af(), d = he(null); if (ue(() => { var m; n || (m = d.current) == null || m.focus({ @@ -20599,41 +20599,41 @@ function Nb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: } }) ); } -var Db = Ye(Nb); -const Lb = (e) => e.nodesSelectionActive, lf = ({ 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: p, selectionMode: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: j }) => { - const v = Ze(Lb), z = xr(d), B = xr(g), A = B || R, W = B || E, Y = z || p && A !== !0; - return bb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( - xb, +var Nb = Ye(Ob); +const Db = (e) => e.nodesSelectionActive, lf = ({ 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: p, selectionMode: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: j }) => { + const v = Ze(Db), z = vr(d), B = vr(g), A = B || R, W = B || E, Y = z || p && A !== !0; + return mb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( + vb, { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: D, noPanClassName: I }, $.createElement( tf, { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: A, isSelecting: !!Y, selectionMode: f }, e, - v && $.createElement(Db, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: j }) + v && $.createElement(Nb, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: j }) ) ); }; lf.displayName = "FlowRenderer"; -var Fb = Ye(lf); -function jb(e) { +var Lb = Ye(lf); +function Fb(e) { return Ze(Me((n) => e ? I3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); } -function Rb(e) { +function jb(e) { const t = { - input: Ko(e.input || U3), - default: Ko(e.default || Ns), - output: Ko(e.output || Y3), - group: Ko(e.group || Hc) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Ko(e[a] || Ns), r), n); + input: Go(e.input || U3), + default: Go(e.default || Ns), + output: Go(e.output || Y3), + group: Go(e.group || Hc) + }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Go(e[a] || Ns), r), n); return { ...t, ...o }; } -const Ib = ({ 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 } : { +const Rb = ({ 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] -}, zb = (e) => ({ +}, Ib = (e) => ({ nodesDraggable: e.nodesDraggable, nodesConnectable: e.nodesConnectable, nodesFocusable: e.nodesFocusable, @@ -20641,7 +20641,7 @@ const Ib = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e updateNodeDimensions: e.updateNodeDimensions, onError: e.onError }), sf = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ze(zb, ut), l = jb(e.onlyRenderVisibleElements), s = he(), u = Be(() => { + const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ze(Ib, ut), l = Fb(e.onlyRenderVisibleElements), s = he(), u = Be(() => { if (typeof ResizeObserver > "u") return null; const c = new ResizeObserver((d) => { @@ -20661,7 +20661,7 @@ const Ib = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e var w, E, M; let d = c.type || "default"; e.nodeTypes[d] || (i == null || i("003", Xt.error003(d)), d = "default"); - const p = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Nc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = Ib({ + const p = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Nc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = Rb({ x, y: C, width: c.width ?? 0, @@ -20672,21 +20672,21 @@ const Ib = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e })); }; sf.displayName = "NodeRenderer"; -var Hb = Ye(sf); -const Pb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Bb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, ju = "react-flow__edgeupdater", Ru = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([ju, `${ju}-${l}`]), cx: Pb(t, o, e), cy: Bb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Vb = () => !0; -var uo = (e) => { +var zb = Ye(sf); +const Hb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Pb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, ju = "react-flow__edgeupdater", Ru = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([ju, `${ju}-${l}`]), cx: Hb(t, o, e), cy: Pb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Bb = () => !0; +var co = (e) => { const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, elementsSelectable: L, hidden: R, sourceHandleId: F, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: D, onReconnect: I, onReconnectStart: j, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { const U = he(null), [ge, J] = ce(!1), [ke, ae] = ce(!1), _e = rt(), $e = Be(() => `url('#${Ts(B, A)}')`, [B, A]), Ee = Be(() => `url('#${Ts(z, A)}')`, [z, A]); if (R) return null; const le = (de) => { var Se; - const { edges: Ve, addSelectedEdges: et, unselectNodesAndEdges: Qe, multiSelectionActive: ht } = _e.getState(), it = Ve.find((Wt) => Wt.id === n); - it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (Qe({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : et([n])), i && i(de, it)); - }, Ge = Yo(n, _e.getState, l), Ot = Yo(n, _e.getState, V), en = Yo(n, _e.getState, k), Nt = Yo(n, _e.getState, N), tn = Yo(n, _e.getState, T), St = (de, Ve) => { + const { edges: Ve, addSelectedEdges: tt, unselectNodesAndEdges: Qe, multiSelectionActive: ht } = _e.getState(), it = Ve.find((Wt) => Wt.id === n); + it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (Qe({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : tt([n])), i && i(de, it)); + }, Ge = qo(n, _e.getState, l), Ot = qo(n, _e.getState, V), en = qo(n, _e.getState, k), Nt = qo(n, _e.getState, N), tn = qo(n, _e.getState, T), St = (de, Ve) => { if (de.button !== 0) return; - const { edges: et, isValidConnection: Qe } = _e.getState(), ht = Ve ? x : g, it = (Ve ? P : F) || null, Se = Ve ? "target" : "source", Wt = Qe || Vb, lt = Ve, kn = et.find((Zt) => Zt.id === n); + const { edges: tt, isValidConnection: Qe } = _e.getState(), ht = Ve ? x : g, it = (Ve ? P : F) || null, Se = Ve ? "target" : "source", Wt = Qe || Bb, lt = Ve, kn = tt.find((Zt) => Zt.id === n); ae(!0), j == null || j(de, kn, Se); const nn = (Zt) => { ae(!1), v == null || v(Zt, kn, Se); @@ -20706,8 +20706,8 @@ var uo = (e) => { }, $t = (de) => St(de, !0), Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !L && !i, xe = (de) => { var Ve; if (!oe && T3.includes(de.key) && L) { - const { unselectNodesAndEdges: et, addSelectedEdges: Qe, edges: ht } = _e.getState(); - de.key === "Escape" ? ((Ve = U.current) == null || Ve.blur(), et({ edges: [ht.find((Se) => Se.id === n)] })) : Qe([n]); + const { unselectNodesAndEdges: tt, addSelectedEdges: Qe, edges: ht } = _e.getState(); + de.key === "Escape" ? ((Ve = U.current) == null || Ve.blur(), tt({ edges: [ht.find((Se) => Se.id === n)] })) : Qe([n]); } }; return $.createElement( @@ -20729,14 +20729,14 @@ var uo = (e) => { }; return t.displayName = "EdgeWrapper", Ye(t); }; -function $b(e) { +function Vb(e) { const t = { - default: uo(e.default || Ba), - straight: uo(e.bezier || jc), - step: uo(e.step || Fc), - smoothstep: uo(e.step || li), - simplebezier: uo(e.simplebezier || Lc) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = uo(e[a] || Ba), r), n); + default: co(e.default || Pa), + straight: co(e.bezier || jc), + step: co(e.step || Fc), + smoothstep: co(e.step || ii), + simplebezier: co(e.simplebezier || Lc) + }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = co(e[a] || Pa), r), n); return { ...t, ...o @@ -20770,7 +20770,7 @@ function Iu(e, t, n = null) { function zu(e, t) { return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; } -const Wb = (e, t, n, o, r, a) => { +const $b = (e, t, n, o, r, a) => { const i = Iu(n, e, t), l = Iu(a, o, r); return { sourceX: i.x, @@ -20779,7 +20779,7 @@ const Wb = (e, t, n, o, r, a) => { targetY: l.y }; }; -function Zb({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targetWidth: r, targetHeight: a, width: i, height: l, transform: s }) { +function Wb({ 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), @@ -20809,8 +20809,8 @@ function Hu(e) { !!n ]; } -const Ub = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function qb(e, t, n = !1) { +const Zb = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function Ub(e, t, n = !1) { let o = -1; const r = e.reduce((i, l) => { var c, d; @@ -20829,12 +20829,12 @@ function qb(e, t, n = !1) { isMaxLevel: s === o }; }); - return a.length === 0 ? Ub : a; + return a.length === 0 ? Zb : a; } -function Yb(e, t, n) { +function qb(e, t, n) { const o = Ze(Me((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) && Zb({ + 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) && Wb({ sourcePos: i.positionAbsolute || { x: 0, y: 0 }, targetPos: l.positionAbsolute || { x: 0, y: 0 }, sourceWidth: i.width, @@ -20846,34 +20846,34 @@ function Yb(e, t, n) { transform: r.transform }); }) : r.edges, [e, t])); - return qb(o, t, n); + return Ub(o, t, n); } -const Gb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +const Yb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Kb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Gb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, fill: e, strokeWidth: t }, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Pu = { - [Pa.Arrow]: Gb, - [Pa.ArrowClosed]: Kb + [Ha.Arrow]: Yb, + [Ha.ArrowClosed]: Gb }; -function Xb(e) { +function Kb(e) { const t = rt(); return Be(() => { var r, a; return Object.prototype.hasOwnProperty.call(Pu, e) ? Pu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Xt.error009(e)), null); }, [e]); } -const Qb = ({ 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 = Xb(t); +const Xb = ({ 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 = Kb(t); return s ? $.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" }, $.createElement(s, { color: n, strokeWidth: i }) ) : null; -}, Jb = ({ defaultColor: e, rfId: t }) => (n) => { +}, Qb = ({ defaultColor: e, rfId: t }) => (n) => { const o = []; return n.edges.reduce((r, a) => ([a.markerStart, a.markerEnd].forEach((i) => { if (i && typeof i == "object") { @@ -20883,15 +20883,15 @@ const Qb = ({ id: e, type: t, color: n, width: o = 12.5, height: r = 12.5, marke }), r), []).sort((r, a) => r.id.localeCompare(a.id)); }, cf = ({ defaultColor: e, rfId: t }) => { const n = Ze( - Me(Jb({ defaultColor: e, rfId: t }), [e, t]), + Me(Qb({ 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 $.createElement("defs", null, n.map((o) => $.createElement(Qb, { 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 }))); + return $.createElement("defs", null, n.map((o) => $.createElement(Xb, { 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 }))); }; cf.displayName = "MarkerDefinitions"; -var ey = Ye(cf); -const ty = (e) => ({ +var Jb = Ye(cf); +const ey = (e) => ({ nodesConnectable: e.nodesConnectable, edgesFocusable: e.edgesFocusable, edgesUpdatable: e.edgesUpdatable, @@ -20902,24 +20902,24 @@ const ty = (e) => ({ nodeInternals: e.nodeInternals, onError: e.onError }), uf = ({ 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: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { - const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ze(ty, ut), R = Yb(t, _, n); + const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ze(ey, ut), R = qb(t, _, n); return w ? $.createElement( $.Fragment, null, R.map(({ level: F, edges: P, isMaxLevel: V }) => $.createElement( "svg", { key: F, style: { zIndex: F }, width: w, height: E, className: "react-flow__edges react-flow__container" }, - V && $.createElement(ey, { defaultColor: e, rfId: o }), + V && $.createElement(Jb, { defaultColor: e, rfId: o }), $.createElement("g", null, P.map((k) => { const [N, T, D] = Hu(_.get(k.source)), [I, j, v] = Hu(_.get(k.target)); if (!D || !v) return null; let z = k.type || "default"; r[z] || (L == null || L("011", Xt.error011(z)), z = "default"); - const B = r[z] || r.default, A = M === to.Strict ? j.target : (j.target ?? []).concat(j.source ?? []), W = zu(T.source, k.sourceHandle), Y = zu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); + const B = r[z] || r.default, A = M === eo.Strict ? j.target : (j.target ?? []).concat(j.source ?? []), W = zu(T.source, k.sourceHandle), Y = zu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); if (!W || !Y) return L == null || L("008", Xt.error008(W, k)), null; - const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = Wb(N, W, K, I, Y, Q); + const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = $b(N, W, K, I, Y, Q); return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); })) )), @@ -20927,19 +20927,19 @@ const ty = (e) => ({ ) : null; }; uf.displayName = "EdgeRenderer"; -var ny = Ye(uf); -const oy = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function ry({ children: e }) { - const t = Ze(oy); +var ty = Ye(uf); +const ny = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function oy({ children: e }) { + const t = Ze(ny); return $.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); } -function ay(e) { +function ry(e) { const t = Jt(), n = he(!1); ue(() => { !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); }, [e, t.viewportInitialized]); } -const iy = { +const ay = { [ie.Left]: ie.Right, [ie.Right]: ie.Left, [ie.Top]: ie.Bottom, @@ -20954,9 +20954,9 @@ const iy = { connectionMode: L.connectionMode }), [e]), ut), d = (E = i == null ? void 0 : i[qe]) == null ? void 0 : E.handleBounds; let p = d == null ? void 0 : d[t]; - if (c === to.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) + if (c === eo.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) return null; - const f = l ? p.find((L) => L.id === l) : p[0], m = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, b = f ? f.y + f.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? iy[x] : null; + const f = l ? p.find((L) => L.id === l) : p[0], m = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, b = f ? f.y + f.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? ay[x] : null; if (!x || !C) return null; if (r) @@ -20976,7 +20976,7 @@ const iy = { }) : o === Ln.SmoothStep ? [S] = Ms(w) : o === Ln.SimpleBezier ? [S] = F3(w) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); }; df.displayName = "ConnectionLine"; -const ly = (e) => ({ +const iy = (e) => ({ nodeId: e.connectionNodeId, handleType: e.connectionHandleType, nodesConnectable: e.nodesConnectable, @@ -20984,8 +20984,8 @@ const ly = (e) => ({ width: e.width, height: e.height }); -function sy({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ze(ly, ut); +function ly({ containerStyle: e, style: t, type: n, component: o }) { + const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ze(iy, ut); return !(r && a && l && i) ? null : $.createElement( "svg", { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, @@ -21008,25 +21008,25 @@ function Bu(e, t) { }, [e]); } const ff = ({ 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: p, onNodeContextMenu: f, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, deleteKeyCode: F, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, preventScrolling: j, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, elevateEdgesOnSelect: $t, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { - const xe = Bu(e, Rb), de = Bu(t, $b); - return ay(a), $.createElement( - Fb, + const xe = Bu(e, jb), de = Bu(t, Vb); + return ry(a), $.createElement( + Lb, { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: F, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, onSelectionContextMenu: m, preventScrolling: j, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, disableKeyboardA11y: Dt }, $.createElement( - ry, + oy, null, $.createElement( - ny, + ty, { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!$t, disableKeyboardA11y: Dt, rfId: se }, - $.createElement(sy, { style: x, type: g, component: C, containerStyle: S }) + $.createElement(ly, { style: x, type: g, component: C, containerStyle: S }) ), $.createElement("div", { className: "react-flow__edgelabel-renderer" }), - $.createElement(Hb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) + $.createElement(zb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) ) ); }; ff.displayName = "GraphView"; -var cy = Ye(ff); +var sy = Ye(ff); const Ls = [ [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] @@ -21056,7 +21056,7 @@ const Ls = [ connectionHandleType: "source", connectionPosition: { x: 0, y: 0 }, connectionStatus: null, - connectionMode: to.Strict, + connectionMode: eo.Strict, domNode: null, paneDragging: !1, noPanClassName: "nopan", @@ -21086,7 +21086,7 @@ const Ls = [ connectionRadius: 20, onError: O3, isValidConnection: void 0 -}, uy = () => G9((e, t) => ({ +}, cy = () => Y9((e, t) => ({ ...An, setNodes: (n) => { const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: a } = t(); @@ -21156,7 +21156,7 @@ const Ls = [ const { onNodesChange: o, nodeInternals: r, hasDefaultNodes: a, nodeOrigin: i, getNodes: l, elevateNodesOnSelect: s } = t(); if (n != null && n.length) { if (a) { - const u = kb(n, l()), c = zl(u, r, i, s); + const u = Sb(n, l()), c = zl(u, r, i, s); e({ nodeInternals: c }); } o == null || o(n); @@ -21165,7 +21165,7 @@ const Ls = [ addSelectedNodes: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Dn(s, !0)) : (i = fo(a(), n), l = fo(r, [])), ra({ + o ? i = n.map((s) => Dn(s, !0)) : (i = fo(a(), n), l = fo(r, [])), oa({ changedNodes: i, changedEdges: l, get: t, @@ -21175,7 +21175,7 @@ const Ls = [ addSelectedEdges: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Dn(s, !0)) : (i = fo(r, n), l = fo(a(), [])), ra({ + o ? i = n.map((s) => Dn(s, !0)) : (i = fo(r, n), l = fo(a(), [])), oa({ changedNodes: l, changedEdges: i, get: t, @@ -21184,7 +21184,7 @@ const Ls = [ }, unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { const { edges: r, getNodes: a } = t(), i = n || a(), l = o || r, s = i.map((c) => (c.selected = !1, Dn(c.id, !1))), u = l.map((c) => Dn(c.id, !1)); - ra({ + oa({ changedNodes: s, changedEdges: u, get: t, @@ -21205,7 +21205,7 @@ const Ls = [ }, resetSelectedElements: () => { const { edges: n, getNodes: o } = t(), a = o().filter((l) => l.selected).map((l) => Dn(l.id, !1)), i = n.filter((l) => l.selected).map((l) => Dn(l.id, !1)); - ra({ + oa({ changedNodes: a, changedEdges: i, get: t, @@ -21240,91 +21240,91 @@ const Ls = [ connectionEndHandle: An.connectionEndHandle }), reset: () => e({ ...An }) -}), Object.is), Lr = ({ children: e }) => { +}), Object.is), Dr = ({ children: e }) => { const t = he(null); - return t.current || (t.current = uy()), $.createElement(Mm, { value: t.current }, e); + return t.current || (t.current = cy()), $.createElement(Am, { value: t.current }, e); }; -Lr.displayName = "ReactFlowProvider"; -const hf = ({ children: e }) => Je(ii) ? $.createElement($.Fragment, null, e) : $.createElement(Lr, null, e); +Dr.displayName = "ReactFlowProvider"; +const hf = ({ children: e }) => et(ai) ? $.createElement($.Fragment, null, e) : $.createElement(Dr, null, e); hf.displayName = "ReactFlowWrapper"; -const dy = { +const uy = { input: U3, default: Ns, output: Y3, group: Hc -}, fy = { - default: Ba, +}, dy = { + default: Pa, straight: jc, step: Fc, - smoothstep: li, + smoothstep: ii, simplebezier: Lc -}, hy = [0, 0], py = [15, 15], gy = { x: 0, y: 0, zoom: 1 }, my = { +}, fy = [0, 0], hy = [15, 15], py = { x: 0, y: 0, zoom: 1 }, gy = { width: "100%", height: "100%", overflow: "hidden", position: "relative", zIndex: 0 -}, si = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = dy, edgeTypes: i = fy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: F, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: j = to.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = vr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = Ha() ? "Meta" : "Control", zoomActivationKeyCode: U = Ha() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = py, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, nodeOrigin: le = hy, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, defaultViewport: Nt = gy, minZoom: tn = 0.5, maxZoom: St = 2, translateExtent: $t = Ls, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Ve = 0.5, panOnScrollMode: et = Un.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, children: ro, onEdgeContextMenu: Zt, onEdgeDoubleClick: zr, onEdgeMouseEnter: mi, onEdgeMouseMove: Hr, onEdgeMouseLeave: bi, onEdgeUpdate: Pr, onEdgeUpdateStart: Br, onEdgeUpdateEnd: yi, onReconnect: Ci, onReconnectStart: Vr, onReconnectEnd: $r, reconnectRadius: vi = 10, edgeUpdaterRadius: xi = 10, onNodesChange: wi, onEdgesChange: Ei, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: je = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: pn = !0, connectionRadius: dt = 20, isValidConnection: Vo, onError: Si, style: ki, id: v1, nodeDragThreshold: j5, ...R5 }, I5) => { +}, li = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = uy, edgeTypes: i = dy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: F, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: j = eo.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = Cr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = za() ? "Meta" : "Control", zoomActivationKeyCode: U = za() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = hy, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, nodeOrigin: le = fy, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, defaultViewport: Nt = py, minZoom: tn = 0.5, maxZoom: St = 2, translateExtent: $t = Ls, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Ve = 0.5, panOnScrollMode: tt = Zn.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, children: oo, onEdgeContextMenu: Zt, onEdgeDoubleClick: Ir, onEdgeMouseEnter: mi, onEdgeMouseMove: zr, onEdgeMouseLeave: bi, onEdgeUpdate: Hr, onEdgeUpdateStart: Pr, onEdgeUpdateEnd: yi, onReconnect: Ci, onReconnectStart: Br, onReconnectEnd: Vr, reconnectRadius: vi = 10, edgeUpdaterRadius: xi = 10, onNodesChange: wi, onEdgesChange: Ei, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Re = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: pn = !0, connectionRadius: dt = 20, isValidConnection: Bo, onError: Si, style: ki, id: v1, nodeDragThreshold: F5, ...j5 }, R5) => { const _i = v1 || "1"; return $.createElement( "div", - { ...R5, style: { ...ki, ...my }, ref: I5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: v1 }, + { ...j5, style: { ...ki, ...gy }, ref: R5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: v1 }, $.createElement( hf, null, - $.createElement(cy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: tn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Ve, panOnScrollMode: et, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: zr, onEdgeMouseEnter: mi, onEdgeMouseMove: Hr, onEdgeMouseLeave: bi, onReconnect: Ci ?? Pr, onReconnectStart: Vr ?? Br, onReconnectEnd: $r ?? yi, reconnectRadius: vi ?? xi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: _i, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), - $.createElement(ab, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, elevateNodesOnSelect: We, minZoom: tn, maxZoom: St, nodeExtent: Z, onNodesChange: wi, onEdgesChange: Ei, snapToGrid: ge, snapGrid: J, connectionMode: j, translateExtent: $t, connectOnClick: je, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: F, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: _i, autoPanOnConnect: _n, autoPanOnNodeDrag: pn, onError: Si, connectionRadius: dt, isValidConnection: Vo, nodeDragThreshold: j5 }), - $.createElement(ob, { onSelectionChange: P }), - ro, - $.createElement(Om, { proOptions: ye, position: we }), - $.createElement(ub, { rfId: _i, disableKeyboardA11y: pt }) + $.createElement(sy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: tn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Ve, panOnScrollMode: tt, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: Ir, onEdgeMouseEnter: mi, onEdgeMouseMove: zr, onEdgeMouseLeave: bi, onReconnect: Ci ?? Hr, onReconnectStart: Br ?? Pr, onReconnectEnd: Vr ?? yi, reconnectRadius: vi ?? xi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: _i, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), + $.createElement(rb, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, elevateNodesOnSelect: We, minZoom: tn, maxZoom: St, nodeExtent: Z, onNodesChange: wi, onEdgesChange: Ei, snapToGrid: ge, snapGrid: J, connectionMode: j, translateExtent: $t, connectOnClick: Re, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: F, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: _i, autoPanOnConnect: _n, autoPanOnNodeDrag: pn, onError: Si, connectionRadius: dt, isValidConnection: Bo, nodeDragThreshold: F5 }), + $.createElement(nb, { onSelectionChange: P }), + oo, + $.createElement(Tm, { proOptions: ye, position: we }), + $.createElement(cb, { rfId: _i, disableKeyboardA11y: pt }) ) ); }); -si.displayName = "ReactFlow"; -function by() { +li.displayName = "ReactFlow"; +function my() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, $.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) ); } -function yy() { +function by() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, $.createElement("path", { d: "M0 0h32v4.2H0z" }) ); } -function Cy() { +function yy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, $.createElement("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }) ); } -function vy() { +function Cy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }) ); } -function xy() { +function vy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z" }) ); } -const nr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); -nr.displayName = "ControlButton"; -const wy = (e) => ({ +const tr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); +tr.displayName = "ControlButton"; +const xy = (e) => ({ isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, minZoomReached: e.transform[2] <= e.minZoom, maxZoomReached: e.transform[2] >= e.maxZoom }), pf = ({ 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 p = rt(), [f, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(wy, ut), { zoomIn: x, zoomOut: C, fitView: S } = Jt(); + const p = rt(), [f, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(xy, ut), { zoomIn: x, zoomOut: C, fitView: S } = Jt(); if (ue(() => { m(!0); }, []), !f) @@ -21349,22 +21349,22 @@ const wy = (e) => ({ $.Fragment, null, $.createElement( - nr, + tr, { onClick: w, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, - $.createElement(by, null) + $.createElement(my, null) ), $.createElement( - nr, + tr, { onClick: E, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, - $.createElement(yy, null) + $.createElement(by, null) ) ), n && $.createElement( - nr, + tr, { className: "react-flow__controls-fitview", onClick: M, title: "fit view", "aria-label": "fit view" }, - $.createElement(Cy, null) + $.createElement(yy, null) ), - o && $.createElement(nr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(xy, null) : $.createElement(vy, null)), + o && $.createElement(tr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(vy, null) : $.createElement(Cy, null)), c ); }; @@ -21373,21 +21373,21 @@ var Bc = Ye(pf), Kt; (function(e) { e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; })(Kt || (Kt = {})); -function Ey({ color: e, dimensions: t, lineWidth: n }) { +function wy({ color: e, dimensions: t, lineWidth: n }) { return $.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); } -function Sy({ color: e, radius: t }) { +function Ey({ color: e, radius: t }) { return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); } -const ky = { +const Sy = { [Kt.Dots]: "#91919a", [Kt.Lines]: "#eee", [Kt.Cross]: "#e2e2e2" -}, _y = { +}, ky = { [Kt.Dots]: 1, [Kt.Lines]: 1, [Kt.Cross]: 6 -}, Ay = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +}, _y = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); function gf({ id: e, variant: t = Kt.Dots, @@ -21401,7 +21401,7 @@ function gf({ style: l, className: s }) { - const u = he(null), { transform: c, patternId: d } = Ze(Ay, ut), p = i || ky[t], f = o || _y[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; + const u = he(null), { transform: c, patternId: d } = Ze(_y, ut), p = i || Sy[t], f = o || ky[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; return $.createElement( "svg", { className: bt(["react-flow__background", s]), style: { @@ -21412,20 +21412,20 @@ function gf({ top: 0, left: 0 }, ref: u, "data-testid": "rf__background" }, - $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(Sy, { color: p, radius: x / a }) : $.createElement(Ey, { dimensions: C, color: p, lineWidth: r })), + $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(Ey, { color: p, radius: x / a }) : $.createElement(wy, { dimensions: C, color: p, lineWidth: r })), $.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) ); } gf.displayName = "Background"; var Vc = Ye(gf); -const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "settings", yn = "column-", bf = "see-more-", Ty = 5, Oy = 100, Vl = 100, Fr = 300, Co = 80, Ny = 12, Dy = Co, yf = 30, Vu = 4, Ly = 280, Fy = 80, jy = 80, Ry = 250, Fs = 0.05, Cf = "#7A899E", Uc = "#E38E00", qc = { +const $c = "columns", Wc = "exposure", Zc = "tables", Ay = "feedback", mf = "settings", yn = "column-", bf = "see-more-", My = 5, Ty = 100, Vl = 100, Lr = 300, Co = 80, Oy = 12, Ny = Co, yf = 30, Vu = 4, Dy = 280, Ly = 80, Fy = 80, jy = 250, Fs = 0.05, Cf = "#7A899E", Uc = "#E38E00", qc = { Original: "#FDD835", Alias: "#40C8AE", Transformation: "#FF754C", Unchanged: "#BC3FBC", "Not sure": "#247efe", "Non select": "#BC3FBC" -}, ci = { +}, si = { stroke: Cf, strokeWidth: 1 }, Yc = { @@ -21447,7 +21447,7 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set width: 16, height: 16, color: Uc -}, vt = (e) => e.id.startsWith(yn), ia = (e) => e.id.startsWith(bf), En = (e) => !e.id.startsWith(yn), Kc = (e, t, n, o, r, a = !1) => { +}, vt = (e) => e.id.startsWith(yn), aa = (e) => e.id.startsWith(bf), En = (e) => !e.id.startsWith(yn), Kc = (e, t, n, o, r, a = !1) => { const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? js(e, t, a) : js(t, e, a); return { id: `${i}-${l}`, @@ -21455,7 +21455,7 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set target: l, sourceHandle: s, targetHandle: u, - style: ci, + style: si, markerEnd: vf, type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default" }; @@ -21464,17 +21464,17 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set data: { ...e, level: t, parent: n }, position: { x: 100, y: 100 }, type: "table", - width: Fr, + width: Lr, height: Co }), wf = (e, t, n, o) => ({ id: e, data: { ...o, level: t, parent: n, id: e }, position: { x: 100, y: 100 }, type: "operator", - width: Fr, + width: Lr, height: Co -}), Va = (e, t, n, o, r) => ({ - id: wr(e, t), +}), Ba = (e, t, n, o, r) => ({ + id: xr(e, t), data: { column: t, table: e, viewsType: n, viewsCode: o, nodeType: r }, parentNode: e, extent: "parent", @@ -21482,8 +21482,8 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set type: "column", position: { x: 100, y: 100 }, height: yf -}), $a = (e, t, n, o, r, a) => { - const i = ui(e, t), [l, s] = js( +}), Va = (e, t, n, o, r, a) => { + const i = ci(e, t), [l, s] = js( n, o, !1 @@ -21501,12 +21501,12 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set type: n === o ? "smoothstep" : "default", hidden: !a[r] }; -}, ui = (e, t) => yn + `${e}-${t}`, Wa = (e, t) => { +}, ci = (e, t) => yn + `${e}-${t}`, $a = (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" ? Gc : Yc : ci, e.markerEnd = t ? xf : vf; -}, js = (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"], Iy = (e, t) => { + e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Gc : Yc : si, e.markerEnd = t ? xf : vf; +}, js = (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"], Ry = (e, t) => { const n = {}; e.forEach((a) => { En(a) && (n[a.id] = a.data.level); @@ -21530,20 +21530,20 @@ const $c = "columns", Wc = "exposure", Zc = "tables", My = "feedback", mf = "set } } return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; -}, wr = (e, t) => yn + `${e}/${t}`, Za = (e, t) => bf + e + "-" + (t ? "1" : "0"), $u = (e, t) => { +}, xr = (e, t) => yn + `${e}/${t}`, Wa = (e, t) => bf + e + "-" + (t ? "1" : "0"), $u = (e, t) => { for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; return !1; }, Wu = (e, t, n) => { e[t] = e[t] || [], e[t].push(...n); -}, xa = (e, t = 1) => e * (yf + Vu) + t * Vu, Zu = (e, t) => (n) => e <= n && n <= t, zy = (e, t) => (n) => e < n && n < t, Uu = (e, t) => { +}, va = (e, t = 1) => e * (yf + Vu) + t * Vu, Zu = (e, t) => (n) => e <= n && n <= t, Iy = (e, t) => (n) => e < n && n < t, Uu = (e, t) => { const n = e.findIndex((o) => o.id === t); n !== -1 && e.splice(n, 1); -}, qu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Er = (e, t, n = !0) => { +}, qu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, wr = (e, t, n = !0) => { e.forEach((o) => { vt(o) || (o.hidden = !t, n && No(o, t)); }); -}, Sr = (e, t, n = !0) => { +}, Er = (e, t, n = !0) => { e.forEach((o) => { vt(o) && (o.hidden = !t, n && No(o, t)); }); @@ -21559,103 +21559,103 @@ function Ef(e) { i === 0 && r.push(a); return { sources: o, sinks: r }; } -const Hy = "_table_node_1n1a2_1", Py = "_header_1n1a2_8", By = "_collapse_1n1a2_16", Vy = "_selected_1n1a2_21", $y = "_content_1n1a2_24", Wy = "_table_header_1n1a2_37", Zy = "_seed_1n1a2_47", Uy = "_model_1n1a2_52", qy = "_source_1n1a2_57", Yy = "_exposure_1n1a2_62", Gy = "_snapshot_1n1a2_67", Ky = "_metrics_1n1a2_72", Xy = "_macros_1n1a2_77", Qy = "_analysis_1n1a2_82", Jy = "_node_icon_1n1a2_87", eC = "_dialect_icon_1n1a2_99", tC = "_table_handle_1n1a2_107", nC = "_see_more_node_1n1a2_121", oC = "_table_card_1n1a2_132", rC = "_disabled_1n1a2_144", aC = "_column_card_1n1a2_149", iC = "_edit_icon_1n1a2_162", lC = "_active_1n1a2_170", sC = "_expand_lineage_icon_1n1a2_174", cC = "_processing_div_1n1a2_187", uC = "_gif_img_1n1a2_190", dC = "_card_1n1a2_195", fC = "_column_node_1n1a2_210", hC = "_column_name_1n1a2_221", pC = "_column_top_right_1n1a2_226", gC = "_divider_1n1a2_234", mC = "_table_details_header_1n1a2_240", bC = "_verticle_divider_1n1a2_248", yC = "_low_confidence_1n1a2_253", CC = "_high_confidence_1n1a2_260", vC = "_alert_icon_1n1a2_267", xC = "_menu_card_1n1a2_273", wC = "_menu_card_container_1n1a2_278", EC = "_table_details_tabs_1n1a2_285", SC = "_tab_1n1a2_1", kC = "_table_node_pill_1n1a2_305", _C = "_icon_1n1a2_315", AC = "_node-checkbox_1n1a2_322", MC = "_non_select_node_checkbox_1n1a2_322", TC = "_select_node_checkbox_1n1a2_322", OC = "_node_extra_info_1n1a2_338", NC = "_help_body_1n1a2_342", DC = "_feedback_body_1n1a2_346", LC = "_cancel_btn_1n1a2_349", FC = "_expand_nav_1n1a2_354", jC = "_expand_nav_btn_1n1a2_362", RC = "_lineage_legend_1n1a2_389", IC = "_column_legend_1n1a2_406", zC = "_dot_1n1a2_422", HC = "_model_views_type_1n1a2_434", PC = "_close_button_1n1a2_443", BC = "_op_node_1n1a2_456", VC = "_light_mode_1n1a2_475", $C = "_dark_mode_1n1a2_478", WC = "_highlighted_1n1a2_481", ZC = "_cost_data_1n1a2_487", UC = "_op_type_text_1n1a2_502", qC = "_node_stats_1n1a2_505", YC = "_savings-performance_1n1a2_521", GC = "_performance_1n1a2_521", KC = "_savings_1n1a2_521", XC = "_value_1n1a2_536", QC = "_percent_1n1a2_539", JC = "_static_table_node_1n1a2_554", ev = "_details_btn_1n1a2_618", tv = "_enable_1n1a2_627", nv = "_disable_1n1a2_144", ov = "_code_editor_container_1n1a2_638", rv = "_code_editor_1n1a2_638", av = "_tooltip_container_1n1a2_652", iv = "_tooltip_text_1n1a2_658", lv = "_views_type_badge_1n1a2_675", sv = "_column_code_icon_1n1a2_706", cv = "_edge_select_1n1a2_722", uv = "_edge_non_select_1n1a2_732", dv = "_modal_views_code_container_1n1a2_742", fv = "_custom_node_code_block_1n1a2_747", hv = "_reset_btn_1n1a2_759", pv = "_error_tooltip_1n1a2_765", G = { - table_node: Hy, - header: Py, - collapse: By, - selected: Vy, - content: $y, - table_header: Wy, - seed: Zy, - model: Uy, - source: qy, - exposure: Yy, - snapshot: Gy, - metrics: Ky, - macros: Xy, - analysis: Qy, - node_icon: Jy, - dialect_icon: eC, - table_handle: tC, - see_more_node: nC, - table_card: oC, - disabled: rC, - column_card: aC, - edit_icon: iC, - active: lC, - expand_lineage_icon: sC, - processing_div: cC, - gif_img: uC, - card: dC, - column_node: fC, +const zy = "_table_node_1n1a2_1", Hy = "_header_1n1a2_8", Py = "_collapse_1n1a2_16", By = "_selected_1n1a2_21", Vy = "_content_1n1a2_24", $y = "_table_header_1n1a2_37", Wy = "_seed_1n1a2_47", Zy = "_model_1n1a2_52", Uy = "_source_1n1a2_57", qy = "_exposure_1n1a2_62", Yy = "_snapshot_1n1a2_67", Gy = "_metrics_1n1a2_72", Ky = "_macros_1n1a2_77", Xy = "_analysis_1n1a2_82", Qy = "_node_icon_1n1a2_87", Jy = "_dialect_icon_1n1a2_99", eC = "_table_handle_1n1a2_107", tC = "_see_more_node_1n1a2_121", nC = "_table_card_1n1a2_132", oC = "_disabled_1n1a2_144", rC = "_column_card_1n1a2_149", aC = "_edit_icon_1n1a2_162", iC = "_active_1n1a2_170", lC = "_expand_lineage_icon_1n1a2_174", sC = "_processing_div_1n1a2_187", cC = "_gif_img_1n1a2_190", uC = "_card_1n1a2_195", dC = "_column_node_1n1a2_210", fC = "_column_name_1n1a2_221", hC = "_column_top_right_1n1a2_226", pC = "_divider_1n1a2_234", gC = "_table_details_header_1n1a2_240", mC = "_verticle_divider_1n1a2_248", bC = "_low_confidence_1n1a2_253", yC = "_high_confidence_1n1a2_260", CC = "_alert_icon_1n1a2_267", vC = "_menu_card_1n1a2_273", xC = "_menu_card_container_1n1a2_278", wC = "_table_details_tabs_1n1a2_285", EC = "_tab_1n1a2_1", SC = "_table_node_pill_1n1a2_305", kC = "_icon_1n1a2_315", _C = "_node-checkbox_1n1a2_322", AC = "_non_select_node_checkbox_1n1a2_322", MC = "_select_node_checkbox_1n1a2_322", TC = "_node_extra_info_1n1a2_338", OC = "_help_body_1n1a2_342", NC = "_feedback_body_1n1a2_346", DC = "_cancel_btn_1n1a2_349", LC = "_expand_nav_1n1a2_354", FC = "_expand_nav_btn_1n1a2_362", jC = "_lineage_legend_1n1a2_389", RC = "_column_legend_1n1a2_406", IC = "_dot_1n1a2_422", zC = "_model_views_type_1n1a2_434", HC = "_close_button_1n1a2_443", PC = "_op_node_1n1a2_456", BC = "_light_mode_1n1a2_475", VC = "_dark_mode_1n1a2_478", $C = "_highlighted_1n1a2_481", WC = "_cost_data_1n1a2_487", ZC = "_op_type_text_1n1a2_502", UC = "_node_stats_1n1a2_505", qC = "_savings-performance_1n1a2_521", YC = "_performance_1n1a2_521", GC = "_savings_1n1a2_521", KC = "_value_1n1a2_536", XC = "_percent_1n1a2_539", QC = "_static_table_node_1n1a2_554", JC = "_details_btn_1n1a2_618", ev = "_enable_1n1a2_627", tv = "_disable_1n1a2_144", nv = "_code_editor_container_1n1a2_638", ov = "_code_editor_1n1a2_638", rv = "_tooltip_container_1n1a2_652", av = "_tooltip_text_1n1a2_658", iv = "_views_type_badge_1n1a2_675", lv = "_column_code_icon_1n1a2_706", sv = "_edge_select_1n1a2_722", cv = "_edge_non_select_1n1a2_732", uv = "_modal_views_code_container_1n1a2_742", dv = "_custom_node_code_block_1n1a2_747", fv = "_reset_btn_1n1a2_759", hv = "_error_tooltip_1n1a2_765", G = { + table_node: zy, + header: Hy, + collapse: Py, + selected: By, + content: Vy, + table_header: $y, + seed: Wy, + model: Zy, + source: Uy, + exposure: qy, + snapshot: Yy, + metrics: Gy, + macros: Ky, + analysis: Xy, + node_icon: Qy, + dialect_icon: Jy, + table_handle: eC, + see_more_node: tC, + table_card: nC, + disabled: oC, + column_card: rC, + edit_icon: aC, + active: iC, + expand_lineage_icon: lC, + processing_div: sC, + gif_img: cC, + card: uC, + column_node: dC, default: "_default_1n1a2_218", - column_name: hC, - column_top_right: pC, - divider: gC, - table_details_header: mC, - verticle_divider: bC, - low_confidence: yC, - high_confidence: CC, - alert_icon: vC, - menu_card: xC, - menu_card_container: wC, - table_details_tabs: EC, - tab: SC, - table_node_pill: kC, - icon: _C, + column_name: fC, + column_top_right: hC, + divider: pC, + table_details_header: gC, + verticle_divider: mC, + low_confidence: bC, + high_confidence: yC, + alert_icon: CC, + menu_card: vC, + menu_card_container: xC, + table_details_tabs: wC, + tab: EC, + table_node_pill: SC, + icon: kC, "node-checkbox": "_node-checkbox_1n1a2_322", - nodeCheckbox: AC, - non_select_node_checkbox: MC, - select_node_checkbox: TC, - node_extra_info: OC, - help_body: NC, - feedback_body: DC, - cancel_btn: LC, - expand_nav: FC, - expand_nav_btn: jC, - lineage_legend: RC, - column_legend: IC, - dot: zC, - model_views_type: HC, - close_button: PC, - op_node: BC, - light_mode: VC, - dark_mode: $C, - highlighted: WC, - cost_data: ZC, - op_type_text: UC, - node_stats: qC, + nodeCheckbox: _C, + non_select_node_checkbox: AC, + select_node_checkbox: MC, + node_extra_info: TC, + help_body: OC, + feedback_body: NC, + cancel_btn: DC, + expand_nav: LC, + expand_nav_btn: FC, + lineage_legend: jC, + column_legend: RC, + dot: IC, + model_views_type: zC, + close_button: HC, + op_node: PC, + light_mode: BC, + dark_mode: VC, + highlighted: $C, + cost_data: WC, + op_type_text: ZC, + node_stats: UC, "savings-performance": "_savings-performance_1n1a2_521", - savingsPerformance: YC, - performance: GC, - savings: KC, - value: XC, - percent: QC, - static_table_node: JC, - details_btn: ev, - enable: tv, - disable: nv, - code_editor_container: ov, - code_editor: rv, - tooltip_container: av, - tooltip_text: iv, - views_type_badge: lv, - column_code_icon: sv, - edge_select: cv, - edge_non_select: uv, - modal_views_code_container: dv, - custom_node_code_block: fv, - reset_btn: hv, - error_tooltip: pv -}, Sf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), kf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), la = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Rs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { + savingsPerformance: qC, + performance: YC, + savings: GC, + value: KC, + percent: XC, + static_table_node: QC, + details_btn: JC, + enable: ev, + disable: tv, + code_editor_container: nv, + code_editor: ov, + tooltip_container: rv, + tooltip_text: av, + views_type_badge: iv, + column_code_icon: lv, + edge_select: sv, + edge_non_select: cv, + modal_views_code_container: uv, + custom_node_code_block: dv, + reset_btn: fv, + error_tooltip: hv +}, Sf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), kf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), ia = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Rs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Xc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Xc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), _f = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), _f = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Yu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), sa = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Gu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Yu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), la = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Gu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), ex = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), tx = "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", nx = "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", ox = "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==", rx = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Qc = ({ viewsType: e }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx( +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", fill: "#247EFE" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), ex = "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", tx = "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", nx = "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==", ox = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Qc = ({ viewsType: e }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx( "div", { style: { @@ -21666,7 +21666,7 @@ const Hy = "_table_node_1n1a2_1", Py = "_header_1n1a2_8", By = "_collapse_1n1a2_ className: G.views_type_badge, children: e[0] } -) }), ax = () => { +) }), rx = () => { const [e, t] = ce(!1); ue(() => { setTimeout(() => { @@ -21682,7 +21682,7 @@ const Hy = "_table_node_1n1a2_1", Py = "_header_1n1a2_8", By = "_collapse_1n1a2_ }; return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsxs( - Re, + Ie, { id: "lineageLegend", className: G.lineage_legend, @@ -21690,7 +21690,7 @@ const Hy = "_table_node_1n1a2_1", Py = "_header_1n1a2_8", By = "_collapse_1n1a2_ onClick: n, children: [ "Legend", - e ? /* @__PURE__ */ h.jsx(Mv, {}) : /* @__PURE__ */ h.jsx(Av, {}) + e ? /* @__PURE__ */ h.jsx(Av, {}) : /* @__PURE__ */ h.jsx(_v, {}) ] } ), @@ -21760,14 +21760,14 @@ var Af = { exports: {} }; e.exports ? (n.default = n, e.exports = n) : window.classNames = n; })(); })(Af); -var ix = Af.exports; -const Te = /* @__PURE__ */ dn(ix), lx = (e) => ze.get("upstreamTables", { table: e }), sx = (e) => ze.get("downstreamTables", { table: e }), cx = (e) => ze.get("getExposureDetails", { +var ax = Af.exports; +const Te = /* @__PURE__ */ dn(ax), ix = (e) => je.get("upstreamTables", { table: e }), lx = (e) => je.get("downstreamTables", { table: e }), sx = (e) => je.get("getExposureDetails", { name: e -}), di = (e, t) => ze.get("getColumns", { +}), ui = (e, t) => je.get("getColumns", { table: e, refresh: t -}), ux = (e) => ze.get("getConnectedColumns", e), dx = (e) => ze.get("sendFeedback", e), fx = () => ze.get("getLineageSettings", {}), $l = (e) => ze.get("persistLineageSettings", e), Mf = () => ze.get("init", {}), hx = (e) => ze.get("openFile", { url: e }), px = () => ze.get("openChat", {}), Jc = (e) => ze.get("showInfoNotification", { message: e }), gx = () => ze.get("previewFeature", {}), Wl = (e) => ze.get("columnLineage", { event: e }), mx = (e) => ze.get("telemetryEvents", e), bx = (e) => ze.post("dbt/v4/export-lineage", e); -var yx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(yx || {}); +}), cx = (e) => je.get("getConnectedColumns", e), ux = (e) => je.get("sendFeedback", e), dx = () => je.get("getLineageSettings", {}), $l = (e) => je.get("persistLineageSettings", e), Mf = () => je.get("init", {}), fx = (e) => je.get("openFile", { url: e }), hx = () => je.get("openChat", {}), Jc = (e) => je.get("showInfoNotification", { message: e }), px = () => je.get("previewFeature", {}), Wl = (e) => je.get("columnLineage", { event: e }), gx = (e) => je.get("telemetryEvents", e), mx = (e) => je.post("dbt/v4/export-lineage", e); +var bx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(bx || {}); const gt = class gt { static onCancel() { gt.isCancelled = !0, gt.inProgress = !1; @@ -21790,7 +21790,7 @@ const gt = class gt { gt.inProgress = !1, Wl( "end" /* END */ - ), mx({ + ), gx({ id: "columnLineageNumLinks", params: { num: gt.linkCount } }), gt.linkCount = 0; @@ -21804,9 +21804,9 @@ const gt = class gt { ); } }; -Wr(gt, "isCancelled", !1), Wr(gt, "inProgress", !1), Wr(gt, "linkCount", 0); +$r(gt, "isCancelled", !1), $r(gt, "inProgress", !1), $r(gt, "linkCount", 0); let Xe = gt; -const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { +const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { const [o, r] = Be(() => { switch (e.toLowerCase()) { case "integer": @@ -21814,23 +21814,23 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { case "double precision": case "double": case "bigint": - return [yv, "#FF754C"]; + return [bv, "#FF754C"]; case "bool": case "boolean": - return [mv, "#00A5DB"]; + return [gv, "#00A5DB"]; case "text": case "character": case "character varying": case "varchar": - return [bv, "#3F8CFF"]; + return [mv, "#3F8CFF"]; case "geospatial": - return [xv, "#01CD8C"]; + return [vv, "#01CD8C"]; case "date": case "timestamp": case "timestamp with time zone": - return [vv, "#247EFE"]; + return [Cv, "#247EFE"]; default: - return [Cv, "#6A24FE"]; + return [yv, "#6A24FE"]; } }, [e]); return /* @__PURE__ */ h.jsx( @@ -21841,22 +21841,22 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { children: /* @__PURE__ */ h.jsx(o, { width: n, height: n }) } ); -}, vx = { +}, Cx = { seed: { light: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#E6FAF4" } }), dark: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#344B49" } }) }, model: { - light: /* @__PURE__ */ h.jsx(sa, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ h.jsx(sa, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ h.jsx(la, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ h.jsx(la, { style: { color: "#4D4343" } }) }, cte: { light: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#FDF6EA" } }), dark: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#4B473F" } }) }, subquery: { - light: /* @__PURE__ */ h.jsx(Hv, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ h.jsx(Pv, { style: { color: "#4B473F" } }) + light: /* @__PURE__ */ h.jsx(zv, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ h.jsx(Hv, { style: { color: "#4B473F" } }) }, source: { light: /* @__PURE__ */ h.jsx(Ku, { style: { color: "#EAF3FF" } }), @@ -21871,37 +21871,37 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { light: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#F6F4FF" } }), dark: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#444554" } }) }, - semantic_model: { light: /* @__PURE__ */ h.jsx(Bv, {}), dark: /* @__PURE__ */ h.jsx(zv, {}) }, + semantic_model: { light: /* @__PURE__ */ h.jsx(Pv, {}), dark: /* @__PURE__ */ h.jsx(Iv, {}) }, macros: { light: /* @__PURE__ */ h.jsx(Is, {}), dark: /* @__PURE__ */ h.jsx(Is, {}) }, unknown: { - light: /* @__PURE__ */ h.jsx(sa, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ h.jsx(sa, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ h.jsx(la, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ h.jsx(la, { style: { color: "#4D4343" } }) } -}, fi = ({ +}, di = ({ nodeType: e }) => /* @__PURE__ */ h.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ h.jsx(wv, {}), - e === "model" && /* @__PURE__ */ h.jsx(la, {}), - e === "cte" && /* @__PURE__ */ h.jsx(la, {}), - e === "subquery" && /* @__PURE__ */ h.jsx(la, {}), - e === "source" && /* @__PURE__ */ h.jsx(Ev, {}), - e === "exposure" && /* @__PURE__ */ h.jsx(Sv, {}), + e === "seed" && /* @__PURE__ */ h.jsx(xv, {}), + e === "model" && /* @__PURE__ */ h.jsx(ia, {}), + e === "cte" && /* @__PURE__ */ h.jsx(ia, {}), + e === "subquery" && /* @__PURE__ */ h.jsx(ia, {}), + e === "source" && /* @__PURE__ */ h.jsx(wv, {}), + e === "exposure" && /* @__PURE__ */ h.jsx(Ev, {}), e === "analysis" && /* @__PURE__ */ h.jsx(Rs, {}), - e === "snapshot" && /* @__PURE__ */ h.jsx(kv, {}), - e === "semantic_model" && /* @__PURE__ */ h.jsx(_v, {}), + e === "snapshot" && /* @__PURE__ */ h.jsx(Sv, {}), + e === "semantic_model" && /* @__PURE__ */ h.jsx(kv, {}), e === "macros" && /* @__PURE__ */ h.jsx(Is, {}), - e === "unknown" && /* @__PURE__ */ h.jsx(la, {}) -] }), xx = ({ nodeType: e }) => { + e === "unknown" && /* @__PURE__ */ h.jsx(ia, {}) +] }), vx = ({ nodeType: e }) => { const { state: { theme: t } } = at(); - return /* @__PURE__ */ h.jsx(h.Fragment, { children: vx[e][t] }); -}, rr = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + return /* @__PURE__ */ h.jsx(h.Fragment, { children: Cx[e][t] }); +}, or = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsxs("div", { className: G.table_node_pill, id: e, children: [ /* @__PURE__ */ h.jsx("div", { className: G.icon, children: t }), /* @__PURE__ */ h.jsx("div", { children: n }) ] }), - /* @__PURE__ */ h.jsx($5, { target: e, children: o }) + /* @__PURE__ */ h.jsx(V5, { target: e, children: o }) ] }), e1 = { seed: G.seed, model: G.model, @@ -21914,7 +21914,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: G.model, subquery: G.model, unknown: G.exposure -}, kr = { +}, Sr = { seed: "SED", model: "MDL", source: "SRC", @@ -21926,7 +21926,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: "CTE", subquery: "SUB", unknown: "UNK" -}, Tf = (e, t) => e ? lx(t) : sx(t), Of = (e, t) => e ? t + 1 : t - 1, hi = (e, t, n, o, r, a, i = Ty, l = !1, s) => { +}, Tf = (e, t) => e ? ix(t) : lx(t), Of = (e, t) => e ? t + 1 : t - 1, fi = (e, t, n, o, r, a, i = My, l = !1, s) => { const u = Of(r, a), c = (p) => { var y, g; const f = ((g = (y = e.find((x) => x.id === p)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Kc(a, f, o, p, r, l); @@ -21935,18 +21935,18 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { let d = 0; for (const p of n) { if (d >= i) { - const m = Za(o, r); + const m = Wa(o, r); e.push({ id: m, data: { tables: n, prevTable: o, right: r, level: u }, position: { x: 100, y: 100 }, type: "seeMore", - width: Fr, + width: Lr, height: 100 }), c(m); break; } - e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in kr ? e.push(Oo(p, u, o)) : e.push(wf(p.table, u, o, s[p.table])) : e.push(Oo(p, u, o))), c(p.table); + e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in Sr ? e.push(Oo(p, u, o)) : e.push(wf(p.table, u, o, s[p.table])) : e.push(Oo(p, u, o))), c(p.table); } }, hn = (e, t, n = !1) => { let o = 1 / 0; @@ -21954,8 +21954,8 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { for (const g of e) if (vt(g) && g.parentNode) g.parentNode in r || (r[g.parentNode] = 0), g.position = { - x: Ny, - y: Dy + xa(r[g.parentNode]) + x: Oy, + y: Ny + va(r[g.parentNode]) }, r[g.parentNode]++; else { const { level: x } = g.data; @@ -21963,7 +21963,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } const a = {}, i = {}, l = {}, s = {}, u = {}, c = {}; for (const g of t) - vt(g) || ia(e.find((x) => x.id === g.source)) || ia(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); + vt(g) || aa(e.find((x) => x.id === g.source)) || aa(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); const d = (g) => { const { level: x } = g.data; if (i[x] = i[x] || [], !i[x].includes(g.id)) { @@ -21979,23 +21979,23 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } }; for (const g of e) - vt(g) || ia(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); + vt(g) || aa(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); for (const g of e) - vt(g) || ia(g) && d(g); + vt(g) || aa(g) && d(g); const f = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return Vl + x * (Co + jy) + xa(C, x); - }, m = (g) => (g - o) * (Fr + Ly) + Oy, b = (g) => (g - o) * (Co + Fy) + Vl, y = (g) => { + return Vl + x * (Co + Fy) + va(C, x); + }, m = (g) => (g - o) * (Lr + Dy) + Ty, b = (g) => (g - o) * (Co + Ly) + Vl, y = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return Vl + x * (Co + Ry) + xa(C, x); + return Vl + x * (Co + jy) + va(C, x); }; for (const g of e) { if (vt(g)) continue; const { level: x } = g.data; g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; } -}, Nf = (e, t) => (e.forEach((n) => Wa(n, !0)), t.forEach((n) => No(n, !1)), [e, t]), _r = (e, t, n) => { - Er(t, !0), Sr(t, !1); +}, Nf = (e, t) => (e.forEach((n) => $a(n, !0)), t.forEach((n) => No(n, !1)), [e, t]), kr = (e, t, n) => { + wr(t, !0), Er(t, !1); const o = {}, r = {}, a = (s, u) => { const c = [n], d = {}; for (; c.length > 0; ) { @@ -22009,13 +22009,13 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { const i = [...t]; i.forEach((s) => No(s, r[s.id])); const l = [...e]; - return l.forEach((s) => Wa(s, !!o[s.id])), [l, i]; + return l.forEach((s) => $a(s, !!o[s.id])), [l, i]; }, zs = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, a] = _r(n, o, t); + const n = e.getNodes(), o = e.getEdges(), [r, a] = kr(n, o, t); e.setNodes(r), e.setEdges(a); -}, wx = async (e, t, n, o, r, a, i, l, s, u) => { +}, xx = async (e, t, n, o, r, a, i, l, s, u) => { var w, E; - const c = [], d = [], { column_lineage: p, confidence: f, errors: m } = await ux({ + const c = [], d = [], { column_lineage: p, confidence: f, errors: m } = await cx({ targets: r, upstreamExpansion: a, currAnd1HopTables: i, @@ -22028,9 +22028,9 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { ), y = b.map((M) => a ? M.target : M.source), g = {}, x = ([M, _], L) => { g[M] = g[M] || [], g[M].find((R) => R.column === _) || g[M].push({ column: _, viewsType: L }); }, C = (M, _, L, R, F) => { - const P = ui(L, R); + const P = ci(L, R); d.find((V) => V.id === P) || d.push( - $a( + Va( L, R, t[M], @@ -22063,7 +22063,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { b.filter((F) => F.target.join("/") === `${M}/${L.column}`).forEach((F) => { F.type !== "indirect" && (R[F.source.join("/")] = F.viewsCode || []); }), c.push( - Va( + Ba( M, L.column, L.viewsType, @@ -22074,7 +22074,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } } return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: f, seeMoreLineage: S }; -}, Ex = async (e, t, n, o) => { +}, wx = async (e, t, n, o) => { var f, m, b, y; let r = e.filter(En), a = t.filter(En); [r, a] = Nf(r, a); @@ -22102,14 +22102,14 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { x.sort((C, S) => C.column.localeCompare(S.column)); for (const C of x) { const S = (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; - r.push(Va(g, C.column, C.viewsType, {}, S)); + r.push(Ba(g, C.column, C.viewsType, {}, S)); } } - a.forEach((g) => g.style = ci); + a.forEach((g) => g.style = si); const p = (g, x, C, S, w) => { - const E = ui(C, S); + const E = ci(C, S); a.find((M) => M.id === E) || a.push( - $a(C, S, i[g], i[x], w, { + Va(C, S, i[g], i[x], w, { direct: w === "direct", indirect: w === "indirect" }) @@ -22128,7 +22128,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } } return hn(r, a), { nodes: r, edges: a, collect_columns: c }; -}, Sx = (e, t, n, o) => { +}, Ex = (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); @@ -22146,7 +22146,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { }), t.edges.forEach((i) => { a.find((l) => l.id === i.id) || a.push(i); }), n.name) { - const i = {}, l = wr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; + const i = {}, l = xr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; for (; u.length > 0; ) { const f = u.shift(); if (!c[f]) { @@ -22161,7 +22161,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { En(f) || (f.data.type = i[f.id] || f.data.type, f.style = f.data.type === "direct" ? Yc : Gc); } return hn(r, a), [r, a]; -}, kx = (e, t) => { +}, Sx = (e, t) => { const n = e.filter((r) => En(r)), o = t.filter((r) => En(r)); return [n, o]; }, Df = async (e, t, n, o) => { @@ -22173,16 +22173,16 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { if (l[s]) continue; l[s] = !0; const { tables: c } = await Tf(o, s); - hi(r, a, c, s, o, u), c.forEach((d) => { + fi(r, a, c, s, o, u), c.forEach((d) => { const p = r.find((f) => f.id === d.table); (p == null ? void 0 : p.data.materialization) === "ephemeral" && i.push({ table: d.table, level: p.data.level }); }); } return [r, a]; -}, Ua = async (e, t, n, o, r) => { +}, Za = async (e, t, n, o, r) => { const a = [...e], i = [...t]; if (o >= r) return [a, i]; - const l = zy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { + const l = Iy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { const d = [ { table: n, level: s } ], p = {}; @@ -22191,7 +22191,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { if (p[f.table]) continue; p[f.table] = !0; const { tables: m } = await Tf(c, f.table); - hi( + fi( a, i, m, @@ -22230,13 +22230,13 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { if (!c) return -1; const { level: d } = l[n].data, { level: p } = l[c].data; return o ? p - d : d - p; -}, Ar = (e, t, n) => [ +}, _r = (e, t, n) => [ Ju(e, t, n, !1), Ju(e, t, n, !0) ], t1 = async (e, t, n, o, r, a, i, l, s, u, c, d) => { var w, E, M, _, L, R; let p = !1; - const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Iy(e, t), y = (F) => e.find((P) => P.id === F), g = {}, x = {}; + const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Ry(e, t), y = (F) => e.find((P) => P.id === F), g = {}, x = {}; let C = o.map((F) => [ F.table, F.name @@ -22274,7 +22274,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { T.forEach((W) => { C.push(...x[W]), I.push(...x[W].map((Y) => Y[0])); }); - const j = await wx( + const j = await xx( e, f, b, @@ -22289,7 +22289,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { ((L = j.confidence) == null ? void 0 : L.confidence) === "low" && r(((R = j.confidence) == null ? void 0 : R.operator_list) || []), C = j.newCurr, !p && C.length > 0 && (p = !0), C = C.filter( (W) => t.filter((Y) => (n ? Y.source : Y.target) === W[0]).length > 0 ); - const [v, z] = l(), [B, A] = Sx( + const [v, z] = l(), [B, A] = Ex( { nodes: v, edges: z }, j, u, @@ -22298,20 +22298,20 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { a(j.seeMoreLineage), hn(B, A), s(B, A), i(j.collectColumns); } return p; -}, _x = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { +}, kx = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { var p; const { table: u } = n; if (e.find((f) => f.id === u)) return !1; e.push(Oo(n, i, o)); const d = (p = e.find((f) => f.id === o)) == null ? void 0 : p.data.level; if (t.push(Kc(d, i, o, u, a)), l == null || l.forEach((f) => { - const m = wr(f.source[0], f.source[1]), b = wr(f.target[0], f.target[1]), y = {}; + const m = xr(f.source[0], f.source[1]), b = xr(f.target[0], f.target[1]), y = {}; if (a && l.filter((g) => g.target.join("/") === f.target.join("/")).forEach((g) => { y[g.source.join("/")] = g.viewsCode || []; }), a) { if (f.target[0] !== u) return; e.push( - Va( + Ba( f.target[0], f.target[1], f.viewsType, @@ -22319,12 +22319,12 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { n.nodeType ) ), t.push( - $a(m, b, i - 1, i, f.type, s) + Va(m, b, i - 1, i, f.type, s) ); } else { if (f.source[0] !== u) return; e.push( - Va( + Ba( f.source[0], f.source[1], f.viewsType, @@ -22332,11 +22332,11 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { n.nodeType ) ), t.push( - $a(m, b, i, i + 1, f.type, s) + Va(m, b, i, i + 1, f.type, s) ); } }), r.every((f) => !!e.find((m) => m.id === f.table))) { - const f = Za(o, a), m = a ? `${o}-${f}` : `${f}-${o}`; + const f = Wa(o, a), m = a ? `${o}-${f}` : `${f}-${o}`; return Uu(e, f), Uu(t, m), !0; } return !1; @@ -22345,7 +22345,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { 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 Ua( + const { level: i } = a, l = e.length, [s] = await Za( e, t, n, @@ -22353,18 +22353,18 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { i + r ); return s.length - l; -}, Ax = (e, t, n, o) => { - if (!Wm(e)) +}, _x = (e, t, n, o) => { + if (!$m(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) => ui(a.source, a.target)) + edgeIds: r.map((a) => ci(a.source, a.target)) }; }, Hs = (e, t, n, o = [], r) => { - const { nodes: a, edgeIds: i } = Ax( + const { nodes: a, edgeIds: i } = _x( e, t, n, @@ -22389,11 +22389,11 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { }, { nodes: [], edges: [] } ); -}, Mx = (e, t) => { +}, Ax = (e, t) => { const n = t.getNodes().filter((i) => vt(i)), o = t.getEdges(); n.forEach((i) => { const l = t.getNode(i.id); - l && Wa(l, !1); + l && $a(l, !1); }), o.forEach((i) => { const l = t.getEdge(i.id); l && (l.hidden = !0, No(l, !1)); @@ -22402,13 +22402,13 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { [r, a].forEach(({ nodes: i, edges: l }) => { i.forEach((s) => { const u = t.getNode(s.id); - u && Wa(u, !0); + u && $a(u, !0); }), l.forEach((s) => { const u = t.getEdge(s); u && (u.hidden = !1, No(u, !0)); }); }); -}, Mn = "-1px", jr = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ +}, Mn = "-1px", Fr = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsx( Lt, { @@ -22533,8 +22533,8 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { n, T ); - if ([D, I] = _r(D, I, p), hn(D, I), d.setNodes(D), d.setEdges(I), w( - pr(Ar(D, I, p)) + if ([D, I] = kr(D, I, p), hn(D, I), d.setNodes(D), d.setEdges(I), w( + hr(_r(D, I, p)) ), w( ko( await Do( @@ -22549,7 +22549,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { try { Xe.start(); const j = d.getEdges(); - Er(j, !1), Sr(j, !0), d.setEdges(j), await t1( + wr(j, !1), Er(j, !0), d.setEdges(j), await t1( D, I, T, @@ -22577,7 +22577,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { Xe.end(); } }, R = () => L(!0), F = () => L(!1), P = (T) => { - T.stopPropagation(), i !== "semantic_model" && (w(Jn(n)), w(Gt(i === "exposure" ? Wc : $c))); + T.stopPropagation(), i !== "semantic_model" && (w(Qn(n)), w(Gt(i === "exposure" ? Wc : $c))); }, V = d.getEdges(), k = n.replace(/[^a-zA-Z0-9]/g, "-"); return /* @__PURE__ */ h.jsxs( "div", @@ -22593,7 +22593,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { className: G.table_node, onClick: async () => { const T = d.getNodes(), D = d.getEdges(); - w(pr(Ar(T, D, n))), w( + w(hr(_r(T, D, n))), w( ko( await Do( T, @@ -22603,7 +22603,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { y ) ) - ), zs(d, n), w(Jn(n)), o && hx(o); + ), zs(d, n), w(Qn(n)), o && fx(o); }, children: [ /* @__PURE__ */ h.jsx( @@ -22619,7 +22619,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { ), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ - i in kr && /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs( + i in Sr && /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs( "div", { className: Te( @@ -22627,8 +22627,8 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { e1[i] ), children: [ - /* @__PURE__ */ h.jsx(fi, { nodeType: i }), - /* @__PURE__ */ h.jsx("div", { children: kr[i] }) + /* @__PURE__ */ h.jsx(di, { nodeType: i }), + /* @__PURE__ */ h.jsx("div", { children: Sr[i] }) ] } ) }), @@ -22651,7 +22651,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { ". ", T ] }, D)) }), - children: /* @__PURE__ */ h.jsx(rx, {}) + children: /* @__PURE__ */ h.jsx(ox, {}) } ) ] }), @@ -22667,7 +22667,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { "div", { className: Te("nodrag", G.table_handle, { - invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Za(n, !1)) + invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Wa(n, !1)) }), onClick: (T) => { T.stopPropagation(), F(); @@ -22677,7 +22677,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } ), (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ h.jsx( - rr, + or, { id: "table-node-tests-" + k, icon: /* @__PURE__ */ h.jsx(Sf, {}), @@ -22686,7 +22686,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } ), s && /* @__PURE__ */ h.jsx( - rr, + or, { id: "table-node-materilization-" + k, icon: /* @__PURE__ */ h.jsx(kf, {}), @@ -22695,10 +22695,10 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } ), u ? /* @__PURE__ */ h.jsx( - rr, + or, { id: "table-node-is-external-" + k, - icon: /* @__PURE__ */ h.jsx(gv, {}), + icon: /* @__PURE__ */ h.jsx(pv, {}), text: "ext", label: `External Project: ${n}` } @@ -22720,7 +22720,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { "div", { className: Te("nodrag", G.table_handle, { - invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Za(n, !0)) + invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Wa(n, !0)) }), onClick: (T) => { T.stopPropagation(), R(); @@ -22743,24 +22743,24 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { className: Te(G.content, { [G.selected]: _ }), - style: { height: xa(E) } + style: { height: va(E) } } ) ] }) ] } ), - /* @__PURE__ */ h.jsx(jr, {}) + /* @__PURE__ */ h.jsx(Fr, {}) ] } ); -}, qa = ({ +}, Ua = ({ percentValue: e, className: t }) => e ? /* @__PURE__ */ h.jsx(Sn, { title: e.tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: t, children: [ /* @__PURE__ */ h.jsx("div", { className: G.value, children: e.value }), /* @__PURE__ */ h.jsx("div", { className: G.percent, children: e.percent }) -] }) }) : null, Tx = ({ data: e }) => { +] }) }) : null, Mx = ({ data: e }) => { var p, f; const { table: t, nodeType: n, label: o } = e, { state: { @@ -22775,14 +22775,14 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { return /* @__PURE__ */ h.jsxs("div", { className: "position-relative", children: [ /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ /* @__PURE__ */ h.jsx( - qa, + Ua, { percentValue: (p = s[t]) == null ? void 0 : p.savings, className: G.savings } ), /* @__PURE__ */ h.jsx( - qa, + Ua, { percentValue: (f = s[t]) == null ? void 0 : f.performance, className: G.performance @@ -22819,7 +22819,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { "div", { className: Te(G.node_icon, e1[d]), - children: /* @__PURE__ */ h.jsx(xx, { nodeType: d }) + children: /* @__PURE__ */ h.jsx(vx, { nodeType: d }) } ), /* @__PURE__ */ h.jsx("div", {}), @@ -22834,7 +22834,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { !r || d === "unknown" ? G.disable : G.enable ), onClick: (m) => { - m.stopPropagation(), d !== "unknown" && (i || c(Jn(t))); + m.stopPropagation(), d !== "unknown" && (i || c(Qn(t))); }, children: /* @__PURE__ */ h.jsx(_f, {}) } @@ -22844,7 +22844,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { ) } ), - /* @__PURE__ */ h.jsx(jr, {}) + /* @__PURE__ */ h.jsx(Fr, {}) ] }); }, n1 = ({ data: e }) => { const { tables: t = [], prevTable: n, right: o, level: r } = e, { @@ -22861,17 +22861,17 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { /* @__PURE__ */ h.jsx("div", { className: "fw-semibold", children: "See more" }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }), /* @__PURE__ */ h.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), - /* @__PURE__ */ h.jsx(jr, {}) + /* @__PURE__ */ h.jsx(Fr, {}) ] }); }, o1 = (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__ */ h.jsx(zo, { path: s, markerEnd: a }); + return /* @__PURE__ */ h.jsx(Io, { path: s, markerEnd: a }); }, r1 = ({ data: e }) => { const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, { state: { selectedColumn: i } } = at(), l = ft(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && qc[o], c = u ? { borderColor: u } : {}, d = Jt(), p = () => { - const m = d.getNode(wr(n, t)); - m && (l(Jn("")), l(Wn({ name: t, table: n })), Mx(m, d)); + const m = d.getNode(xr(n, t)); + m && (l(Qn("")), l($n({ name: t, table: n })), Ax(m, d)); }, f = Be(() => { const m = Object.values( r || {} @@ -22891,7 +22891,7 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { onClick: p, children: [ /* @__PURE__ */ h.jsx("div", { className: G.column_name, children: t }), - /* @__PURE__ */ h.jsx(jr, {}), + /* @__PURE__ */ h.jsx(Fr, {}), /* @__PURE__ */ h.jsxs("div", { className: G.column_top_right, children: [ f.length > 0 && /* @__PURE__ */ h.jsx(Sn, { title: "Click to view code", children: /* @__PURE__ */ h.jsx( "div", @@ -22920,24 +22920,24 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { } ); }, Ff = { - INNER_JOIN: /* @__PURE__ */ h.jsx(Wv, {}), - OUTER_JOIN: /* @__PURE__ */ h.jsx(Yv, {}), - LEFT_JOIN: /* @__PURE__ */ h.jsx(Zv, {}), - FULL_JOIN: /* @__PURE__ */ h.jsx(Qv, {}), - RIGHT_JOIN: /* @__PURE__ */ h.jsx(Gv, {}), - CROSS_JOIN: /* @__PURE__ */ h.jsx(Kv, {}), - LATERAL_JOIN: /* @__PURE__ */ h.jsx(Xv, {}), - FILTER: /* @__PURE__ */ h.jsx(Vv, {}), - GROUP: /* @__PURE__ */ h.jsx($v, {}), - LIMIT: /* @__PURE__ */ h.jsx(Uv, {}), - SORT: /* @__PURE__ */ h.jsx(qv, {}), - UNION: /* @__PURE__ */ h.jsx(Jv, {}), - SELECT: /* @__PURE__ */ h.jsx(ex, {}) + INNER_JOIN: /* @__PURE__ */ h.jsx($v, {}), + OUTER_JOIN: /* @__PURE__ */ h.jsx(qv, {}), + LEFT_JOIN: /* @__PURE__ */ h.jsx(Wv, {}), + FULL_JOIN: /* @__PURE__ */ h.jsx(Xv, {}), + RIGHT_JOIN: /* @__PURE__ */ h.jsx(Yv, {}), + CROSS_JOIN: /* @__PURE__ */ h.jsx(Gv, {}), + LATERAL_JOIN: /* @__PURE__ */ h.jsx(Kv, {}), + FILTER: /* @__PURE__ */ h.jsx(Bv, {}), + GROUP: /* @__PURE__ */ h.jsx(Vv, {}), + LIMIT: /* @__PURE__ */ h.jsx(Zv, {}), + SORT: /* @__PURE__ */ h.jsx(Uv, {}), + UNION: /* @__PURE__ */ h.jsx(Qv, {}), + SELECT: /* @__PURE__ */ h.jsx(Jv, {}) }, e0 = { - postgres: nx, - snowflake: tx, - s3: ox -}, Ox = ({ data: e }) => { + postgres: tx, + snowflake: ex, + s3: nx +}, Tx = ({ data: e }) => { var p, f; const { type: t, expression: n, id: o } = e, { state: { @@ -22949,8 +22949,8 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { nodesCost: u } } = at(), c = r === "dark", d = ft(); - return /* @__PURE__ */ h.jsxs("div", { style: { width: Fr, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ h.jsx(jr, {}), + return /* @__PURE__ */ h.jsxs("div", { style: { width: Lr, display: "flex", justifyContent: "center" }, children: [ + /* @__PURE__ */ h.jsx(Fr, {}), /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsxs( "div", { @@ -22988,14 +22988,14 @@ const Cx = ({ datatype: e, color: t, size: n = "1rem" }) => { /* @__PURE__ */ h.jsx("span", { children: t }), /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ /* @__PURE__ */ h.jsx( - qa, + Ua, { percentValue: (p = s[o]) == null ? void 0 : p.savings, className: G.savings } ), /* @__PURE__ */ h.jsx( - qa, + Ua, { percentValue: (f = s[o]) == null ? void 0 : f.performance, className: G.performance @@ -23029,13 +23029,13 @@ function a1({ r ); } -function Ho(e) { +function zo(e) { return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e }); } -function Nx(e) { +function Ox(e) { return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e, type: "textarea", rows: 4 }); } -function Dx({ +function Nx({ nodeType: e, label: t, table: n, @@ -23046,14 +23046,14 @@ function Dx({ return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ /* @__PURE__ */ h.jsxs("div", { className: Te(G.node_icon, e1[a]), children: [ - /* @__PURE__ */ h.jsx(fi, { nodeType: a }), - /* @__PURE__ */ h.jsx("div", { children: kr[a] }) + /* @__PURE__ */ h.jsx(di, { nodeType: a }), + /* @__PURE__ */ h.jsx("div", { children: Sr[a] }) ] }), /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: t }) ] }), /* @__PURE__ */ h.jsxs("div", { className: Te("d-flex gap-xs", G.node_extra_info), children: [ (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ h.jsx( - rr, + or, { id: "table-node-tests-" + i, icon: /* @__PURE__ */ h.jsx(Sf, {}), @@ -23062,7 +23062,7 @@ function Dx({ } ), r && /* @__PURE__ */ h.jsx( - rr, + or, { id: "table-node-materilization-" + i, icon: /* @__PURE__ */ h.jsx(kf, {}), @@ -23079,7 +23079,7 @@ function jf() { rerender: o } = at(), r = ft(), { tables: a, level: i } = e, l = Jt(), s = async (d) => { const p = [...l.getNodes()], f = [...l.getEdges()]; - _x( + kx( p, f, d, @@ -23090,7 +23090,7 @@ function jf() { return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), /* @__PURE__ */ h.jsx( - Ho, + zo, { bsSize: "sm", placeholder: "Search by table name", @@ -23116,7 +23116,7 @@ function jf() { m.stopPropagation(), !f && s(d); }, children: /* @__PURE__ */ h.jsx( - Dx, + Nx, { nodeType: d.nodeType, label: d.label, @@ -23131,25 +23131,25 @@ function jf() { }) }) }) ] }); } -const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { - component: Lx, - spin: Fx +const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { + component: Dx, + spin: Lx }, Rf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ h.jsx( "div", { - className: jx.component, + className: Fx.component, style: { top: `${e}%`, left: `${t}%` }, children: /* @__PURE__ */ h.jsx("div", { style: { marginTop: "-70px" }, children: n }) } -), Rx = "_level_tag_x6wwh_1", Ix = { - level_tag: Rx -}, zx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(Ix.level_tag), children: e }), If = ({ purpose: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "purpose-section"), children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ +), jx = "_level_tag_x6wwh_1", Rx = { + level_tag: jx +}, Ix = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(Rx.level_tag), children: e }), If = ({ purpose: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "purpose-section"), children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), /* @__PURE__ */ h.jsx("div", { className: Te(G.column_card), children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs", children: e }) }) ] }) }) }), zf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { const { state: { theme: r } - } = Je(no); + } = et(to); return /* @__PURE__ */ h.jsxs( "div", { @@ -23161,15 +23161,15 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { "data-testid": "table-details-" + e.name, children: [ /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ h.jsx(Cx, { datatype: e.datatype || "" }), + /* @__PURE__ */ h.jsx(yx, { datatype: e.datatype || "" }), /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e.name }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - e.can_lineage_expand && /* @__PURE__ */ h.jsx("div", { className: G.expand_lineage_icon, children: /* @__PURE__ */ h.jsx(Tv, {}) }), - e.datatype && /* @__PURE__ */ h.jsx(zx, { label: e.datatype }) + e.can_lineage_expand && /* @__PURE__ */ h.jsx("div", { className: G.expand_lineage_icon, children: /* @__PURE__ */ h.jsx(Mv, {}) }), + e.datatype && /* @__PURE__ */ h.jsx(Ix, { label: e.datatype }) ] }), e.description && /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), e.code && /* @__PURE__ */ h.jsx( - Tr, + Mr, { code: e.code, language: "sql", @@ -23180,7 +23180,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { ] } ); -}, Hx = ({ +}, zx = ({ columns: e, filteredColumn: t, setFilteredColumn: n, @@ -23196,12 +23196,12 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }), l && !s && !u && /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", onClick: () => { - r && di(r.table, !0).then((c) => { + r && ui(r.table, !0).then((c) => { c && (i(c), n(c.columns)); }); }, @@ -23210,7 +23210,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { ) ] }), /* @__PURE__ */ h.jsx( - Ho, + zo, { bsSize: "sm", type: "text", @@ -23244,12 +23244,12 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { c.name )) }) ] }) }); -}, Px = ({ tests: e }) => { +}, Hx = ({ tests: e }) => { const [t, n] = ce(e); return /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), /* @__PURE__ */ h.jsx( - Ho, + zo, { bsSize: "sm", type: "text", @@ -23272,7 +23272,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { nodeType: e, table: t }) => /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ h.jsx(fi, { nodeType: e }), + /* @__PURE__ */ h.jsx(di, { nodeType: e }), /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) ] }), Hf = () => { var w; @@ -23289,7 +23289,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { } } = at(), s = ft(), u = Jt(), [c, d] = ce([]), [p, f] = ce(null), [m, b] = ce(0), [y, g] = ce(!0); ue(() => { - t && (g(!0), di(t, !1).then((E) => { + t && (g(!0), ui(t, !1).then((E) => { f(E), d(E.columns), g(!1); }).catch(() => { g(!1); @@ -23298,7 +23298,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { const x = async (E) => { var T; if (!a) { - gx(); + px(); return; } if (Xe.inProgress) { @@ -23306,18 +23306,18 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { return; } if ((n == null ? void 0 : n.table) === E.table && (n == null ? void 0 : n.name) === E.name) { - const [D, I] = kx( + const [D, I] = Sx( u.getNodes(), u.getEdges() ); - Er(I, !0), Sr(I, !0), u.setNodes(D), u.setEdges(I), s(Wn({ table: "", name: "" })), s(hr({})), s(Gt("")); + wr(I, !0), Er(I, !0), u.setNodes(D), u.setEdges(I), s($n({ table: "", name: "" })), s(fr({})), s(Gt("")); return; } const M = (T = u.getNode(E.table)) == null ? void 0 : T.data; if (!M) throw new Error(`table node ${E.table} isn't visible`); let _ = u.getNodes(), L = u.getEdges(); - Er(L, !1), Sr(L, !0); + wr(L, !1), Er(L, !0); const R = async (D) => { [_, L] = await Df( _, @@ -23326,12 +23326,12 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { D ), hn(_, L); }, { upstreamCount: F, downstreamCount: P } = M; - F > 0 && L.filter((D) => D.source === E.table).length < F && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s(Wn({ ...E })), s(Gt("")), s(hr({})), s(O9({ confidence: "high" })); + F > 0 && L.filter((D) => D.source === E.table).length < F && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s($n({ ...E })), s(Gt("")), s(fr({})), s(T9({ confidence: "high" })); const [V, k] = Nf( _.filter(En), L.filter(En) ); - k.forEach((D) => D.style = ci), u.setNodes(V), u.setEdges(k), e(); + k.forEach((D) => D.style = si), u.setNodes(V), u.setEdges(k), e(); const N = (D) => t1( V, k, @@ -23358,7 +23358,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { Xe.start(), (await Promise.all([ N(!0), N(!1) - ])).every((I) => !I) && (s(Wn({ table: "", name: "" })), zs(u, E.table), Xe.isCancelled || Jc( + ])).every((I) => !I) && (s($n({ table: "", name: "" })), zs(u, E.table), Xe.isCancelled || Jc( `No lineage found for model ${E.table} and column ${E.name}` )); } catch (D) { @@ -23368,7 +23368,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { E.name, ", error:", D - ), s(Wn({ table: "", name: "" })), zs(u, E.table); + ), s($n({ table: "", name: "" })), zs(u, E.table); } finally { Xe.end(); } @@ -23396,7 +23396,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { E )) }), m === 0 && /* @__PURE__ */ h.jsx( - Hx, + zx, { selectedTable: C, selectedColumn: n, @@ -23408,13 +23408,13 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { allowSyncColumnsWithDB: i } ), - m === 1 && /* @__PURE__ */ h.jsx(Px, { tests: C.tests }) + m === 1 && /* @__PURE__ */ h.jsx(Hx, { tests: C.tests }) ] }); -}, Bx = () => { +}, Px = () => { var f, m, b, y; const { state: { theme: e } - } = Je(no), { + } = et(to), { state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } } = at(), r = (b = (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( (g) => ({ @@ -23430,7 +23430,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { c && /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "mb-0 purpose-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), /* @__PURE__ */ h.jsx( - Tr, + Mr, { code: c, language: "sql", @@ -23445,12 +23445,12 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }), o && p && ["table", "final"].includes(d || "") && /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", onClick: () => { - di(p, !0).then((g) => { + ui(p, !0).then((g) => { i(g.columns), s(g.columns); }); }, @@ -23459,7 +23459,7 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { ) ] }), /* @__PURE__ */ h.jsx( - Ho, + zo, { bsSize: "sm", placeholder: "Search by column name", @@ -23495,48 +23495,48 @@ const Lx = "_component_13r39_1", Fx = "_spin_13r39_1", jx = { )) }) ] }) }) ] }); -}, ca = ({ title: e, value: t }) => /* @__PURE__ */ h.jsxs("div", { className: Te(G.column_card, {}), children: [ +}, sa = ({ title: e, value: t }) => /* @__PURE__ */ h.jsxs("div", { className: Te(G.column_card, {}), children: [ /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }) ] }), /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) -] }), Vx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { children: e }), Pf = () => { +] }), Bx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { children: e }), Pf = () => { var l; const e = Jt(), { state: { selectedTable: t } } = at(), [n, o] = ce(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ce(!0); return ue(() => { - t && cx(t).then((s) => { + t && sx(t).then((s) => { o(s), i(!1); }); }, [t]), a || !n || !t ? /* @__PURE__ */ h.jsx(Rf, {}) : /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ h.jsx(fi, { nodeType: r.nodeType }), + /* @__PURE__ */ h.jsx(di, { nodeType: r.nodeType }), /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) ] }), n.description ? /* @__PURE__ */ h.jsx(If, { purpose: n.description }) : null, /* @__PURE__ */ h.jsxs("div", { className: Te(G.card, "flex-grow column-section"), children: [ /* @__PURE__ */ h.jsx( - ca, + sa, { title: "Owner", value: `${n.owner.name} - ${n.owner.email}` } ), - /* @__PURE__ */ h.jsx(ca, { title: "Url", value: n.url }), + /* @__PURE__ */ h.jsx(sa, { title: "Url", value: n.url }), /* @__PURE__ */ h.jsx( - ca, + sa, { title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ h.jsx(Vx, { label: s })) + value: n.tags.map((s) => /* @__PURE__ */ h.jsx(Bx, { label: s })) } ), - /* @__PURE__ */ h.jsx(ca, { title: "Maturity", value: n.maturity }) + /* @__PURE__ */ h.jsx(sa, { title: "Maturity", value: n.maturity }) ] }) ] }); }; -function $x({ close: e }) { +function Vx({ close: e }) { const [t, n] = ce( "" /* None */ @@ -23546,12 +23546,12 @@ function $x({ close: e }) { /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), /* @__PURE__ */ h.jsx("div", { className: "spacer" }), /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), px(); + l.stopPropagation(), hx(); }, children: "Chat with us" } @@ -23561,7 +23561,7 @@ function $x({ close: e }) { !a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm m-2", children: [ t === "good" ? /* @__PURE__ */ h.jsx( - Dv, + Nv, { className: "cursor-pointer", onClick: () => n( @@ -23570,7 +23570,7 @@ function $x({ close: e }) { ) } ) : /* @__PURE__ */ h.jsx( - Ov, + Tv, { className: "cursor-pointer", onClick: () => n( @@ -23580,7 +23580,7 @@ function $x({ close: e }) { } ), t === "bad" ? /* @__PURE__ */ h.jsx( - Lv, + Dv, { className: "cursor-pointer", onClick: () => n( @@ -23589,7 +23589,7 @@ function $x({ close: e }) { ) } ) : /* @__PURE__ */ h.jsx( - Nv, + Ov, { className: "cursor-pointer", onClick: () => n( @@ -23601,7 +23601,7 @@ function $x({ close: e }) { ] }), /* @__PURE__ */ h.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), /* @__PURE__ */ h.jsx( - Nx, + Ox, { value: o, onChange: (l) => r(l.target.value), @@ -23610,12 +23610,12 @@ function $x({ close: e }) { ), /* @__PURE__ */ h.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", onClick: async (l) => { - l.stopPropagation(), t !== "" && (await dx({ + l.stopPropagation(), t !== "" && (await ux({ feedback_value: t, feedback_text: o }), i(!0)); @@ -23624,7 +23624,7 @@ function $x({ close: e }) { } ), /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "link", @@ -23640,7 +23640,7 @@ function $x({ close: e }) { a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsx("p", { children: "Many thanks for your feedback!" }), /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", @@ -23654,7 +23654,7 @@ function $x({ close: e }) { ] }) ] }); } -function Wx({ applyDefault: e }) { +function $x({ applyDefault: e }) { const { state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } } = at(), a = ft(); @@ -23662,9 +23662,9 @@ function Wx({ applyDefault: e }) { /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(ha, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), + /* @__PURE__ */ h.jsx(fa, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), /* @__PURE__ */ h.jsx( - Ho, + zo, { id: "default-expansion", value: o, @@ -23698,7 +23698,7 @@ function Wx({ applyDefault: e }) { } ), /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx(ha, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), + /* @__PURE__ */ h.jsx(fa, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), /* @__PURE__ */ h.jsx("div", { className: "text-grey", children: "Select linkages are shown if there is direct flow of data between columns through select statements." }) ] }) ] }), @@ -23722,7 +23722,7 @@ function Wx({ applyDefault: e }) { } ), /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx(ha, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), + /* @__PURE__ */ h.jsx(fa, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), /* @__PURE__ */ h.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) ] }) ] }) @@ -23737,7 +23737,7 @@ function Vf({ trigger: t, render: n }) { - const o = he(null), { openedPopover: r, setOpenedPopover: a } = Je(Bf); + const o = he(null), { openedPopover: r, setOpenedPopover: a } = et(Bf); return ue(() => { const i = (l) => { if (!o.current) return; @@ -23773,7 +23773,7 @@ function Vf({ ) ] }); } -const Zx = () => { +const Wx = () => { const e = Jt(), { state: { selectedTable: t, @@ -23813,7 +23813,7 @@ const Zx = () => { if (!t) return; const f = (S = e.getNode(t)) == null ? void 0 : S.data; if (!f) return; - const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Ua( + const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Za( b, y, t, @@ -23844,14 +23844,14 @@ const Zx = () => { { id: "auto-expansion-popover", trigger: /* @__PURE__ */ h.jsxs( - Re, + Ie, { size: "sm", color: "primary", className: "d-flex gap-sm align-items-center", type: "button", children: [ - /* @__PURE__ */ h.jsx(Fv, {}), + /* @__PURE__ */ h.jsx(Lv, {}), "Expand" ] } @@ -23873,7 +23873,7 @@ const Zx = () => { onClick: (m) => { m.stopPropagation(), t && c(Al(s[0])); }, - children: /* @__PURE__ */ h.jsx(jv, {}) + children: /* @__PURE__ */ h.jsx(Fv, {}) } ), /* @__PURE__ */ h.jsx("div", { className: G.divider }), @@ -23884,7 +23884,7 @@ const Zx = () => { onClick: (m) => { m.stopPropagation(), t && d(); }, - children: /* @__PURE__ */ h.jsx(Rv, {}) + children: /* @__PURE__ */ h.jsx(jv, {}) } ) ] }), @@ -23908,7 +23908,7 @@ const Zx = () => { onClick: (m) => { m.stopPropagation(), t && p(); }, - children: /* @__PURE__ */ h.jsx(Iv, {}) + children: /* @__PURE__ */ h.jsx(Rv, {}) } ), /* @__PURE__ */ h.jsx("div", { className: G.divider }), @@ -23932,7 +23932,7 @@ const Zx = () => { /* @__PURE__ */ h.jsx("div", { className: "normal-text", children: "Children" }) ] }), /* @__PURE__ */ h.jsxs( - Re, + Ie, { color: a === 0 ? "secondary" : "primary", size: "sm", @@ -23942,15 +23942,15 @@ const Zx = () => { if (m.stopPropagation(), !t) return; const b = (x = e.getNode(t)) == null ? void 0 : x.data; if (!b) return; - const [y, g] = await Ua( + const [y, g] = await Za( e.getNodes(), e.getEdges(), t, b.level - n, b.level + o ); - _r(y, g, t), hn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( - pr(Ar(y, g, t)) + kr(y, g, t), hn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( + hr(_r(y, g, t)) ), c( ko( await Do( @@ -23973,23 +23973,23 @@ const Zx = () => { ] }) } ); -}, Ux = () => { +}, Zx = () => { const { state: { selectedColumn: e, confidence: t, aiEnabled: n } } = at(), o = document.getElementById("expand-container"); return o ? Rn( /* @__PURE__ */ h.jsx(zt, { className: G.menu_card_container, children: /* @__PURE__ */ h.jsx(un, { className: G.menu_card, children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ h.jsx(Zx, {}), + /* @__PURE__ */ h.jsx(Wx, {}), n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsx("div", { className: G.verticle_divider }), /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ /* @__PURE__ */ h.jsx("div", { children: "Confidence" }), /* @__PURE__ */ h.jsx( - qn, + Un, { 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__ */ h.jsx(y8, {}) + children: /* @__PURE__ */ h.jsx(b8, {}) } ), /* @__PURE__ */ h.jsx("div", { className: G.low_confidence, children: "Low" }) @@ -23998,48 +23998,48 @@ const Zx = () => { ] }) }) }), o ) : null; -}, qx = () => { +}, Ux = () => { const e = document.getElementById("settings-container"), t = ft(); return e ? Rn( /* @__PURE__ */ h.jsxs( - Re, + Ie, { outline: !0, onClick: () => t(Gt(mf)), children: [ - /* @__PURE__ */ h.jsx(b8, {}), + /* @__PURE__ */ h.jsx(m8, {}), "Settings" ] } ), e ) : null; -}, Yx = ({ flow: e }) => { +}, qx = ({ flow: e }) => { const t = document.getElementById("reset-container"), n = ft(); return t ? Rn( /* @__PURE__ */ h.jsxs( - Re, + Ie, { outline: !0, onClick: () => { - e.setNodes([]), e.setEdges([]), n(Wn({ table: "", name: "" })), n(hr({})), n(Cc({})), Mf(), Xe.cancel(); + e.setNodes([]), e.setEdges([]), n($n({ table: "", name: "" })), n(fr({})), n(Cc({})), Mf(), Xe.cancel(); }, "data-testid": "reset-btn", className: G.reset_btn, children: [ - /* @__PURE__ */ h.jsx(m8, {}), + /* @__PURE__ */ h.jsx(g8, {}), /* @__PURE__ */ h.jsx("span", { children: "Reset" }) ] } ), t ) : null; -}, Gx = ({ +}, Yx = ({ viewsCodeArgs: e }) => { const { state: { theme: t } - } = Je(no), n = ft(), o = Jt(), r = Be(() => { + } = et(to), n = ft(), o = Jt(), r = Be(() => { var i, l; return e ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null ? void 0 : l.label : ""; }, [o, e]), a = Be(() => { @@ -24083,7 +24083,7 @@ const Zx = () => { a.length > 0 && /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), a.map((i) => /* @__PURE__ */ h.jsx( - Tr, + Mr, { code: i, language: "sql", @@ -24098,10 +24098,10 @@ const Zx = () => { } ); }; -function Kx({ opNodeArgs: e }) { +function Gx({ opNodeArgs: e }) { const { state: { theme: t } - } = Je(no); + } = et(to); return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ Ff[e.op_type], @@ -24110,7 +24110,7 @@ function Kx({ opNodeArgs: e }) { /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), /* @__PURE__ */ h.jsx( - Tr, + Mr, { code: e.op_code, language: "sql", @@ -24145,16 +24145,16 @@ const l1 = () => { } ), e.type === "views_code" && /* @__PURE__ */ h.jsx( - Gx, + Yx, { viewsCodeArgs: e.args } ), - e.type === "op_node" && /* @__PURE__ */ h.jsx(Kx, { opNodeArgs: e.args }) + e.type === "op_node" && /* @__PURE__ */ h.jsx(Gx, { opNodeArgs: e.args }) ] }) } ) : null; -}, Xx = ({ flow: e }) => { +}, Kx = ({ flow: e }) => { const t = document.getElementById("export-container"), { state: { selectedColumn: n, collectColumns: o } } = at(), [r, a] = ce(""), i = async (l) => { @@ -24170,7 +24170,7 @@ const l1 = () => { await Promise.all( e.getNodes().map(async (m) => { if (vt(m)) return; - const b = await di(m.id, !1); + const b = await ui(m.id, !1); d[m.id] = { type: m.data.nodeType, nodeId: m.id, @@ -24179,7 +24179,7 @@ const l1 = () => { }; }) ); - const f = await bx({ name: r, lineage_data: { + const f = await mx({ name: r, lineage_data: { selectedColumn: n, collectColumns: o, tableEdges: u, @@ -24193,13 +24193,13 @@ const l1 = () => { Vf, { id: "export-popover", - trigger: /* @__PURE__ */ h.jsxs(Re, { outline: !0, children: [ + trigger: /* @__PURE__ */ h.jsxs(Ie, { outline: !0, children: [ /* @__PURE__ */ h.jsx(A2, {}), "Export" ] }), render: ({ close: l }) => /* @__PURE__ */ h.jsxs("div", { children: [ /* @__PURE__ */ h.jsx( - Ho, + zo, { id: "export-name", value: r, @@ -24210,7 +24210,7 @@ const l1 = () => { } ), /* @__PURE__ */ h.jsxs( - Re, + Ie, { outline: !0, onClick: () => i(l), @@ -24226,11 +24226,11 @@ const l1 = () => { ), t ) : null; -}, Qx = { +}, Xx = { table: Lf, seeMore: n1, column: r1 -}, Jx = { selfConnecting: o1 }, ew = ({ +}, Qx = { selfConnecting: o1 }, Jx = ({ flow: e, theme: t }) => { @@ -24249,19 +24249,19 @@ const l1 = () => { } = at(), f = ft(), m = he(c), b = () => { if (e.current) { const C = e.current.getEdges(); - Er(C, !0), Sr(C, !1), e.current.setEdges(C); + wr(C, !0), Er(C, !1), e.current.setEdges(C); } }, y = Me( async (C) => { if (f(Gt("")), !C) return; - f(N9(C.aiEnabled)); + f(O9(C.aiEnabled)); const { node: S } = C, w = e.current; if (!w || !S) return; if (w.getNode(S.table)) { - f(Jn(S.table)); + f(Qn(S.table)); let L = w.getNodes(), R = w.getEdges(); - u != null && u.name || ([L, R] = _r(L, R, S.table), w.setNodes(L), w.setEdges(R)), f( - pr(Ar(L, R, S.table)) + u != null && u.name || ([L, R] = kr(L, R, S.table), w.setNodes(L), w.setEdges(R)), f( + hr(_r(L, R, S.table)) ), f( ko( await Do( @@ -24276,13 +24276,13 @@ const l1 = () => { return; } let M = [], _ = []; - M = [Oo(S, 0, "")], [M, _] = await Ua( + M = [Oo(S, 0, "")], [M, _] = await Za( M, _, S.table, -m.current, m.current - ), f(Jn(S.table)), f(Wn({ table: "", name: "" })), f(hr({})), f(Cc({})), [M, _] = _r(M, _, S.table), hn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), f(pr(Ar(M, _, S.table))), f( + ), f(Qn(S.table)), f($n({ table: "", name: "" })), f(fr({})), f(Cc({})), [M, _] = kr(M, _, S.table), hn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), f(hr(_r(M, _, S.table))), f( ko( await Do( M, @@ -24306,7 +24306,7 @@ const l1 = () => { }; }, []); const g = Me(async () => { - const C = await fx(); + const C = await dx(); f(qd(C.showSelectEdges)), f(Yd(C.showNonSelectEdges)), f(Gd(C.defaultExpansion)), m.current = C.defaultExpansion; }, [f]); ue(() => { @@ -24380,15 +24380,15 @@ const l1 = () => { className: "lineage_flow_component", style: { width: "100%", height: "100%" }, "data-theme": t, - children: /* @__PURE__ */ h.jsx(Bf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ h.jsxs(Lr, { children: [ + children: /* @__PURE__ */ h.jsx(Bf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ h.jsxs(Dr, { children: [ /* @__PURE__ */ h.jsxs( - si, + li, { defaultNodes: [], defaultEdges: [], onInit: (C) => x(C), - nodeTypes: Qx, - edgeTypes: Jx, + nodeTypes: Xx, + edgeTypes: Qx, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: Fs, @@ -24398,7 +24398,7 @@ const l1 = () => { ] } ), - /* @__PURE__ */ h.jsx(ax, {}), + /* @__PURE__ */ h.jsx(rx, {}), /* @__PURE__ */ h.jsxs( a1, { @@ -24409,9 +24409,9 @@ const l1 = () => { i === Zc && /* @__PURE__ */ h.jsx(jf, {}), i === $c && /* @__PURE__ */ h.jsx(Hf, {}), i === Wc && /* @__PURE__ */ h.jsx(Pf, {}), - i === My && /* @__PURE__ */ h.jsx($x, { close: () => Gt("") }), + i === Ay && /* @__PURE__ */ h.jsx(Vx, { close: () => Gt("") }), i === mf && /* @__PURE__ */ h.jsx( - Wx, + $x, { applyDefault: (C) => m.current = C } @@ -24419,21 +24419,21 @@ const l1 = () => { ] } ), - e.current ? /* @__PURE__ */ h.jsx(Xx, { flow: e.current }) : null, + e.current ? /* @__PURE__ */ h.jsx(Kx, { flow: e.current }) : null, + /* @__PURE__ */ h.jsx(Zx, {}), /* @__PURE__ */ h.jsx(Ux, {}), - /* @__PURE__ */ h.jsx(qx, {}), - e.current ? /* @__PURE__ */ h.jsx(Yx, { flow: e.current }) : null, + e.current ? /* @__PURE__ */ h.jsx(qx, { flow: e.current }) : null, /* @__PURE__ */ h.jsx(l1, {}) ] }) }) } ); -}, tw = { +}, ew = { table: Lf, seeMore: n1, column: r1 -}, nw = { +}, tw = { selfConnecting: o1 -}, ow = ({ +}, nw = ({ flow: e, selectedColumn: t, collectColumns: n, @@ -24445,7 +24445,7 @@ const l1 = () => { state: { sidebarScreen: i } } = at(), l = ft(); return ue(() => { - l(hr(n)), setTimeout(async () => { + l(fr(n)), setTimeout(async () => { var b, y; const s = (g) => ({ table: g, @@ -24460,7 +24460,7 @@ const l1 = () => { const p = [...u], f = {}, m = (g, x) => { var w, E; const C = g ? r.filter(([M]) => M === x).map(([, M]) => M) : r.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = c.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return hi( + return fi( c, d, C.map(s), @@ -24480,7 +24480,7 @@ const l1 = () => { )); } if (t) { - const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await Ex( + const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await wx( c, d, g, @@ -24500,15 +24500,15 @@ const l1 = () => { }, 1e3); return () => clearInterval(s); }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsxs(Lr, { children: [ + /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsxs(Dr, { children: [ /* @__PURE__ */ h.jsxs( - si, + li, { defaultNodes: [], defaultEdges: [], onInit: (s) => e.current = s, - nodeTypes: tw, - edgeTypes: nw, + nodeTypes: ew, + edgeTypes: tw, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: 0.05, @@ -24534,14 +24534,14 @@ const l1 = () => { ] }) }), /* @__PURE__ */ h.jsx(l1, {}) ] }); -}, rw = { - table: Tx, +}, ow = { + table: Mx, seeMore: n1, column: r1, - operator: Ox -}, aw = { + operator: Tx +}, rw = { selfConnecting: o1 -}, iw = ({ +}, aw = ({ flow: e, tableEdges: t, details: n, @@ -24551,7 +24551,7 @@ const l1 = () => { state: { selectedTable: r } } = at(), a = ft(); return ue(() => { - a(L9({ details: n, tableEdges: t })); + a(D9({ details: n, tableEdges: t })); }, [n]), ue(() => { setTimeout(async () => { var f, m, b, y; @@ -24565,7 +24565,7 @@ const l1 = () => { tests: [] }); if (o) { - const g = Object.keys(o).map((C) => n[C].type in kr ? Oo(i(C), 0, "") : wf(C, 0, "", n[C])), x = t.map( + const g = Object.keys(o).map((C) => n[C].type in Sr ? Oo(i(C), 0, "") : wf(C, 0, "", n[C])), x = t.map( ([C, S]) => Kc( o[C][1], o[S][1], @@ -24590,7 +24590,7 @@ const l1 = () => { const c = [...l], d = {}, p = (g, x) => { var w, E; const C = g ? t.filter(([M]) => M === x).map(([, M]) => M) : t.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = s.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return hi( + return fi( s, u, C.map(i), @@ -24616,18 +24616,18 @@ const l1 = () => { return () => clearInterval(i); }, []), ue(() => { const i = (d) => { - a(F9(d.detail)); + a(L9(d.detail)); }, l = (d) => { - a(j9(d.detail)); + a(F9(d.detail)); }, s = () => { setTimeout(() => { var d; (d = e.current) == null || d.fitView({ duration: 500 }); }, 500); }, u = (d) => { - a(R9(d.detail)); + a(j9(d.detail)); }, c = (d) => { - a(I9(d.detail)); + a(R9(d.detail)); }; return document.addEventListener("onHighlightedNodes", i), document.addEventListener("onSelectedNodes", l), document.addEventListener( "onNodesSavingsPerformance", @@ -24639,14 +24639,14 @@ const l1 = () => { ), document.removeEventListener("onNodesCost", c), document.removeEventListener("fitView", s); }; }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsx(Lr, { children: /* @__PURE__ */ h.jsxs( - si, + /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsx(Dr, { children: /* @__PURE__ */ h.jsxs( + li, { defaultNodes: [], defaultEdges: [], onInit: (i) => e.current = i, - nodeTypes: rw, - edgeTypes: aw, + nodeTypes: ow, + edgeTypes: rw, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: 0.05, @@ -24661,17 +24661,17 @@ const l1 = () => { a1, { isOpen: !!r, - closeModal: () => a(Jn("")), + closeModal: () => a(Qn("")), width: "30vw", - children: !!r && /* @__PURE__ */ h.jsx(Bx, {}) + children: !!r && /* @__PURE__ */ h.jsx(Px, {}) } ) ] }); -}, no = Ht({ - state: Da.getInitialState(), +}, to = Ht({ + state: Na.getInitialState(), dispatch: () => null, rerender: () => null -}), lw = ({ +}), iw = ({ theme: e = "dark", lineageType: t, sqlLineage: n, @@ -24680,8 +24680,8 @@ const l1 = () => { allowSyncColumnsWithDB: a, externalSidePanel: i = !1 }) => { - const [l, s] = ec(Da.reducer, { - ...Da.getInitialState(), + const [l, s] = ec(Na.reducer, { + ...Na.getInitialState(), theme: e, lineageType: t, sqlLineage: n, @@ -24689,7 +24689,7 @@ const l1 = () => { externalSidePanel: i }), u = he(), [, c] = ce(0), d = Me(() => c((f) => (f + 1) % 100), []); ue(() => { - s(D9(e)); + s(N9(e)); }, [e]); const p = Be( () => ({ @@ -24699,9 +24699,9 @@ const l1 = () => { }), [l, s, d] ); - return /* @__PURE__ */ h.jsx(no.Provider, { value: p, children: /* @__PURE__ */ h.jsxs("div", { className: "lineage-component", children: [ + return /* @__PURE__ */ h.jsx(to.Provider, { value: p, children: /* @__PURE__ */ h.jsxs("div", { className: "lineage-component", children: [ t === "sql" && n && /* @__PURE__ */ h.jsx( - iw, + aw, { flow: u, details: n.details, @@ -24709,14 +24709,14 @@ const l1 = () => { nodePositions: n.nodePositions } ), - t === "dynamic" && o && /* @__PURE__ */ h.jsx(ew, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ h.jsx(ow, { flow: u, ...r }), + t === "dynamic" && o && /* @__PURE__ */ h.jsx(Jx, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ h.jsx(nw, { flow: u, ...r }), /* @__PURE__ */ h.jsx("div", { id: "lineage-sidebar" }) ] }) }); -}, at = () => Je(no), ft = () => { - const { dispatch: e } = Je(no); +}, at = () => et(to), ft = () => { + const { dispatch: e } = et(to); return e; -}, gA = (e) => /* @__PURE__ */ h.jsx(lw, { ...e }), $f = { +}, gA = (e) => /* @__PURE__ */ h.jsx(iw, { ...e }), $f = { showCoachingForm: !1 }, Ps = cc({ name: "teamMate", @@ -24726,7 +24726,7 @@ const l1 = () => { e.showCoachingForm = t.payload; } } -}), sw = Ps.actions, Wf = Ht({ +}), lw = Ps.actions, Wf = Ht({ state: $f, dispatch: () => null }), mA = ({ @@ -24743,17 +24743,17 @@ const l1 = () => { [t, n] ); return /* @__PURE__ */ h.jsx(Wf.Provider, { value: o, children: e }); -}, cw = ({ +}, sw = ({ errors: e, isSubmitting: t, taskLabel: n, onSuccess: o, onCancel: r }) => { - const { setFieldError: a, values: i, setSubmitting: l } = J0(), s = async () => await ze.post("coach/training", { + const { setFieldError: a, values: i, setSubmitting: l } = J0(), s = async () => await je.post("coach/training", { ...i, taskLabel: n - }), { mutate: u, error: c } = Ro({ + }), { mutate: u, error: c } = jo({ // @ts-ignore queryFn: s, onSuccess: (d) => { @@ -24767,7 +24767,7 @@ const l1 = () => { ns, { name: "content", - render: ({ field: d }) => /* @__PURE__ */ h.jsxs(lr, { children: [ + render: ({ field: d }) => /* @__PURE__ */ h.jsxs(ir, { children: [ /* @__PURE__ */ h.jsx( Cn, { @@ -24781,10 +24781,10 @@ const l1 = () => { ] }) } ), - /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-end", children: [ - /* @__PURE__ */ h.jsx(Re, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-end", children: [ + /* @__PURE__ */ h.jsx(Ie, { onClick: r, children: "Cancel" }), /* @__PURE__ */ h.jsx( - jo, + Fo, { color: "primary", loading: t, @@ -24801,9 +24801,9 @@ const l1 = () => { const i = a.path.join("."); return Object.assign(Object.assign({}, r), { [i]: a.message }); }, {}); -}, uw = tt.object({ - content: tt.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" }) -}), dw = ({ +}, cw = nt.object({ + content: nt.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" }) +}), uw = ({ taskLabel: e, context: t, onClose: n, @@ -24817,7 +24817,7 @@ const l1 = () => { l(!1); }, d = async () => { if (r) - return c(), await ze.post( + return c(), await je.post( "coach/training/confirm", { content: r.ai_response, @@ -24833,14 +24833,14 @@ const l1 = () => { error: f, loading: m, data: b - } = Ro({ + } = jo({ // @ts-ignore queryFn: d, onSuccess: () => { l(!1); } }); - return b != null && b.frontend_url ? /* @__PURE__ */ h.jsxs(Mr, { children: [ + return b != null && b.frontend_url ? /* @__PURE__ */ h.jsxs(Ar, { children: [ "Thank you for coaching Datapilot. Click the link to", " ", /* @__PURE__ */ h.jsx( @@ -24851,7 +24851,7 @@ const l1 = () => { children: "View learnings" } ) - ] }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", children: [ + ] }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", children: [ /* @__PURE__ */ h.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__ */ h.jsx( td, @@ -24859,9 +24859,9 @@ const l1 = () => { initialValues: { content: "" }, onSubmit: () => { }, - validate: Zf(uw), + validate: Zf(cw), children: (y) => /* @__PURE__ */ h.jsx( - cw, + sw, { ...y, taskLabel: e, @@ -24891,68 +24891,51 @@ const l1 = () => { f && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: f.message }) ] }), /* @__PURE__ */ h.jsxs(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - i ? /* @__PURE__ */ h.jsx(Re, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ h.jsx(Re, { variant: "secondary", onClick: u, children: "Edit" }), - /* @__PURE__ */ h.jsx(jo, { loading: m, onClick: p, color: "primary", children: "Save" }) + i ? /* @__PURE__ */ h.jsx(Ie, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ h.jsx(Ie, { variant: "secondary", onClick: u, children: "Edit" }), + /* @__PURE__ */ h.jsx(Fo, { loading: m, onClick: p, color: "primary", children: "Save" }) ] }) ] }) ] }); -}, fw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_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", pw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_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", t0 = "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", gw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { +}, dw = "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", fw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1707)'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='%2341C676'/%3e%3cpath%20d='M34.7918%2043.7001H25.262V50.1142H34.7918V43.7001Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M44.3289%2035.8214C47.4632%2035.8214%2050.0268%2035.0784%2050.0268%2030.8222C50.0268%2026.5976%2047.4632%2025.8232%2044.3289%2025.8232V35.8214Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M12.1643%2033.3777C12.1643%2039.6628%2017.2916%2044.8045%2023.5578%2044.8045H36.4957C42.7625%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7625%2018.6824%2036.4957%2018.6824H23.5578C17.2916%2018.6824%2012.1643%2023.8238%2012.1643%2030.1092V33.3777Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.2625%2038.6511C40.1176%2038.6511%2043.2541%2035.5057%2043.2541%2031.6401C43.2541%2027.7735%2040.1176%2024.6288%2036.2625%2024.6288H23.3247C19.4705%2024.6288%2016.3334%2027.7735%2016.3334%2031.6401C16.3334%2035.5057%2019.4705%2038.6511%2023.3247%2038.6511H36.2625Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M35.0116%2022.9674C35.0116%2019.8248%2034.271%2017.254%2030.0264%2017.254C25.8144%2017.254%2025.0416%2019.8248%2025.0416%2022.9674H35.0116Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M27.8734%2010.9127C27.8734%209.71947%2028.8385%208.75259%2030.0265%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2012.1074%2031.2175%2013.0739%2030.0265%2013.0739C28.8385%2013.0739%2027.8734%2012.1074%2027.8734%2010.9127Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M31.5221%2011.3548C31.5221%2010.1607%2030.5571%209.19412%2029.3694%209.19412C29.0706%209.19412%2028.7855%209.25556%2028.5271%209.36516C28.915%208.98658%2029.4447%208.75259%2030.0298%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2011.8086%2031.6409%2012.5759%2030.8687%2012.9041C31.272%2012.5114%2031.5221%2011.9634%2031.5221%2011.3548Z'%20fill='%23D8FFF2'/%3e%3cpath%20d='M30.7466%2012.4755H29.3079V17.8941H30.7466V12.4755Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.4963%2018.6824H33.9094C39.1512%2018.6824%2045.4817%2023.8238%2045.4817%2030.1092V33.3777C45.4817%2039.6628%2039.9154%2044.8045%2033.6473%2044.8045H36.4963C42.7631%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7631%2018.6824%2036.4963%2018.6824Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M13.9897%2025.9258C11.6977%2026.2399%2010.0269%2027.3867%2010.0269%2030.8222C10.0269%2034.074%2011.5455%2035.2816%2013.6737%2035.6657C14.0613%2035.7355%2014.3498%2025.8766%2013.9897%2025.9258Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M26.3334%2032C26.3334%2030.8937%2025.4359%2030%2024.3328%2030C23.2276%2030%2022.3334%2030.8937%2022.3334%2032C22.3334%2033.1053%2023.2276%2034%2024.3328%2034C25.4359%2034%2026.3334%2033.1053%2026.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M38.3334%2032C38.3334%2030.8937%2037.4359%2030%2036.3328%2030C35.2276%2030%2034.3334%2030.8937%2034.3334%2032C34.3334%2033.1053%2035.2276%2034%2036.3328%2034C37.4359%2034%2038.3334%2033.1053%2038.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M41.0027%2056.5086C41.0027%2051.3979%2037.1179%2048.2255%2030.0274%2048.2255C22.9933%2048.2255%2019.0515%2051.3979%2019.0515%2056.5086C19.0515%2061.6178%2024.9304%2060.5907%2030.0274%2060.5907C35.1234%2060.5907%2041.0027%2061.6178%2041.0027%2056.5086Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M38.808%2056.5087C38.808%2056.8363%2038.7839%2057.1386%2038.7373%2057.4175C40.2603%2056.9425%2041.0018%2056.6238%2041.0018%2056.6238C41.0024%2056.5857%2041.0027%2056.5473%2041.0027%2056.5087C41.0027%2052.6943%2038.8388%2049.9598%2034.7933%2048.8179C34.7933%2048.8179%2038.808%2050.1729%2038.808%2056.5087Z'%20fill='%23DBFFE9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1707'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", t0 = "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", pw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ O.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ O.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ O.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ O.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ O.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ O.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ O.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ O.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ O.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ O.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))); -var Lo = /* @__PURE__ */ ((e) => (e.Modelling = "Modelling", e.Governance = "governance", e.Performance = "Performance", e.Test = "Test", e.Structure = "structure", e.Checks = "Checks", e))(Lo || {}), Uf = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(Uf || {}), s1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(s1 || {}), Bn = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(Bn || {}), c1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(c1 || {}); -const mw = tt.object({ - train_doc_uid: tt.string(), - userId: tt.string(), - display_name: tt.string(), - taskLabel: tt.string(), - category: tt.enum(Object.values(s1)), - personalizationScope: tt.enum(Object.values(c1)).default( - "UserSpecific" - /* USER_SPECIFIC */ - ), - createdDate: tt.string(), - updatedDate: tt.string(), - content: tt.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: tt.record(tt.unknown()).optional(), - isActive: tt.boolean().default(!0) -}); -var Vn = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(Vn || {}), wa = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(wa || {}); -const bw = ({ +var hi = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.TESTS = "tests", e.MODEL = "model", e.FILE_STRUCTURE = "file_structure", e))(hi || {}), gw = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(gw || {}); +const mw = ({ errors: e, isSubmitting: t, onSuccess: n, onCancel: o }) => { - const { setFieldError: r, setSubmitting: a } = J0(), i = async () => ({ - ai_response: "response from AI", - category: "Business", - personalizationScope: Bn.ProjectGovernor, - type: Lo.Modelling - }), { mutate: l, error: s } = Ro({ + const { setFieldError: r, setSubmitting: a, values: i } = J0(), l = async () => await je.post( + "project_governance/check/validate", + { + ...i + } + ), { mutate: s, error: u } = jo({ // @ts-ignore - queryFn: i, - onSuccess: (u) => { - n(u), a(!1); + queryFn: l, + onSuccess: (c) => { + n(c, i.category), a(!1); } }); return ue(() => { - s != null && s.message && (r("content", s.message), a(!1)); - }, [s, r]), /* @__PURE__ */ h.jsxs(ed, { children: [ + u != null && u.message && (r("content", u.message), a(!1)); + }, [u, r]), /* @__PURE__ */ h.jsxs(ed, { children: [ /* @__PURE__ */ h.jsx( ns, { name: "content", - render: ({ field: u }) => /* @__PURE__ */ h.jsxs(lr, { children: [ + render: ({ field: c }) => /* @__PURE__ */ h.jsxs(ir, { children: [ /* @__PURE__ */ h.jsx( Cn, { type: "textarea", - ...u, + ...c, placeholder: "Describe the check in natural language", - invalid: !!e.content + invalid: !!e.description } ), - e.content ? /* @__PURE__ */ h.jsx(Qs, { children: e.content }) : null + e.description ? /* @__PURE__ */ h.jsx(Qs, { children: e.description }) : null ] }) } ), @@ -24960,117 +24943,112 @@ const bw = ({ ns, { name: "type", - render: ({ field: u }) => /* @__PURE__ */ h.jsxs(lr, { children: [ - /* @__PURE__ */ h.jsx(ha, { children: "Type:" }), + render: ({ field: c }) => /* @__PURE__ */ h.jsxs(ir, { children: [ + /* @__PURE__ */ h.jsx(fa, { children: "Type:" }), /* @__PURE__ */ h.jsx( os, { style: { width: 120 }, - onChange: (c) => u.onChange({ target: { value: c, name: u.name } }), - options: Object.entries(Lo).map(([, c]) => ({ - value: c, - label: c - })) + onChange: (d) => c.onChange({ target: { value: d, name: c.name } }), + options: Object.entries(hi).map( + ([, d]) => ({ + value: d, + label: d + }) + ) } ) ] }) } ), - /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-end", children: [ - /* @__PURE__ */ h.jsx(Re, { onClick: o, children: "Cancel" }), + /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-end", children: [ + /* @__PURE__ */ h.jsx(Ie, { onClick: o, children: "Cancel" }), /* @__PURE__ */ h.jsx( - jo, + Fo, { color: "primary", loading: t, type: "submit", - onClick: l, + onClick: s, children: "Submit" } ) ] }) ] }); -}, yw = tt.object({ - content: tt.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" }), - type: tt.enum( - Object.values(Lo) +}, bw = nt.object({ + content: nt.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" }), + type: nt.enum( + Object.values(hi) ) -}), qf = ({ onClose: e }) => { - const [t, n] = ce(), o = (s) => { - n(s); +}), Uf = ({ onClose: e }) => { + const [t, n] = ce(), o = (s, u) => { + n({ ...s, category: u }); }, { mutate: r, error: a, loading: i, data: l - } = Ro({ - // @ts-ignore - queryFn: () => ({ ok: !0 }), + } = jo({ // @ts-ignore - // ApiHelper.post( - // `projectgovernor/training/confirm`, - // {} - // ), - onSuccess: () => { - } + queryFn: () => je.post( + "project_governance/check", + { ...t } + ) }); - return l ? /* @__PURE__ */ h.jsxs(Mr, { children: [ + return l ? /* @__PURE__ */ h.jsxs(Ar, { children: [ "Project governance check saved successfully", " ", - /* @__PURE__ */ h.jsx(Re, { onClick: e, children: "View" }) - ] }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", children: [ + /* @__PURE__ */ h.jsx(Ie, { onClick: () => e(l), children: "View" }) + ] }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", children: [ /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }), /* @__PURE__ */ h.jsx( td, { initialValues: { - content: "", - type: Lo.Modelling + description: "", + category: hi.MODEL }, onSubmit: () => { }, - validate: Zf(yw), - children: (s) => /* @__PURE__ */ h.jsx(bw, { ...s, onSuccess: o, onCancel: e }) + validate: Zf(bw), + children: (s) => /* @__PURE__ */ h.jsx(mw, { ...s, onSuccess: o, onCancel: e }) } ), t ? /* @__PURE__ */ h.jsxs(zt, { className: "mt-4", children: [ /* @__PURE__ */ h.jsxs(un, { children: [ /* @__PURE__ */ h.jsx("p", { children: "Please validate the following check: " }), - /* @__PURE__ */ h.jsx("p", { children: t.ai_response }), + /* @__PURE__ */ h.jsx("p", { children: t.name }), + /* @__PURE__ */ h.jsx("p", { children: t.description }), /* @__PURE__ */ h.jsxs("p", { children: [ "Type: ", - t.type + t.category ] }), a && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: a.message }) ] }), - /* @__PURE__ */ h.jsx(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ h.jsx(jo, { loading: i, onClick: r, color: "primary", children: "Save" }) }) + /* @__PURE__ */ h.jsx(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ h.jsx(Fo, { loading: i, onClick: r, color: "primary", children: "Save" }) }) ] }) : null ] }); -}, Cw = ({}) => { +}, yw = ({}) => { const [e, t] = ce(!1), { data: n, error: o, loading: r } = tc({ - // @ts-expect-error valid - queryFn: () => [{ - name: "Check 1", - alias: "check_1", - type: Lo.Modelling, - description: "Description of check 1", - files_required: [Uf.Manifest] - }] + queryFn: () => ( + // @ts-expect-error valid + je.get("project_governance/checks") + ) }), a = () => { t((i) => !i); }; - return r ? /* @__PURE__ */ h.jsx(Xs, {}) : o ? /* @__PURE__ */ h.jsxs(Mr, { color: "danger", children: [ + return r ? /* @__PURE__ */ h.jsx(Xs, {}) : o ? /* @__PURE__ */ h.jsxs(Ar, { color: "danger", children: [ "Error loading checks: ", o.message - ] }) : (console.log(n), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + ] }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(Re, { onClick: a, children: "Add new check" }), + /* @__PURE__ */ h.jsx(Je, { className: "justify-content-end", children: /* @__PURE__ */ h.jsx(Ie, { onClick: a, children: "+ Add new check" }) }), /* @__PURE__ */ h.jsx("div", { className: "mt-2", children: n != null && n.length ? n.map((i) => /* @__PURE__ */ h.jsxs(zt, { children: [ - /* @__PURE__ */ h.jsx(Fo, { children: i.name }), + /* @__PURE__ */ h.jsx(Lo, { className: "px-3 pt-3 mb-0", children: i.name }), /* @__PURE__ */ h.jsxs(un, { children: [ /* @__PURE__ */ h.jsx("p", { children: i.description }), /* @__PURE__ */ h.jsxs("p", { children: [ @@ -25080,56 +25058,75 @@ const bw = ({ ] }) ] })) : /* @__PURE__ */ h.jsx("div", { children: "No checks added yet!" }) }) ] }), - e && /* @__PURE__ */ h.jsxs(W5, { isOpen: !0, direction: "end", children: [ - /* @__PURE__ */ h.jsx(Z5, { toggle: a, children: "Add new check" }), - /* @__PURE__ */ h.jsx(U5, { children: /* @__PURE__ */ h.jsx(qf, { onClose: a }) }) + e && /* @__PURE__ */ h.jsxs($5, { isOpen: !0, direction: "end", children: [ + /* @__PURE__ */ h.jsx(W5, { toggle: a, children: "Add new check" }), + /* @__PURE__ */ h.jsx(Z5, { children: /* @__PURE__ */ h.jsx(Uf, { onClose: a }) }) ] }) - ] })); -}, Yf = [ + ] }); +}; +var s1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(s1 || {}), uo = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(uo || {}), c1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(c1 || {}); +const Cw = nt.object({ + train_doc_uid: nt.string(), + userId: nt.string(), + display_name: nt.string(), + taskLabel: nt.string(), + category: nt.enum(Object.values(s1)), + personalizationScope: nt.enum(Object.values(c1)).default( + "UserSpecific" + /* USER_SPECIFIC */ + ), + createdDate: nt.string(), + updatedDate: nt.string(), + content: nt.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: nt.record(nt.unknown()).optional(), + isActive: nt.boolean().default(!0) +}); +var Bn = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(Bn || {}), xa = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(xa || {}); +const qf = [ { name: "Documentation Writer", - avatar: fw, + avatar: dw, description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [Vn.EXTENSION], - key: Bn.DocGen + availability: [Bn.EXTENSION], + key: uo.DocGen }, { name: "Chart Analyzer", - avatar: hw, + avatar: fw, description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [Vn.SAAS], - key: Bn.ChartBot, + availability: [Bn.SAAS], + key: uo.ChartBot, seeInAction: !1 }, { name: "SQL Guru", - avatar: pw, + avatar: hw, description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [Vn.SAAS], - key: Bn.SqlBot + availability: [Bn.SAAS], + key: uo.SqlBot }, { name: "Project Governor", avatar: t0, description: "AI teammate to help you create checks or rules for project governance", - availability: [Vn.SAAS], - key: Bn.ProjectGovernor, - displayComponent: Cw, - formComponent: qf + availability: [Bn.SAAS], + key: uo.ProjectGovernor, + displayComponent: yw, + formComponent: Uf }, { name: "Opportunities Expert", avatar: t0, description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [Vn.SAAS], - key: Bn.OpportunitiesBot, + availability: [Bn.SAAS], + key: uo.OpportunitiesBot, comingSoon: !0 } ], bA = (e) => { - const t = Yf.find((n) => n.key === e.taskLabel); - return t != null && t.formComponent ? /* @__PURE__ */ h.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ h.jsx(dw, { ...e }); + const t = qf.find((n) => n.key === e.taskLabel); + return t != null && t.formComponent ? /* @__PURE__ */ h.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ h.jsx(uw, { ...e }); }, vw = () => { - const e = Je(Wf); + const e = et(Wf); if (e === void 0) throw new Error( "useTeamMateContext must be used within a TeamMateProvider" @@ -25137,11 +25134,11 @@ const bw = ({ return e; }, yA = ({}) => { const { dispatch: e } = vw(), t = () => { - e(sw.setShowCoachingForm(!0)); + e(lw.setShowCoachingForm(!0)); }; - return /* @__PURE__ */ h.jsx(qn, { onClick: t, children: "Show Coaching Form" }); + return /* @__PURE__ */ h.jsx(Un, { onClick: t, children: "Show Coaching Form" }); }; -var Gn = {}, xw = Kn && Kn.__extends || /* @__PURE__ */ function() { +var Yn = {}, xw = Gn && Gn.__extends || /* @__PURE__ */ function() { var e = function(t, n) { return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) { o.__proto__ = r; @@ -25158,7 +25155,7 @@ var Gn = {}, xw = Kn && Kn.__extends || /* @__PURE__ */ function() { } t.prototype = n === null ? Object.create(n) : (o.prototype = n.prototype, new o()); }; -}(), Gf = Kn && Kn.__awaiter || function(e, t, n, o) { +}(), Yf = Gn && Gn.__awaiter || function(e, t, n, o) { function r(a) { return a instanceof n ? a : new n(function(i) { i(a); @@ -25184,7 +25181,7 @@ var Gn = {}, xw = Kn && Kn.__extends || /* @__PURE__ */ function() { } u((o = o.apply(e, t || [])).next()); }); -}, Kf = Kn && Kn.__generator || function(e, t) { +}, Gf = Gn && Gn.__generator || function(e, t) { var n = { label: 0, sent: function() { if (a[0] & 1) throw a[1]; return a[1]; @@ -25244,9 +25241,9 @@ var Gn = {}, xw = Kn && Kn.__extends || /* @__PURE__ */ function() { return { value: u[0] ? u[1] : void 0, done: !0 }; } }; -Object.defineProperty(Gn, "__esModule", { value: !0 }); -Gn.toFormikValidate = Qf = Gn.toFormikValidationSchema = Gn.ValidationError = void 0; -var Xf = ( +Object.defineProperty(Yn, "__esModule", { value: !0 }); +Yn.toFormikValidate = Xf = Yn.toFormikValidationSchema = Yn.ValidationError = void 0; +var Kf = ( /** @class */ function(e) { xw(t, e); @@ -25257,9 +25254,9 @@ var Xf = ( return t; }(Error) ); -Gn.ValidationError = Xf; +Yn.ValidationError = Kf; function ww(e) { - var t = new Xf(e.message); + var t = new Kf(e.message); return t.inner = e.errors.map(function(n) { return { message: n.message, @@ -25270,9 +25267,9 @@ function ww(e) { function Ew(e, t) { return { validate: function(n) { - return Gf(this, void 0, void 0, function() { + return Yf(this, void 0, void 0, function() { var o; - return Kf(this, function(r) { + return Gf(this, function(r) { switch (r.label) { case 0: return r.trys.push([0, 2, , 3]), [4, e.parseAsync(n, t)]; @@ -25291,7 +25288,7 @@ function Ew(e, t) { } }; } -var Qf = Gn.toFormikValidationSchema = Ew; +var Xf = Yn.toFormikValidationSchema = Ew; function Sw(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; @@ -25302,9 +25299,9 @@ function Sw(e) { function kw(e, t) { var n = this; return function(o) { - return Gf(n, void 0, void 0, function() { + return Yf(n, void 0, void 0, function() { var r; - return Kf(this, function(a) { + return Gf(this, function(a) { switch (a.label) { case 0: return [4, e.safeParseAsync(o, t)]; @@ -25318,7 +25315,7 @@ function kw(e, t) { }); }; } -Gn.toFormikValidate = kw; +Yn.toFormikValidate = kw; const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { const [r, a] = ce(!1), { errors: i, @@ -25328,19 +25325,19 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { values: c, handleChange: d, setSubmitting: p - } = l4({ + } = i4({ initialValues: e, - validationSchema: Qf(mw), + validationSchema: Xf(Cw), onSubmit: async (E) => { - await ze.post(`coach/training/${e.train_doc_uid}`, E, { + await je.post(`coach/training/${e.train_doc_uid}`, E, { method: "PUT" }), a(!1), p(!1); } - }), f = async () => await ze.post( + }), f = async () => await je.post( `coach/training/${e.train_doc_uid}`, {}, { method: "DELETE" } - ), { loading: m, error: b, mutate: y } = Ro({ + ), { loading: m, error: b, mutate: y } = jo({ // @ts-ignore queryFn: f, onSuccess: t @@ -25354,9 +25351,9 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { g(E), n(e.train_doc_uid), a(!0); }, w = o === e.train_doc_uid; return /* @__PURE__ */ h.jsx(zt, { className: w ? "active" : "", children: /* @__PURE__ */ h.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ h.jsx(Fo, { children: /* @__PURE__ */ h.jsxs(nt, { className: "align-items-start", children: [ + /* @__PURE__ */ h.jsx(Lo, { children: /* @__PURE__ */ h.jsxs(Je, { className: "align-items-start", children: [ /* @__PURE__ */ h.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ h.jsx("div", { children: r ? /* @__PURE__ */ h.jsxs(lr, { children: [ + /* @__PURE__ */ h.jsx("div", { children: r ? /* @__PURE__ */ h.jsxs(ir, { children: [ /* @__PURE__ */ h.jsx( Cn, { @@ -25372,14 +25369,14 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ), i.content ? /* @__PURE__ */ h.jsx(Qs, { children: i.content }) : null ] }) : /* @__PURE__ */ h.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ h.jsx(nt, { children: /* @__PURE__ */ h.jsxs("dl", { children: [ - /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsx(Je, { children: /* @__PURE__ */ h.jsxs("dl", { children: [ + /* @__PURE__ */ h.jsxs(Je, { children: [ /* @__PURE__ */ h.jsx("dt", { children: "Created on:" }), /* @__PURE__ */ h.jsx("dd", { children: ms(e.createdDate).format( "MMMM D, YYYY h:mm A" ) }) ] }), - /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsxs(Je, { children: [ /* @__PURE__ */ h.jsx("dt", { children: "Updated on:" }), /* @__PURE__ */ h.jsxs("dd", { children: [ ms(e.updatedDate).format( @@ -25388,15 +25385,15 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { " " ] }) ] }), - /* @__PURE__ */ h.jsxs(nt, { children: [ + /* @__PURE__ */ h.jsxs(Je, { children: [ /* @__PURE__ */ h.jsx("dt", { children: "Created by:" }), " ", /* @__PURE__ */ h.jsx("dd", { children: e.display_name }) ] }) ] }) }) ] }), - /* @__PURE__ */ h.jsxs(nt, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ h.jsx(lr, { switch: !0, children: /* @__PURE__ */ h.jsx( + /* @__PURE__ */ h.jsxs(Je, { className: "align-items-top gap-0", children: [ + /* @__PURE__ */ h.jsx(ir, { switch: !0, children: /* @__PURE__ */ h.jsx( Sn, { title: c.isActive ? "Disable this learning" : "Enable this learning", @@ -25417,7 +25414,7 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { } ) }), /* @__PURE__ */ h.jsx( - s4, + l4, { title: "Delete the task", description: "Are you sure to delete this task?", @@ -25426,7 +25423,7 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { okText: "Yes", cancelText: "No", children: /* @__PURE__ */ h.jsx( - qn, + Un, { title: "Delete this learning", className: "pt-1 pb-0", @@ -25437,10 +25434,10 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ) } ), - r ? /* @__PURE__ */ h.jsxs(nt, { className: "align-items-baseline", children: [ - /* @__PURE__ */ h.jsx(Re, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), + r ? /* @__PURE__ */ h.jsxs(Je, { className: "align-items-baseline", children: [ + /* @__PURE__ */ h.jsx(Ie, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", color: "primary", @@ -25449,13 +25446,13 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { children: "Save" } ) - ] }) : /* @__PURE__ */ h.jsx(qn, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ h.jsx(v8, {}) }), - /* @__PURE__ */ h.jsx(qn, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) }) + ] }) : /* @__PURE__ */ h.jsx(Un, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ h.jsx(C8, {}) }), + /* @__PURE__ */ h.jsx(Un, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) }) ] }) ] }) }), /* @__PURE__ */ h.jsxs(K0, { isOpen: w, children: [ - b && /* @__PURE__ */ h.jsx(Mr, { color: "danger", children: b.message }), - /* @__PURE__ */ h.jsxs(nt, { className: "gap-4", children: [ + b && /* @__PURE__ */ h.jsx(Ar, { color: "danger", children: b.message }), + /* @__PURE__ */ h.jsxs(Je, { className: "gap-4", children: [ /* @__PURE__ */ h.jsxs("div", { children: [ /* @__PURE__ */ h.jsx("strong", { children: "Category:" }), " ", @@ -25518,11 +25515,11 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { }, CA = ({ filters: e, learning: t }) => { var u; const [n, o] = ce(t), { error: r, data: a, loading: i, refetch: l } = tc({ - queryFn: () => ze.get("coach/training", e) + queryFn: () => je.get("coach/training", e) }), s = (c) => { o((d) => d === c ? void 0 : c); }; - return /* @__PURE__ */ h.jsx(nt, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ h.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ h.jsxs(Mr, { color: "danger", children: [ + return /* @__PURE__ */ h.jsx(Je, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ h.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ h.jsxs(Ar, { color: "danger", children: [ "Error loading learnings: ", r.message ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ h.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ h.jsx( @@ -25534,18 +25531,18 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { openId: n }, c.train_doc_uid - )) }) : /* @__PURE__ */ h.jsxs(nt, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ h.jsx(gw, {}), + )) }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", className: "align-items-center", children: [ + /* @__PURE__ */ h.jsx(pw, {}), /* @__PURE__ */ h.jsx("h4", { children: "No learnings added yet!" }) ] }) }); }, Aw = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, wa.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = Ro({ + const o = async () => await n(e, xa.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = jo({ // @ts-ignore queryFn: o }); - return /* @__PURE__ */ h.jsx(q5, { children: /* @__PURE__ */ h.jsxs(zt, { children: [ - /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-between", children: [ - /* @__PURE__ */ h.jsx(Y5, { alt: "Teammate image", src: e.avatar }), + return /* @__PURE__ */ h.jsx(U5, { children: /* @__PURE__ */ h.jsxs(zt, { children: [ + /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-between", children: [ + /* @__PURE__ */ h.jsx(q5, { alt: "Teammate image", src: e.avatar }), /* @__PURE__ */ h.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ h.jsxs( od, { @@ -25563,13 +25560,13 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { )) }) ] }), /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx(Fo, { tag: "h5", children: e.name }), - /* @__PURE__ */ h.jsx(G5, { tag: "h6" }), - /* @__PURE__ */ h.jsx(K5, { children: e.description }), - /* @__PURE__ */ h.jsxs(nt, { className: "justify-content-start align-items-center", children: [ + /* @__PURE__ */ h.jsx(Lo, { tag: "h5", children: e.name }), + /* @__PURE__ */ h.jsx(Y5, { tag: "h6" }), + /* @__PURE__ */ h.jsx(G5, { children: e.description }), + /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-start align-items-center", children: [ e.comingSoon ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ /* @__PURE__ */ h.jsx( - jo, + Fo, { size: "sm", className: "cursor-pointer", @@ -25582,24 +25579,24 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ), i ? /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null ] }) : /* @__PURE__ */ h.jsx( - Re, + Ie, { size: "sm", className: "cursor-pointer", - onClick: () => n(e, wa.VIEW_DETAILS), + onClick: () => n(e, xa.VIEW_DETAILS), tooltip: "", color: "primary", children: "View details" } ), - e.seeInAction && e.availability.includes(Vn[t]) && /* @__PURE__ */ h.jsx( - Re, + e.seeInAction && e.availability.includes(Bn[t]) && /* @__PURE__ */ h.jsx( + Ie, { color: "primary", outline: !0, size: "sm", className: "cursor-pointer", - onClick: () => n(e, wa.SEE_IN_ACTION), + onClick: () => n(e, xa.SEE_IN_ACTION), tooltip: "", children: "See in action" } @@ -25607,7 +25604,7 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ] }) ] }) ] }) }); -}, vA = ({ onSelect: e, client: t }) => /* @__PURE__ */ h.jsx("div", { className: "teammates", children: /* @__PURE__ */ h.jsx(X5, { children: Yf.map((n) => /* @__PURE__ */ h.jsx( +}, vA = ({ onSelect: e, client: t }) => /* @__PURE__ */ h.jsx("div", { className: "teammates", children: /* @__PURE__ */ h.jsx(K5, { children: qf.map((n) => /* @__PURE__ */ h.jsx( Aw, { config: n, @@ -25620,14 +25617,14 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { chatTriggerLink: Tw, statusUpdates: Ow }, Nw = ({ text: e }) => { - const { sendMessage: t } = a4(); - return /* @__PURE__ */ h.jsx(Re, { onClick: () => t(e), color: "link", className: u1.chatTriggerLink, children: e }, e); + const { sendMessage: t } = r4(); + return /* @__PURE__ */ h.jsx(Ie, { onClick: () => t(e), color: "link", className: u1.chatTriggerLink, children: e }, e); }, Dw = ({ onFollowupRequest: e, sessionId: t }) => { const { data: n } = tc({ // @ts-expect-error valid queryFn: () => e(t) }); - return n != null && n.length ? /* @__PURE__ */ h.jsx(nt, { direction: "column", children: n.map((o) => /* @__PURE__ */ h.jsx(Nw, { text: o }, o)) }) : null; + return n != null && n.length ? /* @__PURE__ */ h.jsx(Je, { direction: "column", children: n.map((o) => /* @__PURE__ */ h.jsx(Nw, { text: o }, o)) }) : null; }, n0 = ["http", "https", "mailto", "tel"]; function Lw(e) { const t = (e || "").trim(), n = t.charAt(0); @@ -25653,8 +25650,8 @@ function Lw(e) { var Fw = function(t) { return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); }; -const Jf = /* @__PURE__ */ dn(Fw); -function ar(e) { +const Qf = /* @__PURE__ */ dn(Fw); +function rr(e) { return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? o0(e.position) : "start" in e || "end" in e ? o0(e) : "line" in e || "column" in e ? Bs(e) : ""; } function Bs(e) { @@ -25697,7 +25694,7 @@ class Bt extends Error { const i = o.indexOf(":"); i === -1 ? r[1] = o : (r[0] = o.slice(0, i), r[1] = o.slice(i + 1)); } - n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = ar(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; + n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = rr(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; } } Bt.prototype.file = ""; @@ -25715,7 +25712,7 @@ const on = { basename: jw, dirname: Rw, extname: Iw, join: zw, sep: "/" }; function jw(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); - Rr(e); + jr(e); let n = 0, o = -1, r = e.length, a; if (t === void 0 || t.length === 0 || t.length > e.length) { for (; r--; ) @@ -25741,7 +25738,7 @@ function jw(e, t) { return n === o ? o = i : o < 0 && (o = e.length), e.slice(n, o); } function Rw(e) { - if (Rr(e), e.length === 0) + if (jr(e), e.length === 0) return "."; let t = -1, n = e.length, o; for (; --n; ) @@ -25754,7 +25751,7 @@ function Rw(e) { return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); } function Iw(e) { - Rr(e); + jr(e); let t = e.length, n = -1, o = 0, r = -1, a = 0, i; for (; t--; ) { const l = e.charCodeAt(t); @@ -25774,11 +25771,11 @@ function Iw(e) { function zw(...e) { let t = -1, n; for (; ++t < e.length; ) - Rr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); + jr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); return n === void 0 ? "." : Hw(n); } function Hw(e) { - Rr(e); + jr(e); const t = e.charCodeAt(0) === 47; let n = Pw(e, !t); return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; @@ -25814,7 +25811,7 @@ function Pw(e, t) { } return n; } -function Rr(e) { +function jr(e) { if (typeof e != "string") throw new TypeError( "Path must be a string. Received " + JSON.stringify(e) @@ -25866,7 +25863,7 @@ function Ww(e) { return decodeURIComponent(t); } const Zl = ["history", "path", "basename", "stem", "extname", "dirname"]; -class e5 { +class Jf { /** * Create a new virtual file. * @@ -26081,24 +26078,24 @@ function a0(e, t) { throw new Error("Setting `" + t + "` requires `path` to be set too"); } function Zw(e) { - return Jf(e); + return Qf(e); } function i0(e) { if (e) throw e; } -var Ea = Object.prototype.hasOwnProperty, t5 = Object.prototype.toString, l0 = Object.defineProperty, s0 = Object.getOwnPropertyDescriptor, c0 = function(t) { - return typeof Array.isArray == "function" ? Array.isArray(t) : t5.call(t) === "[object Array]"; +var wa = Object.prototype.hasOwnProperty, e5 = Object.prototype.toString, l0 = Object.defineProperty, s0 = Object.getOwnPropertyDescriptor, c0 = function(t) { + return typeof Array.isArray == "function" ? Array.isArray(t) : e5.call(t) === "[object Array]"; }, u0 = function(t) { - if (!t || t5.call(t) !== "[object Object]") + if (!t || e5.call(t) !== "[object Object]") return !1; - var n = Ea.call(t, "constructor"), o = t.constructor && t.constructor.prototype && Ea.call(t.constructor.prototype, "isPrototypeOf"); + var n = wa.call(t, "constructor"), o = t.constructor && t.constructor.prototype && wa.call(t.constructor.prototype, "isPrototypeOf"); if (t.constructor && !n && !o) return !1; var r; for (r in t) ; - return typeof r > "u" || Ea.call(t, r); + return typeof r > "u" || wa.call(t, r); }, d0 = function(t, n) { l0 && n.name === "__proto__" ? l0(t, n.name, { enumerable: !0, @@ -26108,7 +26105,7 @@ var Ea = Object.prototype.hasOwnProperty, t5 = Object.prototype.toString, l0 = O }) : t[n.name] = n.newValue; }, f0 = function(t, n) { if (n === "__proto__") - if (Ea.call(t, n)) { + if (wa.call(t, n)) { if (s0) return s0(t, n).value; } else return; @@ -26184,20 +26181,20 @@ function Yw(e, t) { r(null, i); } } -const Gw = o5().freeze(), n5 = {}.hasOwnProperty; -function o5() { +const Gw = n5().freeze(), t5 = {}.hasOwnProperty; +function n5() { const e = qw(), t = []; let n = {}, o, r = -1; return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = p, a.process = f, a.processSync = m, a; function a() { - const b = o5(); + const b = n5(); let y = -1; for (; ++y < t.length; ) b.use(...t[y]); return b.data(h0(!0, {}, n)), b; } function i(b, y) { - return typeof b == "string" ? arguments.length === 2 ? (Kl("data", o), n[b] = y, a) : n5.call(n, b) && n[b] || null : b ? (Kl("data", o), n = b, a) : n; + return typeof b == "string" ? arguments.length === 2 ? (Kl("data", o), n[b] = y, a) : t5.call(n, b) && n[b] || null : b ? (Kl("data", o), n = b, a) : n; } function l() { if (o) @@ -26258,12 +26255,12 @@ function o5() { } function u(b) { a.freeze(); - const y = Xo(b), g = a.Parser; + const y = Ko(b), g = a.Parser; return Yl("parse", g), p0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); } function c(b, y) { a.freeze(); - const g = Xo(y), x = a.Compiler; + const g = Ko(y), x = a.Compiler; return Gl("stringify", x), g0(b), p0(x, "compile") ? new x(b, g).compile() : x(b, g); } function d(b, y, g) { @@ -26271,7 +26268,7 @@ function o5() { return new Promise(x); x(null, g); function x(C, S) { - e.run(b, Xo(y), w); + e.run(b, Ko(y), w); function w(E, M, _) { M = M || b, E ? S(E) : C ? C(M) : g(null, M, _); } @@ -26289,7 +26286,7 @@ function o5() { return new Promise(g); g(null, y); function g(x, C) { - const S = Xo(b); + const S = Ko(b); a.run(a.parse(S), S, (E, M, _) => { if (E || !M || !_) w(E); @@ -26306,7 +26303,7 @@ function o5() { function m(b) { let y; a.freeze(), Yl("processSync", a.Parser), Gl("processSync", a.Compiler); - const g = Xo(b); + const g = Ko(b); return a.process(g, x), m0("processSync", "process", y), g; function x(C) { y = !0, i0(C); @@ -26325,7 +26322,7 @@ function p0(e, t) { function Kw(e) { let t; for (t in e) - if (n5.call(e, t)) + if (t5.call(e, t)) return !0; return !1; } @@ -26353,21 +26350,21 @@ function m0(e, t, n) { "`" + e + "` finished async. Use `" + t + "` instead" ); } -function Xo(e) { - return Xw(e) ? e : new e5(e); +function Ko(e) { + return Xw(e) ? e : new Jf(e); } function Xw(e) { return !!(e && typeof e == "object" && "message" in e && "messages" in e); } function Qw(e) { - return typeof e == "string" || Jf(e); + return typeof e == "string" || Qf(e); } const Jw = {}; function eE(e, t) { const n = Jw, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; - return r5(e, o, r); + return o5(e, o, r); } -function r5(e, t, n) { +function o5(e, t, n) { if (tE(e)) { if ("value" in e) return e.type === "html" && !n ? "" : e.value; @@ -26382,7 +26379,7 @@ function b0(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) - o[r] = r5(e[r], t, n); + o[r] = o5(e[r], t, n); return o.join(""); } function tE(e) { @@ -26794,7 +26791,7 @@ function vE(e, t, n) { return a === null || pe(a) ? t(a) : n(a); } } -const a5 = { +const r5 = { name: "blockQuote", tokenize: xE, continuation: { @@ -26830,13 +26827,13 @@ function wE(e, t, n) { )(i) : a(i); } function a(i) { - return e.attempt(a5, t, n)(i); + return e.attempt(r5, t, n)(i); } } function EE(e) { e.exit("blockQuote"); } -const i5 = { +const a5 = { name: "characterEscape", tokenize: SE }; @@ -26856,7 +26853,7 @@ function f1(e) { const n = w0.textContent; return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n; } -const l5 = { +const i5 = { name: "characterReference", tokenize: kE }; @@ -27059,7 +27056,7 @@ function FE(e, t, n) { return d === 96 ? (e.consume(d), r++, c) : r === o ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (a.type = "codeTextData", u(d)); } } -function s5(e) { +function l5(e) { const t = {}; let n = -1, o, r, a, i, l, s, u; for (; ++n < e.length; ) { @@ -27108,7 +27105,7 @@ const RE = { partial: !0 }; function zE(e) { - return s5(e), e; + return l5(e), e; } function HE(e, t) { let n; @@ -27148,7 +27145,7 @@ function PE(e, t, n) { return !o.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : e.interrupt(o.parser.constructs.flow, n, t)(i); } } -function c5(e, t, n, o, r, a, i, l, s) { +function s5(e, t, n, o, r, a, i, l, s) { const u = s || Number.POSITIVE_INFINITY; let c = 0; return d; @@ -27175,7 +27172,7 @@ function c5(e, t, n, o, r, a, i, l, s) { return g === 40 || g === 41 || g === 92 ? (e.consume(g), b) : b(g); } } -function u5(e, t, n, o, r, a) { +function c5(e, t, n, o, r, a) { const i = this; let l = 0, s; return u; @@ -27199,7 +27196,7 @@ function u5(e, t, n, o, r, a) { return f === 91 || f === 92 || f === 93 ? (e.consume(f), l++, d) : d(f); } } -function d5(e, t, n, o, r, a) { +function u5(e, t, n, o, r, a) { let i; return l; function l(p) { @@ -27220,7 +27217,7 @@ function d5(e, t, n, o, r, a) { return p === i || p === 92 ? (e.consume(p), c) : c(p); } } -function ir(e, t) { +function ar(e, t) { let n; return o; function o(r) { @@ -27249,7 +27246,7 @@ function $E(e, t, n) { return e.enter("definition"), i(f); } function i(f) { - return u5.call( + return c5.call( o, e, l, @@ -27266,10 +27263,10 @@ function $E(e, t, n) { ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f); } function s(f) { - return wt(f) ? ir(e, u)(f) : u(f); + return wt(f) ? ar(e, u)(f) : u(f); } function u(f) { - return c5( + return s5( e, c, // Note: we don’t need to reset the way `markdown-rs` does. @@ -27294,10 +27291,10 @@ function $E(e, t, n) { function WE(e, t, n) { return o; function o(l) { - return wt(l) ? ir(e, r)(l) : n(l); + return wt(l) ? ar(e, r)(l) : n(l); } function r(l) { - return d5( + return u5( e, a, n, @@ -27795,10 +27792,10 @@ function fS(e, t, n) { return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r; } function r(d) { - return wt(d) ? ir(e, a)(d) : a(d); + return wt(d) ? ar(e, a)(d) : a(d); } function a(d) { - return d === 41 ? c(d) : c5( + return d === 41 ? c(d) : s5( e, i, l, @@ -27811,13 +27808,13 @@ function fS(e, t, n) { )(d); } function i(d) { - return wt(d) ? ir(e, s)(d) : c(d); + return wt(d) ? ar(e, s)(d) : c(d); } function l(d) { return n(d); } function s(d) { - return d === 34 || d === 39 || d === 40 ? d5( + return d === 34 || d === 39 || d === 40 ? u5( e, u, n, @@ -27827,7 +27824,7 @@ function fS(e, t, n) { )(d) : c(d); } function u(d) { - return wt(d) ? ir(e, c)(d) : c(d); + return wt(d) ? ar(e, c)(d) : c(d); } function c(d) { return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d); @@ -27837,7 +27834,7 @@ function hS(e, t, n) { const o = this; return r; function r(l) { - return u5.call( + return c5.call( o, e, a, @@ -27910,7 +27907,7 @@ function CS(e, t) { return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), Pe(e, t, "linePrefix"); } } -const Sa = { +const Ea = { name: "thematicBreak", tokenize: vS }; @@ -27954,7 +27951,7 @@ function ES(e, t, n) { if (o.containerState.type || (o.containerState.type = m, e.enter(m, { _container: !0 })), m === "listUnordered") - return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Sa, n, u)(f) : u(f); + return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ea, n, u)(f) : u(f); if (!o.interrupt || f === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f); } @@ -28123,12 +28120,12 @@ function NS(e) { } } const DS = { - resolveAll: h5() -}, LS = f5("string"), FS = f5("text"); -function f5(e) { + resolveAll: f5() +}, LS = d5("string"), FS = d5("text"); +function d5(e) { return { tokenize: t, - resolveAll: h5( + resolveAll: f5( e === "text" ? jS : void 0 ) }; @@ -28163,7 +28160,7 @@ function f5(e) { } } } -function h5(e) { +function f5(e) { return t; function t(n, o) { let r = -1, a; @@ -28441,7 +28438,7 @@ const HS = { 55: yt, 56: yt, 57: yt, - 62: a5 + 62: r5 }, PS = { 91: BE }, BS = { @@ -28450,26 +28447,26 @@ const HS = { 32: Xl }, VS = { 35: qE, - 42: Sa, - 45: [_0, Sa], + 42: Ea, + 45: [_0, Ea], 60: XE, 61: _0, - 95: Sa, + 95: Ea, 96: S0, 126: S0 }, $S = { - 38: l5, - 92: i5 + 38: i5, + 92: a5 }, WS = { [-5]: Ql, [-4]: Ql, [-3]: Ql, 33: gS, - 38: l5, + 38: i5, 42: Us, 60: [yE, rS], 91: bS, - 92: [ZE, i5], + 92: [ZE, a5], 93: h1, 95: Us, 96: NE @@ -28550,11 +28547,11 @@ function KS() { } } function XS(e) { - for (; !s5(e); ) + for (; !l5(e); ) ; return e; } -function p5(e, t) { +function h5(e, t) { const n = Number.parseInt(e, t); return ( // C0 except for HT, LF, FF, CR, space. @@ -28574,11 +28571,11 @@ function ek(e, t, n) { return t; if (n.charCodeAt(0) === 35) { const r = n.charCodeAt(1), a = r === 120 || r === 88; - return p5(n.slice(a ? 2 : 1), a ? 16 : 10); + return h5(n.slice(a ? 2 : 1), a ? 16 : 10); } return f1(n) || e; } -const g5 = {}.hasOwnProperty, tk = ( +const p5 = {}.hasOwnProperty, tk = ( /** * @type {( * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & @@ -28697,7 +28694,7 @@ function nk(e) { thematicBreak: c() } }; - m5(t, (e || {}).mdastExtensions || []); + g5(t, (e || {}).mdastExtensions || []); const n = {}; return o; function o(Z) { @@ -28727,7 +28724,7 @@ function nk(e) { } for (de = -1; ++de < Z.length; ) { const Ve = t[Z[de][0]]; - g5.call(Ve, Z[de][1].type) && Ve[Z[de][1].type].call( + p5.call(Ve, Z[de][1].type) && Ve[Z[de][1].type].call( Object.assign( { sliceSerialize: Z[de][2].sliceSerialize @@ -28761,11 +28758,11 @@ function nk(e) { return ee; } function r(Z, ee, se) { - let xe = ee - 1, de = -1, Ve = !1, et, Qe, ht, it; + let xe = ee - 1, de = -1, Ve = !1, tt, Qe, ht, it; for (; ++xe <= se; ) { const Se = Z[xe]; - if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (et && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { - if (et) { + if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (tt && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { + if (tt) { let Wt = xe; for (Qe = void 0; Wt--; ) { const lt = Z[Wt]; @@ -28774,18 +28771,18 @@ function nk(e) { Qe && (Z[Qe][1].type = "lineEndingBlank", Ve = !0), lt[1].type = "lineEnding", Qe = Wt; } else if (!(lt[1].type === "linePrefix" || lt[1].type === "blockQuotePrefix" || lt[1].type === "blockQuotePrefixWhitespace" || lt[1].type === "blockQuoteMarker" || lt[1].type === "listItemIndent")) break; } - ht && (!Qe || ht < Qe) && (et._spread = !0), et.end = Object.assign( + ht && (!Qe || ht < Qe) && (tt._spread = !0), tt.end = Object.assign( {}, Qe ? Z[Qe][1].start : Se[1].end - ), Z.splice(Qe || xe, 0, ["exit", et, Se[2]]), xe++, se++; + ), Z.splice(Qe || xe, 0, ["exit", tt, Se[2]]), xe++, se++; } - Se[1].type === "listItemPrefix" && (et = { + Se[1].type === "listItemPrefix" && (tt = { type: "listItem", _spread: !1, start: Object.assign({}, Se[1].start), // @ts-expect-error: we’ll add `end` in a second. end: void 0 - }, Z.splice(xe, 0, ["enter", et, Se[2]]), xe++, se++, ht = void 0, it = !0); + }, Z.splice(xe, 0, ["enter", tt, Se[2]]), xe++, se++, ht = void 0, it = !0); } } return Z[ee][1]._spread = Ve, se; @@ -28824,7 +28821,7 @@ function nk(e) { if (xe) xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || M0).call(this, Z, xe[0])); else throw new Error( - "Cannot close `" + Z.type + "` (" + ar({ + "Cannot close `" + Z.type + "` (" + rr({ start: Z.start, end: Z.end }) + "): it’s not open" @@ -28984,7 +28981,7 @@ function nk(e) { function ne(Z) { const ee = this.sliceSerialize(Z), se = i("characterReferenceType"); let xe; - se ? (xe = p5( + se ? (xe = h5( ee, se === "characterReferenceMarkerNumeric" ? 10 : 16 ), a("characterReferenceType")) : xe = f1(ee); @@ -29118,17 +29115,17 @@ function Tn(e) { offset: e.offset }; } -function m5(e, t) { +function g5(e, t) { let n = -1; for (; ++n < t.length; ) { const o = t[n]; - Array.isArray(o) ? m5(e, o) : ok(e, o); + Array.isArray(o) ? g5(e, o) : ok(e, o); } } function ok(e, t) { let n; for (n in t) - if (g5.call(t, n)) { + if (p5.call(t, n)) { if (n === "canContainEols") { const o = t[n]; o && e[n].push(...o); @@ -29143,15 +29140,15 @@ function ok(e, t) { } function M0(e, t) { throw e ? new Error( - "Cannot close `" + e.type + "` (" + ar({ + "Cannot close `" + e.type + "` (" + rr({ start: e.start, end: e.end - }) + "): a different token (`" + t.type + "`, " + ar({ + }) + "): a different token (`" + t.type + "`, " + rr({ start: t.start, end: t.end }) + ") is open" ) : new Error( - "Cannot close document, a token (`" + t.type + "`, " + ar({ + "Cannot close document, a token (`" + t.type + "`, " + rr({ start: t.start, end: t.end }) + ") is still open" @@ -29219,7 +29216,7 @@ function ck(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Po(e) { +function Ho(e) { const t = []; let n = -1, o = 0, r = 0; for (; ++n < e.length; ) { @@ -29238,8 +29235,8 @@ function Po(e) { } return t.join("") + e.slice(o); } -function b5(e, t) { - const n = String(t.identifier).toUpperCase(), o = Po(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); +function m5(e, t) { + const n = String(t.identifier).toUpperCase(), o = Ho(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); let a; r === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, a = e.footnoteOrder.length) : (e.footnoteCounts[n]++, a = r + 1); const i = e.footnoteCounts[n], l = { @@ -29272,7 +29269,7 @@ function uk(e, t) { identifier: r, children: [{ type: "paragraph", children: t.children }], position: t.position - }, b5(e, { + }, m5(e, { type: "footnoteReference", identifier: r, position: t.position @@ -29294,7 +29291,7 @@ function fk(e, t) { } return null; } -function y5(e, t) { +function b5(e, t) { const n = t.referenceType; let o = "]"; if (n === "collapsed" ? o += "[]" : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference") @@ -29307,14 +29304,14 @@ function y5(e, t) { function hk(e, t) { const n = e.definition(t.identifier); if (!n) - return y5(e, t); - const o = { src: Po(n.url || ""), alt: t.alt }; + return b5(e, t); + const o = { src: Ho(n.url || ""), alt: t.alt }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "img", properties: o, children: [] }; return e.patch(t, r), e.applyData(t, r); } function pk(e, t) { - const n = { src: Po(t.url) }; + const n = { src: Ho(t.url) }; t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, o), e.applyData(t, o); @@ -29333,8 +29330,8 @@ function gk(e, t) { function mk(e, t) { const n = e.definition(t.identifier); if (!n) - return y5(e, t); - const o = { href: Po(n.url || "") }; + return b5(e, t); + const o = { href: Ho(n.url || "") }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", @@ -29345,7 +29342,7 @@ function mk(e, t) { return e.patch(t, r), e.applyData(t, r); } function bk(e, t) { - const n = { href: Po(t.url) }; + const n = { href: Ho(t.url) }; t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", @@ -29356,7 +29353,7 @@ function bk(e, t) { return e.patch(t, o), e.applyData(t, o); } function yk(e, t, n) { - const o = e.all(t), r = n ? Ck(n) : C5(t), a = {}, i = []; + const o = e.all(t), r = n ? Ck(n) : y5(t), a = {}, i = []; if (typeof t.checked == "boolean") { const c = o[0]; let d; @@ -29386,11 +29383,11 @@ function Ck(e) { const n = e.children; let o = -1; for (; !t && ++o < n.length; ) - t = C5(n[o]); + t = y5(n[o]); } return t; } -function C5(e) { +function y5(e) { const t = e.spread; return t ?? e.children.length > 1; } @@ -29434,11 +29431,11 @@ function Ek(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const p1 = v5("start"), g1 = v5("end"); +const p1 = C5("start"), g1 = C5("end"); function Sk(e) { return { start: p1(e), end: g1(e) }; } -function v5(e) { +function C5(e) { return t; function t(n) { const o = n && n.position && n.position[e] || {}; @@ -29553,7 +29550,7 @@ const Nk = { code: lk, delete: sk, emphasis: ck, - footnoteReference: b5, + footnoteReference: m5, footnote: uk, heading: dk, html: fk, @@ -29572,15 +29569,15 @@ const Nk = { tableRow: _k, text: Tk, thematicBreak: Ok, - toml: ua, - yaml: ua, - definition: ua, - footnoteDefinition: ua + toml: ca, + yaml: ca, + definition: ca, + footnoteDefinition: ca }; -function ua() { +function ca() { return null; } -const x5 = ( +const v5 = ( /** * @type {( * ((test: PredicateTest) => AssertPredicate) & @@ -29607,7 +29604,7 @@ function Dk(e) { const t = []; let n = -1; for (; ++n < e.length; ) - t[n] = x5(e[n]); + t[n] = v5(e[n]); return gi(o); function o(...r) { let a = -1; @@ -29656,7 +29653,7 @@ const Rk = !0, D0 = !1, Ik = "skip", zk = ( */ function(e, t, n, o) { typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null); - const r = x5(t), a = o ? -1 : 1; + const r = v5(t), a = o ? -1 : 1; i(e, void 0, [])(); function i(l, s, u) { const c = l && typeof l == "object" ? l : {}; @@ -29737,14 +29734,14 @@ function Bk(e) { function F0(e) { return String(e || "").toUpperCase(); } -const Ya = {}.hasOwnProperty; +const qa = {}.hasOwnProperty; function Vk(e, t) { const n = t || {}, o = n.allowDangerousHtml || !1, r = {}; return i.dangerous = o, i.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, i.footnoteLabel = n.footnoteLabel || "Footnotes", i.footnoteLabelTagName = n.footnoteLabelTagName || "h2", i.footnoteLabelProperties = n.footnoteLabelProperties || { className: ["sr-only"] }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...Nk, ...n.handlers }, i.definition = Bk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = $k, i.applyData = Wk, i.one = l, i.all = s, i.wrap = Uk, i.augment = a, m1(e, "footnoteDefinition", (u) => { const c = String(u.identifier).toUpperCase(); - Ya.call(r, c) || (r[c] = u); + qa.call(r, c) || (r[c] = u); }), i; function a(u, c) { if (u && "data" in u && u.data) { @@ -29771,7 +29768,7 @@ function Vk(e, t) { }); } function l(u, c) { - return w5(i, u, c); + return x5(i, u, c); } function s(u) { return b1(i, u); @@ -29793,11 +29790,11 @@ function Wk(e, t) { } return n; } -function w5(e, t, n) { +function x5(e, t, n) { const o = t && t.type; if (!o) throw new Error("Expected node, got `" + t + "`"); - return Ya.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: b1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Zk(e, t); + return qa.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: b1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Zk(e, t); } function b1(e, t) { const n = []; @@ -29805,7 +29802,7 @@ function b1(e, t) { const o = t.children; let r = -1; for (; ++r < o.length; ) { - const a = w5(e, o[r], t); + const a = x5(e, o[r], t); if (a) { if (r && o[r - 1].type === "break" && (!Array.isArray(a) && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")), !Array.isArray(a) && a.type === "element")) { const i = a.children[0]; @@ -29818,7 +29815,7 @@ function b1(e, t) { return n; } function Zk(e, t) { - const n = t.data || {}, o = "value" in t && !(Ya.call(n, "hProperties") || Ya.call(n, "hChildren")) ? { type: "text", value: t.value } : { + const n = t.data || {}, o = "value" in t && !(qa.call(n, "hProperties") || qa.call(n, "hChildren")) ? { type: "text", value: t.value } : { type: "element", tagName: "div", properties: {}, @@ -29843,7 +29840,7 @@ function qk(e) { const o = e.footnoteById[e.footnoteOrder[n]]; if (!o) continue; - const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Po(a.toLowerCase()); + const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Ho(a.toLowerCase()); let l = 0; const s = []; for (; ++l <= e.footnoteCounts[a]; ) { @@ -29907,7 +29904,7 @@ function qk(e) { ] }; } -function E5(e, t) { +function w5(e, t) { const n = Vk(e, t), o = n.one(e, null), r = qk(n); return r && o.children.push({ type: "text", value: ` ` }, r), Array.isArray(o) ? { type: "root", children: o } : o; @@ -29920,15 +29917,15 @@ const Yk = ( ); function Gk(e, t) { return (n, o, r) => { - e.run(E5(n, t), o, (a) => { + e.run(w5(n, t), o, (a) => { r(a); }); }; } function Kk(e) { - return (t) => E5(t, e); + return (t) => w5(t, e); } -class Ir { +class Rr { /** * @constructor * @param {Properties} property @@ -29939,15 +29936,15 @@ class Ir { this.property = t, this.normal = n, o && (this.space = o); } } -Ir.prototype.property = {}; -Ir.prototype.normal = {}; -Ir.prototype.space = null; -function S5(e, t) { +Rr.prototype.property = {}; +Rr.prototype.normal = {}; +Rr.prototype.space = null; +function E5(e, t) { const n = {}, o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); - return new Ir(n, o, t); + return new Rr(n, o, t); } function qs(e) { return e.toLowerCase(); @@ -29973,8 +29970,8 @@ Vt.prototype.commaOrSpaceSeparated = !1; Vt.prototype.mustUseProperty = !1; Vt.prototype.defined = !1; let Xk = 0; -const me = oo(), Ke = oo(), k5 = oo(), te = oo(), He = oo(), xo = oo(), kt = oo(); -function oo() { +const me = no(), Ke = no(), S5 = no(), te = no(), He = no(), xo = no(), kt = no(); +function no() { return 2 ** ++Xk; } const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ @@ -29984,7 +29981,7 @@ const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ commaOrSpaceSeparated: kt, commaSeparated: xo, number: te, - overloadedBoolean: k5, + overloadedBoolean: S5, spaceSeparated: He }, Symbol.toStringTag, { value: "Module" })), Jl = Object.keys(Ys); class y1 extends Vt { @@ -30009,7 +30006,7 @@ function j0(e, t, n) { n && (e[t] = n); } const Qk = {}.hasOwnProperty; -function Bo(e) { +function Po(e) { const t = {}, n = {}; let o; for (o in e.properties) @@ -30022,9 +30019,9 @@ function Bo(e) { ); e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[qs(o)] = o, n[qs(a.attribute)] = o; } - return new Ir(t, n, e.space); + return new Rr(t, n, e.space); } -const _5 = Bo({ +const k5 = Po({ space: "xlink", transform(e, t) { return "xlink:" + t.slice(5).toLowerCase(); @@ -30038,25 +30035,25 @@ const _5 = Bo({ xLinkTitle: null, xLinkType: null } -}), A5 = Bo({ +}), _5 = Po({ space: "xml", transform(e, t) { return "xml:" + t.slice(3).toLowerCase(); }, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); -function M5(e, t) { +function A5(e, t) { return t in e ? e[t] : t; } -function T5(e, t) { - return M5(e, t.toLowerCase()); +function M5(e, t) { + return A5(e, t.toLowerCase()); } -const O5 = Bo({ +const T5 = Po({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: T5, + transform: M5, properties: { xmlns: null, xmlnsXLink: null } -}), N5 = Bo({ +}), O5 = Po({ transform(e, t) { return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); }, @@ -30111,7 +30108,7 @@ const O5 = Bo({ ariaValueText: null, role: null } -}), Jk = Bo({ +}), Jk = Po({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -30119,7 +30116,7 @@ const O5 = Bo({ htmlfor: "for", httpequiv: "http-equiv" }, - transform: T5, + transform: M5, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. @@ -30161,7 +30158,7 @@ const O5 = Bo({ dir: null, dirName: null, disabled: me, - download: k5, + download: S5, draggable: Ke, encType: null, enterKeyHint: null, @@ -30472,7 +30469,7 @@ const O5 = Bo({ security: null, unselectable: null } -}), e_ = Bo({ +}), e_ = Po({ space: "svg", attributes: { accentHeight: "accent-height", @@ -30649,7 +30646,7 @@ const O5 = Bo({ playbackOrder: "playbackorder", timelineBegin: "timelinebegin" }, - transform: M5, + transform: A5, properties: { about: kt, accentHeight: te, @@ -31076,7 +31073,7 @@ const I0 = { xLinkTitle: "xlinkTitle", xLinkType: "xlinkType", xmlnsXLink: "xmlnsXlink" -}, i_ = S5([A5, _5, O5, N5, Jk], "html"), l_ = S5([A5, _5, O5, N5, e_], "svg"); +}, i_ = E5([_5, k5, T5, O5, Jk], "html"), l_ = E5([_5, k5, T5, O5, e_], "svg"); function s_(e) { if (e.allowedElements && e.disallowedElements) throw new TypeError( @@ -31296,7 +31293,7 @@ function g_(e, t) { ).trim(); } var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ = /^\s*/, y_ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, C_ = /^:\s*/, v_ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, x_ = /^[;\s]*/, w_ = /^\s+|\s+$/g, E_ = ` -`, B0 = "/", V0 = "*", $n = "", S_ = "comment", k_ = "declaration", __ = function(e, t) { +`, B0 = "/", V0 = "*", Vn = "", S_ = "comment", k_ = "declaration", __ = function(e, t) { if (typeof e != "string") throw new TypeError("First argument must be a string"); if (!e) return []; @@ -31343,9 +31340,9 @@ var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ function d() { var m = a(); if (!(B0 != e.charAt(0) || V0 != e.charAt(1))) { - for (var b = 2; $n != e.charAt(b) && (V0 != e.charAt(b) || B0 != e.charAt(b + 1)); ) + for (var b = 2; Vn != e.charAt(b) && (V0 != e.charAt(b) || B0 != e.charAt(b + 1)); ) ++b; - if (b += 2, $n === e.charAt(b - 1)) + if (b += 2, Vn === e.charAt(b - 1)) return l("End of comment missing"); var y = e.slice(2, b - 2); return o += 2, r(y), e = e.slice(b), o += 2, m({ @@ -31360,8 +31357,8 @@ var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ if (d(), !s(C_)) return l("property missing ':'"); var y = s(v_), g = m({ type: k_, - property: $0(b[0].replace(P0, $n)), - value: y ? $0(y[0].replace(P0, $n)) : $n + property: $0(b[0].replace(P0, Vn)), + value: y ? $0(y[0].replace(P0, Vn)) : Vn }); return s(x_), g; } @@ -31376,10 +31373,10 @@ var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ return u(), f(); }; function $0(e) { - return e ? e.replace(w_, $n) : $n; + return e ? e.replace(w_, Vn) : Vn; } var A_ = __; -function D5(e, t) { +function N5(e, t) { var n = null; if (!e || typeof e != "string") return n; @@ -31387,11 +31384,11 @@ function D5(e, t) { o = r[s], i = o.property, l = o.value, a ? t(i, l, o) : l && (n || (n = {}), n[i] = l); return n; } -C1.exports = D5; -C1.exports.default = D5; +C1.exports = N5; +C1.exports.default = N5; var M_ = C1.exports; const T_ = /* @__PURE__ */ dn(M_), Ks = {}.hasOwnProperty, O_ = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); -function L5(e, t) { +function D5(e, t) { const n = []; let o = -1, r; for (; ++o < t.children.length; ) @@ -31405,7 +31402,7 @@ function N_(e, t, n, o) { for (c in t.properties) Ks.call(t.properties, c) && L_(s, c, t.properties[c], e); (l === "ol" || l === "ul") && e.listDepth++; - const d = L5(e, t); + const d = D5(e, t); (l === "ol" || l === "ul") && e.listDepth--, e.schema = i; const p = t.position || { start: { line: null, column: null, offset: null }, @@ -31479,7 +31476,7 @@ function R_(e) { e.end.column ].map(String).join(""); } -const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", da = { +const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", ua = { plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" }, renderers: { to: "components", id: "change-renderers-to-components" }, astPlugins: { id: "remove-buggy-html-in-markdown-parser" }, @@ -31503,18 +31500,18 @@ const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/b id: "change-includenodeindex-to-includeelementindex" } }; -function F5(e) { - for (const a in da) - if (W0.call(da, a) && W0.call(e, a)) { - const i = da[a]; +function L5(e) { + for (const a in ua) + if (W0.call(ua, a) && W0.call(e, a)) { + const i = ua[a]; console.warn( `[react-markdown] Warning: please ${i.to ? `use \`${i.to}\` instead of` : "remove"} \`${a}\` (see <${I_}#${i.id}> for more info)` - ), delete da[a]; + ), delete ua[a]; } const t = Gw().use(rk).use(e.remarkPlugins || []).use(Yk, { ...e.remarkRehypeOptions, allowDangerousHtml: !0 - }).use(e.rehypePlugins || []).use(s_, e), n = new e5(); + }).use(e.rehypePlugins || []).use(s_, e), n = new Jf(); typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn( `[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)` ); @@ -31524,11 +31521,11 @@ function F5(e) { let r = $.createElement( $.Fragment, {}, - L5({ options: e, schema: i_, listDepth: 0 }, o) + D5({ options: e, schema: i_, listDepth: 0 }, o) ); return e.className && (r = $.createElement("div", { className: e.className }, r)), r; } -F5.propTypes = { +L5.propTypes = { // Core options: children: q.string, // Layout options: @@ -31598,7 +31595,7 @@ const z_ = ({ chat: e }) => { (u) => u.type === "info" ), l = e.loading ? /* @__PURE__ */ h.jsx(Xs, { size: "sm" }) : /* @__PURE__ */ h.jsx(_2, {}); return /* @__PURE__ */ h.jsxs(zt, { className: u1.statusUpdates, children: [ - /* @__PURE__ */ h.jsxs(Fo, { color: "primary", onClick: r, children: [ + /* @__PURE__ */ h.jsxs(Lo, { color: "primary", onClick: r, children: [ /* @__PURE__ */ h.jsxs("span", { children: [ l, " ", @@ -31606,18 +31603,18 @@ const z_ = ({ chat: e }) => { ] }), t ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) ] }), - i.length ? /* @__PURE__ */ h.jsx(K0, { isOpen: t, children: /* @__PURE__ */ h.jsx(zt, { children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx(Q5, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ h.jsxs("li", { children: [ + i.length ? /* @__PURE__ */ h.jsx(K0, { isOpen: t, children: /* @__PURE__ */ h.jsx(zt, { children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx(X5, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ h.jsxs("li", { children: [ /* @__PURE__ */ h.jsx(_2, {}), " ", - /* @__PURE__ */ h.jsx("div", { children: /* @__PURE__ */ h.jsx(F5, { children: u.message.trim().replace(/```/g, "\n```") }) }) + /* @__PURE__ */ h.jsx("div", { children: /* @__PURE__ */ h.jsx(L5, { children: u.message.trim().replace(/```/g, "\n```") }) }) ] }, u.id)) }) }) }) }) : null ] }); }; -var fa, H_ = new Uint8Array(16); +var da, H_ = new Uint8Array(16); function P_() { - if (!fa && (fa = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !fa)) + if (!da && (da = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !da)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); - return fa(H_); + return da(H_); } const B_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; function V_(e) { @@ -31642,7 +31639,7 @@ const Z_ = "_citations_18435_1", U_ = { }, q_ = ({ citations: e, frontendUrl: t -}) => e != null && e.length ? /* @__PURE__ */ h.jsxs(nt, { className: U_.citations, children: [ +}) => e != null && e.length ? /* @__PURE__ */ h.jsxs(Je, { className: U_.citations, children: [ "Learnings applied:", /* @__PURE__ */ h.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, o) => /* @__PURE__ */ h.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ h.jsx( od, @@ -31709,11 +31706,11 @@ const Z_ = "_citations_18435_1", U_ = { }); }; return /* @__PURE__ */ h.jsx( - i4, + a4, { actions: { render: () => [ - /* @__PURE__ */ h.jsxs(Re, { onClick: f, outline: !0, color: "primary", size: "sm", children: [ + /* @__PURE__ */ h.jsxs(Ie, { onClick: f, outline: !0, color: "primary", size: "sm", children: [ "Clear chat ", /* @__PURE__ */ h.jsx(xd, { className: "align-middle" }) ] }) @@ -31723,12 +31720,12 @@ const Z_ = "_citations_18435_1", U_ = { request: d, appStyle: { height: "100%", width: "100%" }, assistantMeta: { - avatar: f8, + avatar: d8, name: "Altimate" }, helloMessage: "Hello, how are you??", userMeta: { - avatar: h8, + avatar: f8, name: "User" }, loading: e, @@ -31770,36 +31767,36 @@ const Z_ = "_citations_18435_1", U_ = { ); }; export { - ze as A, + je as A, od as B, - Tr as C, + Mr as C, dA as D, - Yf as E, + qf as E, s1 as F, - Bn as G, - mw as H, - qn as I, - Vn as J, - wa as K, - jo as L, - Lo as M, - Uf as N, + uo as G, + Cw as H, + Un as I, + Bn as J, + xa as K, + Fo as L, + hi as M, + gw as N, c1 as P, Sn as T, - Ie as a, + ze as a, sA as b, cA as c, oA as d, rc as e, xn as f, - p6 as g, + h6 as g, nc as h, Bd as i, h as j, - b9 as k, + m9 as k, gA as l, Xe as m, - yx as n, + bx as n, xA as o, Nw as p, q_ as q, @@ -31809,7 +31806,7 @@ export { Pt as u, yA as v, vw as w, - sw as x, + lw as x, CA as y, vA as z }; diff --git a/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx index a6b394473..75ad6d44a 100644 --- a/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx +++ b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx @@ -1,4 +1,10 @@ -import { CoachForm, TaskLabels, TeammateActions, useTeamMateContext } from "@lib"; +import { + CoachForm, + ProjectGovernorCheckConfirmationResponse, + TaskLabels, + TeammateActions, + useTeamMateContext, +} from "@lib"; import { vscode } from "@modules/vscode"; import { Drawer, DrawerRef } from "@uicore"; import { useRef } from "react"; @@ -12,7 +18,7 @@ const ProjectHealthNewCheckButton = ({ }): JSX.Element | null => { const drawerRef = useRef(null); const { dispatch } = useTeamMateContext(); - + const onOpen = () => { dispatch(TeammateActions.setShowCoachingForm(true)); }; @@ -27,12 +33,13 @@ const ProjectHealthNewCheckButton = ({ { - drawerRef.current?.close() + onClose={(data?: ProjectGovernorCheckConfirmationResponse) => { + drawerRef.current?.close(); + if (data?.frontend_url) vscode.postMessage({ - command: "openURL", - url: "http://rakuten.localhost:3000/teammates/ProjectGovernor", - }); + command: "openURL", + url: `${data.frontend_url}/teammates/${TaskLabels.ProjectGovernor}`, + }); }} extra={extra} /> diff --git a/webview_panels/src/modules/insights/Insights.stories.tsx b/webview_panels/src/modules/insights/Insights.stories.tsx index 267401af4..d2ee5cda6 100644 --- a/webview_panels/src/modules/insights/Insights.stories.tsx +++ b/webview_panels/src/modules/insights/Insights.stories.tsx @@ -1,7 +1,6 @@ import { faker } from "@faker-js/faker"; import type { Meta, StoryObj } from "@storybook/react"; import Insights from "./Insights"; -import { ProjectGovernorCheckTypes, TaskLabels } from "@lib"; export default { title: "Actions panel", @@ -36,8 +35,6 @@ export const SingleProject: StoryObj = { return { ai_response: faker.lorem.paragraph(), category: "Business", - personalizationScope: TaskLabels.ProjectGovernor, - type: ProjectGovernorCheckTypes.Modelling, }; case `projectgovernor/training/confirm`: return { From ed44adaf5a55ece53acf4dd45a64addf51744942 Mon Sep 17 00:00:00 2001 From: Saravanan Date: Thu, 14 Nov 2024 16:30:31 +0530 Subject: [PATCH 03/17] =?UTF-8?q?=1B[200~fix:=20backend=20integration~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- .../src/lib/altimate/altimate-components.d.ts | 34 +- .../src/lib/altimate/altimate-components.js | 41 +- webview_panels/src/lib/altimate/main.js | 10780 ++++++++-------- .../ProjectHealthNewCheckButton.tsx | 15 +- 5 files changed, 5508 insertions(+), 5364 deletions(-) diff --git a/package.json b/package.json index d5ffd101b..57b8ca024 100644 --- a/package.json +++ b/package.json @@ -1192,7 +1192,7 @@ "prepare": "husky install", "vscode:prepublish": "npm run panel:webviews && npm run panel:lineage && webpack --mode production && node prepareBuild.js", "webpack": "npm run panel:webviews", - "webpack-dev": "npm run panel:webviews && npm run panel:lineage && webpack --mode development --watch", + "webpack-dev": "npm run panel:webviews", "watch": "concurrently \"npm:watch --prefix ./new_lineage_panel\" \"npm:watch --prefix ./webview_panels\" \"webpack --mode development --watch\"", "test-compile": "tsc -p ./", "lint": "eslint src --ext ts", diff --git a/webview_panels/src/lib/altimate/altimate-components.d.ts b/webview_panels/src/lib/altimate/altimate-components.d.ts index f0609a1f9..217883cb2 100644 --- a/webview_panels/src/lib/altimate/altimate-components.d.ts +++ b/webview_panels/src/lib/altimate/altimate-components.d.ts @@ -293,25 +293,41 @@ export declare enum ProjectGovernorAllowedFiles { Catalog = "Catalog" } -export declare interface ProjectGovernorCheck { - name: string; - alias: string; - type: ProjectGovernorCheckTypes; - description: string; - files_required: ProjectGovernorAllowedFiles[]; - config?: Record; +export declare interface ProjectGovernorCheck extends z.infer { } export declare interface ProjectGovernorCheckConfirmationResponse { ok: boolean; - frontend_url: string; } export declare interface ProjectGovernorCheckFormValues { description: string; - category: ProjectGovernorCheckTypes; + type: ProjectGovernorCheckTypes; } +export declare const ProjectGovernorCheckSchema: z.ZodObject<{ + name: z.ZodString; + alias: z.ZodString; + type: z.ZodEnum<[string, ...string[]]>; + description: z.ZodString; + files_required: z.ZodArray, "many">; + config: z.ZodRecord; +}, "strip", z.ZodTypeAny, { + type: string; + name: string; + description: string; + alias: string; + files_required: string[]; + config: Record; +}, { + type: string; + name: string; + description: string; + alias: string; + files_required: string[]; + config: Record; +}>; + export declare enum ProjectGovernorCheckTypes { DOCUMENTATION = "documentation", TESTS = "tests", diff --git a/webview_panels/src/lib/altimate/altimate-components.js b/webview_panels/src/lib/altimate/altimate-components.js index 191a33ec1..8e13f090a 100644 --- a/webview_panels/src/lib/altimate/altimate-components.js +++ b/webview_panels/src/lib/altimate/altimate-components.js @@ -1,36 +1,37 @@ -import { A as o, B as t, m as n, p as r, o as i, q as C, n as m, t as l, v as c, C as T, F as p, k as v, i as g, h as L, D as h, I as u, y as M, l as d, L as A, P as B, N as P, M as k, G as y, K as F, J as b, r as G, z as x, E as D, x as I, T as S, H as f, w as j } from "./main.js"; +import { A as s, B as t, m as n, p as r, o as i, q as C, n as c, t as m, v as l, C as T, F as p, k as v, i as g, h, D as L, I as u, y as M, l as P, L as d, P as k, N as A, O as B, M as y, G as F, K as G, J as b, r as S, z as j, E as x, x as D, T as I, H as f, w } from "./main.js"; import "reactstrap"; export { - o as ApiHelper, + s as ApiHelper, t as Badge, n as CLL, r as ChatTriggerLink, i as Chatbot, C as Citations, - m as CllEvents, - l as CoachForm, - c as CoachFormButton, + c as CllEvents, + m as CoachForm, + l as CoachFormButton, T as CodeBlock, p as ContentCategory, v as ConversationGroupProvider, g as ConversationInputForm, - L as ConversationSources, - h as DbtDocs, + h as ConversationSources, + L as DbtDocs, u as IconButton, M as Learnings, - d as Lineage, - A as LoadingButton, - B as PersonalizationScope, - P as ProjectGovernorAllowedFiles, - k as ProjectGovernorCheckTypes, - y as TaskLabels, - F as TeamMateActionType, + P as Lineage, + d as LoadingButton, + k as PersonalizationScope, + A as ProjectGovernorAllowedFiles, + B as ProjectGovernorCheckSchema, + y as ProjectGovernorCheckTypes, + F as TaskLabels, + G as TeamMateActionType, b as TeamMateAvailability, - G as TeamMateProvider, - x as TeamMates, - D as TeamMatesConfig, - I as TeammateActions, - S as Tooltip, + S as TeamMateProvider, + j as TeamMates, + x as TeamMatesConfig, + D as TeammateActions, + I as Tooltip, f as learningSchema, - j as useTeamMateContext + w as useTeamMateContext }; diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index def10a915..61997a6d3 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -1,22 +1,22 @@ // * version 0.1.0 -import './main.css';var I5 = Object.defineProperty; -var z5 = (e, t, n) => t in e ? I5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var $r = (e, t, n) => z5(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as H5, Button as Ie, Spinner as Xs, Card as zt, CardTitle as Lo, CardBody as un, Badge as P5, CloseButton as B5, Popover as Z0, PopoverBody as U0, UncontrolledTooltip as V5, Input as Cn, Label as fa, Modal as q0, ModalBody as Y0, FormGroup as ir, FormFeedback as Qs, Alert as Ar, CardFooter as G0, Offcanvas as $5, OffcanvasHeader as W5, OffcanvasBody as Z5, Collapse as K0, Col as U5, CardImg as q5, CardSubtitle as Y5, CardText as G5, Row as K5, List as X5 } from "reactstrap"; +import './main.css';var B5 = Object.defineProperty; +var V5 = (e, t, n) => t in e ? B5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +var Zr = (e, t, n) => V5(e, typeof t != "symbol" ? t + "" : t, n); +import { Tooltip as $5, Button as Re, Spinner as Qs, Card as zt, CardTitle as Ro, CardBody as dn, Badge as W5, CloseButton as Z5, Popover as q0, PopoverBody as Y0, UncontrolledTooltip as U5, Input as Xt, Label as pa, Modal as G0, ModalBody as K0, FormGroup as Kn, FormFeedback as lr, Alert as Mr, CardFooter as X0, Offcanvas as q5, OffcanvasHeader as Y5, OffcanvasBody as G5, Collapse as Q0, Col as K5, CardImg as X5, CardSubtitle as Q5, CardText as J5, Row as e4, List as t4 } from "reactstrap"; import * as O from "react"; -import $, { createContext as Ht, Component as Q5, createElement as x1, isValidElement as X0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Me, useMemo as Be, useContext as et, useLayoutEffect as J5, useId as Q0, useInsertionEffect as e4, Children as wo, lazy as t4, memo as Ye } from "react"; -import { Prism as n4 } from "react-syntax-highlighter"; -import o4, { createPortal as Rn } from "react-dom"; -import { useProChat as r4, ProChat as a4 } from "@ant-design/pro-chat"; -import { useFormikContext as J0, Form as ed, Field as ns, Formik as td, useFormik as i4 } from "formik"; -import { z as nt } from "zod"; -import { Select as os, Popconfirm as l4 } from "antd"; -var Gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function dn(e) { +import $, { createContext as Ht, Component as n4, createElement as E1, isValidElement as J0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Te, useMemo as Ve, useContext as tt, useLayoutEffect as o4, useId as ed, useInsertionEffect as r4, Children as ko, lazy as a4, memo as Ge } from "react"; +import { Prism as i4 } from "react-syntax-highlighter"; +import l4, { createPortal as zn } from "react-dom"; +import { useProChat as s4, ProChat as c4 } from "@ant-design/pro-chat"; +import { z as He } from "zod"; +import { useFormikContext as td, Form as nd, Field as os, Formik as od, useFormik as rd } from "formik"; +import { Select as rs, notification as u4, Popconfirm as ad } from "antd"; +var Xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function fn(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var rs = { exports: {} }, Vo = {}; +var as = { exports: {} }, $o = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -26,21 +26,21 @@ var rs = { exports: {} }, Vo = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var w1; -function s4() { - if (w1) return Vo; - w1 = 1; +var S1; +function d4() { + if (S1) return $o; + S1 = 1; var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(l, s, u) { - var c, d = {}, p = null, f = null; - u !== void 0 && (p = "" + u), s.key !== void 0 && (p = "" + s.key), s.ref !== void 0 && (f = s.ref); + var c, d = {}, p = null, h = null; + u !== void 0 && (p = "" + u), s.key !== void 0 && (p = "" + s.key), s.ref !== void 0 && (h = 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: p, ref: f, props: d, _owner: r.current }; + return { $$typeof: t, type: l, key: p, ref: h, props: d, _owner: r.current }; } - return Vo.Fragment = n, Vo.jsx = i, Vo.jsxs = i, Vo; + return $o.Fragment = n, $o.jsx = i, $o.jsxs = i, $o; } -var $o = {}; +var Wo = {}; /** * @license React * react-jsx-runtime.development.js @@ -50,10 +50,10 @@ var $o = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var E1; -function c4() { - return E1 || (E1 = 1, process.env.NODE_ENV !== "production" && function() { - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; +var k1; +function f4() { + return k1 || (k1 = 1, process.env.NODE_ENV !== "production" && function() { + var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; function y(H) { if (H === null || typeof H != "object") return null; @@ -72,22 +72,22 @@ function c4() { { var fe = g.ReactDebugCurrentFrame, Ae = fe.getStackAddendum(); Ae !== "" && (X += "%s", re = re.concat([Ae])); - var Re = re.map(function(we) { + var Ie = re.map(function(we) { return String(we); }); - Re.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Re); + Ie.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Ie); } } var S = !1, w = !1, E = !1, M = !1, _ = !1, L; L = Symbol.for("react.module.reference"); function R(H) { - return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || _ || H === r || H === u || H === c || M || H === f || S || w || E || typeof H == "object" && H !== null && (H.$$typeof === p || H.$$typeof === d || H.$$typeof === i || H.$$typeof === l || H.$$typeof === s || // This needs to include all possible module reference object + return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || _ || H === r || H === u || H === c || M || H === h || S || w || E || typeof H == "object" && H !== null && (H.$$typeof === p || 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 === L || H.getModuleId !== void 0)); } - function F(H, X, re) { + function j(H, X, re) { var fe = H.displayName; if (fe) return fe; @@ -127,14 +127,14 @@ function c4() { var re = H; return P(re._context) + ".Provider"; case s: - return F(H, H.render, "ForwardRef"); + return j(H, H.render, "ForwardRef"); case d: var fe = H.displayName || null; return fe !== null ? fe : V(H.type) || "Memo"; case p: { - var Ae = H, Re = Ae._payload, we = Ae._init; + var Ae = H, Ie = Ae._payload, we = Ae._init; try { - return V(we(Re)); + return V(we(Ie)); } catch { return null; } @@ -142,14 +142,14 @@ function c4() { } return null; } - var k = Object.assign, N = 0, T, D, I, j, v, z, B; + var k = Object.assign, N = 0, T, D, I, F, v, z, B; function A() { } A.__reactDisabledLog = !0; function W() { { if (N === 0) { - T = console.log, D = console.info, I = console.warn, j = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; + T = console.log, D = console.info, I = console.warn, F = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; var H = { configurable: !0, enumerable: !0, @@ -188,7 +188,7 @@ function c4() { value: I }), error: k({}, H, { - value: j + value: F }), group: k({}, H, { value: v @@ -235,8 +235,8 @@ function c4() { oe = !0; var Ae = Error.prepareStackTrace; Error.prepareStackTrace = void 0; - var Re; - Re = K.current, K.current = null, W(); + var Ie; + Ie = K.current, K.current = null, W(); try { if (X) { var we = function() { @@ -273,26 +273,26 @@ function c4() { if (dt && fe && typeof dt.stack == "string") { for (var ye = dt.stack.split(` `), st = fe.stack.split(` -`), We = ye.length - 1, Ue = st.length - 1; We >= 1 && Ue >= 0 && ye[We] !== st[Ue]; ) - Ue--; - for (; We >= 1 && Ue >= 0; We--, Ue--) - if (ye[We] !== st[Ue]) { - if (We !== 1 || Ue !== 1) +`), Ze = ye.length - 1, qe = st.length - 1; Ze >= 1 && qe >= 0 && ye[Ze] !== st[qe]; ) + qe--; + for (; Ze >= 1 && qe >= 0; Ze--, qe--) + if (ye[Ze] !== st[qe]) { + if (Ze !== 1 || qe !== 1) do - if (We--, Ue--, Ue < 0 || ye[We] !== st[Ue]) { + if (Ze--, qe--, qe < 0 || ye[Ze] !== st[qe]) { var pt = ` -` + ye[We].replace(" at new ", " at "); +` + ye[Ze].replace(" at new ", " at "); return H.displayName && pt.includes("") && (pt = pt.replace("", H.displayName)), typeof H == "function" && U.set(H, pt), pt; } - while (We >= 1 && Ue >= 0); + while (Ze >= 1 && qe >= 0); break; } } } finally { - oe = !1, K.current = Re, Y(), Error.prepareStackTrace = Ae; + oe = !1, K.current = Ie, Y(), Error.prepareStackTrace = Ae; } - var _n = H ? H.displayName || H.name : "", pn = _n ? ne(_n) : ""; - return typeof H == "function" && U.set(H, pn), pn; + var _n = H ? H.displayName || H.name : "", gn = _n ? ne(_n) : ""; + return typeof H == "function" && U.set(H, gn), gn; } function ke(H, X, re) { return J(H, !1); @@ -321,17 +321,17 @@ function c4() { case d: return _e(H.type, X, re); case p: { - var fe = H, Ae = fe._payload, Re = fe._init; + var fe = H, Ae = fe._payload, Ie = fe._init; try { - return _e(Re(Ae), X, re); + return _e(Ie(Ae), X, re); } catch { } } } return ""; } - var $e = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; - function Ge(H) { + var We = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; + function Xe(H) { if (H) { var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); le.setExtraStackFrame(re); @@ -340,9 +340,9 @@ function c4() { } function Ot(H, X, re, fe, Ae) { { - var Re = Function.call.bind($e); + var Ie = Function.call.bind(We); for (var we in H) - if (Re(H, we)) { + if (Ie(H, we)) { var ye = void 0; try { if (typeof H[we] != "function") { @@ -350,18 +350,18 @@ function c4() { throw st.name = "Invariant Violation", st; } ye = H[we](X, we, fe, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (We) { - ye = We; + } catch (Ze) { + ye = Ze; } - ye && !(ye instanceof Error) && (Ge(Ae), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", fe || "React class", re, we, typeof ye), Ge(null)), ye instanceof Error && !(ye.message in Ee) && (Ee[ye.message] = !0, Ge(Ae), x("Failed %s type: %s", re, ye.message), Ge(null)); + ye && !(ye instanceof Error) && (Xe(Ae), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", fe || "React class", re, we, typeof ye), Xe(null)), ye instanceof Error && !(ye.message in Ee) && (Ee[ye.message] = !0, Xe(Ae), x("Failed %s type: %s", re, ye.message), Xe(null)); } } } - var en = Array.isArray; + var tn = Array.isArray; function Nt(H) { - return en(H); + return tn(H); } - function tn(H) { + function nn(H) { { var X = typeof Symbol == "function" && Symbol.toStringTag, re = X && H[Symbol.toStringTag] || H.constructor.name || "Object"; return re; @@ -379,7 +379,7 @@ function c4() { } function Dt(H) { if (St(H)) - return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tn(H)), $t(H); + return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nn(H)), $t(H); } var Z = g.ReactCurrentOwner, ee = { key: !0, @@ -388,23 +388,23 @@ function c4() { __source: !0 }, se, xe, de; de = {}; - function Ve(H) { - if ($e.call(H, "ref")) { + function $e(H) { + if (We.call(H, "ref")) { var X = Object.getOwnPropertyDescriptor(H, "ref").get; if (X && X.isReactWarning) return !1; } return H.ref !== void 0; } - function tt(H) { - if ($e.call(H, "key")) { + function nt(H) { + if (We.call(H, "key")) { var X = Object.getOwnPropertyDescriptor(H, "key").get; if (X && X.isReactWarning) return !1; } return H.key !== void 0; } - function Qe(H, X) { + function et(H, X) { if (typeof H.ref == "string" && Z.current && X && Z.current.stateNode !== X) { var re = V(Z.current.type); de[re] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Z.current.type), H.ref), de[re] = !0); @@ -432,7 +432,7 @@ function c4() { }); } } - var Se = function(H, X, re, fe, Ae, Re, we) { + var Se = function(H, X, re, fe, Ae, Ie, we) { var ye = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, @@ -442,7 +442,7 @@ function c4() { ref: re, props: we, // Record the component responsible for creating this element. - _owner: Re + _owner: Ie }; return ye._store = {}, Object.defineProperty(ye._store, "validated", { configurable: !1, @@ -463,36 +463,36 @@ function c4() { }; function Wt(H, X, re, fe, Ae) { { - var Re, we = {}, ye = null, st = null; - re !== void 0 && (Dt(re), ye = "" + re), tt(X) && (Dt(X.key), ye = "" + X.key), Ve(X) && (st = X.ref, Qe(X, Ae)); - for (Re in X) - $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); + var Ie, we = {}, ye = null, st = null; + re !== void 0 && (Dt(re), ye = "" + re), nt(X) && (Dt(X.key), ye = "" + X.key), $e(X) && (st = X.ref, et(X, Ae)); + for (Ie in X) + We.call(X, Ie) && !ee.hasOwnProperty(Ie) && (we[Ie] = X[Ie]); if (H && H.defaultProps) { - var We = H.defaultProps; - for (Re in We) - we[Re] === void 0 && (we[Re] = We[Re]); + var Ze = H.defaultProps; + for (Ie in Ze) + we[Ie] === void 0 && (we[Ie] = Ze[Ie]); } if (ye || st) { - var Ue = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; - ye && ht(we, Ue), st && it(we, Ue); + var qe = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; + ye && ht(we, qe), st && it(we, qe); } return Se(H, ye, st, Ae, fe, Z.current, we); } } var lt = g.ReactCurrentOwner, kn = g.ReactDebugCurrentFrame; - function nn(H) { + function on(H) { if (H) { var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); kn.setExtraStackFrame(re); } else kn.setExtraStackFrame(null); } - var oo; - oo = !1; + var io; + io = !1; function Zt(H) { return typeof H == "object" && H !== null && H.$$typeof === t; } - function Ir() { + function Hr() { { if (lt.current) { var H = V(lt.current.type); @@ -504,13 +504,13 @@ Check the render method of \`` + H + "`."; return ""; } } - function mi(H) { + function bi(H) { return ""; } - var zr = {}; - function bi(H) { + var Pr = {}; + function yi(H) { { - var X = Ir(); + var X = Hr(); if (!X) { var re = typeof H == "string" ? H : H.displayName || H.name; re && (X = ` @@ -520,39 +520,39 @@ Check the top-level render call using <` + re + ">."); return X; } } - function Hr(H, X) { + function Br(H, X) { { if (!H._store || H._store.validated || H.key != null) return; H._store.validated = !0; - var re = bi(X); - if (zr[re]) + var re = yi(X); + if (Pr[re]) return; - zr[re] = !0; + Pr[re] = !0; var fe = ""; - H && H._owner && H._owner !== lt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), nn(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), nn(null); + H && H._owner && H._owner !== lt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), on(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), on(null); } } - function Pr(H, X) { + function Vr(H, X) { { if (typeof H != "object") return; if (Nt(H)) for (var re = 0; re < H.length; re++) { var fe = H[re]; - Zt(fe) && Hr(fe, X); + Zt(fe) && Br(fe, X); } else if (Zt(H)) H._store && (H._store.validated = !0); else if (H) { var Ae = y(H); if (typeof Ae == "function" && Ae !== H.entries) - for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) - Zt(we.value) && Hr(we.value, X); + for (var Ie = Ae.call(H), we; !(we = Ie.next()).done; ) + Zt(we.value) && Br(we.value, X); } } } - function yi(H) { + function Ci(H) { { var X = H.type; if (X == null || typeof X == "string") @@ -569,100 +569,100 @@ Check the top-level render call using <` + re + ">."); if (re) { var fe = V(X); Ot(re, H.props, "prop", fe, H); - } else if (X.PropTypes !== void 0 && !oo) { - oo = !0; + } else if (X.PropTypes !== void 0 && !io) { + io = !0; var Ae = V(X); x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown"); } typeof X.getDefaultProps == "function" && !X.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } - function Ci(H) { + function vi(H) { { for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { var fe = X[re]; if (fe !== "children" && fe !== "key") { - nn(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), nn(null); + on(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), on(null); break; } } - H.ref !== null && (nn(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), nn(null)); + H.ref !== null && (on(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), on(null)); } } - var Br = {}; - function Vr(H, X, re, fe, Ae, Re) { + var $r = {}; + function Wr(H, X, re, fe, Ae, Ie) { { var we = R(H); if (!we) { var ye = ""; (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var st = mi(); - st ? ye += st : ye += Ir(); - var We; - H === null ? We = "null" : Nt(H) ? We = "array" : H !== void 0 && H.$$typeof === t ? (We = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : We = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, ye); + var st = bi(); + st ? ye += st : ye += Hr(); + var Ze; + H === null ? Ze = "null" : Nt(H) ? Ze = "array" : H !== void 0 && H.$$typeof === t ? (Ze = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : Ze = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ze, ye); } - var Ue = Wt(H, X, re, Ae, Re); - if (Ue == null) - return Ue; + var qe = Wt(H, X, re, Ae, Ie); + if (qe == null) + return qe; if (we) { var pt = X.children; if (pt !== void 0) if (fe) if (Nt(pt)) { for (var _n = 0; _n < pt.length; _n++) - Pr(pt[_n], H); + Vr(pt[_n], H); Object.freeze && Object.freeze(pt); } else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else - Pr(pt, H); + Vr(pt, H); } - if ($e.call(X, "key")) { - var pn = V(H), dt = Object.keys(X).filter(function(ki) { - return ki !== "key"; - }), Bo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!Br[pn + Bo]) { - var Si = dt.length > 0 ? "{" + dt.join(": ..., ") + ": ...}" : "{}"; + if (We.call(X, "key")) { + var gn = V(H), dt = Object.keys(X).filter(function(_i) { + return _i !== "key"; + }), Vo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; + if (!$r[gn + Vo]) { + var ki = dt.length > 0 ? "{" + dt.join(": ..., ") + ": ...}" : "{}"; x(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, Bo, pn, Si, pn), Br[pn + Bo] = !0; + <%s key={someKey} {...props} />`, Vo, gn, ki, gn), $r[gn + Vo] = !0; } } - return H === o ? Ci(Ue) : yi(Ue), Ue; + return H === o ? vi(qe) : Ci(qe), qe; } } - function vi(H, X, re) { - return Vr(H, X, re, !0); - } function xi(H, X, re) { - return Vr(H, X, re, !1); + return Wr(H, X, re, !0); + } + function wi(H, X, re) { + return Wr(H, X, re, !1); } - var wi = xi, Ei = vi; - $o.Fragment = o, $o.jsx = wi, $o.jsxs = Ei; - }()), $o; + var Ei = wi, Si = xi; + Wo.Fragment = o, Wo.jsx = Ei, Wo.jsxs = Si; + }()), Wo; } -process.env.NODE_ENV === "production" ? rs.exports = s4() : rs.exports = c4(); -var h = rs.exports; -const u4 = "_iconButton_eti7u_1", d4 = { - iconButton: u4 -}, Un = (e) => /* @__PURE__ */ h.jsx(Sn, { title: e.title, children: /* @__PURE__ */ h.jsx( +process.env.NODE_ENV === "production" ? as.exports = d4() : as.exports = f4(); +var f = as.exports; +const h4 = "_iconButton_eti7u_1", p4 = { + iconButton: h4 +}, jn = (e) => /* @__PURE__ */ f.jsx(Sn, { title: e.title, children: /* @__PURE__ */ f.jsx( "button", { ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${d4.iconButton}`, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${p4.iconButton}`, type: e.type ?? "button", children: e.children } -) }), f4 = Ht(null), Ai = { +) }), g4 = Ht(null), Mi = { didCatch: !1, error: null }; -class h4 extends Q5 { +class m4 extends n4 { constructor(t) { - super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ai; + super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Mi; } static getDerivedStateFromError(t) { return { @@ -680,7 +680,7 @@ class h4 extends Q5 { (n = (o = this.props).onReset) === null || n === void 0 || n.call(o, { args: a, reason: "imperative-api" - }), this.setState(Ai); + }), this.setState(Mi); } } componentDidCatch(t, n) { @@ -693,13 +693,13 @@ class h4 extends Q5 { } = this.state, { resetKeys: r } = this.props; - if (o && n.error !== null && p4(t.resetKeys, r)) { + if (o && n.error !== null && b4(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(Ai); + }), this.setState(Mi); } } render() { @@ -721,13 +721,13 @@ class h4 extends Q5 { if (typeof n == "function") l = n(s); else if (o) - l = x1(o, s); - else if (r === null || X0(r)) + l = E1(o, s); + else if (r === null || J0(r)) l = r; else throw i; } - return x1(f4.Provider, { + return E1(g4.Provider, { value: { didCatch: a, error: i, @@ -736,7 +736,7 @@ class h4 extends Q5 { }, l); } } -function p4() { +function b4() { 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])); } @@ -744,10 +744,10 @@ const Sn = (e) => { const [t, n] = ce(!1), o = () => n(!t), r = he( (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") ); - return /* @__PURE__ */ h.jsxs(h4, { fallback: /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), children: [ - /* @__PURE__ */ h.jsx("span", { id: r.current, children: e.children }), - e.title ? /* @__PURE__ */ h.jsx( - H5, + return /* @__PURE__ */ f.jsxs(m4, { 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( + $5, { isOpen: t, target: r.current, @@ -758,18 +758,18 @@ const Sn = (e) => { } ) : null ] }); -}, g4 = "_loadingBtn_gadec_1", m4 = { - loadingBtn: g4 -}, Fo = ({ loading: e, ...t }) => /* @__PURE__ */ h.jsx( - Ie, +}, y4 = "_loadingBtn_gadec_1", C4 = { + loadingBtn: y4 +}, In = ({ loading: e, ...t }) => /* @__PURE__ */ f.jsx( + Re, { ...t, disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${m4.loadingBtn}`, - children: e ? /* @__PURE__ */ h.jsx(Xs, {}) : t.children + className: `${t.className ?? ""} ${C4.loadingBtn}`, + children: e ? /* @__PURE__ */ f.jsx(Qs, {}) : t.children } ); -var Xo = {}, nd = { exports: {} }; +var Qo = {}, id = { exports: {} }; (function(e) { function t(n) { return n && n.__esModule ? n : { @@ -777,10 +777,10 @@ var Xo = {}, nd = { exports: {} }; }; } e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports; -})(nd); -var b4 = nd.exports, Mi = {}, S1; -function y4() { - return S1 || (S1 = 1, function(e) { +})(id); +var v4 = id.exports, Ti = {}, _1; +function x4() { + return _1 || (_1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1034,11 +1034,11 @@ function y4() { } }; e.default = t; - }(Mi)), Mi; + }(Ti)), Ti; } -var Ti = {}, k1; -function C4() { - return k1 || (k1 = 1, function(e) { +var Oi = {}, A1; +function w4() { + return A1 || (A1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1197,11 +1197,11 @@ function C4() { } }; e.default = t; - }(Ti)), Ti; + }(Oi)), Oi; } -var Oi = {}, _1; -function v4() { - return _1 || (_1 = 1, function(e) { +var Ni = {}, M1; +function E4() { + return M1 || (M1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1367,11 +1367,11 @@ function v4() { } }; e.default = t; - }(Oi)), Oi; + }(Ni)), Ni; } -var Ni = {}, A1; -function x4() { - return A1 || (A1 = 1, function(e) { +var Di = {}, T1; +function S4() { + return T1 || (T1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1532,11 +1532,11 @@ function x4() { } }; e.default = t; - }(Ni)), Ni; + }(Di)), Di; } -var Di = {}, M1; -function w4() { - return M1 || (M1 = 1, function(e) { +var Li = {}, O1; +function k4() { + return O1 || (O1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1709,11 +1709,11 @@ function w4() { } }; e.default = t; - }(Di)), Di; + }(Li)), Li; } -var Li = {}, T1; -function E4() { - return T1 || (T1 = 1, function(e) { +var ji = {}, N1; +function _4() { + return N1 || (N1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -1871,11 +1871,11 @@ function E4() { } }; e.default = t; - }(Li)), Li; + }(ji)), ji; } -var Fi = {}, O1; -function S4() { - return O1 || (O1 = 1, function(e) { +var Fi = {}, D1; +function A4() { + return D1 || (D1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2096,9 +2096,9 @@ function S4() { e.default = t; }(Fi)), Fi; } -var ji = {}, N1; -function k4() { - return N1 || (N1 = 1, function(e) { +var Ri = {}, L1; +function M4() { + return L1 || (L1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2295,11 +2295,11 @@ function k4() { } }; e.default = t; - }(ji)), ji; + }(Ri)), Ri; } -var Ri = {}, D1; -function _4() { - return D1 || (D1 = 1, function(e) { +var Ii = {}, j1; +function T4() { + return j1 || (j1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2450,11 +2450,11 @@ function _4() { } }; e.default = t; - }(Ri)), Ri; + }(Ii)), Ii; } -var Ii = {}, L1; -function A4() { - return L1 || (L1 = 1, function(e) { +var zi = {}, F1; +function O4() { + return F1 || (F1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2612,11 +2612,11 @@ function A4() { } }; e.default = t; - }(Ii)), Ii; + }(zi)), zi; } -var zi = {}, F1; -function M4() { - return F1 || (F1 = 1, function(e) { +var Hi = {}, R1; +function N4() { + return R1 || (R1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2818,11 +2818,11 @@ function M4() { } }; e.default = t; - }(zi)), zi; + }(Hi)), Hi; } -var Hi = {}, j1; -function T4() { - return j1 || (j1 = 1, function(e) { +var Pi = {}, I1; +function D4() { + return I1 || (I1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -2988,11 +2988,11 @@ function T4() { } }; e.default = t; - }(Hi)), Hi; + }(Pi)), Pi; } -var Pi = {}, R1; -function O4() { - return R1 || (R1 = 1, function(e) { +var Bi = {}, z1; +function L4() { + return z1 || (z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3383,11 +3383,11 @@ function O4() { } }; e.default = t; - }(Pi)), Pi; + }(Bi)), Bi; } -var Bi = {}, I1; -function N4() { - return I1 || (I1 = 1, function(e) { +var Vi = {}, H1; +function j4() { + return H1 || (H1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3778,11 +3778,11 @@ function N4() { } }; e.default = t; - }(Bi)), Bi; + }(Vi)), Vi; } -var Vi = {}, z1; -function D4() { - return z1 || (z1 = 1, function(e) { +var $i = {}, P1; +function F4() { + return P1 || (P1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -3969,11 +3969,11 @@ function D4() { } }; e.default = t; - }(Vi)), Vi; + }($i)), $i; } -var $i = {}, H1; -function L4() { - return H1 || (H1 = 1, function(e) { +var Wi = {}, B1; +function R4() { + return B1 || (B1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4179,11 +4179,11 @@ function L4() { } }; e.default = t; - }($i)), $i; + }(Wi)), Wi; } -var Wi = {}, P1; -function F4() { - return P1 || (P1 = 1, function(e) { +var Zi = {}, V1; +function I4() { + return V1 || (V1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4342,11 +4342,11 @@ function F4() { } }; e.default = t; - }(Wi)), Wi; + }(Zi)), Zi; } -var Zi = {}, B1; -function j4() { - return B1 || (B1 = 1, function(e) { +var Ui = {}, $1; +function z4() { + return $1 || ($1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4569,11 +4569,11 @@ function j4() { } }; e.default = t; - }(Zi)), Zi; + }(Ui)), Ui; } -var Ui = {}, V1; -function R4() { - return V1 || (V1 = 1, function(e) { +var qi = {}, W1; +function H4() { + return W1 || (W1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -4796,11 +4796,11 @@ function R4() { } }; e.default = t; - }(Ui)), Ui; + }(qi)), qi; } -var qi = {}, $1; -function I4() { - return $1 || ($1 = 1, function(e) { +var Yi = {}, Z1; +function P4() { + return Z1 || (Z1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5023,11 +5023,11 @@ function I4() { } }; e.default = t; - }(qi)), qi; + }(Yi)), Yi; } -var Yi = {}, W1; -function z4() { - return W1 || (W1 = 1, function(e) { +var Gi = {}, U1; +function B4() { + return U1 || (U1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5250,11 +5250,11 @@ function z4() { } }; e.default = t; - }(Yi)), Yi; + }(Gi)), Gi; } -var Gi = {}, Z1; -function H4() { - return Z1 || (Z1 = 1, function(e) { +var Ki = {}, q1; +function V4() { + return q1 || (q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5477,11 +5477,11 @@ function H4() { } }; e.default = t; - }(Gi)), Gi; + }(Ki)), Ki; } -var Ki = {}, U1; -function P4() { - return U1 || (U1 = 1, function(e) { +var Xi = {}, Y1; +function $4() { + return Y1 || (Y1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5704,11 +5704,11 @@ function P4() { } }; e.default = t; - }(Ki)), Ki; + }(Xi)), Xi; } -var Xi = {}, q1; -function B4() { - return q1 || (q1 = 1, function(e) { +var Qi = {}, G1; +function W4() { + return G1 || (G1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -5891,11 +5891,11 @@ function B4() { } }; e.default = t; - }(Xi)), Xi; + }(Qi)), Qi; } -var Qi = {}, Y1; -function V4() { - return Y1 || (Y1 = 1, function(e) { +var Ji = {}, K1; +function Z4() { + return K1 || (K1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6077,11 +6077,11 @@ function V4() { } }; e.default = t; - }(Qi)), Qi; + }(Ji)), Ji; } -var Ji = {}, G1; -function $4() { - return G1 || (G1 = 1, function(e) { +var el = {}, X1; +function U4() { + return X1 || (X1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6263,11 +6263,11 @@ function $4() { } }; e.default = t; - }(Ji)), Ji; + }(el)), el; } -var el = {}, K1; -function W4() { - return K1 || (K1 = 1, function(e) { +var tl = {}, Q1; +function q4() { + return Q1 || (Q1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6466,11 +6466,11 @@ function W4() { } }; e.default = t; - }(el)), el; + }(tl)), tl; } -var tl = {}, X1; -function Z4() { - return X1 || (X1 = 1, function(e) { +var nl = {}, J1; +function Y4() { + return J1 || (J1 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6623,11 +6623,11 @@ function Z4() { } }; e.default = t; - }(tl)), tl; + }(nl)), nl; } -var nl = {}, Q1; -function U4() { - return Q1 || (Q1 = 1, function(e) { +var ol = {}, e2; +function G4() { + return e2 || (e2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6786,11 +6786,11 @@ function U4() { } }; e.default = t; - }(nl)), nl; + }(ol)), ol; } -var ol = {}, J1; -function q4() { - return J1 || (J1 = 1, function(e) { +var rl = {}, t2; +function K4() { + return t2 || (t2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -6990,11 +6990,11 @@ function q4() { } }; e.default = t; - }(ol)), ol; + }(rl)), rl; } -var rl = {}, e2; -function Y4() { - return e2 || (e2 = 1, function(e) { +var al = {}, n2; +function X4() { + return n2 || (n2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7202,11 +7202,11 @@ function Y4() { } }; e.default = t; - }(rl)), rl; + }(al)), al; } -var al = {}, t2; -function G4() { - return t2 || (t2 = 1, function(e) { +var il = {}, o2; +function Q4() { + return o2 || (o2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7410,11 +7410,11 @@ function G4() { } }; e.default = t; - }(al)), al; + }(il)), il; } -var il = {}, n2; -function K4() { - return n2 || (n2 = 1, function(e) { +var ll = {}, r2; +function J4() { + return r2 || (r2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7611,11 +7611,11 @@ function K4() { } }; e.default = t; - }(il)), il; + }(ll)), ll; } -var ll = {}, o2; -function X4() { - return o2 || (o2 = 1, function(e) { +var sl = {}, a2; +function e6() { + return a2 || (a2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -7772,11 +7772,11 @@ function X4() { } }; e.default = t; - }(ll)), ll; + }(sl)), sl; } -var sl = {}, r2; -function Q4() { - return r2 || (r2 = 1, function(e) { +var cl = {}, i2; +function t6() { + return i2 || (i2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8282,11 +8282,11 @@ function Q4() { } }; e.default = t; - }(sl)), sl; + }(cl)), cl; } -var cl = {}, a2; -function J4() { - return a2 || (a2 = 1, function(e) { +var ul = {}, l2; +function n6() { + return l2 || (l2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8780,11 +8780,11 @@ function J4() { } }; e.default = t; - }(cl)), cl; + }(ul)), ul; } -var ul = {}, i2; -function e6() { - return i2 || (i2 = 1, function(e) { +var dl = {}, s2; +function o6() { + return s2 || (s2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -8950,11 +8950,11 @@ function e6() { } }; e.default = t; - }(ul)), ul; + }(dl)), dl; } -var dl = {}, l2; -function t6() { - return l2 || (l2 = 1, function(e) { +var fl = {}, c2; +function r6() { + return c2 || (c2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9193,11 +9193,11 @@ function t6() { } }; e.default = t; - }(dl)), dl; + }(fl)), fl; } -var fl = {}, s2; -function n6() { - return s2 || (s2 = 1, function(e) { +var hl = {}, u2; +function a6() { + return u2 || (u2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9355,11 +9355,11 @@ function n6() { } }; e.default = t; - }(fl)), fl; + }(hl)), hl; } -var hl = {}, c2; -function o6() { - return c2 || (c2 = 1, function(e) { +var pl = {}, d2; +function i6() { + return d2 || (d2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9547,11 +9547,11 @@ function o6() { } }; e.default = t; - }(hl)), hl; + }(pl)), pl; } -var pl = {}, u2; -function r6() { - return u2 || (u2 = 1, function(e) { +var gl = {}, f2; +function l6() { + return f2 || (f2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -9762,11 +9762,11 @@ function r6() { } }; e.default = t; - }(pl)), pl; + }(gl)), gl; } -var gl = {}, d2; -function a6() { - return d2 || (d2 = 1, function(e) { +var ml = {}, h2; +function s6() { + return h2 || (h2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10053,11 +10053,11 @@ function a6() { } }; e.default = t; - }(gl)), gl; + }(ml)), ml; } -var ml = {}, f2; -function i6() { - return f2 || (f2 = 1, function(e) { +var bl = {}, p2; +function c6() { + return p2 || (p2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10242,11 +10242,11 @@ function i6() { } }; e.default = t; - }(ml)), ml; + }(bl)), bl; } -var bl = {}, h2; -function l6() { - return h2 || (h2 = 1, function(e) { +var yl = {}, g2; +function u6() { + return g2 || (g2 = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0; @@ -10447,10 +10447,10 @@ function l6() { } }; e.default = t; - }(bl)), bl; + }(yl)), yl; } (function(e) { - var t = b4; + var t = v4; Object.defineProperty(e, "__esModule", { value: !0 }), Object.defineProperty(e, "a11yDark", { @@ -10471,7 +10471,7 @@ function l6() { }), Object.defineProperty(e, "cb", { enumerable: !0, get: function() { - return f.default; + return h.default; } }), Object.defineProperty(e, "coldarkCold", { enumerable: !0, @@ -10556,7 +10556,7 @@ function l6() { }), Object.defineProperty(e, "gruvboxLight", { enumerable: !0, get: function() { - return F.default; + return j.default; } }), Object.defineProperty(e, "holiTheme", { enumerable: !0, @@ -10596,7 +10596,7 @@ function l6() { }), Object.defineProperty(e, "nord", { enumerable: !0, get: function() { - return j.default; + return F.default; } }), Object.defineProperty(e, "okaidia", { enumerable: !0, @@ -10674,12 +10674,12 @@ function l6() { return oe.default; } }); - var n = t(y4()), o = t(C4()), r = t(v4()), a = t(x4()), i = t(w4()), l = t(E4()), s = t(S4()), u = t(k4()), c = t(_4()), d = t(A4()), p = t(M4()), f = t(T4()), m = t(O4()), b = t(N4()), y = t(D4()), g = t(L4()), x = t(F4()), C = t(j4()), S = t(R4()), w = t(I4()), E = t(z4()), M = t(H4()), _ = t(P4()), L = t(B4()), R = t(V4()), F = t($4()), P = t(W4()), V = t(Z4()), k = t(U4()), N = t(q4()), T = t(Y4()), D = t(G4()), I = t(K4()), j = t(X4()), v = t(Q4()), z = t(J4()), B = t(e6()), A = t(t6()), W = t(n6()), Y = t(o6()), K = t(r6()), Q = t(a6()), ne = t(i6()), oe = t(l6()); -})(Xo); -const s6 = "_codeblock_19tsp_1", c6 = "_dark_19tsp_1", p2 = { - codeblock: s6, - dark: c6 -}, u6 = { vs: Xo.vs, "vsc-dark-plus": Xo.vscDarkPlus, solarizedLight: Xo.solarizedlight, tomorrow: Xo.tomorrow }, Mr = ({ + var n = t(x4()), o = t(w4()), r = t(E4()), a = t(S4()), i = t(k4()), l = t(_4()), s = t(A4()), u = t(M4()), c = t(T4()), d = t(O4()), p = t(N4()), h = t(D4()), m = t(L4()), b = t(j4()), y = t(F4()), g = t(R4()), x = t(I4()), C = t(z4()), S = t(H4()), w = t(P4()), E = t(B4()), M = t(V4()), _ = t($4()), L = t(W4()), R = t(Z4()), j = t(U4()), P = t(q4()), V = t(Y4()), k = t(G4()), N = t(K4()), T = t(X4()), D = t(Q4()), I = t(J4()), F = t(e6()), v = t(t6()), z = t(n6()), B = t(o6()), A = t(r6()), W = t(a6()), Y = t(i6()), K = t(l6()), Q = t(s6()), ne = t(c6()), oe = t(u6()); +})(Qo); +const d6 = "_codeblock_19tsp_1", f6 = "_dark_19tsp_1", m2 = { + codeblock: d6, + dark: f6 +}, h6 = { vs: Qo.vs, "vsc-dark-plus": Qo.vscDarkPlus, solarizedLight: Qo.solarizedlight, tomorrow: Qo.tomorrow }, Tr = ({ code: e, language: t, fileName: n, @@ -10688,44 +10688,44 @@ const s6 = "_codeblock_19tsp_1", c6 = "_dark_19tsp_1", p2 = { showLineNumbers: a, className: i, titleActions: l -}) => /* @__PURE__ */ h.jsxs( +}) => /* @__PURE__ */ f.jsxs( zt, { - className: `${p2.codeblock} ${i || ""} ${r === "dark" ? p2.dark : ""}`, + className: `${m2.codeblock} ${i || ""} ${r === "dark" ? m2.dark : ""}`, children: [ - n ? /* @__PURE__ */ h.jsxs(Lo, { className: "d-flex justify-content-between", children: [ + n ? /* @__PURE__ */ f.jsxs(Ro, { className: "d-flex justify-content-between", children: [ n, " ", l ] }) : null, - /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx( - n4, + /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsx( + i4, { showLineNumbers: a, language: t, - style: u6[o], + style: h6[o], children: e } ) }) ] } -), d6 = "_stack_73h55_1", f6 = { - stack: d6 -}, Je = Js(function({ +), p6 = "_stack_73h55_1", g6 = { + stack: p6 +}, Ke = Js(function({ children: t, direction: n = "row", ...o }, r) { - return /* @__PURE__ */ h.jsx( + return /* @__PURE__ */ f.jsx( "div", { ...o, - className: `${o.className} ${f6.stack} stack-${n}`, + className: `${o.className} ${g6.stack} stack-${n}`, ref: r, children: t } ); -}), od = ({ tooltip: e, ...t }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx(P5, { ...t }) }), tc = ({ queryFn: e }) => { +}), ld = ({ tooltip: e, ...t }) => /* @__PURE__ */ f.jsx(Sn, { title: e, children: /* @__PURE__ */ f.jsx(W5, { ...t }) }), tc = ({ queryFn: e }) => { const [t, n] = ce(), [o, r] = ce(!1), [a, i] = ce(), l = async () => { r(!0); try { @@ -10747,7 +10747,7 @@ const s6 = "_codeblock_19tsp_1", c6 = "_dark_19tsp_1", p2 = { l(); } }; -}, jo = ({ queryFn: e, onSuccess: t }) => { +}, oo = ({ queryFn: e, onSuccess: t }) => { const [n, o] = ce(), [r, a] = ce(!1), [i, l] = ce(); return { error: n, @@ -10765,17 +10765,17 @@ const s6 = "_codeblock_19tsp_1", c6 = "_dark_19tsp_1", p2 = { } } }; -}, je = { +}, Me = { get: async (e, t, n) => ({}), post: async (e, t, n) => ({}) }; var nc = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(nc || {}); -const h6 = () => { +const m6 = () => { var t, n, o; const e = (o = (n = (t = window.location.hash) == null ? void 0 : t.split("#")[1]) == null ? void 0 : n.replace("!/", "")) == null ? void 0 : o.split("/"); return { name: e == null ? void 0 : e[1], resourceType: e == null ? void 0 : e[0] }; }; -var rd = { exports: {} }; +var sd = { exports: {} }; /*! web-highlighter v0.7.4 https://github.com/alienzhou/web-highlighter */ (function(e, t) { (function(n, o) { @@ -10811,16 +10811,16 @@ var rd = { exports: {} }; }, r.p = "", r(r.s = 7); }([function(n, o, r) { var a, i = this && this.__extends || (a = function(d, p) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, m) { - f.__proto__ = m; - } || function(f, m) { - for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (f[b] = m[b]); + return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, m) { + h.__proto__ = m; + } || function(h, m) { + for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (h[b] = m[b]); })(d, p); }, function(d, p) { - function f() { + function h() { this.constructor = d; } - a(d, p), d.prototype = p === null ? Object.create(p) : (f.prototype = p.prototype, new f()); + a(d, p), d.prototype = p === null ? Object.create(p) : (h.prototype = p.prototype, new h()); }), l = this && this.__importDefault || function(d) { return d && d.__esModule ? d : { default: d }; }; @@ -10864,14 +10864,14 @@ var rd = { exports: {} }; var a = this && this.__read || function(s, u) { var c = typeof Symbol == "function" && s[Symbol.iterator]; if (!c) return s; - var d, p, f = c.call(s), m = []; + var d, p, h = c.call(s), m = []; try { - for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); + for (; (u === void 0 || u-- > 0) && !(d = h.next()).done; ) m.push(d.value); } catch (b) { p = { error: b }; } finally { try { - d && !d.done && (c = f.return) && c.call(f); + d && !d.done && (c = h.return) && c.call(h); } finally { if (p) throw p.error; } @@ -10904,11 +10904,11 @@ var rd = { exports: {} }; }; Object.defineProperty(o, "__esModule", { value: !0 }); var i = a(r(5)), l = r(9), s = function() { - function u(c, d, p, f, m) { - this.startMeta = c, this.endMeta = d, this.text = p, this.id = f, this.__isHighlightSource = {}, m && (this.extra = m); + function u(c, d, p, h, m) { + this.startMeta = c, this.endMeta = d, this.text = p, this.id = h, this.__isHighlightSource = {}, m && (this.extra = m); } return u.prototype.deSerialize = function(c, d) { - var p = l.queryElementNode(this, c), f = p.start, m = p.end, b = l.getTextChildByOffset(f, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); + var p = l.queryElementNode(this, c), h = p.start, m = p.end, b = l.getTextChildByOffset(h, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); if (!d.Serialize.Restore.isEmpty()) { var g = d.Serialize.Restore.call(this, b, y) || []; b = g[0] || b, y = g[1] || y; @@ -10919,23 +10919,23 @@ var rd = { exports: {} }; o.default = s; }, function(n, o, r) { var a = this && this.__values || function(c) { - var d = typeof Symbol == "function" && Symbol.iterator, p = d && c[d], f = 0; + var d = typeof Symbol == "function" && Symbol.iterator, p = d && c[d], h = 0; if (p) return p.call(c); if (c && typeof c.length == "number") return { next: function() { - return c && f >= c.length && (c = void 0), { value: c && c[f++], done: !c }; + return c && h >= c.length && (c = void 0), { value: c && c[h++], done: !c }; } }; throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined."); }, i = this && this.__read || function(c, d) { var p = typeof Symbol == "function" && c[Symbol.iterator]; if (!p) return c; - var f, m, b = p.call(c), y = []; + var h, m, b = p.call(c), y = []; try { - for (; (d === void 0 || d-- > 0) && !(f = b.next()).done; ) y.push(f.value); + for (; (d === void 0 || d-- > 0) && !(h = b.next()).done; ) y.push(h.value); } catch (g) { m = { error: g }; } finally { try { - f && !f.done && (p = b.return) && p.call(b); + h && !h.done && (p = b.return) && p.call(b); } finally { if (m) throw m.error; } @@ -10951,14 +10951,14 @@ var rd = { exports: {} }; return !!c.dataset && !!c.dataset[s.CAMEL_DATASET_IDENTIFIER]; }; var u = function(c, d) { - for (var p = !1, f = null; c; ) { - if (o.isHighlightWrapNode(c) && (f = c), c === d) { + for (var p = !1, h = null; c; ) { + if (o.isHighlightWrapNode(c) && (h = c), c === d) { p = !0; break; } c = c.parentNode; } - return p ? f : null; + return p ? h : null; }; o.getHighlightId = function(c, d) { return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER] : ""; @@ -10967,7 +10967,7 @@ var rd = { exports: {} }; return p; }) : []; }, o.getHighlightsByRoot = function(c, d) { - var p, f; + var p, h; Array.isArray(c) || (c = [c]); var m = []; try { @@ -10979,14 +10979,14 @@ var rd = { exports: {} }; p = { error: x }; } finally { try { - y && !y.done && (f = b.return) && f.call(b); + y && !y.done && (h = b.return) && h.call(b); } finally { if (p) throw p.error; } } return m; }, o.getHighlightById = function(c, d, p) { - var f, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(p + "[data-" + s.DATASET_IDENTIFIER + "]"); + var h, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(p + "[data-" + s.DATASET_IDENTIFIER + "]"); try { for (var x = a(g), C = x.next(); !C.done; C = x.next()) { var S = C.value; @@ -10996,12 +10996,12 @@ var rd = { exports: {} }; } else b.push(S); } } catch (E) { - f = { error: E }; + h = { error: E }; } finally { try { C && !C.done && (m = x.return) && m.call(x); } finally { - if (f) throw f.error; + if (h) throw h.error; } } return b; @@ -11024,23 +11024,23 @@ var rd = { exports: {} }; return c.classList.contains(d); }; }, function(n, o, r) { - var a = this && this.__importDefault || function(f) { - return f && f.__esModule ? f : { default: f }; + var a = this && this.__importDefault || function(h) { + return h && h.__esModule ? h : { default: h }; }; 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), p = function() { - function f(m, b, y, g, x) { + function h(m, b, y, g, x) { x === void 0 && (x = !1), m.$node.nodeType === 3 && b.$node.nodeType === 3 || d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { type: l.ERROR.RANGE_NODE_INVALID }), this.start = c.formatDomNode(m), this.end = c.formatDomNode(b), this.text = y, this.frozen = x, this.id = g; } - return f.fromSelection = function(m) { + return h.fromSelection = function(m) { var b = s.getDomRange(); if (!b) return null; var y = { $node: b.startContainer, offset: b.startOffset }, g = { $node: b.endContainer, offset: b.endOffset }, x = b.toString(), C = m.call(y, g, x); - return new f(y, g, x, C = C ?? u.default()); - }, f.prototype.serialize = function(m, b) { + return new h(y, g, x, C = C ?? u.default()); + }, h.prototype.serialize = function(m, b) { var y, g = c.getDomMeta(this.start.$node, this.start.offset, m), x = c.getDomMeta(this.end.$node, this.end.offset, m); return b.Serialize.RecordInfo.isEmpty() || (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), this.frozen = !0, new i.default(g, x, this.text, this.id, y); - }, f.removeDomRange = s.removeSelection, f; + }, h.removeDomRange = s.removeSelection, h; }(); o.default = p; }, function(n, o, r) { @@ -11070,19 +11070,19 @@ var rd = { exports: {} }; return w && w.__esModule ? w : { default: w }; }; Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = s(r(5)), d = s(r(3)), p = s(r(6)), f = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), S = function(w) { + var u = s(r(2)), c = s(r(5)), d = s(r(3)), p = s(r(6)), h = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), S = function(w) { function E(M) { var _ = w.call(this) || this; _.event = m.default(), _.run = function() { return C.addEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); }, _.stop = function() { C.removeEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); - }, _.addClass = function(R, F) { - _.getDoms(F).forEach(function(P) { + }, _.addClass = function(R, j) { + _.getDoms(j).forEach(function(P) { C.addClass(P, R); }); - }, _.removeClass = function(R, F) { - _.getDoms(F).forEach(function(P) { + }, _.removeClass = function(R, j) { + _.getDoms(j).forEach(function(P) { C.removeClass(P, R); }); }, _.getIdByDom = function(R) { @@ -11097,36 +11097,36 @@ var rd = { exports: {} }; }, _.setOption = function(R) { _.options = l(l({}, _.options), R), _.painter = new y.default({ $root: _.options.$root, wrapTag: _.options.wrapTag, className: _.options.style.className, exceptSelectors: _.options.exceptSelectors }, _.hooks); }, _.fromRange = function(R) { - var F = { $node: R.startContainer, offset: R.startOffset }, P = { $node: R.endContainer, offset: R.endOffset }, V = R.toString(), k = _.hooks.Render.UUID.call(F, P, V); + var j = { $node: R.startContainer, offset: R.startOffset }, P = { $node: R.endContainer, offset: R.endOffset }, V = R.toString(), k = _.hooks.Render.UUID.call(j, P, V); k = k ?? p.default(); - var N = new c.default(F, P, V, k); + var N = new c.default(j, P, V, k); return N ? _._highlightFromHRange(N) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID }), null); - }, _.fromStore = function(R, F, P, V, k) { - var N = new d.default(R, F, P, V, k); + }, _.fromStore = function(R, j, P, V, k) { + var N = new d.default(R, j, P, V, k); try { return _._highlightFromHSource(N), N; } catch (T) { return g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: T, detail: N }), null; } }, _._getHooks = function() { - return { Render: { UUID: new f.default("Render.UUID"), SelectedNodes: new f.default("Render.SelectedNodes"), WrapNode: new f.default("Render.WrapNode") }, Serialize: { Restore: new f.default("Serialize.Restore"), RecordInfo: new f.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new f.default("Remove.UpdateNodes") } }; + return { Render: { UUID: new h.default("Render.UUID"), SelectedNodes: new h.default("Render.SelectedNodes"), WrapNode: new h.default("Render.WrapNode") }, Serialize: { Restore: new h.default("Serialize.Restore"), RecordInfo: new h.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new h.default("Remove.UpdateNodes") } }; }, _._highlightFromHRange = function(R) { - var F = R.serialize(_.options.$root, _.hooks); - return _.painter.highlightRange(R).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (_.cache.save(F), _.emit(x.EventType.CREATE, { sources: [F], type: x.CreateFrom.INPUT }, _), F); + var j = R.serialize(_.options.$root, _.hooks); + return _.painter.highlightRange(R).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (_.cache.save(j), _.emit(x.EventType.CREATE, { sources: [j], type: x.CreateFrom.INPUT }, _), j); }, _._handleSelection = function() { var R = c.default.fromSelection(_.hooks.Render.UUID); R && (_._highlightFromHRange(R), c.default.removeDomRange()); }, _._handleHighlightHover = function(R) { - var F = R.target; - if (!C.isHighlightWrapNode(F)) return _._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), void (_._hoverId = null); - var P = C.getHighlightId(F, _.options.$root); + var j = R.target; + if (!C.isHighlightWrapNode(j)) return _._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), void (_._hoverId = null); + var P = C.getHighlightId(j, _.options.$root); _._hoverId !== P && (_._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), _._hoverId = P, _.emit(x.EventType.HOVER, { id: _._hoverId }, _, R)); }, _._handleError = function(R) { _.options.verbose && console.warn(R); }, _._handleHighlightClick = function(R) { - var F = R.target; - if (C.isHighlightWrapNode(F)) { - var P = C.getHighlightId(F, _.options.$root); + var j = R.target; + if (C.isHighlightWrapNode(j)) { + var P = C.getHighlightId(j, _.options.$root); _.emit(x.EventType.CLICK, { id: P }, _, R); } }, _.options = g.getDefaultOptions(), _.hooks = _._getHooks(), _.setOption(M), _.cache = new b.default(); @@ -11156,7 +11156,7 @@ var rd = { exports: {} }; var a = r(0); o.getTextChildByOffset = function(i, l) { for (var s = [i], u = null, c = 0, d = 0; u = s.pop(); ) { - for (var p = u.childNodes, f = p.length - 1; f >= 0; f--) s.push(p[f]); + for (var p = u.childNodes, h = p.length - 1; h >= 0; h--) s.push(p[h]); if (u.nodeType === 3 && (d = l - c, (c += u.textContent.length) >= l)) break; } return u || (u = i), { $node: u, offset: d }; @@ -11182,15 +11182,15 @@ var rd = { exports: {} }; o.getDomMeta = function(i, l, s) { var u = function(p) { if (p instanceof HTMLElement && (!p.dataset || !p.dataset[a.CAMEL_DATASET_IDENTIFIER])) return p; - for (var f = p.parentNode; f != null && f.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) f = f.parentNode; - return f; - }(i), c = u === s ? a.ROOT_IDX : function(p, f) { - for (var m = p.tagName, b = f.getElementsByTagName(m), y = 0; y < b.length; y++) if (p === b[y]) return y; + for (var h = p.parentNode; h != null && h.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) h = h.parentNode; + return h; + }(i), c = u === s ? a.ROOT_IDX : function(p, h) { + for (var m = p.tagName, b = h.getElementsByTagName(m), y = 0; y < b.length; y++) if (p === b[y]) return y; return a.UNKNOWN_IDX; - }(u, s), d = function(p, f) { + }(u, s), d = function(p, h) { for (var m = [p], b = null, y = 0; b = m.pop(); ) { for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) m.push(g[x]); - if (b.nodeType === 3 && b !== f) y += b.textContent.length; + if (b.nodeType === 3 && b !== h) y += b.textContent.length; else if (b.nodeType === 3) break; } return y; @@ -11203,14 +11203,14 @@ var rd = { exports: {} }; var a = this && this.__read || function(s, u) { var c = typeof Symbol == "function" && s[Symbol.iterator]; if (!c) return s; - var d, p, f = c.call(s), m = []; + var d, p, h = c.call(s), m = []; try { - for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); + for (; (u === void 0 || u-- > 0) && !(d = h.next()).done; ) m.push(d.value); } catch (b) { p = { error: b }; } finally { try { - d && !d.done && (c = f.return) && c.call(f); + d && !d.done && (c = h.return) && c.call(h); } finally { if (p) throw p.error; } @@ -11260,47 +11260,47 @@ var rd = { exports: {} }; return a.test(i); }; }, function(n, o, r) { - var a, i = this && this.__extends || (a = function(p, f) { + var a, i = this && this.__extends || (a = function(p, h) { return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, b) { m.__proto__ = b; } || function(m, b) { for (var y in b) Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); - })(p, f); - }, function(p, f) { + })(p, h); + }, function(p, h) { function m() { this.constructor = p; } - a(p, f), p.prototype = f === null ? Object.create(f) : (m.prototype = f.prototype, new m()); + a(p, h), p.prototype = h === null ? Object.create(h) : (m.prototype = h.prototype, new m()); }), l = this && this.__values || function(p) { - var f = typeof Symbol == "function" && Symbol.iterator, m = f && p[f], b = 0; + var h = typeof Symbol == "function" && Symbol.iterator, m = h && p[h], b = 0; if (m) return m.call(p); if (p && typeof p.length == "number") return { next: function() { return p && b >= p.length && (p = void 0), { value: p && p[b++], done: !p }; } }; - throw new TypeError(f ? "Object is not iterable." : "Symbol.iterator is not defined."); + throw new TypeError(h ? "Object is not iterable." : "Symbol.iterator is not defined."); }, s = this && this.__importDefault || function(p) { return p && p.__esModule ? p : { default: p }; }; Object.defineProperty(o, "__esModule", { value: !0 }); var u = s(r(2)), c = r(1), d = function(p) { - function f() { + function h() { var m = p !== null && p.apply(this, arguments) || this; return m._data = /* @__PURE__ */ new Map(), m; } - return i(f, p), Object.defineProperty(f.prototype, "data", { get: function() { + return i(h, p), Object.defineProperty(h.prototype, "data", { get: function() { return this.getAll(); }, set: function(m) { throw c.ERROR.CACHE_SET_ERROR; - }, enumerable: !1, configurable: !0 }), f.prototype.save = function(m) { + }, enumerable: !1, configurable: !0 }), h.prototype.save = function(m) { var b = this; Array.isArray(m) ? m.forEach(function(y) { return b._data.set(y.id, y); }) : this._data.set(m.id, m); - }, f.prototype.get = function(m) { + }, h.prototype.get = function(m) { return this._data.get(m); - }, f.prototype.remove = function(m) { + }, h.prototype.remove = function(m) { this._data.delete(m); - }, f.prototype.getAll = function() { + }, h.prototype.getAll = function() { var m, b, y = []; try { for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { @@ -11317,7 +11317,7 @@ var rd = { exports: {} }; } } return y; - }, f.prototype.removeAll = function() { + }, h.prototype.removeAll = function() { var m, b, y = []; try { for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { @@ -11334,7 +11334,7 @@ var rd = { exports: {} }; } } return this._data = /* @__PURE__ */ new Map(), y; - }, f; + }, h; }(u.default); o.default = d; }, function(n, o, r) { @@ -11368,9 +11368,9 @@ var rd = { exports: {} }; return y && y.__esModule ? y : { default: y }; }; Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(3)), c = r(18), d = r(4), p = r(1), f = r(20), m = r(0), b = function() { + var u = s(r(3)), c = r(18), d = r(4), p = r(1), h = r(20), m = r(0), b = function() { function y(g, x) { - this.options = { $root: g.$root, wrapTag: g.wrapTag, exceptSelectors: g.exceptSelectors, className: g.className }, this.hooks = x, f.initDefaultStylesheet(); + this.options = { $root: g.$root, wrapTag: g.wrapTag, exceptSelectors: g.exceptSelectors, className: g.className }, this.hooks = x, h.initDefaultStylesheet(); } return y.prototype.highlightRange = function(g) { var x = this; @@ -11391,7 +11391,7 @@ var rd = { exports: {} }; }, y.prototype.removeHighlight = function(g) { var x, C, S = new RegExp("(" + g + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + g + "$)"), w = this.hooks, E = this.options.wrapTag, M = document.querySelectorAll(E + "[data-" + m.DATASET_IDENTIFIER + "]"), _ = [], L = [], R = []; try { - for (var F = a(M), P = F.next(); !P.done; P = F.next()) { + for (var j = a(M), P = j.next(); !P.done; P = j.next()) { var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; k !== g || N ? k === g ? L.push(V) : k !== g && S.test(N) && R.push(V) : _.push(V); } @@ -11399,7 +11399,7 @@ var rd = { exports: {} }; x = { error: T }; } finally { try { - P && !P.done && (C = F.return) && C.call(F); + P && !P.done && (C = j.return) && C.call(j); } finally { if (x) throw x.error; } @@ -11409,11 +11409,11 @@ var rd = { exports: {} }; d.forEach(T.childNodes, function(z) { return I.appendChild(z.cloneNode(!1)); }); - var j = T.previousSibling, v = T.nextSibling; - D.replaceChild(I, T), c.normalizeSiblingText(j, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); + var F = T.previousSibling, v = T.nextSibling; + D.replaceChild(I, T), c.normalizeSiblingText(F, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); }), L.forEach(function(T) { - var D = T.dataset, I = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), j = I.shift(), v = document.querySelector(E + "[data-" + m.DATASET_IDENTIFIER + '="' + j + '"]'); - v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), D[m.CAMEL_DATASET_IDENTIFIER] = j, D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), w.Remove.UpdateNodes.call(g, T, "id-update"); + var D = T.dataset, I = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), F = I.shift(), v = document.querySelector(E + "[data-" + m.DATASET_IDENTIFIER + '="' + F + '"]'); + v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), D[m.CAMEL_DATASET_IDENTIFIER] = F, D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), w.Remove.UpdateNodes.call(g, T, "id-update"); }), R.forEach(function(T) { var D = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = D.replace(S, ""), w.Remove.UpdateNodes.call(g, T, "extra-update"); @@ -11467,12 +11467,12 @@ var rd = { exports: {} }; o.getSelectedNodes = function(m, b, y, g) { var x = b.$node, C = y.$node, S = b.offset, w = y.offset; if (x === C && x instanceof Text) return function(k, N, T, D) { - for (var I = k, j = function(z) { + for (var I = k, F = function(z) { return D == null ? void 0 : D.some(function(B) { return d(z, B); }); }; I; ) { - if (I.nodeType === 1 && j(I)) return []; + if (I.nodeType === 1 && F(I)) return []; I = I.parentNode; } k.splitText(N); @@ -11484,7 +11484,7 @@ var rd = { exports: {} }; return d(k, N); }); }, L = !1, R = null; R = E.pop(); ) if (R.nodeType !== 1 || !_(R)) { - for (var F = R.childNodes, P = F.length - 1; P >= 0; P--) E.push(F[P]); + for (var j = R.childNodes, P = j.length - 1; P >= 0; P--) E.push(j[P]); if (R === x) { if (R.nodeType === 3) { R.splitText(S); @@ -11507,23 +11507,23 @@ var rd = { exports: {} }; return (y = y.length === 0 ? [u.getDefaultOptions().style.className] : y).forEach(function(g) { s.addClass(m, g); }), m; - }, f = function(m) { + }, h = function(m) { return !m || !m.textContent; }; o.wrapHighlight = function(m, b, y, g) { var x = m.$node.parentNode, C = m.$node.previousSibling, S = m.$node.nextSibling; - return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || f(C) && f(S) ? function(w, E, M) { + return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || h(C) && h(S) ? function(w, E, M) { var _ = w.$node.parentNode, L = _; s.removeAllClass(L), p(L, M); - var R = _.dataset, F = R[u.CAMEL_DATASET_IDENTIFIER]; - return R[u.CAMEL_DATASET_IDENTIFIER] = E.id, R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? F + u.ID_DIVISION + R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : F, L; + var R = _.dataset, j = R[u.CAMEL_DATASET_IDENTIFIER]; + return R[u.CAMEL_DATASET_IDENTIFIER] = E.id, R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? j + u.ID_DIVISION + R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : j, L; }(m, b, y) : function(w, E, M, _) { - var L = document.createElement(_), R = w.$node.parentNode, F = w.$node.previousSibling, P = w.$node.nextSibling, V = document.createDocumentFragment(), k = R.dataset[u.CAMEL_DATASET_IDENTIFIER], N = R.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], T = N ? k + u.ID_DIVISION + N : k; + var L = document.createElement(_), R = w.$node.parentNode, j = w.$node.previousSibling, P = w.$node.nextSibling, V = document.createDocumentFragment(), k = R.dataset[u.CAMEL_DATASET_IDENTIFIER], N = R.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], T = N ? k + u.ID_DIVISION + N : k; L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), L.appendChild(w.$node.cloneNode(!1)); - var D, I = !1, j = !1; - F && ((v = R.cloneNode(!1)).textContent = F.textContent, V.appendChild(v), I = !0); + var D, I = !1, F = !1; + j && ((v = R.cloneNode(!1)).textContent = j.textContent, V.appendChild(v), I = !0); var v, z = []; - return Array.isArray(M) ? z.push.apply(z, i(M)) : z.push(M), p(L, c.unique(z)), V.appendChild(L), P && ((v = R.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), j = !0), D = I && j ? l.SplitType.both : I ? l.SplitType.head : j ? l.SplitType.tail : l.SplitType.none, L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), R.parentNode.replaceChild(V, R), L; + return Array.isArray(M) ? z.push.apply(z, i(M)) : z.push(M), p(L, c.unique(z)), V.appendChild(L), P && ((v = R.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), F = !0), D = I && F ? l.SplitType.both : I ? l.SplitType.head : F ? l.SplitType.tail : l.SplitType.none, L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), R.parentNode.replaceChild(V, R), L; }(m, b, y, g) : function(w, E, M, _) { var L = document.createElement(_); return p(L, M), L.appendChild(w.$node.cloneNode(!1)), w.$node.parentNode.replaceChild(L, w.$node), L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), L; @@ -11553,8 +11553,8 @@ var rd = { exports: {} }; var p = d.value; u.indexOf(p) === -1 && u.push(p); } - } catch (f) { - l = { error: f }; + } catch (h) { + l = { error: h }; } finally { try { d && !d.done && (s = c.return) && s.call(c); @@ -11577,42 +11577,42 @@ var rd = { exports: {} }; }; }]).default; }); -})(rd); -var p6 = rd.exports; -const ad = /* @__PURE__ */ dn(p6), Ya = "altimate-display-", g6 = `${Ya}-highlight`, g2 = `${Ya}-highlight-hover`, m6 = `${Ya}-active-highlight`, b6 = 1049, ho = new ad({ +})(sd); +var b6 = sd.exports; +const cd = /* @__PURE__ */ fn(b6), Ka = "altimate-display-", y6 = `${Ka}-highlight`, b2 = `${Ka}-highlight-hover`, C6 = `${Ka}-active-highlight`, v6 = 1049, mo = new cd({ style: { - className: g6 + className: y6 } // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, -}), oc = new ad({ +}), oc = new cd({ style: { - className: m6 + className: C6 } // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, -}), id = (e, t) => t.filter( +}), ud = (e, t) => t.filter( (n) => { var o; return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; } -), ld = (e, t, n) => { +), dd = (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]; }; -ho.hooks.Render.SelectedNodes.tap(id); -ho.hooks.Serialize.Restore.tap(ld); -oc.hooks.Render.SelectedNodes.tap(id); -oc.hooks.Serialize.Restore.tap(ld); -ho.on("selection:hover", ({ id: e }) => { - ho.addClass(g2, e); +mo.hooks.Render.SelectedNodes.tap(ud); +mo.hooks.Serialize.Restore.tap(dd); +oc.hooks.Render.SelectedNodes.tap(ud); +oc.hooks.Serialize.Restore.tap(dd); +mo.on("selection:hover", ({ id: e }) => { + mo.addClass(b2, e); }).on("selection:hover-out", ({ id: e }) => { - ho.removeClass(g2, e); + mo.removeClass(b2, e); }); -const y6 = (e) => { +const x6 = (e) => { var t, n; return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, C6 = (e) => { - const t = y6(e); - t && (ho.remove(t.id), oc.remove(t.id)); +}, w6 = (e) => { + const t = x6(e); + t && (mo.remove(t.id), oc.remove(t.id)); }, rc = () => { var n, o; const e = ac(), t = (e == null ? void 0 : e[1]) === "analysis" ? document.getElementById("sql") : document.getElementById("code"); @@ -11622,17 +11622,17 @@ const y6 = (e) => { return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); }, ic = () => document.querySelector( '[marked="model.description"]' -), v6 = (e) => { +), E6 = (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 = ic()) == null ? void 0 : o.firstChild : rc(); -}, x6 = (e) => { +}, S6 = (e) => { if (e.getAttribute("marked") === "model.description") return "description"; -}, w6 = (e, t, n, o, r) => { +}, k6 = (e, t, n, o, r) => { if (e === "description") return { start: 0, @@ -11642,8 +11642,8 @@ const y6 = (e) => { }; 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: p, y: f } = d.getBoundingClientRect(); - return l >= f && l <= f + p; + const { height: p, y: h } = d.getBoundingClientRect(); + return l >= h && l <= h + p; }), u = a[s], c = s - i.length + 1; return console.log("start and end lines found", c, s), { x: u.offsetLeft, @@ -11651,15 +11651,15 @@ const y6 = (e) => { start: c, end: s }; -}, oA = () => { +}, iA = () => { var e; return [ (e = rc()) == null ? void 0 : e.parentElement, ic() ]; }; -var jt = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(jt || {}); -function E6(e) { +var Ft = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(Ft || {}); +function _6(e) { if (typeof e != "object" || e === null) return !1; let t = e; @@ -11667,10 +11667,10 @@ function E6(e) { t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } -function S6(e) { - return E6(e) && "type" in e && typeof e.type == "string"; +function A6(e) { + return _6(e) && "type" in e && typeof e.type == "string"; } -var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), k6 = process.env.NODE_ENV !== "production" ? [ +var fd = Symbol.for("immer-nothing"), y2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), M6 = 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.`; @@ -11703,67 +11703,67 @@ var sd = Symbol.for("immer-nothing"), m2 = Symbol.for("immer-draftable"), At = S ] : []; function Ct(e, ...t) { if (process.env.NODE_ENV !== "production") { - const n = k6[e], o = typeof n == "function" ? n.apply(null, t) : n; + const n = M6[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` ); } -var Eo = Object.getPrototypeOf; -function Kn(e) { +var _o = Object.getPrototypeOf; +function Qn(e) { return !!e && !!e[At]; } function vn(e) { var t; - return e ? cd(e) || Array.isArray(e) || !!e[m2] || !!((t = e.constructor) != null && t[m2]) || Ka(e) || Xa(e) : !1; + return e ? hd(e) || Array.isArray(e) || !!e[y2] || !!((t = e.constructor) != null && t[y2]) || Qa(e) || Ja(e) : !1; } -var _6 = Object.prototype.constructor.toString(); -function cd(e) { +var T6 = Object.prototype.constructor.toString(); +function hd(e) { if (!e || typeof e != "object") return !1; - const t = Eo(e); + const t = _o(e); if (t === null) return !0; const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; - return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === _6; + return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === T6; } -function Sa(e, t) { - Ga(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { +function _a(e, t) { + Xa(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { t(n, e[n], e); }) : e.forEach((n, o) => t(o, n, e)); } -function Ga(e) { +function Xa(e) { const t = e[At]; - return t ? t.type_ : Array.isArray(e) ? 1 : Ka(e) ? 2 : Xa(e) ? 3 : 0; + return t ? t.type_ : Array.isArray(e) ? 1 : Qa(e) ? 2 : Ja(e) ? 3 : 0; } -function as(e, t) { - return Ga(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); +function is(e, t) { + return Xa(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); } -function ud(e, t, n) { - const o = Ga(e); +function pd(e, t, n) { + const o = Xa(e); o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; } -function A6(e, t) { +function O6(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; } -function Ka(e) { +function Qa(e) { return e instanceof Map; } -function Xa(e) { +function Ja(e) { return e instanceof Set; } -function zn(e) { +function Pn(e) { return e.copy_ || e.base_; } -function is(e, t) { - if (Ka(e)) +function ls(e, t) { + if (Qa(e)) return new Map(e); - if (Xa(e)) + if (Ja(e)) return new Set(e); if (Array.isArray(e)) return Array.prototype.slice.call(e); - const n = cd(e); + const n = hd(e); if (t === !0 || t === "class_only" && !n) { const o = Object.getOwnPropertyDescriptors(e); delete o[At]; @@ -11778,9 +11778,9 @@ function is(e, t) { value: e[i] }); } - return Object.create(Eo(e), o); + return Object.create(_o(e), o); } else { - const o = Eo(e); + const o = _o(e); if (o !== null && n) return { ...e }; const r = Object.create(o); @@ -11788,24 +11788,24 @@ function is(e, t) { } } function lc(e, t = !1) { - return Qa(e) || Kn(e) || !vn(e) || (Ga(e) > 1 && (e.set = e.add = e.clear = e.delete = M6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; + return ei(e) || Qn(e) || !vn(e) || (Xa(e) > 1 && (e.set = e.add = e.clear = e.delete = N6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; } -function M6() { +function N6() { Ct(2); } -function Qa(e) { +function ei(e) { return Object.isFrozen(e); } -var T6 = {}; -function Xn(e) { - const t = T6[e]; +var D6 = {}; +function Jn(e) { + const t = D6[e]; return t || Ct(0, e), t; } -var lr; -function dd() { - return lr; +var sr; +function gd() { + return sr; } -function O6(e, t) { +function L6(e, t) { return { drafts_: [], parent_: e, @@ -11816,53 +11816,53 @@ function O6(e, t) { unfinalizedDrafts_: 0 }; } -function b2(e, t) { - t && (Xn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); -} -function ls(e) { - ss(e), e.drafts_.forEach(N6), e.drafts_ = null; +function C2(e, t) { + t && (Jn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); } function ss(e) { - e === lr && (lr = e.parent_); + cs(e), e.drafts_.forEach(j6), e.drafts_ = null; +} +function cs(e) { + e === sr && (sr = e.parent_); } -function y2(e) { - return lr = O6(lr, e); +function v2(e) { + return sr = L6(sr, e); } -function N6(e) { +function j6(e) { const t = e[At]; t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; } -function C2(e, t) { +function x2(e, t) { t.unfinalizedDrafts_ = t.drafts_.length; const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[At].modified_ && (ls(t), Ct(4)), vn(e) && (e = ka(t, e), t.parent_ || _a(t, e)), t.patches_ && Xn("Patches").generateReplacementPatches_( + return e !== void 0 && e !== n ? (n[At].modified_ && (ss(t), Ct(4)), vn(e) && (e = Aa(t, e), t.parent_ || Ma(t, e)), t.patches_ && Jn("Patches").generateReplacementPatches_( n[At].base_, e, t.patches_, t.inversePatches_ - )) : e = ka(t, n, []), ls(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== sd ? e : void 0; + )) : e = Aa(t, n, []), ss(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== fd ? e : void 0; } -function ka(e, t, n) { - if (Qa(t)) +function Aa(e, t, n) { + if (ei(t)) return t; const o = t[At]; if (!o) - return Sa( + return _a( t, - (r, a) => v2(e, o, t, r, a, n) + (r, a) => w2(e, o, t, r, a, n) ), t; if (o.scope_ !== e) return t; if (!o.modified_) - return _a(e, o.base_, !0), o.base_; + return Ma(e, o.base_, !0), o.base_; if (!o.finalized_) { 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), Sa( + o.type_ === 3 && (a = new Set(r), r.clear(), i = !0), _a( a, - (l, s) => v2(e, o, r, l, s, n, i) - ), _a(e, r, !1), n && e.patches_ && Xn("Patches").generatePatches_( + (l, s) => w2(e, o, r, l, s, n, i) + ), Ma(e, r, !1), n && e.patches_ && Jn("Patches").generatePatches_( o, n, e.patches_, @@ -11871,29 +11871,29 @@ function ka(e, t, n) { } return o.copy_; } -function v2(e, t, n, o, r, a, i) { - if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Kn(r)) { +function w2(e, t, n, o, r, a, i) { + if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Qn(r)) { const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !as(t.assigned_, o) ? a.concat(o) : void 0, s = ka(e, r, l); - if (ud(n, o, s), Kn(s)) + !is(t.assigned_, o) ? a.concat(o) : void 0, s = Aa(e, r, l); + if (pd(n, o, s), Qn(s)) e.canAutoFreeze_ = !1; else return; } else i && n.add(r); - if (vn(r) && !Qa(r)) { + if (vn(r) && !ei(r)) { if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; - ka(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && _a(e, r); + Aa(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && Ma(e, r); } } -function _a(e, t, n = !1) { +function Ma(e, t, n = !1) { !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && lc(t, n); } -function D6(e, t) { +function F6(e, t) { const n = Array.isArray(e), o = { type_: n ? 1 : 0, // Track which produce call this is associated with. - scope_: t ? t.scope_ : dd(), + scope_: t ? t.scope_ : gd(), // True for both shallow and deep changes. modified_: !1, // Used during finalization. @@ -11914,7 +11914,7 @@ function D6(e, t) { isManual_: !1 }; let r = o, a = sc; - n && (r = [o], a = sr); + n && (r = [o], a = cr); const { revoke: i, proxy: l } = Proxy.revocable(r, a); return o.draft_ = l, o.revoke_ = i, l; } @@ -11922,41 +11922,41 @@ var sc = { get(e, t) { if (t === At) return e; - const n = zn(e); - if (!as(n, t)) - return L6(e, n, t); + const n = Pn(e); + if (!is(n, t)) + return R6(e, n, t); const o = n[t]; - return e.finalized_ || !vn(o) ? o : o === yl(e.base_, t) ? (Cl(e), e.copy_[t] = us(o, e)) : o; + return e.finalized_ || !vn(o) ? o : o === Cl(e.base_, t) ? (vl(e), e.copy_[t] = ds(o, e)) : o; }, has(e, t) { - return t in zn(e); + return t in Pn(e); }, ownKeys(e) { - return Reflect.ownKeys(zn(e)); + return Reflect.ownKeys(Pn(e)); }, set(e, t, n) { - const o = fd(zn(e), t); + const o = md(Pn(e), t); if (o != null && o.set) return o.set.call(e.draft_, n), !0; if (!e.modified_) { - const r = yl(zn(e), t), a = r == null ? void 0 : r[At]; + const r = Cl(Pn(e), t), a = r == null ? void 0 : r[At]; if (a && a.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (A6(n, r) && (n !== void 0 || as(e.base_, t))) + if (O6(n, r) && (n !== void 0 || is(e.base_, t))) return !0; - Cl(e), cs(e); + vl(e), us(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 yl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Cl(e), cs(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0; + return Cl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, vl(e), us(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0; }, // Note: We never coerce `desc.value` into an Immer draft, because we can't make // the same guarantee in ES5 mode. getOwnPropertyDescriptor(e, t) { - const n = zn(e), o = Reflect.getOwnPropertyDescriptor(n, t); + const n = Pn(e), o = Reflect.getOwnPropertyDescriptor(n, t); return o && { writable: !0, configurable: e.type_ !== 1 || t !== "length", @@ -11968,57 +11968,57 @@ var sc = { Ct(11); }, getPrototypeOf(e) { - return Eo(e.base_); + return _o(e.base_); }, setPrototypeOf() { Ct(12); } -}, sr = {}; -Sa(sc, (e, t) => { - sr[e] = function() { +}, cr = {}; +_a(sc, (e, t) => { + cr[e] = function() { return arguments[0] = arguments[0][0], t.apply(this, arguments); }; }); -sr.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), sr.set.call(this, e, t, void 0); +cr.deleteProperty = function(e, t) { + return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), cr.set.call(this, e, t, void 0); }; -sr.set = function(e, t, n) { +cr.set = function(e, t, n) { return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), sc.set.call(this, e[0], t, n, e[0]); }; -function yl(e, t) { +function Cl(e, t) { const n = e[At]; - return (n ? zn(n) : e)[t]; + return (n ? Pn(n) : e)[t]; } -function L6(e, t, n) { +function R6(e, t, n) { var r; - const o = fd(t, n); + const o = md(t, n); return o ? "value" in o ? o.value : ( // This is a very special case, if the prop is a getter defined by the // prototype, we should invoke it with the draft as context! (r = o.get) == null ? void 0 : r.call(e.draft_) ) : void 0; } -function fd(e, t) { +function md(e, t) { if (!(t in e)) return; - let n = Eo(e); + let n = _o(e); for (; n; ) { const o = Object.getOwnPropertyDescriptor(n, t); if (o) return o; - n = Eo(n); + n = _o(n); } } -function cs(e) { - e.modified_ || (e.modified_ = !0, e.parent_ && cs(e.parent_)); +function us(e) { + e.modified_ || (e.modified_ = !0, e.parent_ && us(e.parent_)); } -function Cl(e) { - e.copy_ || (e.copy_ = is( +function vl(e) { + e.copy_ || (e.copy_ = ls( e.base_, e.scope_.immer_.useStrictShallowCopy_ )); } -var F6 = class { +var I6 = class { constructor(e) { this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, o) => { if (typeof t == "function" && typeof n != "function") { @@ -12032,18 +12032,18 @@ var F6 = class { typeof n != "function" && Ct(6), o !== void 0 && typeof o != "function" && Ct(7); let r; if (vn(t)) { - const a = y2(this), i = us(t, void 0); + const a = v2(this), i = ds(t, void 0); let l = !0; try { r = n(i), l = !1; } finally { - l ? ls(a) : ss(a); + l ? ss(a) : cs(a); } - return b2(a, o), C2(r, a); + return C2(a, o), x2(r, a); } else if (!t || typeof t != "object") { - if (r = n(t), r === void 0 && (r = t), r === sd && (r = void 0), this.autoFreeze_ && lc(r, !0), o) { + if (r = n(t), r === void 0 && (r = t), r === fd && (r = void 0), this.autoFreeze_ && lc(r, !0), o) { const a = [], i = []; - Xn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); + Jn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); } return r; } else @@ -12058,15 +12058,15 @@ var F6 = class { }, 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) { - vn(e) || Ct(8), Kn(e) && (e = j6(e)); - const t = y2(this), n = us(e, void 0); - return n[At].isManual_ = !0, ss(t), n; + vn(e) || Ct(8), Qn(e) && (e = z6(e)); + const t = v2(this), n = ds(e, void 0); + return n[At].isManual_ = !0, cs(t), n; } finishDraft(e, t) { const n = e && e[At]; (!n || !n.isManual_) && Ct(9); const { scope_: o } = n; - return b2(o, t), C2(void 0, o); + return C2(o, t), x2(void 0, o); } /** * Pass true to automatically freeze all copies created by Immer. @@ -12094,36 +12094,36 @@ var F6 = class { } } n > -1 && (t = t.slice(n + 1)); - const o = Xn("Patches").applyPatches_; - return Kn(e) ? o(e, t) : this.produce( + const o = Jn("Patches").applyPatches_; + return Qn(e) ? o(e, t) : this.produce( e, (r) => o(r, t) ); } }; -function us(e, t) { - const n = Ka(e) ? Xn("MapSet").proxyMap_(e, t) : Xa(e) ? Xn("MapSet").proxySet_(e, t) : D6(e, t); - return (t ? t.scope_ : dd()).drafts_.push(n), n; +function ds(e, t) { + const n = Qa(e) ? Jn("MapSet").proxyMap_(e, t) : Ja(e) ? Jn("MapSet").proxySet_(e, t) : F6(e, t); + return (t ? t.scope_ : gd()).drafts_.push(n), n; } -function j6(e) { - return Kn(e) || Ct(10, e), hd(e); +function z6(e) { + return Qn(e) || Ct(10, e), bd(e); } -function hd(e) { - if (!vn(e) || Qa(e)) +function bd(e) { + if (!vn(e) || ei(e)) return e; const t = e[At]; let n; if (t) { if (!t.modified_) return t.base_; - t.finalized_ = !0, n = is(e, t.scope_.immer_.useStrictShallowCopy_); + t.finalized_ = !0, n = ls(e, t.scope_.immer_.useStrictShallowCopy_); } else - n = is(e, !0); - return Sa(n, (o, r) => { - ud(n, o, hd(r)); + n = ls(e, !0); + return _a(n, (o, r) => { + pd(n, o, bd(r)); }), t && (t.finalized_ = !1), n; } -var Mt = new F6(), pd = Mt.produce; +var Mt = new I6(), yd = Mt.produce; Mt.produceWithPatches.bind( Mt ); @@ -12132,7 +12132,7 @@ Mt.setUseStrictShallowCopy.bind(Mt); Mt.applyPatches.bind(Mt); Mt.createDraft.bind(Mt); Mt.finishDraft.bind(Mt); -function x2(e, t) { +function E2(e, t) { function n(...o) { if (t) { let r = t(...o); @@ -12154,13 +12154,13 @@ function x2(e, t) { payload: o[0] }; } - return n.toString = () => `${e}`, n.type = e, n.match = (o) => S6(o) && o.type === e, n; + return n.toString = () => `${e}`, n.type = e, n.match = (o) => A6(o) && o.type === e, n; } -function w2(e) { - return vn(e) ? pd(e, () => { +function S2(e) { + return vn(e) ? yd(e, () => { }) : e; } -function E2(e, t, n) { +function k2(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; @@ -12169,7 +12169,7 @@ function E2(e, t, n) { const o = n.insert(t, e); return e.set(t, o), o; } -function gd(e) { +function Cd(e) { const t = {}, n = []; let o; const r = { @@ -12203,17 +12203,17 @@ function gd(e) { }; return e(r), [t, n, o]; } -function R6(e) { +function H6(e) { return typeof e == "function"; } -function I6(e, t) { +function P6(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") throw new Error(process.env.NODE_ENV === "production" ? ot(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] = gd(t), a; - if (R6(e)) - a = () => w2(e()); + let [n, o, r] = Cd(t), a; + if (H6(e)) + a = () => S2(e()); else { - const l = w2(e); + const l = S2(e); a = () => l; } function i(l = a(), s) { @@ -12224,12 +12224,12 @@ function I6(e, t) { }) => c)]; return u.filter((c) => !!c).length === 0 && (u = [r]), u.reduce((c, d) => { if (d) - if (Kn(c)) { - const f = d(c, s); - return f === void 0 ? c : f; + if (Qn(c)) { + const h = d(c, s); + return h === void 0 ? c : h; } else { if (vn(c)) - return pd(c, (p) => d(p, s)); + return yd(c, (p) => d(p, s)); { const p = d(c, s); if (p === void 0) { @@ -12245,15 +12245,15 @@ function I6(e, t) { } return i.getInitialState = a, i; } -var z6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); -function H6(e, t) { +var B6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); +function V6(e, t) { return `${e}/${t}`; } -function P6({ +function $6({ creators: e } = {}) { var n; - const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[z6]; + const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[B6]; return function(r) { const { name: a, @@ -12262,7 +12262,7 @@ function P6({ if (!a) throw new Error(process.env.NODE_ENV === "production" ? ot(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(V6()) : r.reducers) || {}, s = Object.keys(l), u = { + const l = (typeof r.reducers == "function" ? r.reducers(Z6()) : r.reducers) || {}, s = Object.keys(l), u = { sliceCaseReducersByName: {}, sliceCaseReducersByType: {}, actionCreators: {}, @@ -12292,19 +12292,19 @@ function P6({ s.forEach((C) => { const S = l[C], w = { reducerName: C, - type: H6(a, C), + type: V6(a, C), createNotation: typeof r.reducers == "function" }; - W6(S) ? U6(w, S, c, t) : $6(w, S, c); + q6(S) ? G6(w, S, c, t) : U6(w, S, c); }); function d() { if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") throw new Error(process.env.NODE_ENV === "production" ? ot(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); - const [C = {}, S = [], w = void 0] = typeof r.extraReducers == "function" ? gd(r.extraReducers) : [r.extraReducers], E = { + const [C = {}, S = [], w = void 0] = typeof r.extraReducers == "function" ? Cd(r.extraReducers) : [r.extraReducers], E = { ...C, ...u.sliceCaseReducersByType }; - return I6(r.initialState, (M) => { + return P6(r.initialState, (M) => { for (let _ in E) M.addCase(_, E[_]); for (let _ of u.sliceMatchers) @@ -12314,7 +12314,7 @@ function P6({ w && M.addDefaultCase(w); }); } - const p = (C) => C, f = /* @__PURE__ */ new Map(); + const p = (C) => C, h = /* @__PURE__ */ new Map(); let m; function b(C, S) { return m || (m = d()), m(C, S); @@ -12334,14 +12334,14 @@ function P6({ return _; } function E(M = p) { - const _ = E2(f, S, { + const _ = k2(h, S, { insert: () => /* @__PURE__ */ new WeakMap() }); - return E2(_, M, { + return k2(_, M, { insert: () => { const L = {}; - for (const [R, F] of Object.entries(r.selectors ?? {})) - L[R] = B6(F, M, y, S); + for (const [R, j] of Object.entries(r.selectors ?? {})) + L[R] = W6(j, M, y, S); return L; } }); @@ -12379,7 +12379,7 @@ function P6({ return x; }; } -function B6(e, t, n, o) { +function W6(e, t, n, o) { function r(a, ...i) { let l = t(a); if (typeof l > "u") { @@ -12392,8 +12392,8 @@ function B6(e, t, n, o) { } return r.unwrapped = e, r; } -var cc = /* @__PURE__ */ P6(); -function V6() { +var cc = /* @__PURE__ */ $6(); +function Z6() { function e(t, n) { return { _reducerDefinitionType: "asyncThunk", @@ -12424,27 +12424,27 @@ function V6() { asyncThunk: e }; } -function $6({ +function U6({ type: e, reducerName: t, createNotation: n }, o, r) { let a, i; if ("reducer" in o) { - if (n && !Z6(o)) + if (n && !Y6(o)) throw new Error(process.env.NODE_ENV === "production" ? ot(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 ? x2(e, i) : x2(e)); + r.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, i ? E2(e, i) : E2(e)); } -function W6(e) { +function q6(e) { return e._reducerDefinitionType === "asyncThunk"; } -function Z6(e) { +function Y6(e) { return e._reducerDefinitionType === "reducerWithPrepare"; } -function U6({ +function G6({ type: e, reducerName: t }, n, o, r) { @@ -12459,33 +12459,33 @@ function U6({ 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 || Wr, - pending: l || Wr, - rejected: s || Wr, - settled: u || Wr + fulfilled: i || Ur, + pending: l || Ur, + rejected: s || Ur, + settled: u || Ur }); } -function Wr() { +function Ur() { } function ot(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 q6 = { +const K6 = { users: {}, isRightPanelOpen: !1, selectedConversationId: void 0, conversations: {}, - conversationsLoadingState: jt.UNINITIALIZED, + conversationsLoadingState: Ft.UNINITIALIZED, newConversation: void 0, shareId: void 0, docsAppRendered: !1, - currentPage: h6(), + currentPage: m6(), codeblockLoaded: !1, source: nc.DBT_DOCS, manifest: {} -}, Aa = cc({ +}, Ta = cc({ name: "appState", - initialState: q6, + initialState: K6, reducers: { setDocsAppRendered: (e, t) => { e.docsAppRendered = t.payload; @@ -12512,7 +12512,7 @@ const q6 = { e.conversationsLoadingState = t.payload; }, refetchConversations: (e) => { - e.conversationsLoadingState = jt.UNINITIALIZED; + e.conversationsLoadingState = Ft.UNINITIALIZED; }, setUsers: (e, t) => { var n; @@ -12573,45 +12573,45 @@ const q6 = { } } }), { - setCurrentUserId: rA, - setShareId: aA, + setCurrentUserId: lA, + setShareId: sA, updateSelectedConversationId: uc, updateRightPanelState: dc, - setUsers: Y6, - setConversations: G6, + setUsers: X6, + setConversations: Q6, resetNewConversation: fc, updateNewConversation: hc, - upsertConversation: iA, - setDocsAppRendered: lA, - updateCurrentPage: sA, - updateCodeblockLoaded: cA, - resolveConversationGroup: K6, - setConversationsLoadingState: S2, - refetchConversations: md, - setConversationSource: uA, - setManifest: X6 -} = Aa.actions, Ja = Ht({ - state: Aa.getInitialState(), + upsertConversation: cA, + setDocsAppRendered: uA, + updateCurrentPage: dA, + updateCodeblockLoaded: fA, + resolveConversationGroup: J6, + setConversationsLoadingState: _2, + refetchConversations: vd, + setConversationSource: hA, + setManifest: e8 +} = Ta.actions, ti = Ht({ + state: Ta.getInitialState(), dispatch: () => null, getValue: () => null -}), Q6 = ({ +}), t8 = ({ children: e, shareId: t, userId: n, conversationGroupId: o, source: r }) => { - const [a, i] = ec(Aa.reducer, { - ...Aa.getInitialState(), + const [a, i] = ec(Ta.reducer, { + ...Ta.getInitialState(), shareId: t, currentUserId: n, selectedConversationId: o, isRightPanelOpen: !!o, source: r - }), l = Me( + }), l = Te( (u) => u(a), [a] - ), s = Be( + ), s = Ve( () => ({ state: a, dispatch: i, @@ -12619,29 +12619,29 @@ const q6 = { }), [a, i, l] ); - return /* @__PURE__ */ h.jsx(Ja.Provider, { value: s, children: e }); -}, J6 = () => et(Ja), ze = (e) => { - const { getValue: t } = et(Ja); + return /* @__PURE__ */ f.jsx(ti.Provider, { value: s, children: e }); +}, n8 = () => tt(ti), ze = (e) => { + const { getValue: t } = tt(ti); return t(e); }, Pt = () => { - const { dispatch: e } = et(Ja); + const { dispatch: e } = tt(ti); return e; -}, e8 = (e) => e; -let bd = e8; -process.env.NODE_ENV !== "production" && (bd = (e, t) => { +}, o8 = (e) => e; +let xd = o8; +process.env.NODE_ENV !== "production" && (xd = (e, t) => { if (!e) throw new Error(t); }); -const t8 = Ht(null), n8 = Ht({}), o8 = Ht({ +const r8 = Ht(null), a8 = Ht({}), i8 = Ht({ transformPagePoint: (e) => e, isStatic: !1, reducedMotion: "never" -}), r8 = typeof window < "u", a8 = r8 ? J5 : ue; -function yd(e) { +}), l8 = typeof window < "u", s8 = l8 ? o4 : ue; +function wd(e) { const t = he(null); return t.current === null && (t.current = e()), t.current; } -class i8 extends O.Component { +class c8 extends O.Component { getSnapshotBeforeUpdate(t) { const n = this.props.childRef.current; if (n && t.isPresent && !this.props.isPresent) { @@ -12659,14 +12659,14 @@ class i8 extends O.Component { return this.props.children; } } -function l8({ children: e, isPresent: t }) { - const n = Q0(), o = he(null), r = he({ +function u8({ children: e, isPresent: t }) { + const n = ed(), o = he(null), r = he({ width: 0, height: 0, top: 0, left: 0 - }), { nonce: a } = et(o8); - return e4(() => { + }), { nonce: a } = tt(i8); + return r4(() => { const { width: i, height: l, top: s, left: u } = r.current; if (t || !o.current || !i || !l) return; @@ -12683,10 +12683,10 @@ function l8({ children: e, isPresent: t }) { `), () => { document.head.removeChild(c); }; - }, [t]), h.jsx(i8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); + }, [t]), f.jsx(c8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); } -const s8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { - const l = yd(c8), s = Q0(), u = Be( +const d8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { + const l = wd(f8), s = ed(), u = Ve( () => ({ id: s, initial: t, @@ -12708,29 +12708,29 @@ const s8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: */ a ? [Math.random()] : [n] ); - return Be(() => { + return Ve(() => { l.forEach((c, d) => l.set(d, !1)); }, [n]), O.useEffect(() => { !n && !l.size && o && o(); - }, [n]), i === "popLayout" && (e = h.jsx(l8, { isPresent: n, children: e })), h.jsx(t8.Provider, { value: u, children: e }); + }, [n]), i === "popLayout" && (e = f.jsx(u8, { isPresent: n, children: e })), f.jsx(r8.Provider, { value: u, children: e }); }; -function c8() { +function f8() { return /* @__PURE__ */ new Map(); } -const Zr = (e) => e.key || ""; -function k2(e) { +const qr = (e) => e.key || ""; +function A2(e) { const t = []; - return wo.forEach(e, (n) => { - X0(n) && t.push(n); + return ko.forEach(e, (n) => { + J0(n) && t.push(n); }), t; } -const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { - bd(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = Be(() => k2(e), [e]), s = l.map(Zr), u = he(!0), c = he(l), d = yd(() => /* @__PURE__ */ new Map()), [p, f] = ce(l), [m, b] = ce(l); - a8(() => { +const h8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { + xd(!t, "Replace exitBeforeEnter with mode='wait'"); + const l = Ve(() => A2(e), [e]), s = l.map(qr), u = he(!0), c = he(l), d = wd(() => /* @__PURE__ */ new Map()), [p, h] = ce(l), [m, b] = ce(l); + s8(() => { u.current = !1, c.current = l; for (let x = 0; x < m.length; x++) { - const C = Zr(m[x]); + const C = qr(m[x]); s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); } }, [m, s.length, s.join("-")]); @@ -12738,16 +12738,16 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi if (l !== p) { let x = [...l]; for (let C = 0; C < m.length; C++) { - const S = m[C], w = Zr(S); + const S = m[C], w = qr(S); s.includes(w) || (x.splice(C, 0, S), y.push(S)); } - i === "wait" && y.length && (x = y), b(k2(x)), f(l); + i === "wait" && y.length && (x = y), b(A2(x)), h(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: g } = et(n8); - return h.jsx(h.Fragment, { children: m.map((x) => { - const C = Zr(x), S = l === m || s.includes(C), w = () => { + const { forceRender: g } = tt(a8); + return f.jsx(f.Fragment, { children: m.map((x) => { + const C = qr(x), S = l === m || s.includes(C), w = () => { if (d.has(C)) d.set(C, !0); else @@ -12757,24 +12757,24 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi M || (E = !1); }), E && (g == null || g(), b(c.current), r && r()); }; - return h.jsx(s8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); + return f.jsx(d8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); }) }); -}, d8 = "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", f8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ +}, p8 = "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", g8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ icon: e, className: t = "", ...n -}) => /* @__PURE__ */ h.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Cd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "code", ...e }), vd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "add", ...e }), xd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "trash", ...e }), h8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "comment-unresolved", ...e }), p8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "check", ...e }), _2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pass-filled", ...e }), g8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "debug-restart", ...e }), m8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "gear", ...e }), wd = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-up", ...e }), Ed = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "chevron-down", ...e }), b8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "info", ...e }), y8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "send", ...e }), C8 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "pencil", ...e }), A2 = (e) => /* @__PURE__ */ h.jsx(Et, { icon: "share", ...e }), v8 = ({ pos: e, onAddComment: t }) => Rn( - /* @__PURE__ */ h.jsx(u8, { children: e && /* @__PURE__ */ h.jsx( - Ie, +}) => /* @__PURE__ */ f.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Ed = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "code", ...e }), Sd = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "add", ...e }), pc = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "trash", ...e }), m8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "comment-unresolved", ...e }), b8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "check", ...e }), M2 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "pass-filled", ...e }), y8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "debug-restart", ...e }), C8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "gear", ...e }), kd = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "chevron-up", ...e }), _d = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "chevron-down", ...e }), v8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "info", ...e }), x8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "send", ...e }), Ad = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "pencil", ...e }), T2 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "share", ...e }), w8 = ({ pos: e, onAddComment: t }) => zn( + /* @__PURE__ */ f.jsx(h8, { children: e && /* @__PURE__ */ f.jsx( + Re, { onClick: t, - id: `${Ya}-highlight`, + id: `${Ka}-highlight`, style: { position: "absolute", top: e.y, left: e.x, // right: "15px", - zIndex: b6 + 5, + zIndex: v6 + 5, cursor: "pointer", background: "#007AFF", width: 26, @@ -12790,24 +12790,24 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi color: "#fff", padding: 0 }, - children: /* @__PURE__ */ h.jsx(vd, {}) + children: /* @__PURE__ */ f.jsx(Sd, {}) } ) }), e.element.parentElement -), x8 = () => { +), E8 = () => { const { state: { isRightPanelOpen: e } - } = J6(), t = Pt(), n = () => { + } = n8(), t = Pt(), n = () => { t(dc(!e)); }; - return /* @__PURE__ */ h.jsx(Ie, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, w8 = (e) => je.get(`dbt/dbt_docs_share/${e}`), E8 = (e, t, n) => je.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + return /* @__PURE__ */ f.jsx(Re, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); +}, S8 = (e) => Me.get(`dbt/dbt_docs_share/${e}`), k8 = (e, t, n) => Me.post(`dbt/dbt_docs_share/${e}/conversation_group`, { ...t, telemetry: { eventName: "dbtCollaboration:create", properties: { source: n } } -}), S8 = (e, t, n, o) => je.post( +}), _8 = (e, t, n, o) => Me.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { ...n, @@ -12816,9 +12816,9 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: o } } } -), k8 = (e) => je.get( +), A8 = (e) => Me.get( `dbt/dbt_docs_share/${e}/conversations` -), _8 = (e) => je.get("users/chat", { company: e }), A8 = (e, t, n) => je.post( +), M8 = (e) => Me.get("users/chat", { company: e }), T8 = (e, t, n) => Me.post( `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { resolved: !0, @@ -12827,7 +12827,7 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi properties: { source: n } } } -), M8 = () => { +), O8 = () => { const e = ze( (l) => l.shareId ), [t, n] = ce( @@ -12835,7 +12835,7 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi ), [o, r] = ce(!1), a = Pt(); ue(() => { t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - a(X6(l)); + a(e8(l)); }).catch( (l) => console.error( "error loading manifest", @@ -12844,11 +12844,11 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi ) ); }, [a, t == null ? void 0 : t.manifest_presigned_url]); - const i = Me(async () => { + const i = Te(async () => { if (!e) return; r(!0); - const l = await w8(e); + const l = await S8(e); if (l) { n(l); const s = document.getElementById("collapse-sidebar"); @@ -12859,7 +12859,7 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi return ue(() => { !e || t || o || i(); }, [e, t, i, o]), { shareDetails: t, loading: o }; -}, T8 = () => { +}, N8 = () => { const e = ze( (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null ), t = ze( @@ -12870,8 +12870,8 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi ue(() => { n && (a(null), l(null)); }, [n]); - const s = Me(() => { - console.log("resetHighlights"), r && C6(r), l(null), a(null); + const s = Te(() => { + console.log("resetHighlights"), r && w6(r), l(null), a(null); }, [r]); return ue(() => { !e || !t || e.meta.resource_type && e.meta.uniqueId && (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`); @@ -12879,17 +12879,17 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi getHighlightedSelectionData: () => r, pos: i, onSelectionEnd: (c) => { - const d = c.target, p = x6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); + const d = c.target, p = S6(d), { end: h, start: m } = c.detail.selectionRange, b = document.getSelection(); if (!b || !b.rangeCount) return s(), null; const g = b.getRangeAt(0).toString(), x = d == null ? void 0 : d.innerText; if (!g || !x) return; - const { end: C, start: S, x: w, y: E } = w6( + const { end: C, start: S, x: w, y: E } = k6( p, d, g, - f, + h, m ); console.log("selection range", C, S, w, E); @@ -12911,16 +12911,16 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi }), document.body.addEventListener("click", s, { once: !0 }), a(M); } }; -}, O8 = ({ +}, D8 = ({ conversationGroup: e }) => { const t = ze( (l) => l.selectedConversationId - ), n = Pt(), o = he(null), r = Be(() => v6(e.meta), [e.meta]), a = () => { + ), n = Pt(), o = he(null), r = Ve(() => E6(e.meta), [e.meta]), a = () => { n( uc(e.conversation_group_id) ); - }, i = Be(() => { + }, i = Ve(() => { if (!r) return; if (e.meta.field === "description") @@ -12945,20 +12945,20 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi behavior: "smooth", block: "center" })); - }, [e.conversation_group_id, t]), !i || !(r != null && r.parentElement) ? null : Rn( - /* @__PURE__ */ h.jsx( + }, [e.conversation_group_id, t]), !i || !(r != null && r.parentElement) ? null : zn( + /* @__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__ */ h.jsx(h8, {}) + children: /* @__PURE__ */ f.jsx(m8, {}) } ), r.parentElement ); -}, N8 = () => { +}, L8 = () => { const e = ze( (r) => Object.values(r.conversations || {}) ), t = ze( @@ -12968,46 +12968,46 @@ const u8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExi ), 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__ */ h.jsx(h.Fragment, { children: o.map((r) => /* @__PURE__ */ h.jsx( - O8, + return !(o != null && o.length) || !t ? null : /* @__PURE__ */ f.jsx(f.Fragment, { children: o.map((r) => /* @__PURE__ */ f.jsx( + D8, { conversationGroup: r }, r.conversation_group_id )) }); -}, D8 = "_dbtDocs_14zop_9", L8 = "_hotspotButton_14zop_46", F8 = "_pulse_14zop_1", j8 = "_conversationRightPanelCloseButton_14zop_62", R8 = "_conversationRightPanel_14zop_62", I8 = "_newConversationForm_14zop_94", z8 = "_highlightText_14zop_108", H8 = "_conversationInputForm_14zop_130", P8 = "_conversationGroup_14zop_156", B8 = "_replyForm_14zop_189", V8 = "_resolveButton_14zop_237", xn = { - dbtDocs: D8, - hotspotButton: L8, - pulse: F8, - conversationRightPanelCloseButton: j8, - conversationRightPanel: R8, - newConversationForm: I8, - highlightText: z8, - conversationInputForm: H8, - conversationGroup: P8, - replyForm: B8, - resolveButton: V8 -}, $8 = "_profileImage_11vaf_1", W8 = { - profileImage: $8 -}, Sd = ({ user: e }) => { +}, j8 = "_dbtDocs_14zop_9", F8 = "_hotspotButton_14zop_46", R8 = "_pulse_14zop_1", I8 = "_conversationRightPanelCloseButton_14zop_62", z8 = "_conversationRightPanel_14zop_62", H8 = "_newConversationForm_14zop_94", P8 = "_highlightText_14zop_108", B8 = "_conversationInputForm_14zop_130", V8 = "_conversationGroup_14zop_156", $8 = "_replyForm_14zop_189", W8 = "_resolveButton_14zop_237", xn = { + dbtDocs: j8, + hotspotButton: F8, + pulse: R8, + conversationRightPanelCloseButton: I8, + conversationRightPanel: z8, + newConversationForm: H8, + highlightText: P8, + conversationInputForm: B8, + conversationGroup: V8, + replyForm: $8, + resolveButton: W8 +}, Z8 = "_profileImage_11vaf_1", U8 = { + profileImage: Z8 +}, Md = ({ user: e }) => { var t; - return /* @__PURE__ */ h.jsx("div", { className: W8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); + return /* @__PURE__ */ f.jsx("div", { className: U8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); }; -function Z8(e) { +function q8(e) { if (Array.isArray(e)) { for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } } -function U8(e) { +function Y8(e) { if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); } -function q8() { +function G8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function Ma(e) { - return Z8(e) || U8(e) || q8(); +function Oa(e) { + return q8(e) || Y8(e) || G8(); } function It() { return It = Object.assign || function(e) { @@ -13019,30 +13019,30 @@ function It() { return e; }, It.apply(this, arguments); } -function Y8(e, t) { +function K8(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function G8(e, t) { +function X8(e, t) { for (var n = 0; n < t.length; n++) { var o = t[n]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o); } } -function K8(e, t, n) { - return t && G8(e.prototype, t), e; +function Q8(e, t, n) { + return t && X8(e.prototype, t), e; } function ve(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } -function ds(e, t) { - return ds = Object.setPrototypeOf || function(o, r) { +function fs(e, t) { + return fs = Object.setPrototypeOf || function(o, r) { return o.__proto__ = r, o; - }, ds(e, t); + }, fs(e, t); } -function X8(e, t) { +function J8(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, { @@ -13051,29 +13051,29 @@ function X8(e, t) { writable: !0, configurable: !0 } - }), t && ds(e, t); + }), t && fs(e, t); } -function po(e) { - return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? po = function(n) { +function bo(e) { + return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? bo = function(n) { return typeof n; - } : po = function(n) { + } : bo = function(n) { return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; - }, po(e); + }, bo(e); } -function ha(e) { - return typeof Symbol == "function" && po(Symbol.iterator) === "symbol" ? ha = function(n) { - return po(n); - } : ha = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : po(n); - }, ha(e); +function ga(e) { + return typeof Symbol == "function" && bo(Symbol.iterator) === "symbol" ? ga = function(n) { + return bo(n); + } : ga = function(n) { + return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : bo(n); + }, ga(e); } -function Q8(e, t) { - return t && (ha(t) === "object" || typeof t == "function") ? t : ve(e); +function e7(e, t) { + return t && (ga(t) === "object" || typeof t == "function") ? t : ve(e); } -function Ta(e) { - return Ta = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { +function Na(e) { + return Na = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { return n.__proto__ || Object.getPrototypeOf(n); - }, Ta(e); + }, Na(e); } function be(e, t, n) { return t in e ? Object.defineProperty(e, t, { @@ -13083,7 +13083,7 @@ function be(e, t, n) { writable: !0 }) : e[t] = n, e; } -var J8 = function(e, t, n, o, r, a, i, l) { +var t7 = 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) { @@ -13102,12 +13102,12 @@ var J8 = function(e, t, n, o, r, a, i, l) { } throw s.framesToPop = 1, s; } -}, e7 = J8; -const So = /* @__PURE__ */ dn(e7); -function t7(e) { +}, n7 = t7; +const Ao = /* @__PURE__ */ fn(n7); +function o7(e) { if (Array.isArray(e)) return e; } -function n7(e, t) { +function r7(e, t) { 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) @@ -13123,22 +13123,22 @@ function n7(e, t) { } return n; } -function o7() { +function a7() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function Oa(e, t) { - return t7(e) || n7(e, t) || o7(); +function Da(e, t) { + return o7(e) || r7(e, t) || a7(); } -function r7(e, t) { +function i7(e, t) { if (e == null) return {}; 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]); return n; } -function a7(e, t) { +function l7(e, t) { if (e == null) return {}; - var n = r7(e, t), o, r; + var n = i7(e, t), o, r; if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) @@ -13146,98 +13146,98 @@ function a7(e, t) { } return n; } -function cr(e) { +function ur(e) { "@babel/helpers - typeof"; - return cr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { + return ur = 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; - }, cr(e); + }, ur(e); } -function i7(e, t) { - if (cr(e) != "object" || !e) return e; +function s7(e, t) { + if (ur(e) != "object" || !e) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var o = n.call(e, t || "default"); - if (cr(o) != "object") return o; + if (ur(o) != "object") return o; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } -function l7(e) { - var t = i7(e, "string"); - return cr(t) == "symbol" ? t : t + ""; +function c7(e) { + var t = s7(e, "string"); + return ur(t) == "symbol" ? t : t + ""; } -function ur(e, t, n) { - return (t = l7(t)) in e ? Object.defineProperty(e, t, { +function dr(e, t, n) { + return (t = c7(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } -function fs(e, t) { +function hs(e, t) { (t == null || t > e.length) && (t = e.length); for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; return o; } -function s7(e) { - if (Array.isArray(e)) return fs(e); +function u7(e) { + if (Array.isArray(e)) return hs(e); } -function c7(e) { +function d7(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } -function u7(e, t) { +function f7(e, t) { if (e) { - if (typeof e == "string") return fs(e, t); + if (typeof e == "string") return hs(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) ? fs(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) ? hs(e, t) : void 0; } } -function d7() { +function h7() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } -function mn(e) { - return s7(e) || c7(e) || u7(e) || d7(); +function bn(e) { + return u7(e) || d7(e) || f7(e) || h7(); } -var Ro = function(t) { +var Io = function(t) { return t === Object(t) ? Object.keys(t) : []; -}, kd = function(t) { +}, Td = function(t) { return t === Object(t) ? Object.values(t) : []; }; -function _d(e, t) { +function Od(e, t) { var n = Object.assign({}, e); - return pa(e) && pa(t) && Ro(t).forEach(function(o) { - pa(t[o]) ? o in e ? n[o] = _d(e[o], t[o]) : Object.assign(n, ur({}, o, t[o])) : Object.assign(n, ur({}, o, t[o])); + return ma(e) && ma(t) && Io(t).forEach(function(o) { + ma(t[o]) ? o in e ? n[o] = Od(e[o], t[o]) : Object.assign(n, dr({}, o, t[o])) : Object.assign(n, dr({}, o, t[o])); }), n; } -var hs = function(t) { +var ps = 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 _d(a, i); + return Od(a, i); }, t); -}, f7 = function(t, n) { +}, p7 = function(t, n) { var o = Object.assign({}, t); if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; return o; -}, pa = function(t) { +}, ma = function(t) { return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, h7 = function(t) { +}, g7 = function(t) { return (t || []).filter(Boolean); -}, pc = function(t) { +}, gc = function(t) { return t[0] === "&"; -}, p7 = function(t) { - return !pc(t); -}, M2 = function(t) { +}, m7 = function(t) { + return !gc(t); +}, O2 = function(t) { return t.replace(/-(\w)/g, function(n, o) { return o.toUpperCase(); }); -}, g7 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Ro(t), r = {}, a = 0, i = o.length; a < i; a += 1) { +}, b7 = function(t) { + for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Io(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 @@ -13245,20 +13245,20 @@ var hs = function(t) { s && (r[l] = t[l]); } return r; -}, Ad = function(t, n) { - for (var o = n.map(M2), r = Ro(t), a = {}, i = 0, l = r.length; i < l; i += 1) { +}, Nd = function(t, n) { + for (var o = n.map(O2), r = Io(t), a = {}, i = 0, l = r.length; i < l; i += 1) { var s = r[i]; - (n.indexOf(s) >= 0 || o.indexOf(M2(s)) >= 0) && (a[s] = t[s]); + (n.indexOf(s) >= 0 || o.indexOf(O2(s)) >= 0) && (a[s] = t[s]); } return a; -}, m7 = function e(t, n) { - for (var o = hs.apply(void 0, [{}, f7(t, n)].concat(mn(kd(Ad(t, n))))), r = Ro(o).filter(pc), a = 0, i = r.length; a < i; a += 1) { +}, y7 = function e(t, n) { + for (var o = ps.apply(void 0, [{}, p7(t, n)].concat(bn(Td(Nd(t, n))))), r = Io(o).filter(gc), 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 = hs({}, o, s)) : o[l] = s; + n.indexOf(l) >= 0 ? (delete o[l], o = ps({}, o, s)) : o[l] = s; } return o; }; -function T2(e, t) { +function N2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13268,49 +13268,49 @@ function T2(e, t) { } return n; } -function O2(e) { +function D2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? T2(Object(n), !0).forEach(function(o) { - ur(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T2(Object(n)).forEach(function(o) { + t % 2 ? N2(Object(n), !0).forEach(function(o) { + dr(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 b7 = ["animationName"], Md = function(t) { +var C7 = ["animationName"], Dd = function(t) { var n = t.style, o = t.className; - return O2(O2({}, n ? { - style: g7(n, b7) + return D2(D2({}, n ? { + style: b7(n, C7) } : {}), o ? { className: o } : {}); -}, Td = /* @__PURE__ */ Ht(Md); -Td.Provider; -var Od = function(t) { +}, Ld = /* @__PURE__ */ Ht(Dd); +Ld.Provider; +var jd = function(t) { if (t) { if (typeof t == "string") return [t]; if (!Array.isArray(t)) { var n = t; - return Ro(t).reduce(function(o, r) { + return Io(t).reduce(function(o, r) { return o.concat(n[r] ? [r] : []); }, []); } } else return []; return t; -}, y7 = {}, C7 = function(t) { +}, v7 = {}, x7 = function(t) { return function(n, o) { - var r = o || y7; + var r = o || v7; 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 = Od(n).join(" "); + var i = jd(n).join(" "); return i in a ? a[i] : a[i] = t(n || [], o); }; }; -function N2(e, t) { +function L2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13320,59 +13320,59 @@ function N2(e, t) { } return n; } -function ro(e) { +function lo(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) { - ur(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N2(Object(n)).forEach(function(o) { + t % 2 ? L2(Object(n), !0).forEach(function(o) { + dr(e, o, n[o]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var v7 = function(t) { - var n = t && Ro(t)[0]; +var w7 = function(t) { + var n = t && Io(t)[0]; return n && n.split("__")[0].split("--")[0]; -}, x7 = function(t, n, o) { +}, E7 = function(t, n, o) { if (t) { - var r = t.split(" ")[0], a = [].concat(mn(n.length === 0 ? o.map(function(i) { + var r = t.split(" ")[0], a = [].concat(bn(n.length === 0 ? o.map(function(i) { return "".concat(r, "--").concat(i.substring(1)); - }) : []), mn(n.map(function(i) { + }) : []), bn(n.map(function(i) { return "".concat(r, "__").concat(i); }))); - return n.length === 0 ? [t].concat(mn(a)) : a; + return n.length === 0 ? [t].concat(bn(a)) : a; } }; -function Nd(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, a = n || v7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : C7(function(d, p) { - var f = Od(d); - So(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), So(!p || pa(p), "Optional second parameter must be a plain object."); - var m = f.filter(pc), b = f.filter(p7), y = b.length > 0 ? function(C) { - return kd(Ad(C, b)); +function Fd(e) { + var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Dd, a = n || w7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : x7(function(d, p) { + var h = jd(d); + Ao(Array.isArray(h), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Ao(!p || ma(p), "Optional second parameter must be a plain object."); + var m = h.filter(gc), b = h.filter(m7), y = b.length > 0 ? function(C) { + return Td(Nd(C, b)); } : function(C) { return [C]; }, g = function() { var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return y(m7(S, m)); - }, x = x7(a, b, m); - return Nd(ro(ro(ro({}, (t || p) && { - style: hs.apply(void 0, [{}].concat(mn(g(p)), mn(g(t)))) + return y(y7(S, m)); + }, x = E7(a, b, m); + return Fd(lo(lo(lo({}, (t || p) && { + style: ps.apply(void 0, [{}].concat(bn(g(p)), bn(g(t)))) }), x && { className: x.join(" ") }), o && { classNames: o }), r); - }), l = ro({}, typeof t == "function" ? t : { + }), l = lo({}, typeof t == "function" ? t : { style: t - }), s = mn(new Set([].concat(mn(l.className ? l.className.split(" ") : []), mn(a ? a.split(" ") : [])))), u = o ? h7(s.map(function(d) { + }), s = bn(new Set([].concat(bn(l.className ? l.className.split(" ") : []), bn(a ? a.split(" ") : [])))), u = o ? g7(s.map(function(d) { return o[d]; - })) : s, c = r(ro(ro({}, l), u.length > 0 ? { + })) : s, c = r(lo(lo({}, l), u.length > 0 ? { className: u.join(" ") } : {})); return Object.assign(i, c), i; } -function D2(e, t) { +function j2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -13382,35 +13382,35 @@ function D2(e, t) { } return n; } -function Wo(e) { +function Zo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? D2(Object(n), !0).forEach(function(o) { - ur(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(o) { + t % 2 ? j2(Object(n), !0).forEach(function(o) { + dr(e, o, n[o]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -var w7 = function() { +var S7 = 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 Wo(Wo(Wo({}, r), typeof a == "function" ? a : {}), {}, { - style: Wo(Wo({}, r.style), typeof a == "function" ? a.style : a) + return Zo(Zo(Zo({}, r), typeof a == "function" ? a : {}), {}, { + style: Zo(Zo({}, r.style), typeof a == "function" ? a.style : a) }); }, {}); -}, gc = function(t, n, o) { - var r = n.style, a = n.className, i = n.classNames, l = et(Td), s = Be(function() { - return Nd({ +}, mc = function(t, n, o) { + var r = n.style, a = n.className, i = n.classNames, l = tt(Ld), s = Ve(function() { + return Fd({ style: r, className: a, classNames: i }, l); }, [r, a, i, l]); return s(o, t); -}, ps = { exports: {} }, Ur = { exports: {} }, Ne = {}; +}, gs = { exports: {} }, Yr = { exports: {} }, De = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -13419,11 +13419,11 @@ var w7 = function() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var L2; -function E7() { - if (L2) return Ne; - L2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; +var F2; +function k7() { + if (F2) return De; + F2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; function C(w) { if (typeof w == "object" && w !== null) { var E = w.$$typeof; @@ -13442,7 +13442,7 @@ function E7() { case l: case c: case m: - case f: + case h: case i: return w; default: @@ -13457,35 +13457,35 @@ function E7() { function S(w) { return C(w) === u; } - return Ne.AsyncMode = s, Ne.ConcurrentMode = u, Ne.ContextConsumer = l, Ne.ContextProvider = i, Ne.Element = t, Ne.ForwardRef = c, Ne.Fragment = o, Ne.Lazy = m, Ne.Memo = f, Ne.Portal = n, Ne.Profiler = a, Ne.StrictMode = r, Ne.Suspense = d, Ne.isAsyncMode = function(w) { + return De.AsyncMode = s, De.ConcurrentMode = u, De.ContextConsumer = l, De.ContextProvider = i, De.Element = t, De.ForwardRef = c, De.Fragment = o, De.Lazy = m, De.Memo = h, De.Portal = n, De.Profiler = a, De.StrictMode = r, De.Suspense = d, De.isAsyncMode = function(w) { return S(w) || C(w) === s; - }, Ne.isConcurrentMode = S, Ne.isContextConsumer = function(w) { + }, De.isConcurrentMode = S, De.isContextConsumer = function(w) { return C(w) === l; - }, Ne.isContextProvider = function(w) { + }, De.isContextProvider = function(w) { return C(w) === i; - }, Ne.isElement = function(w) { + }, De.isElement = function(w) { return typeof w == "object" && w !== null && w.$$typeof === t; - }, Ne.isForwardRef = function(w) { + }, De.isForwardRef = function(w) { return C(w) === c; - }, Ne.isFragment = function(w) { + }, De.isFragment = function(w) { return C(w) === o; - }, Ne.isLazy = function(w) { + }, De.isLazy = function(w) { return C(w) === m; - }, Ne.isMemo = function(w) { - return C(w) === f; - }, Ne.isPortal = function(w) { + }, De.isMemo = function(w) { + return C(w) === h; + }, De.isPortal = function(w) { return C(w) === n; - }, Ne.isProfiler = function(w) { + }, De.isProfiler = function(w) { return C(w) === a; - }, Ne.isStrictMode = function(w) { + }, De.isStrictMode = function(w) { return C(w) === r; - }, Ne.isSuspense = function(w) { + }, De.isSuspense = function(w) { return C(w) === d; - }, Ne.isValidElementType = function(w) { - return typeof w == "string" || typeof w == "function" || w === o || w === u || w === a || w === r || w === d || w === p || typeof w == "object" && w !== null && (w.$$typeof === m || w.$$typeof === f || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || w.$$typeof === y || w.$$typeof === g || w.$$typeof === x || w.$$typeof === b); - }, Ne.typeOf = C, Ne; + }, De.isValidElementType = function(w) { + return typeof w == "string" || typeof w == "function" || w === o || w === u || w === a || w === r || w === d || w === p || typeof w == "object" && w !== null && (w.$$typeof === m || w.$$typeof === h || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || w.$$typeof === y || w.$$typeof === g || w.$$typeof === x || w.$$typeof === b); + }, De.typeOf = C, De; } -var De = {}; +var Le = {}; /** @license React v16.13.1 * react-is.development.js * @@ -13494,13 +13494,13 @@ var De = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var F2; -function S7() { - return F2 || (F2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; +var R2; +function _7() { + return R2 || (R2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; function C(J) { return typeof J == "string" || typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - J === o || J === u || J === a || J === r || J === d || J === p || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === f || J.$$typeof === i || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); + J === o || J === u || J === a || J === r || J === d || J === p || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === h || J.$$typeof === i || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); } function S(J) { if (typeof J == "object" && J !== null) { @@ -13522,7 +13522,7 @@ function S7() { case l: case c: case m: - case f: + case h: case i: return _e; default: @@ -13534,8 +13534,8 @@ function S7() { } } } - var w = s, E = u, M = l, _ = i, L = t, R = c, F = o, P = m, V = f, k = n, N = a, T = r, D = d, I = !1; - function j(J) { + var w = s, E = u, M = l, _ = i, L = t, R = c, j = o, P = m, V = h, k = n, N = a, T = r, D = d, I = !1; + function F(J) { return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(J) || S(J) === s; } function v(J) { @@ -13560,7 +13560,7 @@ function S7() { return S(J) === m; } function Q(J) { - return S(J) === f; + return S(J) === h; } function ne(J) { return S(J) === n; @@ -13574,22 +13574,22 @@ function S7() { function ge(J) { return S(J) === d; } - De.AsyncMode = w, De.ConcurrentMode = E, De.ContextConsumer = M, De.ContextProvider = _, De.Element = L, De.ForwardRef = R, De.Fragment = F, De.Lazy = P, De.Memo = V, De.Portal = k, De.Profiler = N, De.StrictMode = T, De.Suspense = D, De.isAsyncMode = j, De.isConcurrentMode = v, De.isContextConsumer = z, De.isContextProvider = B, De.isElement = A, De.isForwardRef = W, De.isFragment = Y, De.isLazy = K, De.isMemo = Q, De.isPortal = ne, De.isProfiler = oe, De.isStrictMode = U, De.isSuspense = ge, De.isValidElementType = C, De.typeOf = S; - }()), De; + Le.AsyncMode = w, Le.ConcurrentMode = E, Le.ContextConsumer = M, Le.ContextProvider = _, Le.Element = L, Le.ForwardRef = R, Le.Fragment = j, Le.Lazy = P, Le.Memo = V, Le.Portal = k, Le.Profiler = N, Le.StrictMode = T, Le.Suspense = D, Le.isAsyncMode = F, Le.isConcurrentMode = v, Le.isContextConsumer = z, Le.isContextProvider = B, Le.isElement = A, Le.isForwardRef = W, Le.isFragment = Y, Le.isLazy = K, Le.isMemo = Q, Le.isPortal = ne, Le.isProfiler = oe, Le.isStrictMode = U, Le.isSuspense = ge, Le.isValidElementType = C, Le.typeOf = S; + }()), Le; } -var j2; -function Dd() { - return j2 || (j2 = 1, process.env.NODE_ENV === "production" ? Ur.exports = E7() : Ur.exports = S7()), Ur.exports; +var I2; +function Rd() { + return I2 || (I2 = 1, process.env.NODE_ENV === "production" ? Yr.exports = k7() : Yr.exports = _7()), Yr.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ -var vl, R2; -function k7() { - if (R2) return vl; - R2 = 1; +var xl, z2; +function A7() { + if (z2) return xl; + z2 = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; function o(a) { if (a == null) @@ -13618,7 +13618,7 @@ function k7() { return !1; } } - return vl = r() ? Object.assign : function(a, i) { + return xl = 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) @@ -13630,27 +13630,27 @@ function k7() { } } return s; - }, vl; + }, xl; } -var xl, I2; -function mc() { - if (I2) return xl; - I2 = 1; +var wl, H2; +function bc() { + if (H2) return wl; + H2 = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return xl = e, xl; + return wl = e, wl; } -var wl, z2; -function Ld() { - return z2 || (z2 = 1, wl = Function.call.bind(Object.prototype.hasOwnProperty)), wl; +var El, P2; +function Id() { + return P2 || (P2 = 1, El = Function.call.bind(Object.prototype.hasOwnProperty)), El; } -var El, H2; -function _7() { - if (H2) return El; - H2 = 1; +var Sl, B2; +function M7() { + if (B2) return Sl; + B2 = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = mc(), n = {}, o = Ld(); + var t = bc(), n = {}, o = Id(); e = function(a) { var i = "Warning: " + a; typeof console < "u" && console.error(i); @@ -13680,9 +13680,9 @@ function _7() { (s || "React class") + ": type specification of " + l + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." ), d instanceof Error && !(d.message in n)) { n[d.message] = !0; - var f = u ? u() : ""; + var h = u ? u() : ""; e( - "Failed " + l + " type: " + d.message + (f ?? "") + "Failed " + l + " type: " + d.message + (h ?? "") ); } } @@ -13690,13 +13690,13 @@ function _7() { } return r.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (n = {}); - }, El = r, El; + }, Sl = r, Sl; } -var Sl, P2; -function A7() { - if (P2) return Sl; - P2 = 1; - var e = Dd(), t = k7(), n = mc(), o = Ld(), r = _7(), a = function() { +var kl, V2; +function T7() { + if (V2) return kl; + V2 = 1; + var e = Rd(), t = A7(), n = bc(), o = Id(), r = M7(), a = function() { }; process.env.NODE_ENV !== "production" && (a = function(l) { var s = "Warning: " + l; @@ -13709,14 +13709,14 @@ function A7() { function i() { return null; } - return Sl = function(l, s) { + return kl = function(l, s) { var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator"; function d(v) { var z = v && (u && v[u] || v[c]); if (typeof z == "function") return z; } - var p = "<>", f = { + var p = "<>", h = { array: g("array"), bigint: g("bigint"), bool: g("boolean"), @@ -13827,7 +13827,7 @@ function A7() { function E(v) { function z(B, A, W, Y, K) { if (!(B[A] instanceof v)) { - var Q = v.name || p, ne = j(B[A]); + var Q = v.name || p, ne = F(B[A]); return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected ") + ("instance of `" + Q + "`.")); } return null; @@ -13896,7 +13896,7 @@ function A7() { } return y(v); } - function F(v, z, B, A, W) { + function j(v, z, B, A, W) { return new b( (v || "React class") + ": " + z + " type `" + B + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`." ); @@ -13909,7 +13909,7 @@ function A7() { for (var oe in v) { var U = v[oe]; if (typeof U != "function") - return F(W, Y, K, oe, D(U)); + return j(W, Y, K, oe, D(U)); var ge = U(Q, oe, W, Y, K + "." + oe, n); if (ge) return ge; @@ -13927,7 +13927,7 @@ function A7() { for (var U in oe) { var ge = v[U]; if (o(v, U) && typeof ge != "function") - return F(W, Y, K, U, D(ge)); + return j(W, Y, K, U, D(ge)); if (!ge) return new b( "Invalid " + Y + " `" + K + "` key `" + U + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(B[A], null, " ") + ` @@ -14007,22 +14007,22 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") return z; } } - function j(v) { + function F(v) { return !v.constructor || !v.constructor.name ? p : v.constructor.name; } - return f.checkPropTypes = r, f.resetWarningCache = r.resetWarningCache, f.PropTypes = f, f; - }, Sl; + return h.checkPropTypes = r, h.resetWarningCache = r.resetWarningCache, h.PropTypes = h, h; + }, kl; } -var kl, B2; -function M7() { - if (B2) return kl; - B2 = 1; - var e = mc(); +var _l, $2; +function O7() { + if ($2) return _l; + $2 = 1; + var e = bc(); function t() { } function n() { } - return n.resetWarningCache = t, kl = function() { + return n.resetWarningCache = t, _l = function() { function o(i, l, s, u, c, d) { if (d !== e) { var p = new Error( @@ -14059,50 +14059,50 @@ function M7() { resetWarningCache: t }; return a.PropTypes = a, a; - }, kl; + }, _l; } if (process.env.NODE_ENV !== "production") { - var T7 = Dd(), O7 = !0; - ps.exports = A7()(T7.isElement, O7); + var N7 = Rd(), D7 = !0; + gs.exports = T7()(N7.isElement, D7); } else - ps.exports = M7()(); -var N7 = ps.exports; -const q = /* @__PURE__ */ dn(N7); -var ga = function(t) { + gs.exports = O7()(); +var L7 = gs.exports; +const q = /* @__PURE__ */ fn(L7); +var ba = function(t) { return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); -}, an = { +}, ln = { id: "__id__", display: "__display__" -}, V2 = function(t, n) { - So(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); - var o = t.indexOf(an.display), r = t.indexOf(an.id); - return o < 0 && (o = null), r < 0 && (r = null), So(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; -}, D7 = function(t) { +}, W2 = function(t, n) { + Ao(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); + var o = t.indexOf(ln.display), r = t.indexOf(ln.id); + return o < 0 && (o = null), r < 0 && (r = null), Ao(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; +}, j7 = function(t) { var n = /^\/(.+)\/(\w+)?$/; return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), a = Oa(r, 3), i = a[1], l = a[2]; - return So(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); + var r = n.exec(o.toString()), a = Da(r, 3), i = a[1], l = a[2]; + return Ao(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); }).join("|"), "g"); -}, Fd = function(t) { +}, zd = function(t) { var n = 0; return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, L7 = function() { -}, Tr = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : L7, a = D7(n.map(function(w) { +}, F7 = function() { +}, Or = function(t, n, o) { + for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : F7, a = j7(n.map(function(w) { return w.regex; })), i = 2, l = n.map(function(w) { var E = w.markup, M = i; - return i += Fd(E) + 1, M; + return i += zd(E) + 1, M; }), s, u = 0, c = 0; (s = a.exec(t)) !== null; ) { var d = l.find(function(w) { return !!s[w]; - }), p = l.indexOf(d), f = n[p], m = f.markup, b = f.displayTransform, y = d + V2(m, "id"), g = d + V2(m, "display"), x = s[y], C = b(x, s[g]), S = t.substring(u, s.index); + }), p = l.indexOf(d), h = n[p], m = h.markup, b = h.displayTransform, y = d + W2(m, "id"), g = d + W2(m, "display"), x = s[y], C = b(x, s[g]), S = t.substring(u, s.index); r(S, u, c), c += S.length, o(s[0], s.index, c, x, C, p, u), c += C.length, u = a.lastIndex; } u < t.length && r(t.substring(u), u, c); -}, Pn = function(t, n) { +}, Vn = function(t, n) { var o = ""; - return Tr(t, n, function(r, a, i, l, s) { + return Or(t, n, function(r, a, i, l, s) { o += s; }, function(r) { o += r; @@ -14113,36 +14113,36 @@ var ga = function(t) { 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, p, f, m, b) { - a === void 0 && d + f.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); + }, l = function(u, c, d, p, h, m, b) { + a === void 0 && d + h.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); }; - return Tr(t, n, l, i), a === void 0 ? t.length : a; -}, nr = function(t, n, o, r) { + return Or(t, n, l, i), a === void 0 ? t.length : a; +}, or = function(t, n, o, r) { return t.substring(0, n) + r + t.substring(o); -}, F7 = function(t, n, o, r) { - var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Pn(t, r), u = s.length - n.length; +}, R7 = function(t, n, o, r) { + var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Vn(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), p = i; a === l && (p = Math.max(i, a + u)); - var f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = nr(t, f, m, c); + var h = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = or(t, h, m, c); if (!g) { - var C = Pn(x, r); + var C = Vn(x, r); if (C !== n) { for (d = 0; n[d] === C[d]; ) d++; - c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = nr(t, f, m, c); + c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), h = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = or(t, h, m, c); } } return x; -}, $2 = function(t, n, o) { - var r = o, a = !1, i = function(s, u, c, d, p, f, m) { +}, Z2 = function(t, n, o) { + var r = o, a = !1, i = function(s, u, c, d, p, h, m) { c <= o && c + p.length > o && (r = c, a = !0); }; - if (Tr(t, n, i), a) + if (Or(t, n, i), a) return r; -}, Qo = function(t, n) { +}, Jo = function(t, n) { var o = []; - return Tr(t, n, function(r, a, i, l, s, u, c) { + return Or(t, n, function(r, a, i, l, s, u, c) { o.push({ id: l, display: s, @@ -14151,36 +14151,36 @@ var ga = function(t) { plainTextIndex: i }); }), o; -}, jd = function(t, n) { +}, Hd = function(t, n) { return "".concat(t, "-").concat(n); -}, qr = function(t) { +}, Gr = function(t) { return Object.values(t).reduce(function(n, o) { var r = o.results; return n + r.length; }, 0); -}, j7 = function(t, n) { - var o = Qo(t, n), r = o[o.length - 1]; +}, I7 = function(t, n) { + var o = Jo(t, n), r = o[o.length - 1]; return r ? r.plainTextIndex + r.display.length : 0; -}, R7 = function(t) { - var n = ga(t), o = t[t.indexOf(an.display) + an.display.length], r = t[t.indexOf(an.id) + an.id.length]; - return new RegExp(n.replace(an.display, "([^".concat(ga(o || ""), "]+?)")).replace(an.id, "([^".concat(ga(r || ""), "]+?)"))); +}, z7 = function(t) { + var n = ba(t), o = t[t.indexOf(ln.display) + ln.display.length], r = t[t.indexOf(ln.id) + ln.id.length]; + return new RegExp(n.replace(ln.display, "([^".concat(ba(o || ""), "]+?)")).replace(ln.id, "([^".concat(ba(r || ""), "]+?)"))); }, On = function(t) { - return wo.toArray(t).map(function(n) { + return ko.toArray(t).map(function(n) { var o = n.props, r = o.markup, a = o.regex, i = o.displayTransform; return { markup: r, - regex: a ? I7(a, r) : R7(r), + regex: a ? H7(a, r) : z7(r), displayTransform: i || function(l, s) { return s || l; } }; }); -}, I7 = function(t, n) { - var o = new RegExp(t.toString() + "|").exec("").length - 1, r = Fd(n); - return So(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; -}, z7 = function(t, n, o) { - return t.replace(an.id, n).replace(an.display, o); -}, H7 = [{ +}, H7 = function(t, n) { + var o = new RegExp(t.toString() + "|").exec("").length - 1, r = zd(n); + return Ao(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; +}, P7 = function(t, n, o) { + return t.replace(ln.id, n).replace(ln.display, o); +}, B7 = [{ 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 }, { @@ -14450,30 +14450,30 @@ var ga = function(t) { }, { base: "z", letters: /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g -}], P7 = function(t) { +}], V7 = function(t) { var n = t; - return H7.forEach(function(o) { + return B7.forEach(function(o) { n = n.replace(o.letters, o.base); }), n; -}, W2 = function(t) { - return P7(t).toLowerCase(); -}, Rd = function(t, n, o) { - return o ? W2(t).indexOf(W2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, B7 = function() { +}, U2 = function(t) { + return V7(t).toLowerCase(); +}, Pd = function(t, n, o) { + return o ? U2(t).indexOf(U2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); +}, $7 = function() { return !!document.documentMode; -}, gs = function(t) { +}, ms = function(t) { return typeof t == "number"; -}, V7 = function(t) { +}, W7 = function(t) { return t === Object(t) ? Object.keys(t) : []; -}, $7 = function(t) { +}, Z7 = 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; }, {}); -}, W7 = ["style", "className", "classNames"]; -function Z2(e, t) { +}, U7 = ["style", "className", "classNames"]; +function q2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -14483,47 +14483,47 @@ function Z2(e, t) { } return n; } -function U2(e) { +function Y2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? Z2(Object(n), !0).forEach(function(o) { + t % 2 ? q2(Object(n), !0).forEach(function(o) { be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z2(Object(n)).forEach(function(o) { + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -function ei(e, t) { +function ni(e, t) { var n = function(r) { var a = function(s) { - var u = s.style, c = s.className, d = s.classNames, p = a7(s, W7), f = t ? t(p) : void 0, m = gc(e, { + var u = s.style, c = s.className, d = s.classNames, p = l7(s, U7), h = t ? t(p) : void 0, m = mc(e, { style: u, className: c, classNames: d - }, f); + }, h); return /* @__PURE__ */ $.createElement(r, It({}, p, { style: m })); }, i = r.displayName || r.name || "Component"; return a.displayName = "defaultStyle(".concat(i, ")"), /* @__PURE__ */ $.forwardRef(function(l, s) { - return a(U2(U2({}, l), {}, { + return a(Y2(Y2({}, l), {}, { ref: s })); }); }; return n; } -var Z7 = function(t, n) { +var q7 = function(t, n) { return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; }; -function Id(e) { +function Bd(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; e.singleLine; var s = e.style, u = ce({ left: void 0, top: void 0 - }), c = Oa(u, 2), d = c[0], p = c[1], f = ce(), m = Oa(f, 2), b = m[0], y = m[1]; + }), c = Da(u, 2), d = c[0], p = c[1], h = ce(), m = Da(h, 2), b = m[0], y = m[1]; ue(function() { g(); }); @@ -14541,37 +14541,37 @@ function Id(e) { }, x = On(l), C; n === t && (C = mt(r, x, t, "START")); var S = [], w = {}, E = S, M = 0, _ = function(k, N, T) { - if (gs(C) && C >= N && C <= N + k.length) { + if (ms(C) && C >= N && C <= N + k.length) { var D = C - N; E.push(R(k.substring(0, D), M)), E = [R(k.substring(D), M)]; } else E.push(R(k, M)); M++; - }, L = function(k, N, T, D, I, j, v) { - var z = Z7(w, D); - E.push(F(D, I, j, z)); + }, L = function(k, N, T, D, I, F, v) { + var z = q7(w, D); + E.push(j(D, I, F, z)); }, R = function(k, N) { return /* @__PURE__ */ $.createElement("span", It({}, s("substring"), { key: N }), k); - }, F = function(k, N, T, D) { + }, j = function(k, N, T, D) { var I = { id: k, display: N, key: D - }, j = wo.toArray(l)[T]; - return /* @__PURE__ */ $.cloneElement(j, I); + }, F = ko.toArray(l)[T]; + return /* @__PURE__ */ $.cloneElement(F, I); }, P = function(k) { return /* @__PURE__ */ $.createElement("span", It({}, s("caret"), { ref: y, key: "caret" }), k); }; - return Tr(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { + return Or(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { ref: i }), S); } -Id.propTypes = { +Bd.propTypes = { selectionStart: q.number, selectionEnd: q.number, value: q.string.isRequired, @@ -14581,7 +14581,7 @@ Id.propTypes = { })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired }; -var U7 = ei({ +var Y7 = ni({ position: "relative", boxSizing: "border-box", width: "100%", @@ -14602,23 +14602,23 @@ var U7 = ei({ return { "&singleLine": e.singleLine }; -}), q7 = U7(Id); -function zd(e) { +}), G7 = Y7(Bd); +function Vd(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; e.className, e.classNames; var d = { onClick: a, onMouseEnter: i }, p = function() { - var y = f(), g = m(y); + var y = h(), g = m(y); return s ? s(u, l, g, r, n) : g; - }, f = function() { + }, h = function() { if (typeof u == "string") return u; var y = u.id, g = u.display; return y === void 0 || !g ? y : g; }, m = function(y) { - var g = Rd(y, l, o); + var g = Pd(y, l, o); return g === -1 ? /* @__PURE__ */ $.createElement("span", c("display"), y) : /* @__PURE__ */ $.createElement("span", c("display"), y.substring(0, g), /* @__PURE__ */ $.createElement("b", c("highlight"), y.substring(g, g + l.length)), y.substring(g + l.length)); }; return /* @__PURE__ */ $.createElement("li", It({ @@ -14627,7 +14627,7 @@ function zd(e) { "aria-selected": n }, d, c), p()); } -zd.propTypes = { +Vd.propTypes = { id: q.string.isRequired, query: q.string.isRequired, index: q.number.isRequired, @@ -14639,30 +14639,30 @@ zd.propTypes = { renderSuggestion: q.func, focused: q.bool }; -var Y7 = ei({ +var K7 = ni({ cursor: "pointer" }, function(e) { return { "&focused": e.focused }; -}), G7 = Y7(zd); -function K7(e) { - var t = e.style, n = e.className, o = e.classNames, r = gc(X7, { +}), X7 = K7(Vd); +function Q7(e) { + var t = e.style, n = e.className, o = e.classNames, r = mc(J7, { style: t, className: n, classNames: o }), a = r("spinner"); return /* @__PURE__ */ $.createElement("div", r, /* @__PURE__ */ $.createElement("div", a, /* @__PURE__ */ $.createElement("div", a(["element", "element1"])), /* @__PURE__ */ $.createElement("div", a(["element", "element2"])), /* @__PURE__ */ $.createElement("div", a(["element", "element3"])), /* @__PURE__ */ $.createElement("div", a(["element", "element4"])), /* @__PURE__ */ $.createElement("div", a(["element", "element5"])))); } -var X7 = {}; -function Hd(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, p = e.isOpened, f = e.onSelect, m = f === void 0 ? function() { +var J7 = {}; +function $d(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, p = e.isOpened, h = e.onSelect, m = h === void 0 ? function() { return null; - } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Oa(E, 2), _ = M[0], L = M[1]; + } : h, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Da(E, 2), _ = M[0], L = M[1]; ue(function() { if (!(!_ || _.offsetHeight >= _.scrollHeight || !c)) { - var T = _.scrollTop, D = _.children[a].getBoundingClientRect(), I = D.top, j = D.bottom, v = _.getBoundingClientRect(), z = v.top; - I = I - z + T, j = j - z + T, I < T ? _.scrollTop = I : j > _.offsetHeight && (_.scrollTop = j - _.offsetHeight); + var T = _.scrollTop, D = _.children[a].getBoundingClientRect(), I = D.top, F = D.bottom, v = _.getBoundingClientRect(), z = v.top; + I = I - z + T, F = F - z + T, I < T ? _.scrollTop = I : F > _.offsetHeight && (_.scrollTop = F - _.offsetHeight); } }, [a, c, _]); var R = function() { @@ -14671,21 +14671,21 @@ function Hd(e) { id: t, role: "listbox", "aria-label": r - }, x("list")), Object.values(o).reduce(function(I, j) { - var v = j.results, z = j.queryInfo; - return [].concat(Ma(I), Ma(v.map(function(B, A) { - return F(B, z, I.length + A); + }, x("list")), Object.values(o).reduce(function(I, F) { + var v = F.results, z = F.queryInfo; + return [].concat(Oa(I), Oa(v.map(function(B, A) { + return j(B, z, I.length + A); }))); }, [])); return C ? C(D) : D; - }, F = function(D, I, j) { - var v = j === a, z = I.childIndex, B = I.query, A = wo.toArray(g)[z].props.renderSuggestion; - return /* @__PURE__ */ $.createElement(G7, { + }, j = function(D, I, F) { + var v = F === a, z = I.childIndex, B = I.query, A = ko.toArray(g)[z].props.renderSuggestion; + return /* @__PURE__ */ $.createElement(X7, { style: x("item"), key: "".concat(z, "-").concat(N(D)), - id: jd(t, j), + id: Hd(t, F), query: B, - index: j, + index: F, ignoreAccents: b, renderSuggestion: A, suggestion: D, @@ -14694,12 +14694,12 @@ function Hd(e) { return k(D, I); }, onMouseEnter: function() { - return V(j); + return V(F); } }); }, P = function() { if (d) - return /* @__PURE__ */ $.createElement(K7, { + return /* @__PURE__ */ $.createElement(Q7, { style: x("loadingIndicator") }); }, V = function(D, I) { @@ -14709,7 +14709,7 @@ function Hd(e) { }, N = function(D) { return typeof D == "string" ? D : D.id; }; - return p ? /* @__PURE__ */ $.createElement("div", It({}, w7({ + return p ? /* @__PURE__ */ $.createElement("div", It({}, S7({ position: i || "absolute", left: l, right: s, @@ -14719,7 +14719,7 @@ function Hd(e) { ref: y }), R(), P()) : null; } -Hd.propTypes = { +$d.propTypes = { id: q.string.isRequired, suggestions: q.object.isRequired, a11ySuggestionsListLabel: q.string, @@ -14738,7 +14738,7 @@ Hd.propTypes = { current: typeof Element > "u" ? q.any : q.instanceOf(Element) })]) }; -var Q7 = ei({ +var e9 = ni({ zIndex: 1, backgroundColor: "white", marginTop: 14, @@ -14748,8 +14748,8 @@ var Q7 = ei({ padding: 0, listStyleType: "none" } -}), J7 = Q7(Hd); -function q2(e, t) { +}), t9 = e9($d); +function G2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); @@ -14762,27 +14762,27 @@ function q2(e, t) { function Ut(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? q2(Object(n), !0).forEach(function(o) { + t % 2 ? G2(Object(n), !0).forEach(function(o) { be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(o) { + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } -function e9(e) { - var t = t9(); +function n9(e) { + var t = o9(); return function() { - var o = Ta(e), r; + var o = Na(e), r; if (t) { - var a = Ta(this).constructor; + var a = Na(this).constructor; r = Reflect.construct(o, arguments, a); } else r = o.apply(this, arguments); - return Q8(this, r); + return e7(this, r); }; } -function t9() { +function o9() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { @@ -14792,27 +14792,27 @@ function t9() { return !1; } } -var n9 = function(t) { +var r9 = function(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (t instanceof RegExp) return t; - var o = n.allowSpaceInQuery, r = ga(t); + var o = n.allowSpaceInQuery, r = ba(t); return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, o9 = function(t, n) { +}, a9 = 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; - Rd(s, o, n) >= 0 && a.push(t[i]); + Pd(s, o, n) >= 0 && a.push(t[i]); } return a; } : t; -}, ao = { +}, so = { TAB: 9, RETURN: 13, ESC: 27, UP: 38, DOWN: 40 -}, Yr = !1, Pd = { +}, Kr = !1, Wd = { /** * If set to `true` a regular text input element will be rendered * instead of a textarea @@ -14834,19 +14834,19 @@ var n9 = function(t) { current: typeof Element > "u" ? q.any : q.instanceOf(Element) })]), children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired -}, bc = /* @__PURE__ */ function(e) { - X8(n, e); - var t = e9(n); +}, yc = /* @__PURE__ */ function(e) { + J8(n, e); + var t = n9(n); function n(o) { var r; - return Y8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { + return K8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { r.containerElement = a; }), be(ve(r), "getInputProps", function() { - var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = $7( + var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = Z7( r.props, ["style", "classNames", "className"], // substyle props - V7(Pd) + W7(Wd) ); return Ut(Ut(Ut(Ut({}, u), s("input")), {}, { value: r.getPlainText(), @@ -14864,7 +14864,7 @@ var n9 = function(t) { "aria-expanded": !0, "aria-autocomplete": "list", "aria-haspopup": "listbox", - "aria-activedescendant": jd(r.uuidSuggestionsOverlay, r.state.focusIndex) + "aria-activedescendant": Hd(r.uuidSuggestionsOverlay, r.state.focusIndex) }); }), be(ve(r), "renderControl", function() { var a = r.props, i = a.singleLine, l = a.style, s = r.getInputProps(); @@ -14885,9 +14885,9 @@ var n9 = function(t) { }), be(ve(r), "setSuggestionsElement", function(a) { r.suggestionsElement = a; }), be(ve(r), "renderSuggestionsOverlay", function() { - if (!gs(r.state.selectionStart)) + if (!ms(r.state.selectionStart)) return null; - var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(J7, { + var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(t9, { id: r.uuidSuggestionsOverlay, style: r.props.style("suggestions"), position: i, @@ -14907,10 +14907,10 @@ var n9 = function(t) { ignoreAccents: r.props.ignoreAccents, a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel }, r.props.children); - return r.props.suggestionsPortalHost ? /* @__PURE__ */ o4.createPortal(c, r.props.suggestionsPortalHost) : c; + return r.props.suggestionsPortalHost ? /* @__PURE__ */ l4.createPortal(c, r.props.suggestionsPortalHost) : c; }), be(ve(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, p = s.style; - return /* @__PURE__ */ $.createElement(q7, { + return /* @__PURE__ */ $.createElement(G7, { containerRef: r.setHighlighterElement, style: p("highlighter"), value: d, @@ -14926,7 +14926,7 @@ var n9 = function(t) { caretPosition: a }); }), be(ve(r), "getPlainText", function() { - return Pn(r.props.value || "", On(r.props.children)); + return Vn(r.props.value || "", On(r.props.children)); }), be(ve(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]; @@ -14939,7 +14939,7 @@ var n9 = function(t) { return (c = r.props.valueLink).requestChange.apply(c, [a.target.value].concat(l)); } }), be(ve(r), "handleChange", function(a) { - if (Yr = !1, B7()) { + if (Kr = !1, $7()) { var i = document.activeElement && document.activeElement.contentDocument || document; if (i.activeElement !== a.target) return; @@ -14948,20 +14948,20 @@ var n9 = function(t) { c == null && (c = a.target.selectionStart); var d = r.state.selectionEnd; d == null && (d = a.target.selectionEnd); - var p = F7(l, u, { + var p = R7(l, u, { selectionStartBefore: c, selectionEndBefore: d, selectionEndAfter: a.target.selectionEnd }, s); - u = Pn(p, s); - var f = a.target.selectionStart, m = a.target.selectionEnd, b = !1, y = $2(l, s, f); - y !== void 0 && r.state.selectionEnd > y && (f = y + (a.nativeEvent.data ? a.nativeEvent.data.length : 0), m = f, b = !0), r.setState({ - selectionStart: f, + u = Vn(p, s); + var h = a.target.selectionStart, m = a.target.selectionEnd, b = !1, y = Z2(l, s, h); + y !== void 0 && r.state.selectionEnd > y && (h = y + (a.nativeEvent.data ? a.nativeEvent.data.length : 0), m = h, b = !0), r.setState({ + selectionStart: h, selectionEnd: m, setSelectionAfterMentionChange: b }); - var g = Qo(p, s); - a.nativeEvent.isComposing && f === m && r.updateMentionsQueries(r.inputElement.value, f); + var g = Jo(p, s); + a.nativeEvent.isComposing && h === m && r.updateMentionsQueries(r.inputElement.value, h); var x = { target: { value: p @@ -14972,34 +14972,34 @@ var n9 = function(t) { if (r.setState({ selectionStart: a.target.selectionStart, selectionEnd: a.target.selectionEnd - }), !Yr) { + }), !Kr) { 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); } }), be(ve(r), "handleKeyDown", function(a) { - var i = qr(r.state.suggestions); + var i = Gr(r.state.suggestions); if (i === 0 || !r.suggestionsElement) { r.props.onKeyDown(a); return; } - switch (Object.values(ao).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { - case ao.ESC: { + switch (Object.values(so).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { + case so.ESC: { r.clearSuggestions(); return; } - case ao.DOWN: { + case so.DOWN: { r.shiftFocus(1); return; } - case ao.UP: { + case so.UP: { r.shiftFocus(-1); return; } - case ao.RETURN: { + case so.RETURN: { r.selectFocused(); return; } - case ao.TAB: { + case so.TAB: { r.selectFocused(); return; } @@ -15007,15 +15007,15 @@ var n9 = function(t) { return; } }), be(ve(r), "shiftFocus", function(a) { - var i = qr(r.state.suggestions); + var i = Gr(r.state.suggestions); r.setState({ focusIndex: (i + r.state.focusIndex + a) % i, scrollFocusedIntoView: !0 }); }), be(ve(r), "selectFocused", function() { var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, p) { - var f = p.results, m = p.queryInfo; - return [].concat(Ma(d), Ma(f.map(function(b) { + var h = p.results, m = p.queryInfo; + return [].concat(Oa(d), Oa(h.map(function(b) { return { result: b, queryInfo: m @@ -15043,21 +15043,21 @@ var n9 = function(t) { }), be(ve(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, p = d.getBoundingClientRect(), f = _l(d, "font-size"), m = { + var c = r.suggestionsElement, d = r.highlighterElement, p = d.getBoundingClientRect(), h = Al(d, "font-size"), m = { left: p.left + a.left, - top: p.top + a.top + f + top: p.top + a.top + h }, b = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); if (c) { var y = {}; if (l) { y.position = "fixed"; var g = m.left, x = m.top; - g -= _l(c, "margin-left"), x -= _l(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; + g -= Al(c, "margin-left"), x -= Al(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; var C = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); - g + c.offsetWidth > C ? y.left = Math.max(0, C - c.offsetWidth) : y.left = g, s && x + c.offsetHeight > b && c.offsetHeight < x - f || u ? y.top = Math.max(0, x - c.offsetHeight - f) : y.top = x; + g + c.offsetWidth > C ? y.left = Math.max(0, C - c.offsetWidth) : y.left = g, s && x + c.offsetHeight > b && c.offsetHeight < x - h || u ? y.top = Math.max(0, x - c.offsetHeight - h) : y.top = x; } else { var S = a.left - d.scrollLeft, w = a.top - d.scrollTop; - S + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = S, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < p.top - f - d.scrollTop || u ? y.top = w - c.offsetHeight - f : y.top = w; + S + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = S, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < p.top - h - d.scrollTop || u ? y.top = w - c.offsetHeight - h : y.top = w; } y.left === r.state.suggestionsPosition.left && y.top === r.state.suggestionsPosition.top && y.position === r.state.suggestionsPosition.position || r.setState({ suggestionsPosition: y @@ -15068,9 +15068,9 @@ var n9 = function(t) { var a = r.inputElement, i = r.highlighterElement; !a || !i || (i.scrollLeft = a.scrollLeft, i.scrollTop = a.scrollTop, i.height = a.height); }), be(ve(r), "handleCompositionStart", function() { - Yr = !0; + Kr = !0; }), be(ve(r), "handleCompositionEnd", function() { - Yr = !1; + Kr = !1; }), be(ve(r), "setSelection", function(a, i) { if (!(a === null || i === null)) { var l = r.inputElement; @@ -15087,10 +15087,10 @@ var n9 = function(t) { }); var l = r.props.value || "", s = r.props.children, u = On(s), c = mt(l, u, i, "NULL"); if (c !== null) { - var d = j7(l.substring(0, c), u), p = a.substring(d, i); - $.Children.forEach(s, function(f, m) { - if (f) { - var b = n9(f.props.trigger, r.props), y = p.match(b); + var d = I7(l.substring(0, c), u), p = a.substring(d, i); + $.Children.forEach(s, function(h, m) { + if (h) { + var b = r9(h.props.trigger, r.props), y = p.match(b); if (y) { var g = d + p.indexOf(y[1], y.index); r.queryData(y[2], m, g, g + y[1].length, a); @@ -15104,7 +15104,7 @@ var n9 = function(t) { focusIndex: 0 }); }), be(ve(r), "queryData", function(a, i, l, s, u) { - var c = r.props, d = c.children, p = c.ignoreAccents, f = wo.toArray(d)[i], m = o9(f.props.data, p), b = m(a, r.updateSuggestions.bind(null, r._queryId, i, a, l, s, u)); + var c = r.props, d = c.children, p = c.ignoreAccents, h = ko.toArray(d)[i], m = a9(h.props.data, p), 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); }), be(ve(r), "updateSuggestions", function(a, i, l, s, u, c, d) { if (a === r._queryId) { @@ -15118,16 +15118,16 @@ var n9 = function(t) { }, results: d })); - var p = r.state.focusIndex, f = qr(r.suggestions); + var p = r.state.focusIndex, h = Gr(r.suggestions); r.setState({ suggestions: r.suggestions, - focusIndex: p >= f ? Math.max(f - 1, 0) : p + focusIndex: p >= h ? Math.max(h - 1, 0) : p }); } }), be(ve(r), "addMention", function(a, i) { - var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, f = r.props.value || "", m = On(r.props.children), b = wo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(f, m, c, "START"), E = w + d - c, M = z7(g, l, s); + var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, h = r.props.value || "", m = On(r.props.children), b = ko.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(h, m, c, "START"), E = w + d - c, M = P7(g, l, s); C && (M += " "); - var _ = nr(f, w, E, M); + var _ = or(h, w, E, M); r.inputElement.focus(); var L = x(l, s); C && (L += " "); @@ -15137,19 +15137,19 @@ var n9 = function(t) { selectionEnd: R, setSelectionAfterMentionChange: !0 }); - var F = { + var j = { target: { value: _ } - }, P = Qo(_, m), V = nr(p, c, d, L); - r.executeOnChange(F, _, V, P), S && S(l, s, w, E), r.clearSuggestions(); + }, P = Jo(_, m), V = or(p, c, d, L); + r.executeOnChange(j, _, V, P), S && S(l, s, w, E), r.clearSuggestions(); }), be(ve(r), "isLoading", function() { var a = !1; return $.Children.forEach(r.props.children, function(i) { a = a || i && i.props.isLoading; }), a; }), be(ve(r), "isOpened", function() { - return gs(r.state.selectionStart) && (qr(r.state.suggestions) !== 0 || r.isLoading()); + return ms(r.state.selectionStart) && (Gr(r.state.suggestions) !== 0 || r.isLoading()); }), be(ve(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(ve(r)), r.handleCut = r.handleCut.bind(ve(r)), r.handlePaste = r.handlePaste.bind(ve(r)), r.state = { focusIndex: 0, selectionStart: null, @@ -15160,7 +15160,7 @@ var n9 = function(t) { setSelectionAfterHandlePaste: !1 }, r; } - return K8(n, [{ + return Q8(n, [{ key: "componentDidMount", value: function() { document.addEventListener("copy", this.handleCopy), document.addEventListener("cut", this.handleCut), document.addEventListener("paste", this.handlePaste), this.updateSuggestionsPosition(); @@ -15191,13 +15191,13 @@ var n9 = function(t) { 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 = On(c), p = mt(u, d, i, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = nr(u, p, f, m || b).replace(/\r/g, ""), g = Pn(y, d), x = { + var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.value, c = s.children, d = On(c), p = mt(u, d, i, "START"), h = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = or(u, p, h, m || b).replace(/\r/g, ""), g = Vn(y, d), x = { target: Ut(Ut({}, r.target), {}, { value: y }) }; - this.executeOnChange(x, y, g, Qo(y, d)); - var C = $2(u, d, i), S = (C || i) + Pn(m || b, d).length; + this.executeOnChange(x, y, g, Jo(y, d)); + var C = Z2(u, d, i), S = (C || i) + Vn(m || b, d).length; this.setState({ selectionStart: S, selectionEnd: S, @@ -15226,19 +15226,19 @@ var n9 = function(t) { 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 = On(u), p = mt(c, d, i, "START"), f = mt(c, d, l, "END"), m = [c.slice(0, p), c.slice(f)].join(""), b = Pn(m, d), y = { + var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.children, c = s.value, d = On(u), p = mt(c, d, i, "START"), h = mt(c, d, l, "END"), m = [c.slice(0, p), c.slice(h)].join(""), b = Vn(m, d), y = { target: Ut(Ut({}, r.target), {}, { value: b }) }; - this.executeOnChange(y, m, b, Qo(c, d)); + this.executeOnChange(y, m, b, Jo(c, d)); } } // Handle input element's change event }]), n; }($.Component); -be(bc, "propTypes", Pd); -be(bc, "defaultProps", { +be(yc, "propTypes", Wd); +be(yc, "defaultProps", { ignoreAccents: !1, singleLine: !1, allowSuggestionsAboveCursor: !1, @@ -15252,10 +15252,10 @@ be(bc, "defaultProps", { return null; } }); -var _l = function(t, n) { +var Al = function(t, n) { var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); return isFinite(o) ? o : 0; -}, r9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), a9 = ei({ +}, i9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), l9 = ni({ position: "relative", overflowY: "visible", input: { @@ -15277,7 +15277,7 @@ var _l = function(t, n) { bottom: 0, overflow: "hidden", resize: "none" - }, r9 ? { + }, i9 ? { marginTop: 1, marginLeft: -3 } : null) @@ -15288,17 +15288,17 @@ var _l = function(t, n) { "&singleLine": t, "&multiLine": !t }; -}), i9 = a9(bc), l9 = { +}), s9 = l9(yc), c9 = { fontWeight: "inherit" -}, yc = function(t) { - var n = t.display, o = t.style, r = t.className, a = t.classNames, i = gc(l9, { +}, Cc = function(t) { + var n = t.display, o = t.style, r = t.className, a = t.classNames, i = mc(c9, { style: o, className: r, classNames: a }); return /* @__PURE__ */ $.createElement("strong", i, n); }; -yc.propTypes = { +Cc.propTypes = { /** * Called when a new mention is added in the input * @@ -15322,7 +15322,7 @@ yc.propTypes = { allowSpaceInQuery: q.bool, isLoading: q.bool }; -yc.defaultProps = { +Cc.defaultProps = { trigger: "@", markup: "@[__display__](__id__)", displayTransform: function(t, n) { @@ -15338,7 +15338,7 @@ yc.defaultProps = { isLoading: !1, appendSpaceOnAdd: !1 }; -const s9 = { +const u9 = { "&multiLine": { minHeight: "40px" }, @@ -15368,7 +15368,7 @@ const s9 = { } } } -}, c9 = ({ +}, d9 = ({ value: e, setValue: t, users: n, @@ -15385,35 +15385,35 @@ const s9 = { }, s = (u) => { t(u.target.value); }; - return /* @__PURE__ */ h.jsx( - i9, + return /* @__PURE__ */ f.jsx( + s9, { autoFocus: !0, value: e, onChange: s, style: { - ...s9, + ...u9, minHeight: "40px", marginBottom: "10px" }, placeholder: o, className: "mentions-input", onKeyDown: i, - children: /* @__PURE__ */ h.jsx( - yc, + children: /* @__PURE__ */ f.jsx( + Cc, { displayTransform: (u, c) => `@${c}`, trigger: "@", markup: "@[__id__](__display__)", data: a, appendSpaceOnAdd: !0, - renderSuggestion: (u, c) => /* @__PURE__ */ h.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), + renderSuggestion: (u, c) => /* @__PURE__ */ f.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), onAdd: l } ) } ); -}, Bd = ({ +}, Zd = ({ comment: e, setComment: t, loading: n, @@ -15421,10 +15421,10 @@ const s9 = { currentUser: r, placeholder: a, onEnterKeypress: i -}) => /* @__PURE__ */ h.jsxs("div", { className: xn.conversationInputForm, children: [ - r ? /* @__PURE__ */ h.jsx(Sd, { user: r }) : null, - /* @__PURE__ */ h.jsx( - c9, +}) => /* @__PURE__ */ f.jsxs("div", { className: xn.conversationInputForm, children: [ + r ? /* @__PURE__ */ f.jsx(Md, { user: r }) : null, + /* @__PURE__ */ f.jsx( + d9, { value: e, setValue: t, @@ -15433,15 +15433,15 @@ const s9 = { onEnterKeypress: i } ), - /* @__PURE__ */ h.jsx(Fo, { loading: n, color: "primary", children: /* @__PURE__ */ h.jsx(y8, {}) }) -] }), Vd = ({ + /* @__PURE__ */ f.jsx(In, { loading: n, color: "primary", children: /* @__PURE__ */ f.jsx(x8, {}) }) +] }), Ud = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { if (!e) return null; const r = o ? `${t} (${o})` : t; - return /* @__PURE__ */ h.jsx("div", { className: xn.highlightText, children: /* @__PURE__ */ h.jsx( - Mr, + return /* @__PURE__ */ f.jsx("div", { className: xn.highlightText, children: /* @__PURE__ */ f.jsx( + Tr, { code: e, language: n ? "markdown" : "sql", @@ -15450,7 +15450,7 @@ const s9 = { theme: "light" } ) }); -}, u9 = () => { +}, f9 = () => { const e = ze( (c) => c.users ), t = ze( @@ -15464,7 +15464,7 @@ const s9 = { i(!0); try { console.log("saving conversation", t, l); - const d = await E8( + const d = await k8( o, { ...t, @@ -15487,19 +15487,19 @@ const s9 = { } catch (d) { console.error("error while saving conversation", t, d); } - r(md()), i(!1), r(dc(!0)), r(fc()), s(""); + r(vd()), i(!1), r(dc(!0)), r(fc()), s(""); } }; - return /* @__PURE__ */ h.jsx(zt, { className: xn.newConversationForm, children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ h.jsx("h4", { children: "Add comment" }), - /* @__PURE__ */ h.jsx( - Vd, + return /* @__PURE__ */ f.jsx(zt, { className: xn.newConversationForm, children: /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ + /* @__PURE__ */ f.jsx("h4", { children: "Add comment" }), + /* @__PURE__ */ f.jsx( + Ud, { meta: (t == null ? void 0 : t.meta) || {} } ), - /* @__PURE__ */ h.jsx( - Bd, + /* @__PURE__ */ f.jsx( + Zd, { comment: l, setComment: s, @@ -15512,12 +15512,12 @@ const s9 = { ) ] }) }) }); }; -var $d = { exports: {} }; +var qd = { exports: {} }; (function(e, t) { (function(n, o) { e.exports = o(); - })(Gn, function() { - var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", p = "quarter", f = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { + })(Xn, function() { + var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", p = "quarter", h = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { var N = ["th", "st", "nd", "rd"], T = k % 100; return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; } }, C = function(k, N, T) { @@ -15528,12 +15528,12 @@ var $d = { exports: {} }; return (N <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(I, 2, "0"); }, m: function k(N, T) { if (N.date() < T.date()) return -k(T, N); - var D = 12 * (T.year() - N.year()) + (T.month() - N.month()), I = N.clone().add(D, d), j = T - I < 0, v = N.clone().add(D + (j ? -1 : 1), d); - return +(-(D + (T - I) / (j ? I - v : v - I)) || 0); + var D = 12 * (T.year() - N.year()) + (T.month() - N.month()), I = N.clone().add(D, d), F = T - I < 0, v = N.clone().add(D + (F ? -1 : 1), d); + return +(-(D + (T - I) / (F ? I - v : v - I)) || 0); }, a: function(k) { return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); }, p: function(k) { - return { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: p }[k] || String(k || "").toLowerCase().replace(/s$/, ""); + return { M: d, y: h, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: p }[k] || String(k || "").toLowerCase().replace(/s$/, ""); }, u: function(k) { return k === void 0; } }, w = "en", E = {}; @@ -15544,8 +15544,8 @@ var $d = { exports: {} }; var I; if (!N) return w; if (typeof N == "string") { - var j = N.toLowerCase(); - E[j] && (I = j), T && (E[j] = T, I = j); + var F = N.toLowerCase(); + E[F] && (I = F), T && (E[F] = T, I = F); var v = N.split("-"); if (!I && v.length > 1) return k(v[0]); } else { @@ -15557,8 +15557,8 @@ var $d = { exports: {} }; if (_(k)) return k.clone(); var T = typeof N == "object" ? N : {}; return T.date = k, T.args = arguments, new P(T); - }, F = S; - F.l = L, F.i = _, F.w = function(k, N) { + }, j = S; + j.l = L, j.i = _, j.w = function(k, N) { return R(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); }; var P = function() { @@ -15568,15 +15568,15 @@ var $d = { exports: {} }; var N = k.prototype; return N.parse = function(T) { this.$d = function(D) { - var I = D.date, j = D.utc; + var I = D.date, F = D.utc; if (I === null) return /* @__PURE__ */ new Date(NaN); - if (F.u(I)) return /* @__PURE__ */ new Date(); + if (j.u(I)) return /* @__PURE__ */ new Date(); if (I instanceof Date) return new Date(I); if (typeof I == "string" && !/Z$/i.test(I)) { var v = I.match(y); if (v) { var z = v[2] - 1 || 0, B = (v[7] || "0").substring(0, 3); - return j ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); + return F ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); } } return new Date(I); @@ -15585,7 +15585,7 @@ var $d = { exports: {} }; var T = this.$d; this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds(); }, N.$utils = function() { - return F; + return j; }, N.isValid = function() { return this.$d.toString() !== b; }, N.isSame = function(T, D) { @@ -15596,26 +15596,26 @@ var $d = { exports: {} }; }, N.isBefore = function(T, D) { return this.endOf(D) < R(T); }, N.$g = function(T, D, I) { - return F.u(T) ? this[D] : this.set(I, T); + return j.u(T) ? this[D] : this.set(I, T); }, N.unix = function() { return Math.floor(this.valueOf() / 1e3); }, N.valueOf = function() { return this.$d.getTime(); }, N.startOf = function(T, D) { - var I = this, j = !!F.u(D) || D, v = F.p(T), z = function(oe, U) { - var ge = F.w(I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I); - return j ? ge : ge.endOf(u); + var I = this, F = !!j.u(D) || D, v = j.p(T), z = function(oe, U) { + var ge = j.w(I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I); + return F ? ge : ge.endOf(u); }, B = function(oe, U) { - return F.w(I.toDate()[oe].apply(I.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); + return j.w(I.toDate()[oe].apply(I.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); }, A = this.$W, W = this.$M, Y = this.$D, K = "set" + (this.$u ? "UTC" : ""); switch (v) { - case f: - return j ? z(1, 0) : z(31, 11); + case h: + return F ? z(1, 0) : z(31, 11); case d: - return j ? z(1, W) : z(0, W + 1); + return F ? z(1, W) : z(0, W + 1); case c: var Q = this.$locale().weekStart || 0, ne = (A < Q ? A + 7 : A) - Q; - return z(j ? Y - ne : Y + (6 - ne), W); + return z(F ? Y - ne : Y + (6 - ne), W); case u: case m: return B(K + "Hours", 0); @@ -15631,8 +15631,8 @@ var $d = { exports: {} }; }, N.endOf = function(T) { return this.startOf(T, !1); }, N.$set = function(T, D) { - var I, j = F.p(T), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[f] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[i] = v + "Seconds", I[a] = v + "Milliseconds", I)[j], B = j === u ? this.$D + (D - this.$W) : D; - if (j === d || j === f) { + var I, F = j.p(T), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[h] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[i] = v + "Seconds", I[a] = v + "Milliseconds", I)[F], B = F === u ? this.$D + (D - this.$W) : D; + if (F === d || F === h) { var A = this.clone().set(m, 1); A.$d[z](B), A.init(), this.$d = A.set(m, Math.min(this.$D, A.daysInMonth())).$d; } else z && this.$d[z](B); @@ -15640,44 +15640,44 @@ var $d = { exports: {} }; }, N.set = function(T, D) { return this.clone().$set(T, D); }, N.get = function(T) { - return this[F.p(T)](); + return this[j.p(T)](); }, N.add = function(T, D) { - var I, j = this; + var I, F = this; T = Number(T); - var v = F.p(D), z = function(W) { - var Y = R(j); - return F.w(Y.date(Y.date() + Math.round(W * T)), j); + var v = j.p(D), z = function(W) { + var Y = R(F); + return j.w(Y.date(Y.date() + Math.round(W * T)), F); }; if (v === d) return this.set(d, this.$M + T); - if (v === f) return this.set(f, this.$y + T); + if (v === h) return this.set(h, this.$y + T); if (v === u) return z(1); if (v === c) return z(7); var B = (I = {}, I[l] = o, I[s] = r, I[i] = n, I)[v] || 1, A = this.$d.getTime() + T * B; - return F.w(A, this); + return j.w(A, this); }, N.subtract = function(T, D) { return this.add(-1 * T, D); }, N.format = function(T) { var D = this, I = this.$locale(); if (!this.isValid()) return I.invalidDate || b; - var j = T || "YYYY-MM-DDTHH:mm:ssZ", v = F.z(this), z = this.$H, B = this.$m, A = this.$M, W = I.weekdays, Y = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { - return U && (U[ge] || U(D, j)) || J[ge].slice(0, ke); + var F = T || "YYYY-MM-DDTHH:mm:ssZ", v = j.z(this), z = this.$H, B = this.$m, A = this.$M, W = I.weekdays, Y = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { + return U && (U[ge] || U(D, F)) || J[ge].slice(0, ke); }, ne = function(U) { - return F.s(z % 12 || 12, U, "0"); + return j.s(z % 12 || 12, U, "0"); }, oe = K || function(U, ge, J) { var ke = U < 12 ? "AM" : "PM"; return J ? ke.toLowerCase() : ke; }; - return j.replace(g, function(U, ge) { + return F.replace(g, function(U, ge) { return ge || function(J) { switch (J) { case "YY": return String(D.$y).slice(-2); case "YYYY": - return F.s(D.$y, 4, "0"); + return j.s(D.$y, 4, "0"); case "M": return A + 1; case "MM": - return F.s(A + 1, 2, "0"); + return j.s(A + 1, 2, "0"); case "MMM": return Q(I.monthsShort, A, Y, 3); case "MMMM": @@ -15685,7 +15685,7 @@ var $d = { exports: {} }; case "D": return D.$D; case "DD": - return F.s(D.$D, 2, "0"); + return j.s(D.$D, 2, "0"); case "d": return String(D.$W); case "dd": @@ -15697,7 +15697,7 @@ var $d = { exports: {} }; case "H": return String(z); case "HH": - return F.s(z, 2, "0"); + return j.s(z, 2, "0"); case "h": return ne(1); case "hh": @@ -15709,13 +15709,13 @@ var $d = { exports: {} }; case "m": return String(B); case "mm": - return F.s(B, 2, "0"); + return j.s(B, 2, "0"); case "s": return String(D.$s); case "ss": - return F.s(D.$s, 2, "0"); + return j.s(D.$s, 2, "0"); case "SSS": - return F.s(D.$ms, 3, "0"); + return j.s(D.$ms, 3, "0"); case "Z": return v; } @@ -15725,48 +15725,48 @@ var $d = { exports: {} }; }, N.utcOffset = function() { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, N.diff = function(T, D, I) { - var j, v = this, z = F.p(D), B = R(T), A = (B.utcOffset() - this.utcOffset()) * o, W = this - B, Y = function() { - return F.m(v, B); + var F, v = this, z = j.p(D), B = R(T), A = (B.utcOffset() - this.utcOffset()) * o, W = this - B, Y = function() { + return j.m(v, B); }; switch (z) { - case f: - j = Y() / 12; + case h: + F = Y() / 12; break; case d: - j = Y(); + F = Y(); break; case p: - j = Y() / 3; + F = Y() / 3; break; case c: - j = (W - A) / 6048e5; + F = (W - A) / 6048e5; break; case u: - j = (W - A) / 864e5; + F = (W - A) / 864e5; break; case s: - j = W / r; + F = W / r; break; case l: - j = W / o; + F = W / o; break; case i: - j = W / n; + F = W / n; break; default: - j = W; + F = W; } - return I ? j : F.a(j); + return I ? F : j.a(F); }, N.daysInMonth = function() { return this.endOf(d).$D; }, N.$locale = function() { return E[this.$L]; }, N.locale = function(T, D) { if (!T) return this.$L; - var I = this.clone(), j = L(T, D, !0); - return j && (I.$L = j), I; + var I = this.clone(), F = L(T, D, !0); + return F && (I.$L = F), I; }, N.clone = function() { - return F.w(this.$d, this); + return j.w(this.$d, this); }, N.toDate = function() { return new Date(this.valueOf()); }, N.toJSON = function() { @@ -15777,7 +15777,7 @@ var $d = { exports: {} }; return this.$d.toUTCString(); }, k; }(), V = P.prototype; - return R.prototype = V, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", f], ["$D", m]].forEach(function(k) { + return R.prototype = V, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", h], ["$D", m]].forEach(function(k) { V[k[1]] = function(N) { return this.$g(N, k[0], k[1]); }; @@ -15787,72 +15787,72 @@ var $d = { exports: {} }; return R(1e3 * k); }, R.en = E[w], R.Ls = E, R.p = {}, R; }); -})($d); -var d9 = $d.exports; -const ms = /* @__PURE__ */ dn(d9), f9 = ({ +})(qd); +var h9 = qd.exports; +const bs = /* @__PURE__ */ fn(h9), p9 = ({ conversationGroupId: e, shareId: t }) => { - const { onResolve: n, source: o } = dr(), [r, a] = ce(!1), i = async () => { - e && (a(!0), await A8(t, e, o), n(), a(!1)); + const { onResolve: n, source: o } = fr(), [r, a] = ce(!1), i = async () => { + e && (a(!0), await T8(t, e, o), n(), a(!1)); }; - return e ? /* @__PURE__ */ h.jsx( - Un, + return e ? /* @__PURE__ */ f.jsx( + jn, { disabled: r, className: xn.resolveButton, title: "Resolve conversation", onClick: i, - children: /* @__PURE__ */ h.jsx(p8, {}) + children: /* @__PURE__ */ f.jsx(b8, {}) } ) : null; -}, Wd = ({ +}, Yd = ({ user: e, timestamp: t, showResolveButton: n, conversationGroupId: o, shareId: r -}) => /* @__PURE__ */ h.jsxs(Lo, { className: "d-flex align-items-center justify-content-between mb-0", children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ - /* @__PURE__ */ h.jsx(Sd, { user: e }), - /* @__PURE__ */ h.jsxs("h4", { children: [ +}) => /* @__PURE__ */ f.jsxs(Ro, { 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(Md, { user: e }), + /* @__PURE__ */ f.jsxs("h4", { children: [ e == null ? void 0 : e.first_name, " ", e == null ? void 0 : e.last_name ] }), - /* @__PURE__ */ h.jsx("span", { children: ms(t).format("HH:mm, DD MMM YY") }) + /* @__PURE__ */ f.jsx("span", { children: bs(t).format("HH:mm, DD MMM YY") }) ] }), - n ? /* @__PURE__ */ h.jsx( - f9, + n ? /* @__PURE__ */ f.jsx( + p9, { conversationGroupId: o, shareId: r } ) : null -] }), h9 = ({ conversation: e, shareId: t }) => { - const { users: n } = dr(), o = Be(() => { +] }), g9 = ({ conversation: e, shareId: t }) => { + const { users: n } = fr(), o = Ve(() => { if (e != null && e.user_id) return n[e.user_id]; }, [e.user_id, n]); - return /* @__PURE__ */ h.jsxs(zt, { children: [ - /* @__PURE__ */ h.jsx( - Wd, + return /* @__PURE__ */ f.jsxs(zt, { children: [ + /* @__PURE__ */ f.jsx( + Yd, { user: o, timestamp: e.timestamp, shareId: t } ), - /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) + /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) ] }); -}, p9 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: a } = dr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { +}, m9 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: a } = fr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { if (p == null || p.stopPropagation(), p == null || p.preventDefault(), !(!t || !e)) { c(!0), console.log("saving reply", t, e, { message: l }); try { - await S8( + await _8( t, e, { @@ -15860,14 +15860,14 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ }, a ), r(); - } catch (f) { - console.error("error while saving reply", f); + } catch (h) { + console.error("error while saving reply", h); } c(!1), s(""); } }; - return /* @__PURE__ */ h.jsx("div", { className: xn.replyForm, children: /* @__PURE__ */ h.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ h.jsx( - Bd, + return /* @__PURE__ */ f.jsx("div", { className: xn.replyForm, children: /* @__PURE__ */ f.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ f.jsx( + Zd, { comment: l, setComment: s, @@ -15877,22 +15877,22 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ onEnterKeypress: d } ) }) }); -}, g9 = ({ +}, b9 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { var p; - const { users: o } = dr(), r = Be(() => { + const { users: o } = fr(), r = Ve(() => { if (e.owner) return o[e.owner]; - }, [e.owner, o]), { isSelected: a } = dr(), [i, l] = ce(!1), s = Me( - (f) => { - !a || !f || (console.log( + }, [e.owner, o]), { isSelected: a } = fr(), [i, l] = ce(!1), s = Te( + (h) => { + !a || !h || (console.log( "ConversationGroupComponent scrolling", e.conversation_group_id ), setTimeout(() => { - f.scrollIntoView({ + h.scrollIntoView({ behavior: "smooth", block: "center" }); @@ -15903,9 +15903,9 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ if (!((p = e == null ? void 0 : e.conversations) != null && p.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__ */ h.jsx("div", { ref: s, className: xn.conversationGroup, children: /* @__PURE__ */ h.jsxs(zt, { className: `${a ? "active" : ""}`, onClick: n, children: [ - /* @__PURE__ */ h.jsx( - Wd, + return /* @__PURE__ */ f.jsx("div", { ref: s, className: xn.conversationGroup, children: /* @__PURE__ */ f.jsxs(zt, { className: `${a ? "active" : ""}`, onClick: n, children: [ + /* @__PURE__ */ f.jsx( + Yd, { user: r, timestamp: u.timestamp, @@ -15914,20 +15914,20 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ shareId: t } ), - /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx(Vd, { meta: e.meta }), - /* @__PURE__ */ h.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ h.jsx(Ie, { onClick: () => l((f) => !f), color: "link", children: d }), - c.length ? /* @__PURE__ */ h.jsx(h.Fragment, { children: i ? /* @__PURE__ */ h.jsx(h.Fragment, { children: c.map((f) => /* @__PURE__ */ h.jsx( - h9, + /* @__PURE__ */ f.jsxs(dn, { children: [ + /* @__PURE__ */ f.jsx(Ud, { meta: e.meta }), + /* @__PURE__ */ f.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), + /* @__PURE__ */ f.jsx(Re, { onClick: () => l((h) => !h), color: "link", children: d }), + c.length ? /* @__PURE__ */ f.jsx(f.Fragment, { children: i ? /* @__PURE__ */ f.jsx(f.Fragment, { children: c.map((h) => /* @__PURE__ */ f.jsx( + g9, { - conversation: f, + conversation: h, shareId: t }, - f.conversation_id + h.conversation_id )) }) : null }) : null, - i ? /* @__PURE__ */ h.jsx( - p9, + i ? /* @__PURE__ */ f.jsx( + m9, { conversationGroupId: e.conversation_group_id, shareId: t @@ -15935,7 +15935,7 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ ) : null ] }) ] }) }); -}, Zd = Ht({ +}, Gd = Ht({ users: {}, conversationGroup: void 0, currentUser: void 0, @@ -15945,7 +15945,7 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ onResolve: () => null, onReplyAdd: () => null, source: nc.DBT_DOCS -}), m9 = ({ +}), y9 = ({ currentUser: e, conversationGroup: t, shareId: n, @@ -15956,7 +15956,7 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ onReplyAdd: l, source: s }) => { - const u = Be( + const u = Ve( () => ({ currentUser: e, conversationGroup: t, @@ -15980,15 +15980,15 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ s ] ); - return !t || !n ? null : /* @__PURE__ */ h.jsx(Zd.Provider, { value: u, children: /* @__PURE__ */ h.jsx( - g9, + return !t || !n ? null : /* @__PURE__ */ f.jsx(Gd.Provider, { value: u, children: /* @__PURE__ */ f.jsx( + b9, { conversationGroup: t, shareId: n, onSelect: o } ) }); -}, dr = () => et(Zd), b9 = () => { +}, fr = () => tt(Gd), C9 = () => { const e = ze( (d) => d.source ), t = ze( @@ -16005,14 +16005,14 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ if (!a || !o) return null; const l = r[a], s = (d) => { - i(K6({ shareId: o, conversationGroupId: d })); + i(J6({ shareId: o, conversationGroupId: d })); }, u = (d) => { i(uc(d)); }, c = (d) => { - console.log("onReplyAdd", d), i(md()); + console.log("onReplyAdd", d), i(vd()); }; - return !t || !Object.keys(t).length ? /* @__PURE__ */ h.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ h.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ h.jsx( - m9, + 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( + y9, { conversationGroup: d, shareId: o, @@ -16026,7 +16026,7 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ }, d.conversation_group_id )) }); -}, y9 = () => { +}, v9 = () => { const e = ze( (i) => i.isRightPanelOpen ), t = ze( @@ -16036,69 +16036,69 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ ), o = Pt(), r = () => { o(dc(!1)), o(uc(void 0)), o(fc()); }; - return !!n || e || t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx( - B5, + return !!n || e || t ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx( + Z5, { onClick: r, className: xn.conversationRightPanelCloseButton } ), - /* @__PURE__ */ h.jsxs("div", { className: xn.conversationRightPanel, children: [ - /* @__PURE__ */ h.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ h.jsx(u9, {}) : /* @__PURE__ */ h.jsx(b9, {}) + /* @__PURE__ */ f.jsxs("div", { className: xn.conversationRightPanel, children: [ + /* @__PURE__ */ f.jsx("h3", { children: "Comments" }), + n ? /* @__PURE__ */ f.jsx(f9, {}) : /* @__PURE__ */ f.jsx(C9, {}) ] }) ] }) : null; -}, C9 = 10, v9 = () => { +}, x9 = 10, w9 = () => { const e = he(), t = ze( (i) => i.shareId ), n = ze( (i) => i.conversationsLoadingState ), o = Pt(), r = ze( (i) => Object.keys(i.conversations || {}) - ), a = Me( + ), a = Te( (i) => { - clearTimeout(e.current), k8(i).then((l) => { - console.log("useConversations", l), o(G6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { + clearTimeout(e.current), A8(i).then((l) => { + console.log("useConversations", l), o(Q6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { a(i); - }, C9 * 1e3); + }, x9 * 1e3); }).catch( (l) => console.error("error while fetching conversations list", l) ).finally(() => { - o(S2(jt.INITIALIZED)); + o(_2(Ft.INITIALIZED)); }); }, [o] ); return ue(() => { - n !== jt.UNINITIALIZED || !t || (o(S2(jt.LOADING)), a(t)); - }, [o, n, r, t, a]), { isLoading: n === jt.LOADING }; -}, x9 = () => { + n !== Ft.UNINITIALIZED || !t || (o(_2(Ft.LOADING)), a(t)); + }, [o, n, r, t, a]), { isLoading: n === Ft.LOADING }; +}, E9 = () => { const e = Pt(), t = ze( (r) => Object.keys(r.users || {}) - ), [n, o] = ce(jt.UNINITIALIZED); + ), [n, o] = ce(Ft.UNINITIALIZED); return ue(() => { - n !== jt.UNINITIALIZED || Object.keys(t).length || (o(jt.LOADING), _8().then((r) => { - console.log("useConversationUsers", r), e(Y6(r)); + n !== Ft.UNINITIALIZED || Object.keys(t).length || (o(Ft.LOADING), M8().then((r) => { + console.log("useConversationUsers", r), e(X6(r)); }).catch((r) => console.error("error while fetching users list", r)).finally(() => { - o(jt.INITIALIZED); + o(Ft.INITIALIZED); })); - }, [e, n, t]), { isLoading: n === jt.LOADING }; -}, w9 = () => (x9(), v9(), /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(y9, {}), - /* @__PURE__ */ h.jsx(N8, {}) -] })), Ud = ({ target: e, ...t }) => Rn( - /* @__PURE__ */ h.jsx( - Un, + }, [e, n, t]), { isLoading: n === Ft.LOADING }; +}, S9 = () => (E9(), w9(), /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx(v9, {}), + /* @__PURE__ */ f.jsx(L8, {}) +] })), Kd = ({ target: e, ...t }) => zn( + /* @__PURE__ */ f.jsx( + jn, { className: xn.hotspotButton, title: "Click to start conversation", ...t, - children: /* @__PURE__ */ h.jsx(vd, {}) + children: /* @__PURE__ */ f.jsx(Sd, {}) } ), e -), E9 = () => { +), k9 = () => { var s; const e = Pt(), t = ze( (u) => u.codeblockLoaded @@ -16122,14 +16122,14 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ } }; e(hc({ meta: d })); - }, l = Me( + }, l = Te( (u) => { if (!a) return; const c = u.y, d = a.querySelectorAll( ".line-numbers-rows > span" - ), p = Array.from(d).findIndex((f) => { - const { height: m, y: b } = f.getBoundingClientRect(); + ), p = Array.from(d).findIndex((h) => { + const { height: m, y: b } = h.getBoundingClientRect(); return c >= b && c <= b + m; }); r(p); @@ -16141,15 +16141,15 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ return a.addEventListener("mousemove", l), () => { a.removeEventListener("mousemove", l); }; - }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ h.jsx( - Ud, + }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ f.jsx( + Kd, { target: a, onClick: i, style: { top: o * 21.2 } } ); -}, S9 = () => { +}, _9 = () => { const e = Pt(), t = ze( (r) => r.codeblockLoaded ), n = ic(), o = () => { @@ -16159,41 +16159,41 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ }; e(hc({ meta: r })); }; - return !t || !n ? null : /* @__PURE__ */ h.jsx(Ud, { target: n, onClick: o }); -}, k9 = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx(S9, {}), - /* @__PURE__ */ h.jsx(E9, {}) -] }), _9 = t4(() => import("./DbtDocsRenderer.js")), A9 = () => { - const { loading: e, shareDetails: t } = M8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = T8(), i = (l) => { + return !t || !n ? null : /* @__PURE__ */ f.jsx(Kd, { target: n, onClick: o }); +}, A9 = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx(_9, {}), + /* @__PURE__ */ f.jsx(k9, {}) +] }), M9 = a4(() => import("./DbtDocsRenderer.js")), T9 = () => { + const { loading: e, shareDetails: t } = O8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = N8(), i = (l) => { l.stopPropagation(); const s = o(); s && n(hc(s)); }; - return e ? /* @__PURE__ */ h.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ h.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ - /* @__PURE__ */ h.jsx(k9, {}), - /* @__PURE__ */ h.jsx(x8, {}) + 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(A9, {}), + /* @__PURE__ */ f.jsx(E8, {}) ] }), - /* @__PURE__ */ h.jsx(w9, {}), - /* @__PURE__ */ h.jsx( - _9, + /* @__PURE__ */ f.jsx(S9, {}), + /* @__PURE__ */ f.jsx( + M9, { shareDetails: t, onSelectionEnd: a } ), - r ? /* @__PURE__ */ h.jsx(v8, { pos: r, onAddComment: i }) : null + r ? /* @__PURE__ */ f.jsx(w8, { pos: r, onAddComment: i }) : null ] }); -}, dA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ h.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ h.jsx( - Q6, +}, pA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ f.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ f.jsx( + t8, { shareId: e, userId: t, conversationGroupId: n, source: o, - children: /* @__PURE__ */ h.jsx(A9, {}) + children: /* @__PURE__ */ f.jsx(T9, {}) } -) }), M9 = { +) }), O9 = { selectedTable: "", moreTables: {}, sidebarScreen: "", @@ -16217,9 +16217,9 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ nodeSavingsPerformance: {}, nodesCost: {}, errors: {} -}, Na = cc({ +}, La = cc({ name: "lineageState", - initialState: M9, + initialState: O9, reducers: { setAllowSyncColumnsWithDB: (e, t) => { e.allowSyncColumnsWithDB = t.payload; @@ -16328,35 +16328,35 @@ const ms = /* @__PURE__ */ dn(d9), f9 = ({ } } }), { - setSelectedTable: Qn, - setMoreTables: Cc, - mergeSeeMoreTables: vc, + setSelectedTable: eo, + setMoreTables: vc, + mergeSeeMoreTables: xc, setSidebarScreen: Gt, - setSelectedColumn: $n, - setCollectColumns: fr, - mergeCollectColumns: xc, - setConfidence: T9, - updateConfidenceWithOperatorList: wc, - setLeftExpansion: Al, - setRightExpansion: Ml, - setMinRange: hr, - setNodeCount: ko, - setSelectCheck: qd, - setNonSelectCheck: Yd, - setDefaultExpansion: Gd, - setAiEnabled: O9, - setModalArgs: _o, - setTheme: N9, - setLineageType: fA, - setStaticLineage: hA, - setAllowSyncColumnsWithDB: pA, - setSqlLineageDetails: D9, - setHighlightedNodes: L9, - setSelectedNode: F9, - setNodesSavingsPerformance: j9, - setNodesCost: R9, - setErrors: Ec -} = Na.actions; + setSelectedColumn: Zn, + setCollectColumns: hr, + mergeCollectColumns: wc, + setConfidence: N9, + updateConfidenceWithOperatorList: Ec, + setLeftExpansion: Ml, + setRightExpansion: Tl, + setMinRange: pr, + setNodeCount: Mo, + setSelectCheck: Xd, + setNonSelectCheck: Qd, + setDefaultExpansion: Jd, + setAiEnabled: D9, + setModalArgs: To, + setTheme: L9, + setLineageType: gA, + setStaticLineage: mA, + setAllowSyncColumnsWithDB: bA, + setSqlLineageDetails: j9, + setHighlightedNodes: F9, + setSelectedNode: R9, + setNodesSavingsPerformance: I9, + setNodesCost: z9, + setErrors: Sc +} = La.actions; function bt(e) { if (typeof e == "string" || typeof e == "number") return "" + e; let t = ""; @@ -16368,7 +16368,7 @@ function bt(e) { e[n] && (t += (t && " ") + n); return t; } -var bs = { exports: {} }, Tl = {}, Gr = { exports: {} }, Ol = {}; +var ys = { exports: {} }, Ol = {}, Xr = { exports: {} }, Nl = {}; /** * @license React * use-sync-external-store-shim.production.min.js @@ -16378,31 +16378,31 @@ var bs = { exports: {} }, Tl = {}, Gr = { exports: {} }, Ol = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Y2; -function I9() { - if (Y2) return Ol; - Y2 = 1; +var K2; +function H9() { + if (K2) return Nl; + K2 = 1; var e = $; function t(d, p) { return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p; } var n = typeof Object.is == "function" ? Object.is : t, o = e.useState, r = e.useEffect, a = e.useLayoutEffect, i = e.useDebugValue; function l(d, p) { - var f = p(), m = o({ inst: { value: f, getSnapshot: p } }), b = m[0].inst, y = m[1]; + var h = p(), m = o({ inst: { value: h, getSnapshot: p } }), b = m[0].inst, y = m[1]; return a(function() { - b.value = f, b.getSnapshot = p, s(b) && y({ inst: b }); - }, [d, f, p]), r(function() { + b.value = h, b.getSnapshot = p, s(b) && y({ inst: b }); + }, [d, h, p]), r(function() { return s(b) && y({ inst: b }), d(function() { s(b) && y({ inst: b }); }); - }, [d]), i(f), f; + }, [d]), i(h), h; } function s(d) { var p = d.getSnapshot; d = d.value; try { - var f = p(); - return !n(d, f); + var h = p(); + return !n(d, h); } catch { return !0; } @@ -16411,9 +16411,9 @@ function I9() { return p(); } var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : l; - return Ol.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Ol; + return Nl.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Nl; } -var Nl = {}; +var Dl = {}; /** * @license React * use-sync-external-store-shim.development.js @@ -16423,9 +16423,9 @@ var Nl = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var G2; -function z9() { - return G2 || (G2 = 1, process.env.NODE_ENV !== "production" && function() { +var X2; +function P9() { + return X2 || (X2 = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); var e = $, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function n(C) { @@ -16463,22 +16463,22 @@ function z9() { } }), L = _[0].inst, R = _[1]; return s(function() { - L.value = E, L.getSnapshot = S, f(L) && R({ + L.value = E, L.getSnapshot = S, h(L) && R({ inst: L }); }, [C, E, S]), l(function() { - f(L) && R({ + h(L) && R({ inst: L }); - var F = function() { - f(L) && R({ + var j = function() { + h(L) && R({ inst: L }); }; - return C(F); + return C(j); }, [C]), u(E), E; } - function f(C) { + function h(C) { var S = C.getSnapshot, w = C.value; try { var E = S(); @@ -16491,12 +16491,12 @@ function z9() { return S(); } var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !b, g = y ? m : p, x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; - Nl.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Nl; + Dl.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + }()), Dl; } -var K2; -function Kd() { - return K2 || (K2 = 1, process.env.NODE_ENV === "production" ? Gr.exports = I9() : Gr.exports = z9()), Gr.exports; +var Q2; +function e3() { + return Q2 || (Q2 = 1, process.env.NODE_ENV === "production" ? Xr.exports = H9() : Xr.exports = P9()), Xr.exports; } /** * @license React @@ -16507,16 +16507,16 @@ function Kd() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var X2; -function H9() { - if (X2) return Tl; - X2 = 1; - var e = $, t = Kd(); +var J2; +function B9() { + if (J2) return Ol; + J2 = 1; + var e = $, t = e3(); function n(u, c) { return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== c; } var o = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, a = e.useRef, i = e.useEffect, l = e.useMemo, s = e.useDebugValue; - return Tl.useSyncExternalStoreWithSelector = function(u, c, d, p, f) { + return Ol.useSyncExternalStoreWithSelector = function(u, c, d, p, h) { var m = a(null); if (m.current === null) { var b = { hasValue: !1, value: null }; @@ -16525,15 +16525,15 @@ function H9() { m = l(function() { function g(E) { if (!x) { - if (x = !0, C = E, E = p(E), f !== void 0 && b.hasValue) { + if (x = !0, C = E, E = p(E), h !== void 0 && b.hasValue) { var M = b.value; - if (f(M, E)) return S = M; + if (h(M, E)) return S = M; } return S = E; } if (M = S, o(C, E)) return M; var _ = p(E); - return f !== void 0 && f(M, _) ? M : (C = E, S = _); + return h !== void 0 && h(M, _) ? M : (C = E, S = _); } var x = !1, C, S, w = d === void 0 ? null : d; return [function() { @@ -16541,14 +16541,14 @@ function H9() { }, w === null ? void 0 : function() { return g(w()); }]; - }, [c, d, p, f]); + }, [c, d, p, h]); var y = r(u, m[0], m[1]); return i(function() { b.hasValue = !0, b.value = y; }, [y]), s(y), y; - }, Tl; + }, Ol; } -var Dl = {}; +var Ll = {}; /** * @license React * use-sync-external-store-shim/with-selector.development.js @@ -16558,16 +16558,16 @@ var Dl = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Q2; -function P9() { - return Q2 || (Q2 = 1, process.env.NODE_ENV !== "production" && function() { +var eu; +function V9() { + return eu || (eu = 1, process.env.NODE_ENV !== "production" && function() { typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = Kd(); + var e = $, t = e3(); 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, p, f, m) { + function u(c, d, p, h, m) { var b = a(null), y; b.current === null ? (y = { hasValue: !1, @@ -16577,7 +16577,7 @@ function P9() { var w = !1, E, M, _ = function(P) { if (!w) { w = !0, E = P; - var V = f(P); + var V = h(P); if (m !== void 0 && y.hasValue) { var k = y.value; if (m(k, V)) @@ -16588,53 +16588,53 @@ function P9() { var N = E, T = M; if (o(N, P)) return T; - var D = f(P); + var D = h(P); return m !== void 0 && m(T, D) ? T : (E = P, M = D, D); }, L = p === void 0 ? null : p, R = function() { return _(d()); - }, F = L === null ? void 0 : function() { + }, j = L === null ? void 0 : function() { return _(L()); }; - return [R, F]; - }, [d, p, f, m]), x = g[0], C = g[1], S = r(c, x, C); + return [R, j]; + }, [d, p, h, m]), x = g[0], C = g[1], S = r(c, x, C); return i(function() { y.hasValue = !0, y.value = S; }, [S]), s(S), S; } - Dl.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Dl; + Ll.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + }()), Ll; } -process.env.NODE_ENV === "production" ? bs.exports = H9() : bs.exports = P9(); -var B9 = bs.exports; -const V9 = /* @__PURE__ */ dn(B9), $9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, J2 = (e) => { +process.env.NODE_ENV === "production" ? ys.exports = B9() : ys.exports = V9(); +var $9 = ys.exports; +const W9 = /* @__PURE__ */ fn($9), Z9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, tu = (e) => { let t; const n = /* @__PURE__ */ new Set(), o = (c, d) => { const p = typeof c == "function" ? c(t) : c; if (!Object.is(p, t)) { - const f = t; - t = d ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((m) => m(t, f)); + const h = t; + t = d ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((m) => m(t, h)); } }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - ($9 ? "production" : void 0) !== "production" && console.warn( + (Z9 ? "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; -}, W9 = (e) => e ? J2(e) : J2, { useDebugValue: Z9 } = $, { useSyncExternalStoreWithSelector: U9 } = V9, q9 = (e) => e; -function Xd(e, t = q9, n) { - const o = U9( +}, U9 = (e) => e ? tu(e) : tu, { useDebugValue: q9 } = $, { useSyncExternalStoreWithSelector: Y9 } = W9, G9 = (e) => e; +function t3(e, t = G9, n) { + const o = Y9( e.subscribe, e.getState, e.getServerState || e.getInitialState, t, n ); - return Z9(o), o; + return q9(o), o; } -const eu = (e, t) => { - const n = W9(e), o = (r, a = t) => Xd(n, r, a); +const nu = (e, t) => { + const n = U9(e), o = (r, a = t) => t3(n, r, a); return Object.assign(o, n), o; -}, Y9 = (e, t) => e ? eu(e, t) : eu; +}, K9 = (e, t) => e ? nu(e, t) : nu; function ut(e, t) { if (Object.is(e, t)) return !0; @@ -16662,43 +16662,43 @@ function ut(e, t) { return !1; return !0; } -var G9 = { value: () => { +var X9 = { value: () => { } }; -function ti() { +function oi() { for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) throw new Error("illegal type: " + o); n[o] = []; } - return new ma(n); + return new ya(n); } -function ma(e) { +function ya(e) { this._ = e; } -function K9(e, t) { +function Q9(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 }; }); } -ma.prototype = ti.prototype = { - constructor: ma, +ya.prototype = oi.prototype = { + constructor: ya, on: function(e, t) { - var n = this._, o = K9(e + "", n), r, a = -1, i = o.length; + var n = this._, o = Q9(e + "", n), r, a = -1, i = o.length; if (arguments.length < 2) { - for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = X9(n[r], e.name))) return r; + for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = J9(n[r], e.name))) return r; return; } if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); for (; ++a < i; ) - if (r = (e = o[a]).type) n[r] = tu(n[r], e.name, t); - else if (t == null) for (r in n) n[r] = tu(n[r], e.name, null); + if (r = (e = o[a]).type) n[r] = ou(n[r], e.name, t); + else if (t == null) for (r in n) n[r] = ou(n[r], e.name, null); return this; }, copy: function() { var e = {}, t = this._; for (var n in t) e[n] = t[n].slice(); - return new ma(e); + return new ya(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]; @@ -16710,135 +16710,135 @@ ma.prototype = ti.prototype = { for (var o = this._[e], r = 0, a = o.length; r < a; ++r) o[r].value.apply(t, n); } }; -function X9(e, t) { +function J9(e, t) { for (var n = 0, o = e.length, r; n < o; ++n) if ((r = e[n]).name === t) return r.value; } -function tu(e, t, n) { +function ou(e, t, n) { for (var o = 0, r = e.length; o < r; ++o) if (e[o].name === t) { - e[o] = G9, e = e.slice(0, o).concat(e.slice(o + 1)); + e[o] = X9, e = e.slice(0, o).concat(e.slice(o + 1)); break; } return n != null && e.push({ name: t, value: n }), e; } -var ys = "http://www.w3.org/1999/xhtml"; -const nu = { +var Cs = "http://www.w3.org/1999/xhtml"; +const ru = { svg: "http://www.w3.org/2000/svg", - xhtml: ys, + xhtml: Cs, xlink: "http://www.w3.org/1999/xlink", xml: "http://www.w3.org/XML/1998/namespace", xmlns: "http://www.w3.org/2000/xmlns/" }; -function ni(e) { +function ri(e) { var t = e += "", n = t.indexOf(":"); - return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), nu.hasOwnProperty(t) ? { space: nu[t], local: e } : e; + return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), ru.hasOwnProperty(t) ? { space: ru[t], local: e } : e; } -function Q9(e) { +function eh(e) { return function() { var t = this.ownerDocument, n = this.namespaceURI; - return n === ys && t.documentElement.namespaceURI === ys ? t.createElement(e) : t.createElementNS(n, e); + return n === Cs && t.documentElement.namespaceURI === Cs ? t.createElement(e) : t.createElementNS(n, e); }; } -function J9(e) { +function th(e) { return function() { return this.ownerDocument.createElementNS(e.space, e.local); }; } -function Qd(e) { - var t = ni(e); - return (t.local ? J9 : Q9)(t); +function n3(e) { + var t = ri(e); + return (t.local ? th : eh)(t); } -function eh() { +function nh() { } -function Sc(e) { - return e == null ? eh : function() { +function kc(e) { + return e == null ? nh : function() { return this.querySelector(e); }; } -function th(e) { - typeof e != "function" && (e = Sc(e)); +function oh(e) { + typeof e != "function" && (e = kc(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); return new Tt(o, this._parents); } -function nh(e) { +function rh(e) { return e == null ? [] : Array.isArray(e) ? e : Array.from(e); } -function oh() { +function ah() { return []; } -function Jd(e) { - return e == null ? oh : function() { +function o3(e) { + return e == null ? ah : function() { return this.querySelectorAll(e); }; } -function rh(e) { +function ih(e) { return function() { - return nh(e.apply(this, arguments)); + return rh(e.apply(this, arguments)); }; } -function ah(e) { - typeof e == "function" ? e = rh(e) : e = Jd(e); +function lh(e) { + typeof e == "function" ? e = ih(e) : e = o3(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 Tt(o, r); } -function e3(e) { +function r3(e) { return function() { return this.matches(e); }; } -function t3(e) { +function a3(e) { return function(t) { return t.matches(e); }; } -var ih = Array.prototype.find; -function lh(e) { +var sh = Array.prototype.find; +function ch(e) { return function() { - return ih.call(this.children, e); + return sh.call(this.children, e); }; } -function sh() { +function uh() { return this.firstElementChild; } -function ch(e) { - return this.select(e == null ? sh : lh(typeof e == "function" ? e : t3(e))); +function dh(e) { + return this.select(e == null ? uh : ch(typeof e == "function" ? e : a3(e))); } -var uh = Array.prototype.filter; -function dh() { +var fh = Array.prototype.filter; +function hh() { return Array.from(this.children); } -function fh(e) { +function ph(e) { return function() { - return uh.call(this.children, e); + return fh.call(this.children, e); }; } -function hh(e) { - return this.selectAll(e == null ? dh : fh(typeof e == "function" ? e : t3(e))); +function gh(e) { + return this.selectAll(e == null ? hh : ph(typeof e == "function" ? e : a3(e))); } -function ph(e) { - typeof e != "function" && (e = e3(e)); +function mh(e) { + typeof e != "function" && (e = r3(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 Tt(o, this._parents); } -function n3(e) { +function i3(e) { return new Array(e.length); } -function gh() { - return new Tt(this._enter || this._groups.map(n3), this._parents); +function bh() { + return new Tt(this._enter || this._groups.map(i3), this._parents); } -function Da(e, t) { +function ja(e, t) { this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; } -Da.prototype = { - constructor: Da, +ja.prototype = { + constructor: ja, appendChild: function(e) { return this._parent.insertBefore(e, this._next); }, @@ -16852,36 +16852,36 @@ Da.prototype = { return this._parent.querySelectorAll(e); } }; -function mh(e) { +function yh(e) { return function() { return e; }; } -function bh(e, t, n, o, r, a) { +function Ch(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 Da(e, a[i]); + (l = t[i]) ? (l.__data__ = a[i], o[i] = l) : n[i] = new ja(e, a[i]); for (; i < s; ++i) (l = t[i]) && (r[i] = l); } -function yh(e, t, n, o, r, a, i) { - var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, p = new Array(c), f; +function vh(e, t, n, o, r, a, i) { + var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, p = new Array(c), h; for (l = 0; l < c; ++l) - (s = t[l]) && (p[l] = f = i.call(s, s.__data__, l, t) + "", u.has(f) ? r[l] = s : u.set(f, s)); + (s = t[l]) && (p[l] = h = i.call(s, s.__data__, l, t) + "", u.has(h) ? r[l] = s : u.set(h, s)); for (l = 0; l < d; ++l) - f = i.call(e, a[l], l, a) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = a[l], u.delete(f)) : n[l] = new Da(e, a[l]); + h = i.call(e, a[l], l, a) + "", (s = u.get(h)) ? (o[l] = s, s.__data__ = a[l], u.delete(h)) : n[l] = new ja(e, a[l]); for (l = 0; l < c; ++l) (s = t[l]) && u.get(p[l]) === s && (r[l] = s); } -function Ch(e) { +function xh(e) { return e.__data__; } -function vh(e, t) { - if (!arguments.length) return Array.from(this, Ch); - var n = t ? yh : bh, o = this._parents, r = this._groups; - typeof e != "function" && (e = mh(e)); +function wh(e, t) { + if (!arguments.length) return Array.from(this, xh); + var n = t ? vh : Ch, o = this._parents, r = this._groups; + typeof e != "function" && (e = yh(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], p = d.length, f = xh(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); - n(c, d, b, y, g, f, t); + var c = o[u], d = r[u], p = d.length, h = Eh(e.call(c, c && c.__data__, u, o)), m = h.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); + n(c, d, b, y, g, h, t); for (var x = 0, C = 0, S, w; x < m; ++x) if (S = b[x]) { for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ) ; @@ -16890,32 +16890,32 @@ function vh(e, t) { } return i = new Tt(i, o), i._enter = l, i._exit = s, i; } -function xh(e) { +function Eh(e) { return typeof e == "object" && "length" in e ? e : Array.from(e); } -function wh() { - return new Tt(this._exit || this._groups.map(n3), this._parents); +function Sh() { + return new Tt(this._exit || this._groups.map(i3), this._parents); } -function Eh(e, t, n) { +function kh(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; } -function Sh(e) { +function _h(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, p = l[s] = new Array(d), f, m = 0; m < d; ++m) - (f = u[m] || c[m]) && (p[m] = f); + for (var u = n[s], c = o[s], d = u.length, p = l[s] = new Array(d), h, m = 0; m < d; ++m) + (h = u[m] || c[m]) && (p[m] = h); for (; s < r; ++s) l[s] = n[s]; return new Tt(l, this._parents); } -function kh() { +function Ah() { 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); return this; } -function _h(e) { - e || (e = Ah); +function Mh(e) { + e || (e = Th); function t(d, p) { return d && p ? e(d.__data__, p.__data__) : !d - !p; } @@ -16926,17 +16926,17 @@ function _h(e) { } return new Tt(r, this._parents).order(); } -function Ah(e, t) { +function Th(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function Mh() { +function Oh() { var e = arguments[0]; return arguments[0] = this, e.apply(null, arguments), this; } -function Th() { +function Nh() { return Array.from(this); } -function Oh() { +function Dh() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length; r < a; ++r) { var i = o[r]; @@ -16944,114 +16944,114 @@ function Oh() { } return null; } -function Nh() { +function Lh() { let e = 0; for (const t of this) ++e; return e; } -function Dh() { +function jh() { return !this.node(); } -function Lh(e) { +function Fh(e) { for (var t = this._groups, n = 0, o = t.length; n < o; ++n) for (var r = t[n], a = 0, i = r.length, l; a < i; ++a) (l = r[a]) && e.call(l, l.__data__, a, r); return this; } -function Fh(e) { +function Rh(e) { return function() { this.removeAttribute(e); }; } -function jh(e) { +function Ih(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function Rh(e, t) { +function zh(e, t) { return function() { this.setAttribute(e, t); }; } -function Ih(e, t) { +function Hh(e, t) { return function() { this.setAttributeNS(e.space, e.local, t); }; } -function zh(e, t) { +function Ph(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttribute(e) : this.setAttribute(e, n); }; } -function Hh(e, t) { +function Bh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); }; } -function Ph(e, t) { - var n = ni(e); +function Vh(e, t) { + var n = ri(e); if (arguments.length < 2) { var o = this.node(); return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - return this.each((t == null ? n.local ? jh : Fh : typeof t == "function" ? n.local ? Hh : zh : n.local ? Ih : Rh)(n, t)); + return this.each((t == null ? n.local ? Ih : Rh : typeof t == "function" ? n.local ? Bh : Ph : n.local ? Hh : zh)(n, t)); } -function o3(e) { +function l3(e) { return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; } -function Bh(e) { +function $h(e) { return function() { this.style.removeProperty(e); }; } -function Vh(e, t, n) { +function Wh(e, t, n) { return function() { this.style.setProperty(e, t, n); }; } -function $h(e, t, n) { +function Zh(e, t, n) { return function() { var o = t.apply(this, arguments); o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; } -function Wh(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? Bh : typeof t == "function" ? $h : Vh)(e, t, n ?? "")) : Ao(this.node(), e); +function Uh(e, t, n) { + return arguments.length > 1 ? this.each((t == null ? $h : typeof t == "function" ? Zh : Wh)(e, t, n ?? "")) : Oo(this.node(), e); } -function Ao(e, t) { - return e.style.getPropertyValue(t) || o3(e).getComputedStyle(e, null).getPropertyValue(t); +function Oo(e, t) { + return e.style.getPropertyValue(t) || l3(e).getComputedStyle(e, null).getPropertyValue(t); } -function Zh(e) { +function qh(e) { return function() { delete this[e]; }; } -function Uh(e, t) { +function Yh(e, t) { return function() { this[e] = t; }; } -function qh(e, t) { +function Gh(e, t) { return function() { var n = t.apply(this, arguments); n == null ? delete this[e] : this[e] = n; }; } -function Yh(e, t) { - return arguments.length > 1 ? this.each((t == null ? Zh : typeof t == "function" ? qh : Uh)(e, t)) : this.node()[e]; +function Kh(e, t) { + return arguments.length > 1 ? this.each((t == null ? qh : typeof t == "function" ? Gh : Yh)(e, t)) : this.node()[e]; } -function r3(e) { +function s3(e) { return e.trim().split(/^|\s+/); } -function kc(e) { - return e.classList || new a3(e); +function _c(e) { + return e.classList || new c3(e); } -function a3(e) { - this._node = e, this._names = r3(e.getAttribute("class") || ""); +function c3(e) { + this._node = e, this._names = s3(e.getAttribute("class") || ""); } -a3.prototype = { +c3.prototype = { add: function(e) { var t = this._names.indexOf(e); t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" "))); @@ -17064,129 +17064,129 @@ a3.prototype = { return this._names.indexOf(e) >= 0; } }; -function i3(e, t) { - for (var n = kc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); +function u3(e, t) { + for (var n = _c(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); } -function l3(e, t) { - for (var n = kc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); +function d3(e, t) { + for (var n = _c(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); } -function Gh(e) { +function Xh(e) { return function() { - i3(this, e); + u3(this, e); }; } -function Kh(e) { +function Qh(e) { return function() { - l3(this, e); + d3(this, e); }; } -function Xh(e, t) { +function Jh(e, t) { return function() { - (t.apply(this, arguments) ? i3 : l3)(this, e); + (t.apply(this, arguments) ? u3 : d3)(this, e); }; } -function Qh(e, t) { - var n = r3(e + ""); +function ep(e, t) { + var n = s3(e + ""); if (arguments.length < 2) { - for (var o = kc(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; + for (var o = _c(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; return !0; } - return this.each((typeof t == "function" ? Xh : t ? Gh : Kh)(n, t)); + return this.each((typeof t == "function" ? Jh : t ? Xh : Qh)(n, t)); } -function Jh() { +function tp() { this.textContent = ""; } -function ep(e) { +function np(e) { return function() { this.textContent = e; }; } -function tp(e) { +function op(e) { return function() { var t = e.apply(this, arguments); this.textContent = t ?? ""; }; } -function np(e) { - return arguments.length ? this.each(e == null ? Jh : (typeof e == "function" ? tp : ep)(e)) : this.node().textContent; +function rp(e) { + return arguments.length ? this.each(e == null ? tp : (typeof e == "function" ? op : np)(e)) : this.node().textContent; } -function op() { +function ap() { this.innerHTML = ""; } -function rp(e) { +function ip(e) { return function() { this.innerHTML = e; }; } -function ap(e) { +function lp(e) { return function() { var t = e.apply(this, arguments); this.innerHTML = t ?? ""; }; } -function ip(e) { - return arguments.length ? this.each(e == null ? op : (typeof e == "function" ? ap : rp)(e)) : this.node().innerHTML; +function sp(e) { + return arguments.length ? this.each(e == null ? ap : (typeof e == "function" ? lp : ip)(e)) : this.node().innerHTML; } -function lp() { +function cp() { this.nextSibling && this.parentNode.appendChild(this); } -function sp() { - return this.each(lp); +function up() { + return this.each(cp); } -function cp() { +function dp() { this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); } -function up() { - return this.each(cp); +function fp() { + return this.each(dp); } -function dp(e) { - var t = typeof e == "function" ? e : Qd(e); +function hp(e) { + var t = typeof e == "function" ? e : n3(e); return this.select(function() { return this.appendChild(t.apply(this, arguments)); }); } -function fp() { +function pp() { return null; } -function hp(e, t) { - var n = typeof e == "function" ? e : Qd(e), o = t == null ? fp : typeof t == "function" ? t : Sc(t); +function gp(e, t) { + var n = typeof e == "function" ? e : n3(e), o = t == null ? pp : typeof t == "function" ? t : kc(t); return this.select(function() { return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); }); } -function pp() { +function mp() { var e = this.parentNode; e && e.removeChild(this); } -function gp() { - return this.each(pp); +function bp() { + return this.each(mp); } -function mp() { +function yp() { var e = this.cloneNode(!1), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function bp() { +function Cp() { var e = this.cloneNode(!0), t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function yp(e) { - return this.select(e ? bp : mp); +function vp(e) { + return this.select(e ? Cp : yp); } -function Cp(e) { +function xp(e) { return arguments.length ? this.property("__data__", e) : this.node().__data__; } -function vp(e) { +function wp(e) { return function(t) { e.call(this, t, this.__data__); }; } -function xp(e) { +function Ep(e) { return e.trim().split(/^|\s+/).map(function(t) { var n = "", o = t.indexOf("."); return o >= 0 && (n = t.slice(o + 1), t = t.slice(0, o)), { type: t, name: n }; }); } -function wp(e) { +function Sp(e) { return function() { var t = this.__on; if (t) { @@ -17196,9 +17196,9 @@ function wp(e) { } }; } -function Ep(e, t, n) { +function kp(e, t, n) { return function() { - var o = this.__on, r, a = vp(t); + var o = this.__on, r, a = wp(t); if (o) { for (var i = 0, l = o.length; i < l; ++i) if ((r = o[i]).type === e.type && r.name === e.name) { @@ -17209,8 +17209,8 @@ function Ep(e, t, n) { 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 Sp(e, t, n) { - var o = xp(e + ""), r, a = o.length, i; +function _p(e, t, n) { + var o = Ep(e + ""), r, a = o.length, i; if (arguments.length < 2) { var l = this.node().__on; if (l) { @@ -17221,89 +17221,89 @@ function Sp(e, t, n) { } return; } - for (l = t ? Ep : wp, r = 0; r < a; ++r) this.each(l(o[r], t, n)); + for (l = t ? kp : Sp, r = 0; r < a; ++r) this.each(l(o[r], t, n)); return this; } -function s3(e, t, n) { - var o = o3(e), r = o.CustomEvent; +function f3(e, t, n) { + var o = l3(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 kp(e, t) { +function Ap(e, t) { return function() { - return s3(this, e, t); + return f3(this, e, t); }; } -function _p(e, t) { +function Mp(e, t) { return function() { - return s3(this, e, t.apply(this, arguments)); + return f3(this, e, t.apply(this, arguments)); }; } -function Ap(e, t) { - return this.each((typeof t == "function" ? _p : kp)(e, t)); +function Tp(e, t) { + return this.each((typeof t == "function" ? Mp : Ap)(e, t)); } -function* Mp() { +function* Op() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var o = e[t], r = 0, a = o.length, i; r < a; ++r) (i = o[r]) && (yield i); } -var c3 = [null]; +var h3 = [null]; function Tt(e, t) { this._groups = e, this._parents = t; } -function Or() { - return new Tt([[document.documentElement]], c3); +function Nr() { + return new Tt([[document.documentElement]], h3); } -function Tp() { +function Np() { return this; } -Tt.prototype = Or.prototype = { +Tt.prototype = Nr.prototype = { constructor: Tt, - select: th, - selectAll: ah, - selectChild: ch, - selectChildren: hh, - filter: ph, - data: vh, - enter: gh, - exit: wh, - join: Eh, - merge: Sh, - selection: Tp, - order: kh, - sort: _h, - call: Mh, - nodes: Th, - node: Oh, - size: Nh, - empty: Dh, - each: Lh, - attr: Ph, - style: Wh, - property: Yh, - classed: Qh, - text: np, - html: ip, - raise: sp, - lower: up, - append: dp, - insert: hp, - remove: gp, - clone: yp, - datum: Cp, - on: Sp, - dispatch: Ap, - [Symbol.iterator]: Mp + select: oh, + selectAll: lh, + selectChild: dh, + selectChildren: gh, + filter: mh, + data: wh, + enter: bh, + exit: Sh, + join: kh, + merge: _h, + selection: Np, + order: Ah, + sort: Mh, + call: Oh, + nodes: Nh, + node: Dh, + size: Lh, + empty: jh, + each: Fh, + attr: Vh, + style: Uh, + property: Kh, + classed: ep, + text: rp, + html: sp, + raise: up, + lower: fp, + append: hp, + insert: gp, + remove: bp, + clone: vp, + datum: xp, + on: _p, + dispatch: Tp, + [Symbol.iterator]: Op }; function qt(e) { - return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], c3); + return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], h3); } -function Op(e) { +function Dp(e) { let t; for (; t = e.sourceEvent; ) e = t; return e; } -function rn(e, t) { - if (e = Op(e), t === void 0 && (t = e.currentTarget), t) { +function an(e, t) { + if (e = Dp(e), t === void 0 && (t = e.currentTarget), t) { var n = t.ownerSVGElement || t; if (n.createSVGPoint) { var o = n.createSVGPoint(); @@ -17316,25 +17316,25 @@ function rn(e, t) { } return [e.pageX, e.pageY]; } -const Np = { passive: !1 }, pr = { capture: !0, passive: !1 }; -function Ll(e) { +const Lp = { passive: !1 }, gr = { capture: !0, passive: !1 }; +function jl(e) { e.stopImmediatePropagation(); } -function go(e) { +function yo(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function u3(e) { - var t = e.document.documentElement, n = qt(e).on("dragstart.drag", go, pr); - "onselectstart" in t ? n.on("selectstart.drag", go, pr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); +function p3(e) { + var t = e.document.documentElement, n = qt(e).on("dragstart.drag", yo, gr); + "onselectstart" in t ? n.on("selectstart.drag", yo, gr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); } -function d3(e, t) { +function g3(e, t) { var n = e.document.documentElement, o = qt(e).on("dragstart.drag", null); - t && (o.on("click.drag", go, pr), setTimeout(function() { + t && (o.on("click.drag", yo, gr), 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 Kr = (e) => () => e; -function Cs(e, { +const Qr = (e) => () => e; +function vs(e, { sourceEvent: t, subject: n, target: o, @@ -17360,77 +17360,77 @@ function Cs(e, { _: { value: c } }); } -Cs.prototype.on = function() { +vs.prototype.on = function() { var e = this._.on.apply(this._, arguments); return e === this._ ? this : e; }; -function Dp(e) { +function jp(e) { return !e.ctrlKey && !e.button; } -function Lp() { +function Fp() { return this.parentNode; } -function Fp(e, t) { +function Rp(e, t) { return t ?? { x: e.x, y: e.y }; } -function jp() { +function Ip() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function Rp() { - var e = Dp, t = Lp, n = Fp, o = jp, r = {}, a = ti("start", "drag", "end"), i = 0, l, s, u, c, d = 0; +function zp() { + var e = jp, t = Fp, n = Rp, o = Ip, r = {}, a = oi("start", "drag", "end"), i = 0, l, s, u, c, d = 0; function p(S) { - S.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Np).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + S.on("mousedown.drag", h).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Lp).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } - function f(S, w) { + function h(S, w) { if (!(c || !e.call(this, S, w))) { var E = C(this, t.call(this, S, w), S, w, "mouse"); - E && (qt(S.view).on("mousemove.drag", m, pr).on("mouseup.drag", b, pr), u3(S.view), Ll(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); + E && (qt(S.view).on("mousemove.drag", m, gr).on("mouseup.drag", b, gr), p3(S.view), jl(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); } } function m(S) { - if (go(S), !u) { + if (yo(S), !u) { var w = S.clientX - l, E = S.clientY - s; u = w * w + E * E > d; } r.mouse("drag", S); } function b(S) { - qt(S.view).on("mousemove.drag mouseup.drag", null), d3(S.view, u), go(S), r.mouse("end", S); + qt(S.view).on("mousemove.drag mouseup.drag", null), g3(S.view, u), yo(S), r.mouse("end", S); } function y(S, w) { if (e.call(this, S, w)) { var E = S.changedTouches, M = t.call(this, S, w), _ = E.length, L, R; for (L = 0; L < _; ++L) - (R = C(this, M, S, w, E[L].identifier, E[L])) && (Ll(S), R("start", S, E[L])); + (R = C(this, M, S, w, E[L].identifier, E[L])) && (jl(S), R("start", S, E[L])); } } function g(S) { var w = S.changedTouches, E = w.length, M, _; for (M = 0; M < E; ++M) - (_ = r[w[M].identifier]) && (go(S), _("drag", S, w[M])); + (_ = r[w[M].identifier]) && (yo(S), _("drag", S, w[M])); } function x(S) { var w = S.changedTouches, E = w.length, M, _; for (c && clearTimeout(c), c = setTimeout(function() { c = null; }, 500), M = 0; M < E; ++M) - (_ = r[w[M].identifier]) && (Ll(S), _("end", S, w[M])); + (_ = r[w[M].identifier]) && (jl(S), _("end", S, w[M])); } function C(S, w, E, M, _, L) { - var R = a.copy(), F = rn(L || E, w), P, V, k; - if ((k = n.call(S, new Cs("beforestart", { + var R = a.copy(), j = an(L || E, w), P, V, k; + if ((k = n.call(S, new vs("beforestart", { sourceEvent: E, target: p, identifier: _, active: i, - x: F[0], - y: F[1], + x: j[0], + y: j[1], dx: 0, dy: 0, dispatch: R }), M)) != null) - return P = k.x - F[0] || 0, V = k.y - F[1] || 0, function N(T, D, I) { - var j = F, v; + return P = k.x - j[0] || 0, V = k.y - j[1] || 0, function N(T, D, I) { + var F = j, v; switch (T) { case "start": r[_] = N, v = i++; @@ -17438,22 +17438,22 @@ function Rp() { case "end": delete r[_], --i; case "drag": - F = rn(I || D, w), v = i; + j = an(I || D, w), v = i; break; } R.call( T, S, - new Cs(T, { + new vs(T, { sourceEvent: D, subject: k, target: p, identifier: _, active: v, - x: F[0] + P, - y: F[1] + V, - dx: F[0] - j[0], - dy: F[1] - j[1], + x: j[0] + P, + y: j[1] + V, + dx: j[0] - F[0], + dy: j[1] - F[1], dispatch: R }), M @@ -17461,13 +17461,13 @@ function Rp() { }; } return p.filter = function(S) { - return arguments.length ? (e = typeof S == "function" ? S : Kr(!!S), p) : e; + return arguments.length ? (e = typeof S == "function" ? S : Qr(!!S), p) : e; }, p.container = function(S) { - return arguments.length ? (t = typeof S == "function" ? S : Kr(S), p) : t; + return arguments.length ? (t = typeof S == "function" ? S : Qr(S), p) : t; }, p.subject = function(S) { - return arguments.length ? (n = typeof S == "function" ? S : Kr(S), p) : n; + return arguments.length ? (n = typeof S == "function" ? S : Qr(S), p) : n; }, p.touchable = function(S) { - return arguments.length ? (o = typeof S == "function" ? S : Kr(!!S), p) : o; + return arguments.length ? (o = typeof S == "function" ? S : Qr(!!S), p) : o; }, p.on = function() { var S = a.on.apply(a, arguments); return S === a ? p : S; @@ -17475,17 +17475,17 @@ function Rp() { return arguments.length ? (d = (S = +S) * S, p) : Math.sqrt(d); }, p; } -function _c(e, t, n) { +function Ac(e, t, n) { e.prototype = t.prototype = n, n.constructor = e; } -function f3(e, t) { +function m3(e, t) { var n = Object.create(e.prototype); for (var o in t) n[o] = t[o]; return n; } -function Nr() { +function Dr() { } -var gr = 0.7, La = 1 / gr, mo = "\\s*([+-]?\\d+)\\s*", mr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", sn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ip = /^#([0-9a-f]{3,8})$/, zp = new RegExp(`^rgb\\(${mo},${mo},${mo}\\)$`), Hp = new RegExp(`^rgb\\(${sn},${sn},${sn}\\)$`), Pp = new RegExp(`^rgba\\(${mo},${mo},${mo},${mr}\\)$`), Bp = new RegExp(`^rgba\\(${sn},${sn},${sn},${mr}\\)$`), Vp = new RegExp(`^hsl\\(${mr},${sn},${sn}\\)$`), $p = new RegExp(`^hsla\\(${mr},${sn},${sn},${mr}\\)$`), ou = { +var mr = 0.7, Fa = 1 / mr, Co = "\\s*([+-]?\\d+)\\s*", br = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", cn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Hp = /^#([0-9a-f]{3,8})$/, Pp = new RegExp(`^rgb\\(${Co},${Co},${Co}\\)$`), Bp = new RegExp(`^rgb\\(${cn},${cn},${cn}\\)$`), Vp = new RegExp(`^rgba\\(${Co},${Co},${Co},${br}\\)$`), $p = new RegExp(`^rgba\\(${cn},${cn},${cn},${br}\\)$`), Wp = new RegExp(`^hsl\\(${br},${cn},${cn}\\)$`), Zp = new RegExp(`^hsla\\(${br},${cn},${cn},${br}\\)$`), au = { aliceblue: 15792383, antiquewhite: 16444375, aqua: 65535, @@ -17635,117 +17635,117 @@ var gr = 0.7, La = 1 / gr, mo = "\\s*([+-]?\\d+)\\s*", mr = "\\s*([+-]?(?:\\d*\\ yellow: 16776960, yellowgreen: 10145074 }; -_c(Nr, br, { +Ac(Dr, yr, { copy(e) { return Object.assign(new this.constructor(), this, e); }, displayable() { return this.rgb().displayable(); }, - hex: ru, + hex: iu, // Deprecated! Use color.formatHex. - formatHex: ru, - formatHex8: Wp, - formatHsl: Zp, - formatRgb: au, - toString: au + formatHex: iu, + formatHex8: Up, + formatHsl: qp, + formatRgb: lu, + toString: lu }); -function ru() { +function iu() { return this.rgb().formatHex(); } -function Wp() { +function Up() { return this.rgb().formatHex8(); } -function Zp() { - return h3(this).formatHsl(); +function qp() { + return b3(this).formatHsl(); } -function au() { +function lu() { return this.rgb().formatRgb(); } -function br(e) { +function yr(e) { var t, n; - return e = (e + "").trim().toLowerCase(), (t = Ip.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iu(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xr(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 = zp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Hp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Pp.exec(e)) ? Xr(t[1], t[2], t[3], t[4]) : (t = Bp.exec(e)) ? Xr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Vp.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, 1) : (t = $p.exec(e)) ? cu(t[1], t[2] / 100, t[3] / 100, t[4]) : ou.hasOwnProperty(e) ? iu(ou[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; + return e = (e + "").trim().toLowerCase(), (t = Hp.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? su(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Jr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Jr(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 = Pp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Bp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vp.exec(e)) ? Jr(t[1], t[2], t[3], t[4]) : (t = $p.exec(e)) ? Jr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Wp.exec(e)) ? du(t[1], t[2] / 100, t[3] / 100, 1) : (t = Zp.exec(e)) ? du(t[1], t[2] / 100, t[3] / 100, t[4]) : au.hasOwnProperty(e) ? su(au[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; } -function iu(e) { +function su(e) { return new xt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); } -function Xr(e, t, n, o) { +function Jr(e, t, n, o) { return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); } -function Up(e) { - return e instanceof Nr || (e = br(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); +function Yp(e) { + return e instanceof Dr || (e = yr(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); } -function vs(e, t, n, o) { - return arguments.length === 1 ? Up(e) : new xt(e, t, n, o ?? 1); +function xs(e, t, n, o) { + return arguments.length === 1 ? Yp(e) : new xt(e, t, n, o ?? 1); } function xt(e, t, n, o) { this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; } -_c(xt, vs, f3(Nr, { +Ac(xt, xs, m3(Dr, { brighter(e) { - return e = e == null ? La : Math.pow(La, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? Fa : Math.pow(Fa, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, darker(e) { - return e = e == null ? gr : Math.pow(gr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + return e = e == null ? mr : Math.pow(mr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); }, rgb() { return this; }, clamp() { - return new xt(qn(this.r), qn(this.g), qn(this.b), Fa(this.opacity)); + return new xt(Yn(this.r), Yn(this.g), Yn(this.b), Ra(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: lu, + hex: cu, // Deprecated! Use color.formatHex. - formatHex: lu, - formatHex8: qp, - formatRgb: su, - toString: su + formatHex: cu, + formatHex8: Gp, + formatRgb: uu, + toString: uu })); -function lu() { - return `#${Wn(this.r)}${Wn(this.g)}${Wn(this.b)}`; +function cu() { + return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}`; } -function qp() { - return `#${Wn(this.r)}${Wn(this.g)}${Wn(this.b)}${Wn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; +function Gp() { + return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; } -function su() { - const e = Fa(this.opacity); - return `${e === 1 ? "rgb(" : "rgba("}${qn(this.r)}, ${qn(this.g)}, ${qn(this.b)}${e === 1 ? ")" : `, ${e})`}`; +function uu() { + const e = Ra(this.opacity); + return `${e === 1 ? "rgb(" : "rgba("}${Yn(this.r)}, ${Yn(this.g)}, ${Yn(this.b)}${e === 1 ? ")" : `, ${e})`}`; } -function Fa(e) { +function Ra(e) { return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); } -function qn(e) { +function Yn(e) { return Math.max(0, Math.min(255, Math.round(e) || 0)); } -function Wn(e) { - return e = qn(e), (e < 16 ? "0" : "") + e.toString(16); +function Un(e) { + return e = Yn(e), (e < 16 ? "0" : "") + e.toString(16); } -function cu(e, t, n, o) { +function du(e, t, n, o) { return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Yt(e, t, n, o); } -function h3(e) { +function b3(e) { if (e instanceof Yt) return new Yt(e.h, e.s, e.l, e.opacity); - if (e instanceof Nr || (e = br(e)), !e) return new Yt(); + if (e instanceof Dr || (e = yr(e)), !e) return new Yt(); if (e instanceof Yt) 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 Yt(i, l, s, e.opacity); } -function Yp(e, t, n, o) { - return arguments.length === 1 ? h3(e) : new Yt(e, t, n, o ?? 1); +function Kp(e, t, n, o) { + return arguments.length === 1 ? b3(e) : new Yt(e, t, n, o ?? 1); } function Yt(e, t, n, o) { this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; } -_c(Yt, Yp, f3(Nr, { +Ac(Yt, Kp, m3(Dr, { brighter(e) { - return e = e == null ? La : Math.pow(La, e), new Yt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? Fa : Math.pow(Fa, e), new Yt(this.h, this.s, this.l * e, this.opacity); }, darker(e) { - return e = e == null ? gr : Math.pow(gr, e), new Yt(this.h, this.s, this.l * e, this.opacity); + return e = e == null ? mr : Math.pow(mr, e), new Yt(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; @@ -17757,49 +17757,49 @@ _c(Yt, Yp, f3(Nr, { ); }, clamp() { - return new Yt(uu(this.h), Qr(this.s), Qr(this.l), Fa(this.opacity)); + return new Yt(fu(this.h), ea(this.s), ea(this.l), Ra(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 = Fa(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${uu(this.h)}, ${Qr(this.s) * 100}%, ${Qr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + const e = Ra(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${fu(this.h)}, ${ea(this.s) * 100}%, ${ea(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; } })); -function uu(e) { +function fu(e) { return e = (e || 0) % 360, e < 0 ? e + 360 : e; } -function Qr(e) { +function ea(e) { return Math.max(0, Math.min(1, e || 0)); } function Fl(e, t, n) { return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; } -const p3 = (e) => () => e; -function Gp(e, t) { +const y3 = (e) => () => e; +function Xp(e, t) { return function(n) { return e + n * t; }; } -function Kp(e, t, n) { +function Qp(e, t, n) { return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(o) { return Math.pow(e + o * t, n); }; } -function Xp(e) { - return (e = +e) == 1 ? g3 : function(t, n) { - return n - t ? Kp(t, n, e) : p3(isNaN(t) ? n : t); +function Jp(e) { + return (e = +e) == 1 ? C3 : function(t, n) { + return n - t ? Qp(t, n, e) : y3(isNaN(t) ? n : t); }; } -function g3(e, t) { +function C3(e, t) { var n = t - e; - return n ? Gp(e, n) : p3(isNaN(e) ? t : e); + return n ? Xp(e, n) : y3(isNaN(e) ? t : e); } -const du = function e(t) { - var n = Xp(t); +const hu = function e(t) { + var n = Jp(t); function o(r, a) { - var i = n((r = vs(r)).r, (a = vs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = g3(r.opacity, a.opacity); + var i = n((r = xs(r)).r, (a = xs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = C3(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 + ""; }; @@ -17811,27 +17811,27 @@ function Nn(e, t) { return e * (1 - n) + t * n; }; } -var xs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, jl = new RegExp(xs.source, "g"); -function Qp(e) { +var ws = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Rl = new RegExp(ws.source, "g"); +function eg(e) { return function() { return e; }; } -function Jp(e) { +function tg(e) { return function(t) { return e(t) + ""; }; } -function eg(e, t) { - var n = xs.lastIndex = jl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; - for (e = e + "", t = t + ""; (o = xs.exec(e)) && (r = jl.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 = jl.lastIndex; - return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? Jp(s[0].x) : Qp(t) : (t = s.length, function(u) { +function ng(e, t) { + var n = ws.lastIndex = Rl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; + for (e = e + "", t = t + ""; (o = ws.exec(e)) && (r = Rl.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 = Rl.lastIndex; + return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? tg(s[0].x) : eg(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 fu = 180 / Math.PI, ws = { +var pu = 180 / Math.PI, Es = { translateX: 0, translateY: 0, rotate: 0, @@ -17839,34 +17839,34 @@ var fu = 180 / Math.PI, ws = { scaleX: 1, scaleY: 1 }; -function m3(e, t, n, o, r, a) { +function v3(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) * fu, - skewX: Math.atan(s) * fu, + rotate: Math.atan2(t, e) * pu, + skewX: Math.atan(s) * pu, scaleX: i, scaleY: l }; } -var Jr; -function tg(e) { +var ta; +function og(e) { const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); - return t.isIdentity ? ws : m3(t.a, t.b, t.c, t.d, t.e, t.f); + return t.isIdentity ? Es : v3(t.a, t.b, t.c, t.d, t.e, t.f); } -function ng(e) { - return e == null || (Jr || (Jr = document.createElementNS("http://www.w3.org/2000/svg", "g")), Jr.setAttribute("transform", e), !(e = Jr.transform.baseVal.consolidate())) ? ws : (e = e.matrix, m3(e.a, e.b, e.c, e.d, e.e, e.f)); +function rg(e) { + return e == null || (ta || (ta = document.createElementNS("http://www.w3.org/2000/svg", "g")), ta.setAttribute("transform", e), !(e = ta.transform.baseVal.consolidate())) ? Es : (e = e.matrix, v3(e.a, e.b, e.c, e.d, e.e, e.f)); } -function b3(e, t, n, o) { +function x3(e, t, n, o) { function r(u) { return u.length ? u.pop() + " " : ""; } - function a(u, c, d, p, f, m) { + function a(u, c, d, p, h, m) { if (u !== d || c !== p) { - var b = f.push("translate(", null, t, null, n); + var b = h.push("translate(", null, t, null, n); m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); - } else (d || p) && f.push("translate(" + d + t + p + n); + } else (d || p) && h.push("translate(" + d + t + p + n); } function i(u, c, d, p) { u !== c ? (u - c > 180 ? c += 360 : c - u > 180 && (u += 360), p.push({ i: d.push(r(d) + "rotate(", null, o) - 2, x: Nn(u, c) })) : c && d.push(r(d) + "rotate(" + c + o); @@ -17874,37 +17874,37 @@ function b3(e, t, n, o) { function l(u, c, d, p) { u !== c ? p.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, p, f, m) { + function s(u, c, d, p, h, m) { if (u !== d || c !== p) { - var b = f.push(r(f) + "scale(", null, ",", null, ")"); + var b = h.push(r(h) + "scale(", null, ",", null, ")"); m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); - } else (d !== 1 || p !== 1) && f.push(r(f) + "scale(" + d + "," + p + ")"); + } else (d !== 1 || p !== 1) && h.push(r(h) + "scale(" + d + "," + p + ")"); } return function(u, c) { var d = [], p = []; - return u = e(u), c = e(c), a(u.translateX, u.translateY, c.translateX, c.translateY, d, p), i(u.rotate, c.rotate, d, p), l(u.skewX, c.skewX, d, p), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, p), u = c = null, function(f) { - for (var m = -1, b = p.length, y; ++m < b; ) d[(y = p[m]).i] = y.x(f); + return u = e(u), c = e(c), a(u.translateX, u.translateY, c.translateX, c.translateY, d, p), i(u.rotate, c.rotate, d, p), l(u.skewX, c.skewX, d, p), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, p), u = c = null, function(h) { + for (var m = -1, b = p.length, y; ++m < b; ) d[(y = p[m]).i] = y.x(h); return d.join(""); }; }; } -var og = b3(tg, "px, ", "px)", "deg)"), rg = b3(ng, ", ", ")", ")"), ag = 1e-12; -function hu(e) { +var ag = x3(og, "px, ", "px)", "deg)"), ig = x3(rg, ", ", ")", ")"), lg = 1e-12; +function gu(e) { return ((e = Math.exp(e)) + 1 / e) / 2; } -function ig(e) { +function sg(e) { return ((e = Math.exp(e)) - 1 / e) / 2; } -function lg(e) { +function cg(e) { return ((e = Math.exp(2 * e)) - 1) / (e + 1); } -const sg = function e(t, n, o) { +const ug = 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], p = i[2], f = c - l, m = d - s, b = f * f + m * m, y, g; - if (b < ag) + var l = a[0], s = a[1], u = a[2], c = i[0], d = i[1], p = i[2], h = c - l, m = d - s, b = h * h + m * m, y, g; + if (b < lg) g = Math.log(p / u) / t, y = function(M) { return [ - l + M * f, + l + M * h, s + M * m, u * Math.exp(t * M * g) ]; @@ -17912,11 +17912,11 @@ const sg = function e(t, n, o) { else { var x = Math.sqrt(b), C = (p * p - u * u + o * b) / (2 * u * n * x), S = (p * p - u * u - o * b) / (2 * p * n * x), w = Math.log(Math.sqrt(C * C + 1) - C), E = Math.log(Math.sqrt(S * S + 1) - S); g = (E - w) / t, y = function(M) { - var _ = M * g, L = hu(w), R = u / (n * x) * (L * lg(t * _ + w) - ig(w)); + var _ = M * g, L = gu(w), R = u / (n * x) * (L * cg(t * _ + w) - sg(w)); return [ - l + R * f, + l + R * h, s + R * m, - u * L / hu(t * _ + w) + u * L / gu(t * _ + w) ]; }; } @@ -17927,138 +17927,138 @@ const sg = function e(t, n, o) { return e(i, l, s); }, r; }(Math.SQRT2, 2, 4); -var Mo = 0, Jo = 0, Zo = 0, y3 = 1e3, ja, er, Ra = 0, Jn = 0, oi = 0, yr = typeof performance == "object" && performance.now ? performance : Date, C3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { +var No = 0, er = 0, Uo = 0, w3 = 1e3, Ia, tr, za = 0, to = 0, ai = 0, Cr = typeof performance == "object" && performance.now ? performance : Date, E3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { setTimeout(e, 17); }; -function Ac() { - return Jn || (C3(cg), Jn = yr.now() + oi); +function Mc() { + return to || (E3(dg), to = Cr.now() + ai); } -function cg() { - Jn = 0; +function dg() { + to = 0; } -function Ia() { +function Ha() { this._call = this._time = this._next = null; } -Ia.prototype = v3.prototype = { - constructor: Ia, +Ha.prototype = S3.prototype = { + constructor: Ha, restart: function(e, t, n) { if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? Ac() : +n) + (t == null ? 0 : +t), !this._next && er !== this && (er ? er._next = this : ja = this, er = this), this._call = e, this._time = n, Es(); + n = (n == null ? Mc() : +n) + (t == null ? 0 : +t), !this._next && tr !== this && (tr ? tr._next = this : Ia = this, tr = this), this._call = e, this._time = n, Ss(); }, stop: function() { - this._call && (this._call = null, this._time = 1 / 0, Es()); + this._call && (this._call = null, this._time = 1 / 0, Ss()); } }; -function v3(e, t, n) { - var o = new Ia(); +function S3(e, t, n) { + var o = new Ha(); return o.restart(e, t, n), o; } -function ug() { - Ac(), ++Mo; - for (var e = ja, t; e; ) - (t = Jn - e._time) >= 0 && e._call.call(void 0, t), e = e._next; - --Mo; +function fg() { + Mc(), ++No; + for (var e = Ia, t; e; ) + (t = to - e._time) >= 0 && e._call.call(void 0, t), e = e._next; + --No; } -function pu() { - Jn = (Ra = yr.now()) + oi, Mo = Jo = 0; +function mu() { + to = (za = Cr.now()) + ai, No = er = 0; try { - ug(); + fg(); } finally { - Mo = 0, fg(), Jn = 0; + No = 0, pg(), to = 0; } } -function dg() { - var e = yr.now(), t = e - Ra; - t > y3 && (oi -= t, Ra = e); +function hg() { + var e = Cr.now(), t = e - za; + t > w3 && (ai -= t, za = e); } -function fg() { - for (var e, t = ja, 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 : ja = n); - er = e, Es(o); +function pg() { + for (var e, t = Ia, 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 : Ia = n); + tr = e, Ss(o); } -function Es(e) { - if (!Mo) { - Jo && (Jo = clearTimeout(Jo)); - var t = e - Jn; - t > 24 ? (e < 1 / 0 && (Jo = setTimeout(pu, e - yr.now() - oi)), Zo && (Zo = clearInterval(Zo))) : (Zo || (Ra = yr.now(), Zo = setInterval(dg, y3)), Mo = 1, C3(pu)); +function Ss(e) { + if (!No) { + er && (er = clearTimeout(er)); + var t = e - to; + t > 24 ? (e < 1 / 0 && (er = setTimeout(mu, e - Cr.now() - ai)), Uo && (Uo = clearInterval(Uo))) : (Uo || (za = Cr.now(), Uo = setInterval(hg, w3)), No = 1, E3(mu)); } } -function gu(e, t, n) { - var o = new Ia(); +function bu(e, t, n) { + var o = new Ha(); return t = t == null ? 0 : +t, o.restart((r) => { o.stop(), e(r + t); }, t, n), o; } -var hg = ti("start", "end", "cancel", "interrupt"), pg = [], x3 = 0, mu = 1, Ss = 2, ba = 3, bu = 4, ks = 5, ya = 6; -function ri(e, t, n, o, r, a) { +var gg = oi("start", "end", "cancel", "interrupt"), mg = [], k3 = 0, yu = 1, ks = 2, Ca = 3, Cu = 4, _s = 5, va = 6; +function ii(e, t, n, o, r, a) { var i = e.__transition; if (!i) e.__transition = {}; else if (n in i) return; - gg(e, n, { + bg(e, n, { name: t, index: o, // For context during callback. group: r, // For context during callback. - on: hg, - tween: pg, + on: gg, + tween: mg, time: a.time, delay: a.delay, duration: a.duration, ease: a.ease, timer: null, - state: x3 + state: k3 }); } -function Mc(e, t) { - var n = Qt(e, t); - if (n.state > x3) throw new Error("too late; already scheduled"); +function Tc(e, t) { + var n = Jt(e, t); + if (n.state > k3) throw new Error("too late; already scheduled"); return n; } -function fn(e, t) { - var n = Qt(e, t); - if (n.state > ba) throw new Error("too late; already running"); +function hn(e, t) { + var n = Jt(e, t); + if (n.state > Ca) throw new Error("too late; already running"); return n; } -function Qt(e, t) { +function Jt(e, t) { var n = e.__transition; if (!n || !(n = n[t])) throw new Error("transition not found"); return n; } -function gg(e, t, n) { +function bg(e, t, n) { var o = e.__transition, r; - o[t] = n, n.timer = v3(a, 0, n.time); + o[t] = n, n.timer = S3(a, 0, n.time); function a(u) { - n.state = mu, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); + n.state = yu, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); } function i(u) { - var c, d, p, f; - if (n.state !== mu) return s(); + var c, d, p, h; + if (n.state !== yu) return s(); for (c in o) - if (f = o[c], f.name === n.name) { - if (f.state === ba) return gu(i); - f.state === bu ? (f.state = ya, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = ya, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); + if (h = o[c], h.name === n.name) { + if (h.state === Ca) return bu(i); + h.state === Cu ? (h.state = va, h.timer.stop(), h.on.call("interrupt", e, e.__data__, h.index, h.group), delete o[c]) : +c < t && (h.state = va, h.timer.stop(), h.on.call("cancel", e, e.__data__, h.index, h.group), delete o[c]); } - if (gu(function() { - n.state === ba && (n.state = bu, n.timer.restart(l, n.delay, n.time), l(u)); - }), n.state = Ss, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Ss) { - for (n.state = ba, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) - (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = f); + if (bu(function() { + n.state === Ca && (n.state = Cu, n.timer.restart(l, n.delay, n.time), l(u)); + }), n.state = ks, n.on.call("start", e, e.__data__, n.index, n.group), n.state === ks) { + for (n.state = Ca, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) + (h = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = h); 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 = ks, 1), d = -1, p = r.length; ++d < p; ) + for (var c = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(s), n.state = _s, 1), d = -1, p = r.length; ++d < p; ) r[d].call(e, c); - n.state === ks && (n.on.call("end", e, e.__data__, n.index, n.group), s()); + n.state === _s && (n.on.call("end", e, e.__data__, n.index, n.group), s()); } function s() { - n.state = ya, n.timer.stop(), delete o[t]; + n.state = va, n.timer.stop(), delete o[t]; for (var u in o) return; delete e.__transition; } } -function Ca(e, t) { +function xa(e, t) { var n = e.__transition, o, r, a = !0, i; if (n) { t = t == null ? null : t + ""; @@ -18067,20 +18067,20 @@ function Ca(e, t) { a = !1; continue; } - r = o.state > Ss && o.state < ks, o.state = ya, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; + r = o.state > ks && o.state < _s, o.state = va, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; } a && delete e.__transition; } } -function mg(e) { +function yg(e) { return this.each(function() { - Ca(this, e); + xa(this, e); }); } -function bg(e, t) { +function Cg(e, t) { var n, o; return function() { - var r = fn(this, e), a = r.tween; + var r = hn(this, e), a = r.tween; if (a !== n) { o = n = a; for (var i = 0, l = o.length; i < l; ++i) @@ -18092,11 +18092,11 @@ function bg(e, t) { r.tween = o; }; } -function yg(e, t, n) { +function vg(e, t, n) { var o, r; if (typeof n != "function") throw new Error(); return function() { - var a = fn(this, e), i = a.tween; + var a = hn(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) @@ -18109,318 +18109,318 @@ function yg(e, t, n) { a.tween = r; }; } -function Cg(e, t) { +function xg(e, t) { var n = this._id; if (e += "", arguments.length < 2) { - for (var o = Qt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) + for (var o = Jt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) if ((i = o[r]).name === e) return i.value; return null; } - return this.each((t == null ? bg : yg)(n, e, t)); + return this.each((t == null ? Cg : vg)(n, e, t)); } -function Tc(e, t, n) { +function Oc(e, t, n) { var o = e._id; return e.each(function() { - var r = fn(this, o); + var r = hn(this, o); (r.value || (r.value = {}))[t] = n.apply(this, arguments); }), function(r) { - return Qt(r, o).value[t]; + return Jt(r, o).value[t]; }; } -function w3(e, t) { +function _3(e, t) { var n; - return (typeof t == "number" ? Nn : t instanceof br ? du : (n = br(t)) ? (t = n, du) : eg)(e, t); + return (typeof t == "number" ? Nn : t instanceof yr ? hu : (n = yr(t)) ? (t = n, hu) : ng)(e, t); } -function vg(e) { +function wg(e) { return function() { this.removeAttribute(e); }; } -function xg(e) { +function Eg(e) { return function() { this.removeAttributeNS(e.space, e.local); }; } -function wg(e, t, n) { +function Sg(e, t, n) { var o, r = n + "", a; return function() { var i = this.getAttribute(e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function Eg(e, t, n) { +function kg(e, t, n) { 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); }; } -function Sg(e, t, n) { +function _g(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))); }; } -function kg(e, t, n) { +function Ag(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))); }; } -function _g(e, t) { - var n = ni(e), o = n === "transform" ? rg : w3; - return this.attrTween(e, typeof t == "function" ? (n.local ? kg : Sg)(n, o, Tc(this, "attr." + e, t)) : t == null ? (n.local ? xg : vg)(n) : (n.local ? Eg : wg)(n, o, t)); +function Mg(e, t) { + var n = ri(e), o = n === "transform" ? ig : _3; + return this.attrTween(e, typeof t == "function" ? (n.local ? Ag : _g)(n, o, Oc(this, "attr." + e, t)) : t == null ? (n.local ? Eg : wg)(n) : (n.local ? kg : Sg)(n, o, t)); } -function Ag(e, t) { +function Tg(e, t) { return function(n) { this.setAttribute(e, t.call(this, n)); }; } -function Mg(e, t) { +function Og(e, t) { return function(n) { this.setAttributeNS(e.space, e.local, t.call(this, n)); }; } -function Tg(e, t) { +function Ng(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Mg(e, a)), n; + return a !== o && (n = (o = a) && Og(e, a)), n; } return r._value = t, r; } -function Og(e, t) { +function Dg(e, t) { var n, o; function r() { var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Ag(e, a)), n; + return a !== o && (n = (o = a) && Tg(e, a)), n; } return r._value = t, r; } -function Ng(e, t) { +function Lg(e, t) { var n = "attr." + e; if (arguments.length < 2) return (n = this.tween(n)) && n._value; if (t == null) return this.tween(n, null); if (typeof t != "function") throw new Error(); - var o = ni(e); - return this.tween(n, (o.local ? Tg : Og)(o, t)); + var o = ri(e); + return this.tween(n, (o.local ? Ng : Dg)(o, t)); } -function Dg(e, t) { +function jg(e, t) { return function() { - Mc(this, e).delay = +t.apply(this, arguments); + Tc(this, e).delay = +t.apply(this, arguments); }; } -function Lg(e, t) { +function Fg(e, t) { return t = +t, function() { - Mc(this, e).delay = t; + Tc(this, e).delay = t; }; } -function Fg(e) { +function Rg(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Dg : Lg)(t, e)) : Qt(this.node(), t).delay; + return arguments.length ? this.each((typeof e == "function" ? jg : Fg)(t, e)) : Jt(this.node(), t).delay; } -function jg(e, t) { +function Ig(e, t) { return function() { - fn(this, e).duration = +t.apply(this, arguments); + hn(this, e).duration = +t.apply(this, arguments); }; } -function Rg(e, t) { +function zg(e, t) { return t = +t, function() { - fn(this, e).duration = t; + hn(this, e).duration = t; }; } -function Ig(e) { +function Hg(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? jg : Rg)(t, e)) : Qt(this.node(), t).duration; + return arguments.length ? this.each((typeof e == "function" ? Ig : zg)(t, e)) : Jt(this.node(), t).duration; } -function zg(e, t) { +function Pg(e, t) { if (typeof t != "function") throw new Error(); return function() { - fn(this, e).ease = t; + hn(this, e).ease = t; }; } -function Hg(e) { +function Bg(e) { var t = this._id; - return arguments.length ? this.each(zg(t, e)) : Qt(this.node(), t).ease; + return arguments.length ? this.each(Pg(t, e)) : Jt(this.node(), t).ease; } -function Pg(e, t) { +function Vg(e, t) { return function() { var n = t.apply(this, arguments); if (typeof n != "function") throw new Error(); - fn(this, e).ease = n; + hn(this, e).ease = n; }; } -function Bg(e) { +function $g(e) { if (typeof e != "function") throw new Error(); - return this.each(Pg(this._id, e)); + return this.each(Vg(this._id, e)); } -function Vg(e) { - typeof e != "function" && (e = e3(e)); +function Wg(e) { + typeof e != "function" && (e = r3(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 wn(o, this._parents, this._name, this._id); } -function $g(e) { +function Zg(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), p, f = 0; f < c; ++f) - (p = s[f] || u[f]) && (d[f] = p); + for (var s = t[l], u = n[l], c = s.length, d = i[l] = new Array(c), p, h = 0; h < c; ++h) + (p = s[h] || u[h]) && (d[h] = p); for (; l < o; ++l) i[l] = t[l]; return new wn(i, this._parents, this._name, this._id); } -function Wg(e) { +function Ug(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 Zg(e, t, n) { - var o, r, a = Wg(t) ? Mc : fn; +function qg(e, t, n) { + var o, r, a = Ug(t) ? Tc : hn; return function() { var i = a(this, e), l = i.on; l !== o && (r = (o = l).copy()).on(t, n), i.on = r; }; } -function Ug(e, t) { +function Yg(e, t) { var n = this._id; - return arguments.length < 2 ? Qt(this.node(), n).on.on(e) : this.each(Zg(n, e, t)); + return arguments.length < 2 ? Jt(this.node(), n).on.on(e) : this.each(qg(n, e, t)); } -function qg(e) { +function Gg(e) { return function() { var t = this.parentNode; for (var n in this.__transition) if (+n !== e) return; t && t.removeChild(this); }; } -function Yg() { - return this.on("end.remove", qg(this._id)); +function Kg() { + return this.on("end.remove", Gg(this._id)); } -function Gg(e) { +function Xg(e) { var t = this._name, n = this._id; - typeof e != "function" && (e = Sc(e)); + typeof e != "function" && (e = kc(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, p = 0; p < s; ++p) - (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ri(u[p], t, n, p, u, Qt(c, n))); + (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ii(u[p], t, n, p, u, Jt(c, n))); return new wn(a, this._parents, t, n); } -function Kg(e) { +function Qg(e) { var t = this._name, n = this._id; - typeof e != "function" && (e = Jd(e)); + typeof e != "function" && (e = o3(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 p = e.call(c, c.__data__, d, s), f, m = Qt(c, n), b = 0, y = p.length; b < y; ++b) - (f = p[b]) && ri(f, t, n, b, p, m); + for (var p = e.call(c, c.__data__, d, s), h, m = Jt(c, n), b = 0, y = p.length; b < y; ++b) + (h = p[b]) && ii(h, t, n, b, p, m); a.push(p), i.push(c); } return new wn(a, i, t, n); } -var Xg = Or.prototype.constructor; -function Qg() { - return new Xg(this._groups, this._parents); +var Jg = Nr.prototype.constructor; +function em() { + return new Jg(this._groups, this._parents); } -function Jg(e, t) { +function tm(e, t) { var n, o, r; return function() { - var a = Ao(this, e), i = (this.style.removeProperty(e), Ao(this, e)); + var a = Oo(this, e), i = (this.style.removeProperty(e), Oo(this, e)); return a === i ? null : a === n && i === o ? r : r = t(n = a, o = i); }; } -function E3(e) { +function A3(e) { return function() { this.style.removeProperty(e); }; } -function em(e, t, n) { +function nm(e, t, n) { var o, r = n + "", a; return function() { - var i = Ao(this, e); + var i = Oo(this, e); return i === r ? null : i === o ? a : a = t(o = i, n); }; } -function tm(e, t, n) { +function om(e, t, n) { var o, r, a; return function() { - var i = Ao(this, e), l = n(this), s = l + ""; - return l == null && (s = l = (this.style.removeProperty(e), Ao(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); + var i = Oo(this, e), l = n(this), s = l + ""; + return l == null && (s = l = (this.style.removeProperty(e), Oo(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); }; } -function nm(e, t) { +function rm(e, t) { var n, o, r, a = "style." + t, i = "end." + a, l; return function() { - var s = fn(this, e), u = s.on, c = s.value[a] == null ? l || (l = E3(t)) : void 0; + var s = hn(this, e), u = s.on, c = s.value[a] == null ? l || (l = A3(t)) : void 0; (u !== n || r !== c) && (o = (n = u).copy()).on(i, r = c), s.on = o; }; } -function om(e, t, n) { - var o = (e += "") == "transform" ? og : w3; - return t == null ? this.styleTween(e, Jg(e, o)).on("end.style." + e, E3(e)) : typeof t == "function" ? this.styleTween(e, tm(e, o, Tc(this, "style." + e, t))).each(nm(this._id, e)) : this.styleTween(e, em(e, o, t), n).on("end.style." + e, null); +function am(e, t, n) { + var o = (e += "") == "transform" ? ag : _3; + return t == null ? this.styleTween(e, tm(e, o)).on("end.style." + e, A3(e)) : typeof t == "function" ? this.styleTween(e, om(e, o, Oc(this, "style." + e, t))).each(rm(this._id, e)) : this.styleTween(e, nm(e, o, t), n).on("end.style." + e, null); } -function rm(e, t, n) { +function im(e, t, n) { return function(o) { this.style.setProperty(e, t.call(this, o), n); }; } -function am(e, t, n) { +function lm(e, t, n) { var o, r; function a() { var i = t.apply(this, arguments); - return i !== r && (o = (r = i) && rm(e, i, n)), o; + return i !== r && (o = (r = i) && im(e, i, n)), o; } return a._value = t, a; } -function im(e, t, n) { +function sm(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, am(e, t, n ?? "")); + return this.tween(o, lm(e, t, n ?? "")); } -function lm(e) { +function cm(e) { return function() { this.textContent = e; }; } -function sm(e) { +function um(e) { return function() { var t = e(this); this.textContent = t ?? ""; }; } -function cm(e) { - return this.tween("text", typeof e == "function" ? sm(Tc(this, "text", e)) : lm(e == null ? "" : e + "")); +function dm(e) { + return this.tween("text", typeof e == "function" ? um(Oc(this, "text", e)) : cm(e == null ? "" : e + "")); } -function um(e) { +function fm(e) { return function(t) { this.textContent = e.call(this, t); }; } -function dm(e) { +function hm(e) { var t, n; function o() { var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && um(r)), t; + return r !== n && (t = (n = r) && fm(r)), t; } return o._value = e, o; } -function fm(e) { +function pm(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, dm(e)); + return this.tween(t, hm(e)); } -function hm() { - for (var e = this._name, t = this._id, n = S3(), o = this._groups, r = o.length, a = 0; a < r; ++a) +function gm() { + for (var e = this._name, t = this._id, n = M3(), 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 = Qt(s, t); - ri(s, e, n, u, i, { + var c = Jt(s, t); + ii(s, e, n, u, i, { time: c.time + c.delay + c.duration, delay: 0, duration: c.duration, @@ -18429,86 +18429,86 @@ function hm() { } return new wn(o, this._parents, e, n); } -function pm() { +function mm() { 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 = fn(this, o), c = u.on; + var u = hn(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 gm = 0; +var bm = 0; function wn(e, t, n, o) { this._groups = e, this._parents = t, this._name = n, this._id = o; } -function S3() { - return ++gm; +function M3() { + return ++bm; } -var gn = Or.prototype; +var mn = Nr.prototype; wn.prototype = { constructor: wn, - select: Gg, - selectAll: Kg, - selectChild: gn.selectChild, - selectChildren: gn.selectChildren, - filter: Vg, - merge: $g, - selection: Qg, - transition: hm, - call: gn.call, - nodes: gn.nodes, - node: gn.node, - size: gn.size, - empty: gn.empty, - each: gn.each, - on: Ug, - attr: _g, - attrTween: Ng, - style: om, - styleTween: im, - text: cm, - textTween: fm, - remove: Yg, - tween: Cg, - delay: Fg, - duration: Ig, - ease: Hg, - easeVarying: Bg, - end: pm, - [Symbol.iterator]: gn[Symbol.iterator] + select: Xg, + selectAll: Qg, + selectChild: mn.selectChild, + selectChildren: mn.selectChildren, + filter: Wg, + merge: Zg, + selection: em, + transition: gm, + call: mn.call, + nodes: mn.nodes, + node: mn.node, + size: mn.size, + empty: mn.empty, + each: mn.each, + on: Yg, + attr: Mg, + attrTween: Lg, + style: am, + styleTween: sm, + text: dm, + textTween: pm, + remove: Kg, + tween: xg, + delay: Rg, + duration: Hg, + ease: Bg, + easeVarying: $g, + end: mm, + [Symbol.iterator]: mn[Symbol.iterator] }; -function mm(e) { +function ym(e) { return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; } -var bm = { +var Cm = { time: null, // Set on use. delay: 0, duration: 250, - ease: mm + ease: ym }; -function ym(e, t) { +function vm(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 Cm(e) { +function xm(e) { var t, n; - e instanceof wn ? (t = e._id, e = e._name) : (t = S3(), (n = bm).time = Ac(), e = e == null ? null : e + ""); + e instanceof wn ? (t = e._id, e = e._name) : (t = M3(), (n = Cm).time = Mc(), 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]) && ri(s, e, t, u, i, n || ym(s, t)); + (s = i[u]) && ii(s, e, t, u, i, n || vm(s, t)); return new wn(o, this._parents, e, t); } -Or.prototype.interrupt = mg; -Or.prototype.transition = Cm; -const ea = (e) => () => e; -function vm(e, { +Nr.prototype.interrupt = yg; +Nr.prototype.transition = xm; +const na = (e) => () => e; +function wm(e, { sourceEvent: t, target: n, transform: o, @@ -18522,16 +18522,16 @@ function vm(e, { _: { value: r } }); } -function bn(e, t, n) { +function yn(e, t, n) { this.k = e, this.x = t, this.y = n; } -bn.prototype = { - constructor: bn, +yn.prototype = { + constructor: yn, scale: function(e) { - return e === 1 ? this : new bn(this.k * e, this.x, this.y); + return e === 1 ? this : new yn(this.k * e, this.x, this.y); }, translate: function(e, t) { - return e === 0 & t === 0 ? this : new bn(this.k, this.x + this.k * e, this.y + this.k * t); + return e === 0 & t === 0 ? this : new yn(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]; @@ -18561,56 +18561,56 @@ bn.prototype = { return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; } }; -var Fn = new bn(1, 0, 0); -bn.prototype; -function Rl(e) { +var Fn = new yn(1, 0, 0); +yn.prototype; +function Il(e) { e.stopImmediatePropagation(); } -function Uo(e) { +function qo(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function xm(e) { +function Em(e) { return (!e.ctrlKey || e.type === "wheel") && !e.button; } -function wm() { +function Sm() { 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 yu() { +function vu() { return this.__zoom || Fn; } -function Em(e) { +function km(e) { return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); } -function Sm() { +function _m() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function km(e, t, n) { +function Am(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 _m() { - var e = xm, t = wm, n = km, o = Em, r = Sm, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = sg, u = ti("start", "zoom", "end"), c, d, p, f = 500, m = 150, b = 0, y = 10; +function Mm() { + var e = Em, t = Sm, n = Am, o = km, r = _m, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = ug, u = oi("start", "zoom", "end"), c, d, p, h = 500, m = 150, b = 0, y = 10; function g(k) { - k.property("__zoom", yu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", R).filter(r).on("touchstart.zoom", F).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + k.property("__zoom", vu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", R).filter(r).on("touchstart.zoom", j).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } g.transform = function(k, N, T, D) { var I = k.selection ? k.selection() : k; - I.property("__zoom", yu), k !== I ? w(k, N, T, D) : I.interrupt().each(function() { + I.property("__zoom", vu), k !== I ? w(k, N, T, D) : I.interrupt().each(function() { E(this, arguments).event(D).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end(); }); }, g.scaleBy = function(k, N, T, D) { g.scaleTo(k, function() { - var I = this.__zoom.k, j = typeof N == "function" ? N.apply(this, arguments) : N; - return I * j; + var I = this.__zoom.k, F = typeof N == "function" ? N.apply(this, arguments) : N; + return I * F; }, T, D); }, g.scaleTo = function(k, N, T, D) { g.transform(k, function() { - var I = t.apply(this, arguments), j = this.__zoom, v = T == null ? S(I) : typeof T == "function" ? T.apply(this, arguments) : T, z = j.invert(v), B = typeof N == "function" ? N.apply(this, arguments) : N; - return n(C(x(j, B), v, z), I, i); + var I = t.apply(this, arguments), F = this.__zoom, v = T == null ? S(I) : typeof T == "function" ? T.apply(this, arguments) : T, z = F.invert(v), B = typeof N == "function" ? N.apply(this, arguments) : N; + return n(C(x(F, B), v, z), I, i); }, T, D); }, g.translateBy = function(k, N, T, D) { g.transform(k, function() { @@ -18621,19 +18621,19 @@ function _m() { }, null, D); }, g.translateTo = function(k, N, T, D, I) { g.transform(k, function() { - var j = t.apply(this, arguments), v = this.__zoom, z = D == null ? S(j) : typeof D == "function" ? D.apply(this, arguments) : D; + var F = t.apply(this, arguments), v = this.__zoom, z = D == null ? S(F) : typeof D == "function" ? D.apply(this, arguments) : D; return n(Fn.translate(z[0], z[1]).scale(v.k).translate( typeof N == "function" ? -N.apply(this, arguments) : -N, typeof T == "function" ? -T.apply(this, arguments) : -T - ), j, i); + ), F, i); }, D, I); }; function x(k, N) { - return N = Math.max(a[0], Math.min(a[1], N)), N === k.k ? k : new bn(N, k.x, k.y); + return N = Math.max(a[0], Math.min(a[1], N)), N === k.k ? k : new yn(N, k.x, k.y); } function C(k, N, T) { var D = N[0] - T[0] * k.k, I = N[1] - T[1] * k.k; - return D === k.x && I === k.y ? k : new bn(k.k, D, I); + return D === k.x && I === k.y ? k : new yn(k.k, D, I); } function S(k) { return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; @@ -18644,12 +18644,12 @@ function _m() { }).on("interrupt.zoom end.zoom", function() { E(this, arguments).event(D).end(); }).tween("zoom", function() { - var I = this, j = arguments, v = E(I, j).event(D), z = t.apply(I, j), B = T == null ? S(z) : typeof T == "function" ? T.apply(I, j) : T, A = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, Y = typeof N == "function" ? N.apply(I, j) : N, K = s(W.invert(B).concat(A / W.k), Y.invert(B).concat(A / Y.k)); + var I = this, F = arguments, v = E(I, F).event(D), z = t.apply(I, F), B = T == null ? S(z) : typeof T == "function" ? T.apply(I, F) : T, A = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, Y = typeof N == "function" ? N.apply(I, F) : N, K = s(W.invert(B).concat(A / W.k), Y.invert(B).concat(A / Y.k)); return function(Q) { if (Q === 1) Q = Y; else { var ne = K(Q), oe = A / ne[2]; - Q = new bn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); + Q = new yn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); } v.zoom(null, Q); }; @@ -18679,7 +18679,7 @@ function _m() { u.call( k, this.that, - new vm(k, { + new wm(k, { sourceEvent: this.sourceEvent, target: g, type: k, @@ -18692,54 +18692,54 @@ function _m() { }; function _(k, ...N) { if (!e.apply(this, arguments)) return; - var T = E(this, N).event(k), D = this.__zoom, I = Math.max(a[0], Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments)))), j = rn(k); + var T = E(this, N).event(k), D = this.__zoom, I = Math.max(a[0], Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments)))), F = an(k); if (T.wheel) - (T.mouse[0][0] !== j[0] || T.mouse[0][1] !== j[1]) && (T.mouse[1] = D.invert(T.mouse[0] = j)), clearTimeout(T.wheel); + (T.mouse[0][0] !== F[0] || T.mouse[0][1] !== F[1]) && (T.mouse[1] = D.invert(T.mouse[0] = F)), clearTimeout(T.wheel); else { if (D.k === I) return; - T.mouse = [j, D.invert(j)], Ca(this), T.start(); + T.mouse = [F, D.invert(F)], xa(this), T.start(); } - Uo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); + qo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); function v() { T.wheel = null, T.end(); } } function L(k, ...N) { if (p || !e.apply(this, arguments)) return; - var T = k.currentTarget, D = E(this, N, !0).event(k), I = qt(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), j = rn(k, T), v = k.clientX, z = k.clientY; - u3(k.view), Rl(k), D.mouse = [j, this.__zoom.invert(j)], Ca(this), D.start(); + var T = k.currentTarget, D = E(this, N, !0).event(k), I = qt(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), F = an(k, T), v = k.clientX, z = k.clientY; + p3(k.view), Il(k), D.mouse = [F, this.__zoom.invert(F)], xa(this), D.start(); function B(W) { - if (Uo(W), !D.moved) { + if (qo(W), !D.moved) { var Y = W.clientX - v, K = W.clientY - z; D.moved = Y * Y + K * K > b; } - D.event(W).zoom("mouse", n(C(D.that.__zoom, D.mouse[0] = rn(W, T), D.mouse[1]), D.extent, i)); + D.event(W).zoom("mouse", n(C(D.that.__zoom, D.mouse[0] = an(W, T), D.mouse[1]), D.extent, i)); } function A(W) { - I.on("mousemove.zoom mouseup.zoom", null), d3(W.view, D.moved), Uo(W), D.event(W).end(); + I.on("mousemove.zoom mouseup.zoom", null), g3(W.view, D.moved), qo(W), D.event(W).end(); } } function R(k, ...N) { if (e.apply(this, arguments)) { - var T = this.__zoom, D = rn(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(D), j = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, j), D, I), t.apply(this, N), i); - Uo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); + var T = this.__zoom, D = an(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(D), F = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, F), D, I), t.apply(this, N), i); + qo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); } } - function F(k, ...N) { + function j(k, ...N) { if (e.apply(this, arguments)) { - var T = k.touches, D = T.length, I = E(this, N, k.changedTouches.length === D).event(k), j, v, z, B; - for (Rl(k), v = 0; v < D; ++v) - z = T[v], B = rn(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, j = !0, I.taps = 1 + !!c); - c && (c = clearTimeout(c)), j && (I.taps < 2 && (d = B[0], c = setTimeout(function() { + var T = k.touches, D = T.length, I = E(this, N, k.changedTouches.length === D).event(k), F, v, z, B; + for (Il(k), v = 0; v < D; ++v) + z = T[v], B = an(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, F = !0, I.taps = 1 + !!c); + c && (c = clearTimeout(c)), F && (I.taps < 2 && (d = B[0], c = setTimeout(function() { c = null; - }, f)), Ca(this), I.start()); + }, h)), xa(this), I.start()); } } function P(k, ...N) { if (this.__zooming) { - var T = E(this, N).event(k), D = k.changedTouches, I = D.length, j, v, z, B; - for (Uo(k), j = 0; j < I; ++j) - v = D[j], z = rn(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); + var T = E(this, N).event(k), D = k.changedTouches, I = D.length, F, v, z, B; + for (qo(k), F = 0; F < I; ++F) + v = D[F], z = an(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); if (v = T.that.__zoom, T.touch1) { var A = T.touch0[0], W = T.touch0[1], Y = T.touch1[0], K = T.touch1[1], Q = (Q = Y[0] - A[0]) * Q + (Q = Y[1] - A[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; v = x(v, Math.sqrt(Q / ne)), z = [(A[0] + Y[0]) / 2, (A[1] + Y[1]) / 2], B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]; @@ -18750,26 +18750,26 @@ function _m() { } function V(k, ...N) { if (this.__zooming) { - var T = E(this, N).event(k), D = k.changedTouches, I = D.length, j, v; - for (Rl(k), p && clearTimeout(p), p = setTimeout(function() { + var T = E(this, N).event(k), D = k.changedTouches, I = D.length, F, v; + for (Il(k), p && clearTimeout(p), p = setTimeout(function() { p = null; - }, f), j = 0; j < I; ++j) - v = D[j], T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; + }, h), F = 0; F < I; ++F) + v = D[F], T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; if (T.touch1 && !T.touch0 && (T.touch0 = T.touch1, delete T.touch1), T.touch0) T.touch0[1] = this.__zoom.invert(T.touch0[0]); - else if (T.end(), T.taps === 2 && (v = rn(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { + else if (T.end(), T.taps === 2 && (v = an(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { var z = qt(this).on("dblclick.zoom"); z && z.apply(this, arguments); } } } return g.wheelDelta = function(k) { - return arguments.length ? (o = typeof k == "function" ? k : ea(+k), g) : o; + return arguments.length ? (o = typeof k == "function" ? k : na(+k), g) : o; }, g.filter = function(k) { - return arguments.length ? (e = typeof k == "function" ? k : ea(!!k), g) : e; + return arguments.length ? (e = typeof k == "function" ? k : na(!!k), g) : e; }, g.touchable = function(k) { - return arguments.length ? (r = typeof k == "function" ? k : ea(!!k), g) : r; + return arguments.length ? (r = typeof k == "function" ? k : na(!!k), g) : r; }, g.extent = function(k) { - return arguments.length ? (t = typeof k == "function" ? k : ea([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; + return arguments.length ? (t = typeof k == "function" ? k : na([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; }, g.scaleExtent = function(k) { return arguments.length ? (a[0] = +k[0], a[1] = +k[1], g) : [a[0], a[1]]; }, g.translateExtent = function(k) { @@ -18789,7 +18789,7 @@ function _m() { return arguments.length ? (y = +k, g) : y; }, g; } -const ai = Ht(null), Am = ai.Provider, Xt = { +const li = Ht(null), Tm = li.Provider, Qt = { 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".`, @@ -18802,41 +18802,41 @@ const ai = Ht(null), Am = ai.Provider, Xt = { 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.` -}, k3 = Xt.error001(); -function Ze(e, t) { - const n = et(ai); +}, T3 = Qt.error001(); +function Ue(e, t) { + const n = tt(li); if (n === null) - throw new Error(k3); - return Xd(n, e, t); + throw new Error(T3); + return t3(n, e, t); } const rt = () => { - const e = et(ai); + const e = tt(li); if (e === null) - throw new Error(k3); - return Be(() => ({ + throw new Error(T3); + return Ve(() => ({ getState: e.getState, setState: e.setState, subscribe: e.subscribe, destroy: e.destroy }), [e]); -}, Mm = (e) => e.userSelectionActive ? "none" : "all"; -function _3({ position: e, children: t, className: n, style: o, ...r }) { - const a = Ze(Mm), i = `${e}`.split("-"); +}, Om = (e) => e.userSelectionActive ? "none" : "all"; +function O3({ position: e, children: t, className: n, style: o, ...r }) { + const a = Ue(Om), i = `${e}`.split("-"); return $.createElement("div", { className: bt(["react-flow__panel", n, ...i]), style: { ...o, pointerEvents: a }, ...r }, t); } -function Tm({ proOptions: e, position: t = "bottom-right" }) { +function Nm({ proOptions: e, position: t = "bottom-right" }) { return e != null && e.hideAttribution ? null : $.createElement( - _3, + O3, { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" }, $.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") ); } -const Om = ({ 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 = he(null), [p, f] = ce({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); +const Dm = ({ 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 = he(null), [p, h] = ce({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); return ue(() => { if (d.current) { const b = d.current.getBBox(); - f({ + h({ x: b.x, y: b.y, width: b.width, @@ -18851,122 +18851,122 @@ const Om = ({ x: e, y: t, label: n, labelStyle: o = {}, labelShowBg: r = !0, lab s ); }; -var Nm = Ye(Om); -const Oc = (e) => ({ +var Lm = Ge(Dm); +const Nc = (e) => ({ width: e.offsetWidth, height: e.offsetHeight -}), To = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Nc = (e = { x: 0, y: 0 }, t) => ({ - x: To(e.x, t[0][0], t[1][0]), - y: To(e.y, t[0][1], t[1][1]) -}), Cu = (e, t, n) => e < t ? To(Math.abs(e - t), 1, 50) / 50 : e > n ? -To(Math.abs(e - n), 1, 50) / 50 : 0, A3 = (e, t) => { - const n = Cu(e.x, 35, t.width - 35) * 20, o = Cu(e.y, 35, t.height - 35) * 20; +}), Do = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Dc = (e = { x: 0, y: 0 }, t) => ({ + x: Do(e.x, t[0][0], t[1][0]), + y: Do(e.y, t[0][1], t[1][1]) +}), xu = (e, t, n) => e < t ? Do(Math.abs(e - t), 1, 50) / 50 : e > n ? -Do(Math.abs(e - n), 1, 50) / 50 : 0, N3 = (e, t) => { + const n = xu(e.x, 35, t.width - 35) * 20, o = xu(e.y, 35, t.height - 35) * 20; return [n, o]; -}, M3 = (e) => { +}, D3 = (e) => { var t; return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, Dm = (e, t) => ({ +}, jm = (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) -}), Dc = ({ x: e, y: t, width: n, height: o }) => ({ +}), Lc = ({ x: e, y: t, width: n, height: o }) => ({ x: e, y: t, x2: e + n, y2: t + o -}), Lm = ({ x: e, y: t, x2: n, y2: o }) => ({ +}), Fm = ({ x: e, y: t, x2: n, y2: o }) => ({ x: e, y: t, width: n - e, height: o - t -}), vu = (e) => ({ +}), wu = (e) => ({ ...e.positionAbsolute || { x: 0, y: 0 }, width: e.width || 0, height: e.height || 0 -}), _s = (e, t) => { +}), As = (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); -}, Fm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), T3 = ["Enter", " ", "Escape"], O3 = (e, t) => { +}, Rm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), Ye = Symbol.for("internals"), L3 = ["Enter", " ", "Escape"], j3 = (e, t) => { process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, jm = (e) => "nativeEvent" in e; -function As(e) { +}, Im = (e) => "nativeEvent" in e; +function Ms(e) { var r, a; - const t = jm(e) ? e.nativeEvent : e, n = ((a = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : a[0]) || e.target; + const t = Im(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")); } -const N3 = (e) => "clientX" in e, jn = (e, t) => { +const F3 = (e) => "clientX" in e, Rn = (e, t) => { var a, i; - const n = N3(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; + const n = F3(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) }; -}, za = () => { +}, Pa = () => { 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: p, interactionWidth: f = 20 }) => $.createElement( +}, zo = ({ 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: p, interactionWidth: h = 20 }) => $.createElement( $.Fragment, null, $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: p }), - f && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: f, className: "react-flow__edge-interaction" }), - r && Rt(n) && Rt(o) ? $.createElement(Nm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null + h && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: h, className: "react-flow__edge-interaction" }), + r && Rt(n) && Rt(o) ? $.createElement(Lm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null ); -Io.displayName = "BaseEdge"; -function qo(e, t, n) { +zo.displayName = "BaseEdge"; +function Yo(e, t, n) { return n === void 0 ? n : (o) => { const r = t().edges.find((a) => a.id === e); r && n(o, { ...r }); }; } -function D3({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { +function R3({ 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 L3({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourceControlX: r, sourceControlY: a, targetControlX: i, targetControlY: l }) { +function I3({ 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]; } -var eo; +var no; (function(e) { e.Strict = "strict", e.Loose = "loose"; -})(eo || (eo = {})); -var Zn; +})(no || (no = {})); +var qn; (function(e) { e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})(Zn || (Zn = {})); -var Cr; +})(qn || (qn = {})); +var vr; (function(e) { e.Partial = "partial", e.Full = "full"; -})(Cr || (Cr = {})); +})(vr || (vr = {})); var Ln; (function(e) { e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; })(Ln || (Ln = {})); -var Ha; +var Ba; (function(e) { e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Ha || (Ha = {})); +})(Ba || (Ba = {})); var ie; (function(e) { e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; })(ie || (ie = {})); -function xu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { +function Eu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { return e === ie.Left || e === ie.Right ? [0.5 * (t + o), n] : [t, 0.5 * (n + r)]; } -function F3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top }) { - const [i, l] = xu({ +function z3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top }) { + const [i, l] = Eu({ pos: n, x1: e, y1: t, x2: o, y2: r - }), [s, u] = xu({ + }), [s, u] = Eu({ pos: a, x1: o, y1: r, x2: e, y2: t - }), [c, d, p, f] = L3({ + }), [c, d, p, h] = I3({ sourceX: e, sourceY: t, targetX: o, @@ -18981,11 +18981,11 @@ function F3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, c, d, p, - f + h ]; } -const Lc = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }) => { - const [y, g, x] = F3({ +const jc = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: b }) => { + const [y, g, x] = z3({ sourceX: e, sourceY: t, sourcePosition: r, @@ -18993,23 +18993,23 @@ const Lc = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetY: o, targetPosition: a }); - return $.createElement(Io, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: b }); + return $.createElement(zo, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: b }); }); -Lc.displayName = "SimpleBezierEdge"; -const wu = { +jc.displayName = "SimpleBezierEdge"; +const Su = { [ie.Left]: { x: -1, y: 0 }, [ie.Right]: { x: 1, y: 0 }, [ie.Top]: { x: 0, y: -1 }, [ie.Bottom]: { x: 0, y: 1 } -}, Rm = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, Eu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function Im({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { - const i = wu[t], l = wu[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 = Rm({ +}, zm = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, ku = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function Hm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { + const i = Su[t], l = Su[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 = zm({ source: s, sourcePosition: t, target: u }), d = c.x !== 0 ? "x" : "y", p = c[d]; - let f = [], m, b; - const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, S, w] = D3({ + let h = [], m, b; + const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, S, w] = R3({ sourceX: e.x, sourceY: e.y, targetX: n.x, @@ -19024,10 +19024,10 @@ function Im({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPositio { x: s.x, y: b }, { x: u.x, y: b } ]; - i[d] === p ? f = d === "x" ? M : _ : f = d === "x" ? _ : M; + i[d] === p ? h = d === "x" ? M : _ : h = d === "x" ? _ : M; } else { const M = [{ x: s.x, y: u.y }], _ = [{ x: u.x, y: s.y }]; - if (d === "x" ? f = i.x === p ? _ : M : f = i.y === p ? M : _, t === o) { + if (d === "x" ? h = i.x === p ? _ : M : h = i.y === p ? M : _, t === o) { const V = Math.abs(e[d] - n[d]); if (V <= a) { const k = Math.min(a - 1, a - V); @@ -19036,21 +19036,21 @@ function Im({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPositio } if (t !== o) { const V = d === "x" ? "y" : "x", k = i[d] === l[V], N = s[V] > u[V], T = s[V] < u[V]; - (i[d] === 1 && (!k && N || k && T) || i[d] !== 1 && (!k && T || k && N)) && (f = d === "x" ? M : _); + (i[d] === 1 && (!k && N || k && T) || i[d] !== 1 && (!k && T || k && N)) && (h = d === "x" ? M : _); } - const L = { x: s.x + y.x, y: s.y + y.y }, R = { x: u.x + g.x, y: u.y + g.y }, F = Math.max(Math.abs(L.x - f[0].x), Math.abs(R.x - f[0].x)), P = Math.max(Math.abs(L.y - f[0].y), Math.abs(R.y - f[0].y)); - F >= P ? (m = (L.x + R.x) / 2, b = f[0].y) : (m = f[0].x, b = (L.y + R.y) / 2); + const L = { x: s.x + y.x, y: s.y + y.y }, R = { x: u.x + g.x, y: u.y + g.y }, j = Math.max(Math.abs(L.x - h[0].x), Math.abs(R.x - h[0].x)), P = Math.max(Math.abs(L.y - h[0].y), Math.abs(R.y - h[0].y)); + j >= P ? (m = (L.x + R.x) / 2, b = h[0].y) : (m = h[0].x, b = (L.y + R.y) / 2); } return [[ e, { x: s.x + y.x, y: s.y + y.y }, - ...f, + ...h, { x: u.x + g.x, y: u.y + g.y }, n ], m, b, S, w]; } -function zm(e, t, n, o) { - const r = Math.min(Eu(e, t) / 2, Eu(t, n) / 2, o), { x: a, y: i } = t; +function Pm(e, t, n, o) { + const r = Math.min(ku(e, t) / 2, ku(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) { @@ -19060,8 +19060,8 @@ function zm(e, t, n, o) { 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 Ms({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, p, f, m] = Im({ +function Ts({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { + const [c, d, p, h, m] = Hm({ source: { x: e, y: t }, sourcePosition: n, target: { x: o, y: r }, @@ -19071,11 +19071,11 @@ function Ms({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, }); return [c.reduce((y, g, x) => { let C = ""; - return x > 0 && x < c.length - 1 ? C = zm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; - }, ""), d, p, f, m]; + return x > 0 && x < c.length - 1 ? C = Pm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; + }, ""), d, p, h, m]; } -const ii = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = Ms({ +const si = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: h, markerStart: m, pathOptions: b, interactionWidth: y }) => { + const [g, x, C] = Ts({ sourceX: e, sourceY: t, sourcePosition: d, @@ -19085,19 +19085,19 @@ const ii = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, label borderRadius: b == null ? void 0 : b.borderRadius, offset: b == null ? void 0 : b.offset }); - return $.createElement(Io, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(zo, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: h, markerStart: m, interactionWidth: y }); }); -ii.displayName = "SmoothStepEdge"; -const Fc = Ye((e) => { +si.displayName = "SmoothStepEdge"; +const Fc = Ge((e) => { var t; - return $.createElement(ii, { ...e, pathOptions: Be(() => { + return $.createElement(si, { ...e, pathOptions: Ve(() => { var n; return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); }); Fc.displayName = "StepEdge"; -function Hm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const [r, a, i, l] = D3({ +function Bm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const [r, a, i, l] = R3({ sourceX: e, sourceY: t, targetX: n, @@ -19105,42 +19105,42 @@ function Hm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { }); return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; } -const jc = Ye(({ 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: p, interactionWidth: f }) => { - const [m, b, y] = Hm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return $.createElement(Io, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: f }); +const Rc = Ge(({ 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: p, interactionWidth: h }) => { + const [m, b, y] = Bm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return $.createElement(zo, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: h }); }); -jc.displayName = "StraightEdge"; -function ta(e, t) { +Rc.displayName = "StraightEdge"; +function oa(e, t) { return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); } -function Su({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { +function _u({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { switch (e) { case ie.Left: - return [t - ta(t - o, a), n]; + return [t - oa(t - o, a), n]; case ie.Right: - return [t + ta(o - t, a), n]; + return [t + oa(o - t, a), n]; case ie.Top: - return [t, n - ta(n - r, a)]; + return [t, n - oa(n - r, a)]; case ie.Bottom: - return [t, n + ta(r - n, a)]; + return [t, n + oa(r - n, a)]; } } -function j3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { - const [l, s] = Su({ +function H3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { + const [l, s] = _u({ pos: n, x1: e, y1: t, x2: o, y2: r, c: i - }), [u, c] = Su({ + }), [u, c] = _u({ pos: a, x1: o, y1: r, x2: e, y2: t, c: i - }), [d, p, f, m] = L3({ + }), [d, p, h, m] = I3({ sourceX: e, sourceY: t, targetX: o, @@ -19154,12 +19154,12 @@ function j3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, `M${e},${t} C${l},${s} ${u},${c} ${o},${r}`, d, p, - f, + h, m ]; } -const Pa = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = j3({ +const Va = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, pathOptions: b, interactionWidth: y }) => { + const [g, x, C] = H3({ sourceX: e, sourceY: t, sourcePosition: r, @@ -19168,20 +19168,20 @@ const Pa = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: targetPosition: a, curvature: b == null ? void 0 : b.curvature }); - return $.createElement(Io, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: f, markerStart: m, interactionWidth: y }); + return $.createElement(zo, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: y }); }); -Pa.displayName = "BezierEdge"; -const Rc = Ht(null), Pm = Rc.Provider; -Rc.Consumer; -const Bm = () => et(Rc), Vm = (e) => "id" in e && "source" in e && "target" in e, $m = (e) => "id" in e && !("source" in e) && !("target" in e), Wm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Ts = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Zm = (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)), Um = (e, t) => { +Va.displayName = "BezierEdge"; +const Ic = Ht(null), Vm = Ic.Provider; +Ic.Consumer; +const $m = () => tt(Ic), Wm = (e) => "id" in e && "source" in e && "target" in e, Zm = (e) => "id" in e && !("source" in e) && !("target" in e), Um = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Os = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, qm = (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)), Ym = (e, t) => { if (!e.source || !e.target) - return O3("006", Xt.error006()), t; + return j3("006", Qt.error006()), t; let n; - return Vm(e) ? n = { ...e } : n = { + return Wm(e) ? n = { ...e } : n = { ...e, - id: Wm(e) - }, Zm(n, t) ? t : t.concat(n); -}, Os = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { + id: Um(e) + }, qm(n, t) ? t : t.concat(n); +}, Ns = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { const s = { x: (e - n) / r, y: (t - o) / r @@ -19190,10 +19190,10 @@ const Bm = () => et(Rc), Vm = (e) => "id" in e && "source" in e && "target" in e x: i * Math.round(s.x / i), y: l * Math.round(s.y / l) } : s; -}, R3 = ({ x: e, y: t }, [n, o, r]) => ({ +}, P3 = ({ x: e, y: t }, [n, o, r]) => ({ x: e * r + n, y: t * r + o -}), bo = (e, t = [0, 0]) => { +}), vo = (e, t = [0, 0]) => { if (!e) return { x: 0, @@ -19214,20 +19214,20 @@ const Bm = () => et(Rc), Vm = (e) => "id" in e && "source" in e && "target" in e y: e.positionAbsolute.y - o } : r }; -}, Ic = (e, t = [0, 0]) => { +}, zc = (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 } = bo(r, t).positionAbsolute; - return Dm(o, Dc({ + const { x: a, y: i } = vo(r, t).positionAbsolute; + return jm(o, Lc({ 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 Lm(n); -}, I3 = (e, t, [n, o, r] = [0, 0, 1], a = !1, i = !1, l = [0, 0]) => { + return Fm(n); +}, B3 = (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, @@ -19235,25 +19235,25 @@ const Bm = () => et(Rc), Vm = (e) => "id" in e && "source" in e && "target" in e height: t.height / r }, u = []; return e.forEach((c) => { - const { width: d, height: p, selectable: f = !0, hidden: m = !1 } = c; - if (i && !f || m) + const { width: d, height: p, selectable: h = !0, hidden: m = !1 } = c; + if (i && !h || m) return !1; - const { positionAbsolute: b } = bo(c, l), y = { + const { positionAbsolute: b } = vo(c, l), y = { x: b.x, y: b.y, width: d || 0, height: p || 0 - }, g = _s(s, y), x = typeof d > "u" || typeof p > "u" || d === null || p === null, C = a && g > 0, S = (d || 0) * (p || 0); + }, g = As(s, y), x = typeof d > "u" || typeof p > "u" || d === null || p === null, C = a && g > 0, S = (d || 0) * (p || 0); (x || C || g >= S || c.dragging) && u.push(c); }), u; -}, z3 = (e, t) => { +}, V3 = (e, t) => { const n = e.map((o) => o.id); return t.filter((o) => n.includes(o.source) || n.includes(o.target)); -}, H3 = (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 = To(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, p = t / 2 - c * u, f = n / 2 - d * u; - return { x: p, y: f, zoom: u }; -}, Hn = (e, t = 0) => e.transition().duration(t); -function ku(e, t, n, o) { +}, $3 = (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 = Do(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, p = t / 2 - c * u, h = n / 2 - d * u; + return { x: p, y: h, zoom: u }; +}, Bn = (e, t = 0) => e.transition().duration(t); +function Au(e, t, n, o) { return (t[n] || []).reduce((r, a) => { var i, l; return `${e.id}-${a.id}-${n}` !== o && r.push({ @@ -19265,12 +19265,12 @@ function ku(e, t, n, o) { }), r; }, []); } -function qm(e, t, n, o, r, a) { - const { x: i, y: l } = jn(e), u = t.elementsFromPoint(i, l).find((m) => m.classList.contains("react-flow__handle")); +function Gm(e, t, n, o, r, a) { + const { x: i, y: l } = Rn(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 = zc(void 0, u), y = u.getAttribute("data-handleid"), g = a({ nodeId: m, id: y, type: b }); + const b = Hc(void 0, u), y = u.getAttribute("data-handleid"), g = a({ nodeId: m, id: y, type: b }); if (g) { const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); return { @@ -19297,31 +19297,31 @@ function qm(e, t, n, o, r, a) { }), d = b); } }), !c.length) - return { handle: null, validHandleResult: P3() }; + return { handle: null, validHandleResult: W3() }; if (c.length === 1) return c[0]; - const p = c.some(({ validHandleResult: m }) => m.isValid), f = c.some(({ handle: m }) => m.type === "target"); - return c.find(({ handle: m, validHandleResult: b }) => f ? m.type === "target" : p ? b.isValid : !0) || c[0]; + const p = c.some(({ validHandleResult: m }) => m.isValid), h = c.some(({ handle: m }) => m.type === "target"); + return c.find(({ handle: m, validHandleResult: b }) => h ? m.type === "target" : p ? b.isValid : !0) || c[0]; } -const Ym = { source: null, target: null, sourceHandle: null, targetHandle: null }, P3 = () => ({ +const Km = { source: null, target: null, sourceHandle: null, targetHandle: null }, W3 = () => ({ handleDomNode: null, isValid: !1, - connection: Ym, + connection: Km, endHandle: null }); -function B3(e, t, n, o, r, a, i) { +function Z3(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 = { - ...P3(), + ...W3(), handleDomNode: s }; if (s) { - const c = zc(void 0, s), d = s.getAttribute("data-nodeid"), p = s.getAttribute("data-handleid"), f = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { + const c = Hc(void 0, s), d = s.getAttribute("data-nodeid"), p = s.getAttribute("data-handleid"), h = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { source: l ? d : n, sourceHandle: l ? p : o, target: l ? n : d, targetHandle: l ? o : p }; - u.connection = b, f && m && (t === eo.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { + u.connection = b, h && m && (t === no.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { nodeId: d, handleId: p, type: c @@ -19329,46 +19329,46 @@ function B3(e, t, n, o, r, a, i) { } return u; } -function Gm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { +function Xm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { return e.reduce((r, a) => { - if (a[qe]) { - const { handleBounds: i } = a[qe]; + if (a[Ye]) { + const { handleBounds: i } = a[Ye]; let l = [], s = []; - i && (l = ku(a, i, "source", `${t}-${n}-${o}`), s = ku(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); + i && (l = Au(a, i, "source", `${t}-${n}-${o}`), s = Au(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); } return r; }, []); } -function zc(e, t) { +function Hc(e, t) { return e || (t != null && t.classList.contains("target") ? "target" : t != null && t.classList.contains("source") ? "source" : null); } -function Il(e) { +function zl(e) { e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); } -function Km(e, t) { +function Qm(e, t) { let n = null; return t ? n = "valid" : e && !t && (n = "invalid"), n; } -function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { - const c = M3(e.target), { connectionMode: d, domNode: p, autoPanOnConnect: f, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = a(); +function U3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { + const c = D3(e.target), { connectionMode: d, domNode: p, autoPanOnConnect: h, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = a(); let C = 0, S; - const { x: w, y: E } = jn(e), M = c == null ? void 0 : c.elementFromPoint(w, E), _ = zc(s, M), L = p == null ? void 0 : p.getBoundingClientRect(); + const { x: w, y: E } = Rn(e), M = c == null ? void 0 : c.elementFromPoint(w, E), _ = Hc(s, M), L = p == null ? void 0 : p.getBoundingClientRect(); if (!L || !_) return; - let R, F = jn(e, L), P = !1, V = null, k = !1, N = null; - const T = Gm({ + let R, j = Rn(e, L), P = !1, V = null, k = !1, N = null; + const T = Xm({ nodes: g(), nodeId: n, handleId: t, handleType: _ }), D = () => { - if (!f) + if (!h) return; - const [v, z] = A3(F, L); + const [v, z] = N3(j, L); y({ x: v, y: z }), C = requestAnimationFrame(D); }; i({ - connectionPosition: F, + connectionPosition: j, connectionStatus: null, // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle connectionNodeId: n, @@ -19383,77 +19383,77 @@ function V3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getSt }), b == null || b(e, { nodeId: n, handleId: t, handleType: _ }); function I(v) { const { transform: z } = a(); - F = jn(v, L); - const { handle: B, validHandleResult: A } = qm(v, c, Os(F, z, !1, [1, 1]), m, T, (W) => B3(W, d, n, t, r ? "target" : "source", l, c)); + j = Rn(v, L); + const { handle: B, validHandleResult: A } = Gm(v, c, Ns(j, z, !1, [1, 1]), m, T, (W) => Z3(W, d, n, t, r ? "target" : "source", l, c)); if (S = B, P || (D(), P = !0), N = A.handleDomNode, V = A.connection, k = A.isValid, i({ - connectionPosition: S && k ? R3({ + connectionPosition: S && k ? P3({ x: S.x, y: S.y - }, z) : F, - connectionStatus: Km(!!S, k), + }, z) : j, + connectionStatus: Qm(!!S, k), connectionEndHandle: A.endHandle }), !S && !k && !N) - return Il(R); - V.source !== V.target && N && (Il(R), R = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", k), N.classList.toggle("react-flow__handle-valid", k)); + return zl(R); + V.source !== V.target && N && (zl(R), R = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", k), N.classList.toggle("react-flow__handle-valid", k)); } - function j(v) { + function F(v) { var z, B; - (S || N) && V && k && (o == null || o(V)), (B = (z = a()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), Il(R), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, N = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", j), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", j); + (S || N) && V && k && (o == null || o(V)), (B = (z = a()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), zl(R), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, N = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", F), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", F); } - c.addEventListener("mousemove", I), c.addEventListener("mouseup", j), c.addEventListener("touchmove", I), c.addEventListener("touchend", j); + c.addEventListener("mousemove", I), c.addEventListener("mouseup", F), c.addEventListener("touchmove", I), c.addEventListener("touchend", F); } -const _u = () => !0, Xm = (e) => ({ +const Mu = () => !0, Jm = (e) => ({ connectionStartHandle: e.connectionStartHandle, connectOnClick: e.connectOnClick, noPanClassName: e.noPanClassName -}), Qm = (e, t, n) => (o) => { +}), eb = (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 }; -}, $3 = Js(({ type: e = "source", position: t = ie.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...p }, f) => { +}, q3 = Js(({ type: e = "source", position: t = ie.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...p }, h) => { var L, R; - const m = i || null, b = e === "target", y = rt(), g = Bm(), { connectOnClick: x, noPanClassName: C } = Ze(Xm, ut), { connecting: S, clickConnecting: w } = Ze(Qm(g, m, e), ut); - g || (R = (L = y.getState()).onError) == null || R.call(L, "010", Xt.error010()); - const E = (F) => { + const m = i || null, b = e === "target", y = rt(), g = $m(), { connectOnClick: x, noPanClassName: C } = Ue(Jm, ut), { connecting: S, clickConnecting: w } = Ue(eb(g, m, e), ut); + g || (R = (L = y.getState()).onError) == null || R.call(L, "010", Qt.error010()); + const E = (j) => { const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), N = { ...P, - ...F + ...j }; if (k) { const { edges: T, setEdges: D } = y.getState(); - D(Um(N, T)); + D(Ym(N, T)); } V == null || V(N), l == null || l(N); - }, M = (F) => { + }, M = (j) => { if (!g) return; - const P = N3(F); - r && (P && F.button === 0 || !P) && V3({ - event: F, + const P = F3(j); + r && (P && j.button === 0 || !P) && U3({ + event: j, handleId: m, nodeId: g, onConnect: E, isTarget: b, getState: y.getState, setState: y.setState, - isValidConnection: n || y.getState().isValidConnection || _u - }), P ? c == null || c(F) : d == null || d(F); - }, _ = (F) => { + isValidConnection: n || y.getState().isValidConnection || Mu + }), P ? c == null || c(j) : d == null || d(j); + }, _ = (j) => { const { onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, connectionMode: N, isValidConnection: T } = y.getState(); if (!g || !k && !r) return; if (!k) { - P == null || P(F, { nodeId: g, handleId: m, handleType: e }), y.setState({ connectionClickStartHandle: { nodeId: g, type: e, handleId: m } }); + P == null || P(j, { nodeId: g, handleId: m, handleType: e }), y.setState({ connectionClickStartHandle: { nodeId: g, type: e, handleId: m } }); return; } - const D = M3(F.target), I = n || T || _u, { connection: j, isValid: v } = B3({ + const D = D3(j.target), I = n || T || Mu, { connection: F, isValid: v } = Z3({ nodeId: g, id: m, type: e }, N, k.nodeId, k.handleId || null, k.type, I, D); - v && E(j), V == null || V(F), y.setState({ connectionClickStartHandle: null }); + v && E(F), V == null || V(j), y.setState({ connectionClickStartHandle: null }); }; return $.createElement("div", { "data-handleid": m, "data-nodeid": g, "data-handlepos": t, "data-id": `${g}-${m}-${e}`, className: bt([ "react-flow__handle", @@ -19471,58 +19471,58 @@ const _u = () => !0, Xm = (e) => ({ // this class is used to style the handle when the user is connecting connectionindicator: o && (r && !S || a && S) } - ]), onMouseDown: M, onTouchStart: M, onClick: x ? _ : void 0, ref: f, ...p }, s); + ]), onMouseDown: M, onTouchStart: M, onClick: x ? _ : void 0, ref: h, ...p }, s); }); -$3.displayName = "Handle"; -var Lt = Ye($3); -const W3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top, sourcePosition: o = ie.Bottom }) => $.createElement( +q3.displayName = "Handle"; +var Lt = Ge(q3); +const Y3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top, sourcePosition: o = ie.Bottom }) => $.createElement( $.Fragment, null, $.createElement(Lt, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label, $.createElement(Lt, { type: "source", position: o, isConnectable: t }) ); -W3.displayName = "DefaultNode"; -var Ns = Ye(W3); -const Z3 = ({ data: e, isConnectable: t, sourcePosition: n = ie.Bottom }) => $.createElement( +Y3.displayName = "DefaultNode"; +var Ds = Ge(Y3); +const G3 = ({ data: e, isConnectable: t, sourcePosition: n = ie.Bottom }) => $.createElement( $.Fragment, null, e == null ? void 0 : e.label, $.createElement(Lt, { type: "source", position: n, isConnectable: t }) ); -Z3.displayName = "InputNode"; -var U3 = Ye(Z3); -const q3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top }) => $.createElement( +G3.displayName = "InputNode"; +var K3 = Ge(G3); +const X3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top }) => $.createElement( $.Fragment, null, $.createElement(Lt, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label ); -q3.displayName = "OutputNode"; -var Y3 = Ye(q3); -const Hc = () => null; -Hc.displayName = "GroupNode"; -const Jm = (e) => ({ +X3.displayName = "OutputNode"; +var Q3 = Ge(X3); +const Pc = () => null; +Pc.displayName = "GroupNode"; +const tb = (e) => ({ selectedNodes: e.getNodes().filter((t) => t.selected), selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), na = (e) => e.id; -function eb(e, t) { - return ut(e.selectedNodes.map(na), t.selectedNodes.map(na)) && ut(e.selectedEdges.map(na), t.selectedEdges.map(na)); +}), ra = (e) => e.id; +function nb(e, t) { + return ut(e.selectedNodes.map(ra), t.selectedNodes.map(ra)) && ut(e.selectedEdges.map(ra), t.selectedEdges.map(ra)); } -const G3 = Ye(({ onSelectionChange: e }) => { - const t = rt(), { selectedNodes: n, selectedEdges: o } = Ze(Jm, eb); +const J3 = Ge(({ onSelectionChange: e }) => { + const t = rt(), { selectedNodes: n, selectedEdges: o } = Ue(tb, nb); return ue(() => { const r = { nodes: n, edges: o }; e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); }, [n, o, e]), null; }); -G3.displayName = "SelectionListener"; -const tb = (e) => !!e.onSelectionChange; -function nb({ onSelectionChange: e }) { - const t = Ze(tb); - return e || t ? $.createElement(G3, { onSelectionChange: e }) : null; +J3.displayName = "SelectionListener"; +const ob = (e) => !!e.onSelectionChange; +function rb({ onSelectionChange: e }) { + const t = Ue(ob); + return e || t ? $.createElement(J3, { onSelectionChange: e }) : null; } -const ob = (e) => ({ +const ab = (e) => ({ setNodes: e.setNodes, setEdges: e.setEdges, setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, @@ -19532,7 +19532,7 @@ const ob = (e) => ({ setNodeExtent: e.setNodeExtent, reset: e.reset }); -function io(e, t) { +function co(e, t) { ue(() => { typeof e < "u" && t(e); }, [e]); @@ -19542,15 +19542,15 @@ function Ce(e, t, n) { typeof t < "u" && n({ [e]: t }); }, [t]); } -const rb = ({ 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: p, edgesUpdatable: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: F, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: j, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { - const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: $e, reset: Ee } = Ze(ob, ut), le = rt(); +const ib = ({ 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: p, edgesUpdatable: h, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: j, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: F, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { + const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: We, reset: Ee } = Ue(ab, ut), le = rt(); return ue(() => { - const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...R })); - return J(n, Ge), () => { + const Xe = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...R })); + return J(n, Xe), () => { Ee(); }; - }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", F, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", j, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), io(e, U), io(t, ge), io(b, ke), io(y, ae), io(_, _e), io(g, $e), null; -}, Au = { display: "none" }, ab = { + }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", h, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", j, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", F, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), co(e, U), co(t, ge), co(b, ke), co(y, ae), co(_, _e), co(g, We), null; +}, Tu = { display: "none" }, lb = { position: "absolute", width: 1, height: 1, @@ -19560,29 +19560,29 @@ const rb = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: r overflow: "hidden", clip: "rect(0px, 0px, 0px, 0px)", clipPath: "inset(100%)" -}, K3 = "react-flow__node-desc", X3 = "react-flow__edge-desc", ib = "react-flow__aria-live", lb = (e) => e.ariaLiveMessage; -function sb({ rfId: e }) { - const t = Ze(lb); - return $.createElement("div", { id: `${ib}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: ab }, t); +}, ef = "react-flow__node-desc", tf = "react-flow__edge-desc", sb = "react-flow__aria-live", cb = (e) => e.ariaLiveMessage; +function ub({ rfId: e }) { + const t = Ue(cb); + return $.createElement("div", { id: `${sb}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: lb }, t); } -function cb({ rfId: e, disableKeyboardA11y: t }) { +function db({ rfId: e, disableKeyboardA11y: t }) { return $.createElement( $.Fragment, null, $.createElement( "div", - { id: `${K3}-${e}`, style: Au }, + { id: `${ef}-${e}`, style: Tu }, "Press enter or space to select a node.", !t && "You can then use the arrow keys to move the node around.", " Press delete to remove it and escape to cancel.", " " ), - $.createElement("div", { id: `${X3}-${e}`, style: Au }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && $.createElement(sb, { rfId: e }) + $.createElement("div", { id: `${tf}-${e}`, style: Tu }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), + !t && $.createElement(ub, { rfId: e }) ); } -var vr = (e = null, t = { actInsideInputWithModifier: !0 }) => { - const [n, o] = ce(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = Be(() => { +var xr = (e = null, t = { actInsideInputWithModifier: !0 }) => { + const [n, o] = ce(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = Ve(() => { if (e !== null) { const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, p) => d.concat(...p), []); return [u, c]; @@ -19592,16 +19592,16 @@ var vr = (e = null, t = { actInsideInputWithModifier: !0 }) => { return ue(() => { const s = typeof document < "u" ? document : null, u = (t == null ? void 0 : t.target) || s; if (e !== null) { - const c = (f) => { - if (r.current = f.ctrlKey || f.metaKey || f.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && As(f)) + const c = (h) => { + if (r.current = h.ctrlKey || h.metaKey || h.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && Ms(h)) return !1; - const b = Tu(f.code, l); - a.current.add(f[b]), Mu(i, a.current, !1) && (f.preventDefault(), o(!0)); - }, d = (f) => { - if ((!r.current || r.current && !t.actInsideInputWithModifier) && As(f)) + const b = Nu(h.code, l); + a.current.add(h[b]), Ou(i, a.current, !1) && (h.preventDefault(), o(!0)); + }, d = (h) => { + if ((!r.current || r.current && !t.actInsideInputWithModifier) && Ms(h)) return !1; - const b = Tu(f.code, l); - Mu(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(f[b]), f.key === "Meta" && a.current.clear(), r.current = !1; + const b = Nu(h.code, l); + Ou(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(h[b]), h.key === "Meta" && a.current.clear(), r.current = !1; }, p = () => { a.current.clear(), o(!1); }; @@ -19611,46 +19611,46 @@ var vr = (e = null, t = { actInsideInputWithModifier: !0 }) => { } }, [e, o]), n; }; -function Mu(e, t, n) { +function Ou(e, t, n) { return e.filter((o) => n || o.length === t.size).some((o) => o.every((r) => t.has(r))); } -function Tu(e, t) { +function Nu(e, t) { return t.includes(e) ? "code" : "key"; } -function Q3(e, t, n, o) { +function nf(e, t, n, o) { var l, s; const r = e.parentNode || e.parentId; if (!r) return n; - const a = t.get(r), i = bo(a, o); - return Q3(a, t, { + const a = t.get(r), i = vo(a, o); + return nf(a, t, { x: (n.x ?? 0) + i.x, y: (n.y ?? 0) + i.y, - z: (((l = a[qe]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = a[qe]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 + z: (((l = a[Ye]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = a[Ye]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 }, o); } -function J3(e, t, n) { +function of(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 } = Q3(o, e, { + const { x: i, y: l, z: s } = nf(o, e, { ...o.position, - z: ((a = o[qe]) == null ? void 0 : a.z) ?? 0 + z: ((a = o[Ye]) == null ? void 0 : a.z) ?? 0 }, t); o.positionAbsolute = { x: i, y: l - }, o[qe].z = s, n != null && n[o.id] && (o[qe].isParent = !0); + }, o[Ye].z = s, n != null && n[o.id] && (o[Ye].isParent = !0); } }); } -function zl(e, t, n, o) { +function Hl(e, t, n, o) { const r = /* @__PURE__ */ new Map(), a = {}, i = o ? 1e3 : 0; return e.forEach((l) => { - var f; + var h; const s = (Rt(l.zIndex) ? l.zIndex : 0) + (l.selected ? i : 0), u = t.get(l.id), c = { ...l, positionAbsolute: { @@ -19660,16 +19660,16 @@ function zl(e, t, n, o) { }, d = l.parentNode || l.parentId; d && (a[d] = !0); const p = (u == null ? void 0 : u.type) && (u == null ? void 0 : u.type) !== l.type; - Object.defineProperty(c, qe, { + Object.defineProperty(c, Ye, { enumerable: !1, value: { - handleBounds: p || (f = u == null ? void 0 : u[qe]) == null ? void 0 : f.handleBounds, + handleBounds: p || (h = u == null ? void 0 : u[Ye]) == null ? void 0 : h.handleBounds, z: s } }), r.set(l.id, c); - }), J3(r, n, a), r; + }), of(r, n, a), r; } -function ef(e, t = {}) { +function rf(e, t = {}) { const { getNodes: n, width: o, height: r, minZoom: a, maxZoom: i, d3Zoom: l, d3Selection: s, fitViewOnInitDone: u, fitViewOnInit: c, nodeOrigin: d } = e(), p = t.initial && !u && c; if (l && s && (p || !t.initial)) { const m = n().filter((y) => { @@ -19678,78 +19678,78 @@ function ef(e, t = {}) { return (x = t.nodes) != null && x.length ? g && t.nodes.some((C) => C.id === y.id) : g; }), b = m.every((y) => y.width && y.height); if (m.length > 0 && b) { - const y = Ic(m, d), { x: g, y: x, zoom: C } = H3(y, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), S = Fn.translate(g, x).scale(C); - return typeof t.duration == "number" && t.duration > 0 ? l.transform(Hn(s, t.duration), S) : l.transform(s, S), !0; + const y = zc(m, d), { x: g, y: x, zoom: C } = $3(y, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), S = Fn.translate(g, x).scale(C); + return typeof t.duration == "number" && t.duration > 0 ? l.transform(Bn(s, t.duration), S) : l.transform(s, S), !0; } } return !1; } -function ub(e, t) { +function fb(e, t) { return e.forEach((n) => { const o = t.get(n.id); o && t.set(o.id, { ...o, - [qe]: o[qe], + [Ye]: o[Ye], selected: n.selected }); }), new Map(t); } -function db(e, t) { +function hb(e, t) { return t.map((n) => { const o = e.find((r) => r.id === n.id); return o && (n.selected = o.selected), n; }); } -function oa({ changedNodes: e, changedEdges: t, get: n, set: o }) { +function aa({ 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: ub(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: db(t, a) }), l == null || l(t)); + e != null && e.length && (s && o({ nodeInternals: fb(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: hb(t, a) }), l == null || l(t)); } -const lo = () => { -}, fb = { - zoomIn: lo, - zoomOut: lo, - zoomTo: lo, +const uo = () => { +}, pb = { + zoomIn: uo, + zoomOut: uo, + zoomTo: uo, getZoom: () => 1, - setViewport: lo, + setViewport: uo, getViewport: () => ({ x: 0, y: 0, zoom: 1 }), fitView: () => !1, - setCenter: lo, - fitBounds: lo, + setCenter: uo, + fitBounds: uo, project: (e) => e, screenToFlowPosition: (e) => e, flowToScreenPosition: (e) => e, viewportInitialized: !1 -}, hb = (e) => ({ +}, gb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection -}), pb = () => { - const e = rt(), { d3Zoom: t, d3Selection: n } = Ze(hb, ut); - return Be(() => n && t ? { - zoomIn: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), - zoomOut: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), - zoomTo: (r, a) => t.scaleTo(Hn(n, a == null ? void 0 : a.duration), r), +}), mb = () => { + const e = rt(), { d3Zoom: t, d3Selection: n } = Ue(gb, ut); + return Ve(() => n && t ? { + zoomIn: (r) => t.scaleBy(Bn(n, r == null ? void 0 : r.duration), 1.2), + zoomOut: (r) => t.scaleBy(Bn(n, r == null ? void 0 : r.duration), 1 / 1.2), + zoomTo: (r, a) => t.scaleTo(Bn(n, a == null ? void 0 : a.duration), r), getZoom: () => e.getState().transform[2], setViewport: (r, a) => { const [i, l, s] = e.getState().transform, u = Fn.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); - t.transform(Hn(n, a == null ? void 0 : a.duration), u); + t.transform(Bn(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) => ef(e.getState, r), + fitView: (r) => rf(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, p = s / 2 - a * c, f = Fn.translate(d, p).scale(c); - t.transform(Hn(n, i == null ? void 0 : i.duration), f); + 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, p = s / 2 - a * c, h = Fn.translate(d, p).scale(c); + t.transform(Bn(n, i == null ? void 0 : i.duration), h); }, fitBounds: (r, a) => { - const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: p } = H3(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), f = Fn.translate(c, d).scale(p); - t.transform(Hn(n, a == null ? void 0 : a.duration), f); + const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: p } = $3(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), h = Fn.translate(c, d).scale(p); + t.transform(Bn(n, a == null ? void 0 : a.duration), h); }, // @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"), Os(r, a, i, l); + 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"), Ns(r, a, i, l); }, screenToFlowPosition: (r) => { const { transform: a, snapToGrid: i, snapGrid: l, domNode: s } = e.getState(); @@ -19759,29 +19759,29 @@ const lo = () => { x: r.x - u, y: r.y - c }; - return Os(d, a, i, l); + return Ns(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 = R3(r, a); + const { x: l, y: s } = i.getBoundingClientRect(), u = P3(r, a); return { x: u.x + l, y: u.y + s }; }, viewportInitialized: !0 - } : fb, [t, n]); + } : pb, [t, n]); }; -function Jt() { - const e = pb(), t = rt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { +function en() { + const e = mb(), t = rt(), n = Te(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Te((b) => t.getState().nodeInternals.get(b), []), r = Te(() => { const { edges: b = [] } = t.getState(); return b.map((y) => ({ ...y })); - }, []), a = Me((b) => { + }, []), a = Te((b) => { const { edges: y = [] } = t.getState(); return y.find((g) => g.id === b); - }, []), i = Me((b) => { + }, []), i = Te((b) => { const { getNodes: y, setNodes: g, hasDefaultNodes: x, onNodesChange: C } = t.getState(), S = y(), w = typeof b == "function" ? b(S) : b; if (x) g(w); @@ -19789,7 +19789,7 @@ function Jt() { const E = w.length === 0 ? S.map((M) => ({ type: "remove", id: M.id })) : w.map((M) => ({ item: M, type: "reset" })); C(E); } - }, []), l = Me((b) => { + }, []), l = Te((b) => { const { edges: y = [], setEdges: g, hasDefaultEdges: x, onEdgesChange: C } = t.getState(), S = typeof b == "function" ? b(y) : b; if (x) g(S); @@ -19797,7 +19797,7 @@ function Jt() { const w = S.length === 0 ? y.map((E) => ({ type: "remove", id: E.id })) : S.map((E) => ({ item: E, type: "reset" })); C(w); } - }, []), s = Me((b) => { + }, []), s = Te((b) => { const y = Array.isArray(b) ? b : [b], { getNodes: g, setNodes: x, hasDefaultNodes: C, onNodesChange: S } = t.getState(); if (C) { const E = [...g(), ...y]; @@ -19806,7 +19806,7 @@ function Jt() { const w = y.map((E) => ({ item: E, type: "add" })); S(w); } - }, []), u = Me((b) => { + }, []), u = Te((b) => { const y = Array.isArray(b) ? b : [b], { edges: g = [], setEdges: x, hasDefaultEdges: C, onEdgesChange: S } = t.getState(); if (C) x([...g, ...y]); @@ -19814,7 +19814,7 @@ function Jt() { const w = y.map((E) => ({ item: E, type: "add" })); S(w); } - }, []), c = Me(() => { + }, []), c = Te(() => { const { getNodes: b, edges: y = [], transform: g } = t.getState(), [x, C, S] = g; return { nodes: b().map((w) => ({ ...w })), @@ -19825,13 +19825,13 @@ function Jt() { zoom: S } }; - }, []), d = Me(({ nodes: b, edges: y }) => { - const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: S, hasDefaultEdges: w, onNodesDelete: E, onEdgesDelete: M, onNodesChange: _, onEdgesChange: L } = t.getState(), R = (b || []).map((N) => N.id), F = (y || []).map((N) => N.id), P = x().reduce((N, T) => { + }, []), d = Te(({ nodes: b, edges: y }) => { + const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: S, hasDefaultEdges: w, onNodesDelete: E, onEdgesDelete: M, onNodesChange: _, onEdgesChange: L } = t.getState(), R = (b || []).map((N) => N.id), j = (y || []).map((N) => N.id), P = x().reduce((N, T) => { const D = T.parentNode || T.parentId, I = !R.includes(T.id) && D && N.find((v) => v.id === D); return (typeof T.deletable == "boolean" ? T.deletable : !0) && (R.includes(T.id) || I) && N.push(T), N; - }, []), V = C.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), k = V.filter((N) => F.includes(N.id)); + }, []), V = C.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), k = V.filter((N) => j.includes(N.id)); if (P || k) { - const N = z3(P, V), T = [...k, ...N], D = T.reduce((I, j) => (I.includes(j.id) || I.push(j.id), I), []); + const N = V3(P, V), T = [...k, ...N], D = T.reduce((I, F) => (I.includes(F.id) || I.push(F.id), I), []); if ((w || S) && (w && t.setState({ edges: C.filter((I) => !D.includes(I.id)) }), S && (P.forEach((I) => { @@ -19842,29 +19842,29 @@ function Jt() { id: I, type: "remove" })))), P.length > 0 && (E == null || E(P), _)) { - const I = P.map((j) => ({ id: j.id, type: "remove" })); + const I = P.map((F) => ({ id: F.id, type: "remove" })); _(I); } } - }, []), p = Me((b) => { - const y = Fm(b), g = y ? null : t.getState().nodeInternals.get(b.id); - return !y && !g ? [null, null, y] : [y ? b : vu(g), g, y]; - }, []), f = Me((b, y = !0, g) => { + }, []), p = Te((b) => { + const y = Rm(b), g = y ? null : t.getState().nodeInternals.get(b.id); + return !y && !g ? [null, null, y] : [y ? b : wu(g), g, y]; + }, []), h = Te((b, y = !0, g) => { const [x, C, S] = p(b); return x ? (g || t.getState().getNodes()).filter((w) => { if (!S && (w.id === C.id || !w.positionAbsolute)) return !1; - const E = vu(w), M = _s(E, x); + const E = wu(w), M = As(E, x); return y && M > 0 || M >= x.width * x.height; }) : []; - }, []), m = Me((b, y, g = !0) => { + }, []), m = Te((b, y, g = !0) => { const [x] = p(b); if (!x) return !1; - const C = _s(x, y); + const C = As(x, y); return g && C > 0 || C >= x.width * x.height; }, []); - return Be(() => ({ + return Ve(() => ({ ...e, getNodes: n, getNode: o, @@ -19876,7 +19876,7 @@ function Jt() { addEdges: u, toObject: c, deleteElements: d, - getIntersectingNodes: f, + getIntersectingNodes: h, isNodeIntersecting: m }), [ e, @@ -19890,13 +19890,13 @@ function Jt() { u, c, d, - f, + h, m ]); } -const gb = { actInsideInputWithModifier: !1 }; -var mb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = rt(), { deleteElements: o } = Jt(), r = vr(e, gb), a = vr(t); +const bb = { actInsideInputWithModifier: !1 }; +var yb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = rt(), { deleteElements: o } = en(), r = xr(e, bb), a = xr(t); ue(() => { if (r) { const { edges: i, getNodes: l } = n.getState(), s = l().filter((c) => c.selected), u = i.filter((c) => c.selected); @@ -19906,7 +19906,7 @@ var mb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { n.setState({ multiSelectionActive: a }); }, [a]); }; -function bb(e) { +function Cb(e) { const t = rt(); ue(() => { let n; @@ -19914,41 +19914,41 @@ function bb(e) { var a, i; if (!e.current) return; - const r = Oc(e.current); - (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", Xt.error004())), t.setState({ width: r.width || 500, height: r.height || 500 }); + const r = Nc(e.current); + (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", Qt.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 Pc = { +const Bc = { position: "absolute", width: "100%", height: "100%", top: 0, left: 0 -}, yb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ra = (e) => ({ +}, vb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ia = (e) => ({ x: e.x, y: e.y, zoom: e.k -}), so = (e, t) => e.target.closest(`.${t}`), Ou = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Nu = (e) => { - const t = e.ctrlKey && za() ? 10 : 1; +}), fo = (e, t) => e.target.closest(`.${t}`), Du = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Lu = (e) => { + const t = e.ctrlKey && Pa() ? 10 : 1; return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, Cb = (e) => ({ +}, xb = (e) => ({ d3Zoom: e.d3Zoom, d3Selection: e.d3Selection, d3ZoomHandler: e.d3ZoomHandler, userSelectionActive: e.userSelectionActive -}), vb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = Zn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { - const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: F, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(Cb, ut), N = vr(y), T = he(0), D = he(!1), I = he(); - return bb(L), ue(() => { +}), wb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = qn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: h, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { + const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: j, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ue(xb, ut), N = xr(y), T = he(0), D = he(!1), I = he(); + return Cb(L), ue(() => { if (L.current) { - const j = L.current.getBoundingClientRect(), v = _m().scaleExtent([m, b]).translateExtent(f), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(To(p.zoom, m, b)), A = [ + const F = L.current.getBoundingClientRect(), v = Mm().scaleExtent([m, b]).translateExtent(h), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(Do(p.zoom, m, b)), A = [ [0, 0], - [j.width, j.height] - ], W = v.constrain()(B, A, f); - v.transform(z, W), v.wheelDelta(Nu), E.setState({ + [F.width, F.height] + ], W = v.constrain()(B, A, h); + v.transform(z, W), v.wheelDelta(Lu), E.setState({ d3Zoom: v, d3Selection: z, d3ZoomHandler: z.on("wheel.zoom"), @@ -19958,40 +19958,40 @@ const Pc = { }); } }, []), ue(() => { - P && F && (i && !N && !k ? P.on("wheel.zoom", (j) => { - if (so(j, C)) + P && j && (i && !N && !k ? P.on("wheel.zoom", (F) => { + if (fo(F, C)) return !1; - j.preventDefault(), j.stopImmediatePropagation(); + F.preventDefault(), F.stopImmediatePropagation(); const v = P.property("__zoom").k || 1; - if (j.ctrlKey && a) { - const ne = rn(j), oe = Nu(j), U = v * Math.pow(2, oe); - F.scaleTo(P, U, ne, j); + if (F.ctrlKey && a) { + const ne = an(F), oe = Lu(F), U = v * Math.pow(2, oe); + j.scaleTo(P, U, ne, F); return; } - const z = j.deltaMode === 1 ? 20 : 1; - let B = s === Zn.Vertical ? 0 : j.deltaX * z, A = s === Zn.Horizontal ? 0 : j.deltaY * z; - !za() && j.shiftKey && s !== Zn.Vertical && (B = j.deltaY * z, A = 0), F.translateBy( + const z = F.deltaMode === 1 ? 20 : 1; + let B = s === qn.Vertical ? 0 : F.deltaX * z, A = s === qn.Horizontal ? 0 : F.deltaY * z; + !Pa() && F.shiftKey && s !== qn.Vertical && (B = F.deltaY * z, A = 0), j.translateBy( P, -(B / v) * l, -(A / v) * l, // @ts-ignore { internal: !0 } ); - const W = ra(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); - clearTimeout(I.current), D.current || (D.current = !0, t == null || t(j, W), Y == null || Y(W)), D.current && (e == null || e(j, W), K == null || K(W), I.current = setTimeout(() => { - n == null || n(j, W), Q == null || Q(W), D.current = !1; + const W = ia(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); + clearTimeout(I.current), D.current || (D.current = !0, t == null || t(F, W), Y == null || Y(W)), D.current && (e == null || e(F, W), K == null || K(W), I.current = setTimeout(() => { + n == null || n(F, W), Q == null || Q(W), D.current = !1; }, 150)); - }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(j, v) { - if (!g && j.type === "wheel" && !j.ctrlKey || so(j, C)) + }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(F, v) { + if (!g && F.type === "wheel" && !F.ctrlKey || fo(F, C)) return null; - j.preventDefault(), V.call(this, j, v); + F.preventDefault(), V.call(this, F, v); }, { passive: !1 })); }, [ k, i, s, P, - F, + j, V, N, a, @@ -20001,48 +20001,48 @@ const Pc = { e, n ]), ue(() => { - F && F.on("start", (j) => { + j && j.on("start", (F) => { var B, A; - if (!j.sourceEvent || j.sourceEvent.internal) + if (!F.sourceEvent || F.sourceEvent.internal) return null; - T.current = (B = j.sourceEvent) == null ? void 0 : B.button; - const { onViewportChangeStart: v } = E.getState(), z = ra(j.transform); - M.current = !0, R.current = z, ((A = j.sourceEvent) == null ? void 0 : A.type) === "mousedown" && E.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(j.sourceEvent, z); + T.current = (B = F.sourceEvent) == null ? void 0 : B.button; + const { onViewportChangeStart: v } = E.getState(), z = ia(F.transform); + M.current = !0, R.current = z, ((A = F.sourceEvent) == null ? void 0 : A.type) === "mousedown" && E.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(F.sourceEvent, z); }); - }, [F, t]), ue(() => { - F && (k && !M.current ? F.on("zoom", null) : k || F.on("zoom", (j) => { + }, [j, t]), ue(() => { + j && (k && !M.current ? j.on("zoom", null) : k || j.on("zoom", (F) => { var z; const { onViewportChange: v } = E.getState(); - if (E.setState({ transform: [j.transform.x, j.transform.y, j.transform.k] }), _.current = !!(o && Ou(d, T.current ?? 0)), (e || v) && !((z = j.sourceEvent) != null && z.internal)) { - const B = ra(j.transform); - v == null || v(B), e == null || e(j.sourceEvent, B); + if (E.setState({ transform: [F.transform.x, F.transform.y, F.transform.k] }), _.current = !!(o && Du(d, T.current ?? 0)), (e || v) && !((z = F.sourceEvent) != null && z.internal)) { + const B = ia(F.transform); + v == null || v(B), e == null || e(F.sourceEvent, B); } })); - }, [k, F, e, d, o]), ue(() => { - F && F.on("end", (j) => { - if (!j.sourceEvent || j.sourceEvent.internal) + }, [k, j, e, d, o]), ue(() => { + j && j.on("end", (F) => { + if (!F.sourceEvent || F.sourceEvent.internal) return null; const { onViewportChangeEnd: v } = E.getState(); - if (M.current = !1, E.setState({ paneDragging: !1 }), o && Ou(d, T.current ?? 0) && !_.current && o(j.sourceEvent), _.current = !1, (n || v) && yb(R.current, j.transform)) { - const z = ra(j.transform); + if (M.current = !1, E.setState({ paneDragging: !1 }), o && Du(d, T.current ?? 0) && !_.current && o(F.sourceEvent), _.current = !1, (n || v) && vb(R.current, F.transform)) { + const z = ia(F.transform); R.current = z, clearTimeout(w.current), w.current = setTimeout(() => { - v == null || v(z), n == null || n(j.sourceEvent, z); + v == null || v(z), n == null || n(F.sourceEvent, z); }, i ? 150 : 0); } }); - }, [F, i, d, n, o]), ue(() => { - F && F.filter((j) => { - const v = N || r, z = a && j.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && j.button === 1 && j.type === "mousedown" && (so(j, "react-flow__node") || so(j, "react-flow__edge"))) + }, [j, i, d, n, o]), ue(() => { + j && j.filter((F) => { + const v = N || r, z = a && F.ctrlKey; + if ((d === !0 || Array.isArray(d) && d.includes(1)) && F.button === 1 && F.type === "mousedown" && (fo(F, "react-flow__node") || fo(F, "react-flow__edge"))) return !0; - if (!d && !v && !i && !u && !a || k || !u && j.type === "dblclick" || so(j, C) && j.type === "wheel" || so(j, S) && (j.type !== "wheel" || i && j.type === "wheel" && !N) || !a && j.ctrlKey && j.type === "wheel" || !v && !i && !z && j.type === "wheel" || !d && (j.type === "mousedown" || j.type === "touchstart") || Array.isArray(d) && !d.includes(j.button) && j.type === "mousedown") + if (!d && !v && !i && !u && !a || k || !u && F.type === "dblclick" || fo(F, C) && F.type === "wheel" || fo(F, S) && (F.type !== "wheel" || i && F.type === "wheel" && !N) || !a && F.ctrlKey && F.type === "wheel" || !v && !i && !z && F.type === "wheel" || !d && (F.type === "mousedown" || F.type === "touchstart") || Array.isArray(d) && !d.includes(F.button) && F.type === "mousedown") return !1; - const B = Array.isArray(d) && d.includes(j.button) || !j.button || j.button <= 1; - return (!j.ctrlKey || j.type === "wheel") && B; + const B = Array.isArray(d) && d.includes(F.button) || !F.button || F.button <= 1; + return (!F.ctrlKey || F.type === "wheel") && B; }); }, [ k, - F, + j, r, a, i, @@ -20050,20 +20050,20 @@ const Pc = { d, c, N - ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Pc }, x); -}, xb = (e) => ({ + ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Bc }, x); +}, Eb = (e) => ({ userSelectionActive: e.userSelectionActive, userSelectionRect: e.userSelectionRect }); -function wb() { - const { userSelectionActive: e, userSelectionRect: t } = Ze(xb, ut); +function Sb() { + const { userSelectionActive: e, userSelectionRect: t } = Ue(Eb, ut); return e && t ? $.createElement("div", { className: "react-flow__selection react-flow__container", style: { width: t.width, height: t.height, transform: `translate(${t.x}px, ${t.y}px)` } }) : null; } -function Du(e, t) { +function ju(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; @@ -20080,7 +20080,7 @@ function Du(e, t) { } } } -function Eb(e, t) { +function kb(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); @@ -20097,11 +20097,11 @@ function Eb(e, t) { 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 && Du(o, i); + 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 && ju(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 && Du(o, i); + 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 && ju(o, i); break; } case "remove": @@ -20110,31 +20110,31 @@ function Eb(e, t) { return o.push(i), o; }, n); } -function Sb(e, t) { - return Eb(e, t); +function _b(e, t) { + return kb(e, t); } const Dn = (e, t) => ({ id: e, type: "select", selected: t }); -function fo(e, t) { +function go(e, t) { return e.reduce((n, o) => { const r = t.includes(o.id); return !o.selected && r ? (o.selected = !0, n.push(Dn(o.id, !0))) : o.selected && !r && (o.selected = !1, n.push(Dn(o.id, !1))), n; }, []); } -const Hl = (e, t) => (n) => { +const Pl = (e, t) => (n) => { n.target === t.current && (e == null || e(n)); -}, kb = (e) => ({ +}, Ab = (e) => ({ userSelectionActive: e.userSelectionActive, elementsSelectable: e.elementsSelectable, dragging: e.paneDragging -}), tf = Ye(({ isSelecting: e, selectionMode: t = Cr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const p = he(null), f = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(kb, ut), S = () => { - f.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; +}), af = Ge(({ isSelecting: e, selectionMode: t = vr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { + const p = he(null), h = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ue(Ab, ut), S = () => { + h.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; }, w = (V) => { - a == null || a(V), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 }); + a == null || a(V), h.getState().resetSelectedElements(), h.setState({ nodesSelectionActive: !1 }); }, E = (V) => { if (Array.isArray(n) && (n != null && n.includes(2))) { V.preventDefault(); @@ -20142,11 +20142,11 @@ const Hl = (e, t) => (n) => { } i == null || i(V); }, M = l ? (V) => l(V) : void 0, _ = (V) => { - const { resetSelectedElements: k, domNode: N } = f.getState(); + const { resetSelectedElements: k, domNode: N } = h.getState(); if (y.current = N == null ? void 0 : N.getBoundingClientRect(), !x || !e || V.button !== 0 || V.target !== p.current || !y.current) return; - const { x: T, y: D } = jn(V, y.current); - k(), f.setState({ + const { x: T, y: D } = Rn(V, y.current); + k(), h.setState({ userSelectionRect: { width: 0, height: 0, @@ -20157,54 +20157,54 @@ const Hl = (e, t) => (n) => { } }), o == null || o(V); }, L = (V) => { - const { userSelectionRect: k, nodeInternals: N, edges: T, transform: D, onNodesChange: I, onEdgesChange: j, nodeOrigin: v, getNodes: z } = f.getState(); + const { userSelectionRect: k, nodeInternals: N, edges: T, transform: D, onNodesChange: I, onEdgesChange: F, nodeOrigin: v, getNodes: z } = h.getState(); if (!e || !y.current || !k) return; - f.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); - const B = jn(V, y.current), A = k.startX ?? 0, W = k.startY ?? 0, Y = { + h.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); + const B = Rn(V, y.current), A = k.startX ?? 0, W = k.startY ?? 0, Y = { ...k, x: B.x < A ? B.x : A, y: B.y < W ? B.y : W, width: Math.abs(B.x - A), height: Math.abs(B.y - W) - }, K = z(), Q = I3(N, Y, D, t === Cr.Partial, !0, v), ne = z3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); + }, K = z(), Q = B3(N, Y, D, t === vr.Partial, !0, v), ne = V3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); if (m.current !== oe.length) { m.current = oe.length; - const U = fo(K, oe); + const U = go(K, oe); U.length && (I == null || I(U)); } if (b.current !== ne.length) { b.current = ne.length; - const U = fo(T, ne); - U.length && (j == null || j(U)); + const U = go(T, ne); + U.length && (F == null || F(U)); } - f.setState({ + h.setState({ userSelectionRect: Y }); }, R = (V) => { if (V.button !== 0) return; - const { userSelectionRect: k } = f.getState(); - !g && k && V.target === p.current && (w == null || w(V)), f.setState({ nodesSelectionActive: m.current > 0 }), S(), r == null || r(V); - }, F = (V) => { - g && (f.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(V)), S(); + const { userSelectionRect: k } = h.getState(); + !g && k && V.target === p.current && (w == null || w(V)), h.setState({ nodesSelectionActive: m.current > 0 }), S(), r == null || r(V); + }, j = (V) => { + g && (h.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(V)), S(); }, P = x && (e || g); return $.createElement( "div", - { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Hl(w, p), onContextMenu: Hl(E, p), onWheel: Hl(M, p), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? R : void 0, onMouseLeave: P ? F : c, ref: p, style: Pc }, + { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Pl(w, p), onContextMenu: Pl(E, p), onWheel: Pl(M, p), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? R : void 0, onMouseLeave: P ? j : c, ref: p, style: Bc }, d, - $.createElement(wb, null) + $.createElement(Sb, null) ); }); -tf.displayName = "Pane"; -function nf(e, t) { +af.displayName = "Pane"; +function lf(e, t) { const n = e.parentNode || e.parentId; if (!n) return !1; const o = t.get(n); - return o ? o.selected ? !0 : nf(o, t) : !1; + return o ? o.selected ? !0 : lf(o, t) : !1; } -function Lu(e, t, n) { +function Fu(e, t, n) { let o = e; do { if (o != null && o.matches(t)) @@ -20215,8 +20215,8 @@ function Lu(e, t, n) { } while (o); return !1; } -function _b(e, t, n, o) { - return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !nf(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { +function Mb(e, t, n, o) { + return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !lf(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { var a, i; return { id: r.id, @@ -20239,38 +20239,38 @@ function _b(e, t, n, o) { }; }); } -function Ab(e, t) { +function Tb(e, t) { return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; } -function of(e, t, n, o, r = [0, 0], a) { - const i = Ab(e, e.extent || o); +function sf(e, t, n, o, r = [0, 0], a) { + const i = Tb(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: p, y: f } = bo(d, r).positionAbsolute; - l = d && Rt(p) && Rt(f) && Rt(d.width) && Rt(d.height) ? [ - [p + e.width * r[0], f + e.height * r[1]], + const d = n.get(s), { x: p, y: h } = vo(d, r).positionAbsolute; + l = d && Rt(p) && Rt(h) && Rt(d.width) && Rt(d.height) ? [ + [p + e.width * r[0], h + e.height * r[1]], [ p + d.width - e.width + e.width * r[0], - f + d.height - e.height + e.height * r[1] + h + d.height - e.height + e.height * r[1] ] ] : l; } else - a == null || a("005", Xt.error005()), l = i; + a == null || a("005", Qt.error005()), l = i; else if (e.extent && s && e.extent !== "parent") { - const d = n.get(s), { x: p, y: f } = bo(d, r).positionAbsolute; + const d = n.get(s), { x: p, y: h } = vo(d, r).positionAbsolute; l = [ - [e.extent[0][0] + p, e.extent[0][1] + f], - [e.extent[1][0] + p, e.extent[1][1] + f] + [e.extent[0][0] + p, e.extent[0][1] + h], + [e.extent[1][0] + p, e.extent[1][1] + h] ]; } let u = { x: 0, y: 0 }; if (s) { const d = n.get(s); - u = bo(d, r).positionAbsolute; + u = vo(d, r).positionAbsolute; } - const c = l && l !== "parent" ? Nc(t, l) : t; + const c = l && l !== "parent" ? Dc(t, l) : t; return { position: { x: c.x - u.x, @@ -20279,7 +20279,7 @@ function of(e, t, n, o, r = [0, 0], a) { positionAbsolute: c }; } -function Pl({ nodeId: e, dragItems: t, nodeInternals: n }) { +function Bl({ nodeId: e, dragItems: t, nodeInternals: n }) { const o = t.map((r) => ({ ...n.get(r.id), position: r.position, @@ -20287,7 +20287,7 @@ function Pl({ nodeId: e, dragItems: t, nodeInternals: n }) { })); return [e ? o.find((r) => r.id === e) : o[0], o]; } -const Fu = (e, t, n, o) => { +const Ru = (e, t, n, o) => { const r = t.querySelectorAll(e); if (!r || !r.length) return null; @@ -20302,20 +20302,20 @@ const Fu = (e, t, n, o) => { position: s.getAttribute("data-handlepos"), x: (u.left - i.left - l.x) / n, y: (u.top - i.top - l.y) / n, - ...Oc(s) + ...Nc(s) }; }); }; -function Yo(e, t, n) { +function Go(e, t, n) { return n === void 0 ? n : (o) => { const r = t().nodeInternals.get(e); r && n(o, { ...r }); }; } -function Ds({ id: e, store: t, unselect: n = !1, nodeRef: o }) { +function Ls({ 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", Xt.error012(e)); + s == null || s("012", Qt.error012(e)); return; } t.setState({ nodesSelectionActive: !1 }), u.selected ? (n || u.selected && i) && (a({ nodes: [u], edges: [] }), requestAnimationFrame(() => { @@ -20323,9 +20323,9 @@ function Ds({ id: e, store: t, unselect: n = !1, nodeRef: o }) { return (c = o == null ? void 0 : o.current) == null ? void 0 : c.blur(); })) : r([e]); } -function Mb() { +function Ob() { const e = rt(); - return Me(({ sourceEvent: n }) => { + return Te(({ 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] @@ -20337,20 +20337,20 @@ function Mb() { }; }, []); } -function Bl(e) { +function Vl(e) { return (t, n, o) => e == null ? void 0 : e(t, o); } -function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { - const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), f = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Mb(); +function cf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { + const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), h = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Ob(); return ue(() => { if (e != null && e.current) { const S = qt(e.current), w = ({ x: _, y: L }) => { - const { nodeInternals: R, onNodeDrag: F, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: N, snapToGrid: T, nodeOrigin: D, onError: I } = l.getState(); + const { nodeInternals: R, onNodeDrag: j, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: N, snapToGrid: T, nodeOrigin: D, onError: I } = l.getState(); d.current = { x: _, y: L }; - let j = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; + let F = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; if (c.current.length > 1 && k) { - const B = Ic(c.current, D); - v = Dc(B); + const B = zc(c.current, D); + v = Lc(B); } if (c.current = c.current.map((B) => { const A = { x: _ - B.distance.x, y: L - B.distance.y }; @@ -20360,14 +20360,14 @@ function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: [k[1][0], k[1][1]] ]; c.current.length > 1 && k && !B.extent && (W[0][0] = B.positionAbsolute.x - v.x + k[0][0], W[1][0] = B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0], W[0][1] = B.positionAbsolute.y - v.y + k[0][1], W[1][1] = B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1]); - const Y = of(B, A, R, W, D, I); - return j = j || B.position.x !== Y.position.x || B.position.y !== Y.position.y, B.position = Y.position, B.positionAbsolute = Y.positionAbsolute, B; - }), !j) + const Y = sf(B, A, R, W, D, I); + return F = F || B.position.x !== Y.position.x || B.position.y !== Y.position.y, B.position = Y.position, B.positionAbsolute = Y.positionAbsolute, B; + }), !F) return; V(c.current, !0, !0), u(!0); - const z = r ? F : Bl(P); + const z = r ? j : Vl(P); if (z && b.current) { - const [B, A] = Pl({ + const [B, A] = Bl({ nodeId: r, dragItems: c.current, nodeInternals: R @@ -20375,67 +20375,67 @@ function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: z(b.current, B, A); } }, E = () => { - if (!f.current) + if (!h.current) return; - const [_, L] = A3(m.current, f.current); + const [_, L] = N3(m.current, h.current); if (_ !== 0 || L !== 0) { - const { transform: R, panBy: F } = l.getState(); - d.current.x = (d.current.x ?? 0) - _ / R[2], d.current.y = (d.current.y ?? 0) - L / R[2], F({ x: _, y: L }) && w(d.current); + const { transform: R, panBy: j } = l.getState(); + d.current.x = (d.current.x ?? 0) - _ / R[2], d.current.y = (d.current.y ?? 0) - L / R[2], j({ x: _, y: L }) && w(d.current); } p.current = requestAnimationFrame(E); }, M = (_) => { var D; - const { nodeInternals: L, multiSelectionActive: R, nodesDraggable: F, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); + const { nodeInternals: L, multiSelectionActive: R, nodesDraggable: j, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); g.current = !0; - const N = r ? V : Bl(k); - (!i || !a) && !R && r && ((D = L.get(r)) != null && D.selected || P()), r && a && i && Ds({ + const N = r ? V : Vl(k); + (!i || !a) && !R && r && ((D = L.get(r)) != null && D.selected || P()), r && a && i && Ls({ id: r, store: l, nodeRef: e }); const T = C(_); - if (d.current = T, c.current = _b(L, F, T, r), N && c.current) { - const [I, j] = Pl({ + if (d.current = T, c.current = Mb(L, j, T, r), N && c.current) { + const [I, F] = Bl({ nodeId: r, dragItems: c.current, nodeInternals: L }); - N(_.sourceEvent, I, j); + N(_.sourceEvent, I, F); } }; if (t) S.on(".drag", null); else { - const _ = Rp().on("start", (L) => { - const { domNode: R, nodeDragThreshold: F } = l.getState(); - F === 0 && M(L), x.current = !1; + const _ = zp().on("start", (L) => { + const { domNode: R, nodeDragThreshold: j } = l.getState(); + j === 0 && M(L), x.current = !1; const P = C(L); - d.current = P, f.current = (R == null ? void 0 : R.getBoundingClientRect()) || null, m.current = jn(L.sourceEvent, f.current); + d.current = P, h.current = (R == null ? void 0 : R.getBoundingClientRect()) || null, m.current = Rn(L.sourceEvent, h.current); }).on("drag", (L) => { var V, k; - const R = C(L), { autoPanOnNodeDrag: F, nodeDragThreshold: P } = l.getState(); + const R = C(L), { autoPanOnNodeDrag: j, nodeDragThreshold: P } = l.getState(); if (L.sourceEvent.type === "touchmove" && L.sourceEvent.touches.length > 1 && (x.current = !0), !x.current) { - if (!y.current && g.current && F && (y.current = !0, E()), !g.current) { + if (!y.current && g.current && j && (y.current = !0, E()), !g.current) { const N = R.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 : V.x) ?? 0), T = R.ySnapped - (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); Math.sqrt(N * N + T * T) > P && M(L); } - (d.current.x !== R.xSnapped || d.current.y !== R.ySnapped) && c.current && g.current && (b.current = L.sourceEvent, m.current = jn(L.sourceEvent, f.current), w(R)); + (d.current.x !== R.xSnapped || d.current.y !== R.ySnapped) && c.current && g.current && (b.current = L.sourceEvent, m.current = Rn(L.sourceEvent, h.current), w(R)); } }).on("end", (L) => { if (!(!g.current || x.current) && (u(!1), y.current = !1, g.current = !1, cancelAnimationFrame(p.current), c.current)) { - const { updateNodePositions: R, nodeInternals: F, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : Bl(V); + const { updateNodePositions: R, nodeInternals: j, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : Vl(V); if (R(c.current, !1, !1), k) { - const [N, T] = Pl({ + const [N, T] = Bl({ nodeId: r, dragItems: c.current, - nodeInternals: F + nodeInternals: j }); k(L.sourceEvent, N, T); } } }).filter((L) => { const R = L.target; - return !L.button && (!n || !Lu(R, `.${n}`, e)) && (!o || Lu(R, o, e)); + return !L.button && (!n || !Fu(R, `.${n}`, e)) && (!o || Fu(R, o, e)); }); return S.call(_), () => { S.on(".drag", null); @@ -20454,14 +20454,14 @@ function rf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: C ]), s; } -function af() { +function uf() { const e = rt(); - return Me((n) => { - const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), p = l ? s[0] : 5, f = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * p * m, y = n.y * f * m, g = d.map((x) => { + return Te((n) => { + const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), p = l ? s[0] : 5, h = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * p * m, y = n.y * h * m, g = d.map((x) => { if (x.positionAbsolute) { const C = { x: x.positionAbsolute.x + b, y: x.positionAbsolute.y + y }; l && (C.x = s[0] * Math.round(C.x / s[0]), C.y = s[1] * Math.round(C.y / s[1])); - const { positionAbsolute: S, position: w } = of(x, C, o, r, void 0, u); + const { positionAbsolute: S, position: w } = sf(x, C, o, r, void 0, u); x.position = w, x.positionAbsolute = S; } return x; @@ -20469,39 +20469,39 @@ function af() { a(g, !0, !1); }, []); } -const yo = { +const xo = { ArrowUp: { x: 0, y: -1 }, ArrowDown: { x: 0, y: 1 }, ArrowLeft: { x: -1, y: 0 }, ArrowRight: { x: 1, y: 0 } }; -var Go = (e) => { - const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: p, onMouseLeave: f, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: w, selectNodesOnDrag: E, sourcePosition: M, targetPosition: _, hidden: L, resizeObserver: R, dragHandle: F, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: D, ariaLabel: I, rfId: j, hasHandleBounds: v }) => { - const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || f, ne = af(), oe = Yo(n, z.getState, d), U = Yo(n, z.getState, p), ge = Yo(n, z.getState, f), J = Yo(n, z.getState, m), ke = Yo(n, z.getState, b), ae = (Ee) => { +var Ko = (e) => { + const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: p, onMouseLeave: h, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: w, selectNodesOnDrag: E, sourcePosition: M, targetPosition: _, hidden: L, resizeObserver: R, dragHandle: j, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: D, ariaLabel: I, rfId: F, hasHandleBounds: v }) => { + const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || h, ne = uf(), oe = Go(n, z.getState, d), U = Go(n, z.getState, p), ge = Go(n, z.getState, h), J = Go(n, z.getState, m), ke = Go(n, z.getState, b), ae = (Ee) => { const { nodeDragThreshold: le } = z.getState(); - if (C && (!E || !x || le > 0) && Ds({ + if (C && (!E || !x || le > 0) && Ls({ id: n, store: z, nodeRef: B }), c) { - const Ge = z.getState().nodeInternals.get(n); - Ge && c(Ee, { ...Ge }); + const Xe = z.getState().nodeInternals.get(n); + Xe && c(Ee, { ...Xe }); } }, _e = (Ee) => { - if (!As(Ee) && !D) - if (T3.includes(Ee.key) && C) { + if (!Ms(Ee) && !D) + if (L3.includes(Ee.key) && C) { const le = Ee.key === "Escape"; - Ds({ + Ls({ id: n, store: z, unselect: le, nodeRef: B }); - } else x && u && Object.prototype.hasOwnProperty.call(yo, Ee.key) && (z.setState({ + } else x && u && Object.prototype.hasOwnProperty.call(xo, Ee.key) && (z.setState({ ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}` }), ne({ - x: yo[Ee.key].x, - y: yo[Ee.key].y, + x: xo[Ee.key].x, + y: xo[Ee.key].y, isShiftPressed: Ee.shiftKey })); }; @@ -20513,14 +20513,14 @@ var Go = (e) => { (!T || !v || A.current !== Ee) && (A.current && (R == null || R.unobserve(A.current)), R == null || R.observe(Ee), A.current = Ee); } }, [L, T, v]), ue(() => { - const Ee = K.current !== o, le = W.current !== M, Ge = Y.current !== _; - B.current && (Ee || le || Ge) && (Ee && (K.current = o), le && (W.current = M), Ge && (Y.current = _), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); + const Ee = K.current !== o, le = W.current !== M, Xe = Y.current !== _; + B.current && (Ee || le || Xe) && (Ee && (K.current = o), le && (W.current = M), Xe && (Y.current = _), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); }, [n, o, M, _]); - const $e = rf({ + const We = cf({ nodeRef: B, disabled: L || !x, noDragClassName: k, - handleSelector: F, + handleSelector: j, nodeId: n, isSelectable: C, selectNodesOnDrag: E @@ -20539,7 +20539,7 @@ var Go = (e) => { selected: u, selectable: C, parent: V, - dragging: $e + dragging: We } ]), ref: B, style: { zIndex: P, @@ -20547,42 +20547,42 @@ var Go = (e) => { pointerEvents: Q ? "all" : "none", visibility: T ? "visible" : "hidden", ...y - }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": D ? void 0 : `${K3}-${j}`, "aria-label": I }, + }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": D ? void 0 : `${ef}-${F}`, "aria-label": I }, $.createElement( - Pm, + Vm, { value: n }, - $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: M, targetPosition: _, dragging: $e, dragHandle: F, zIndex: P }) + $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: M, targetPosition: _, dragging: We, dragHandle: j, zIndex: P }) ) ); }; - return t.displayName = "NodeWrapper", Ye(t); + return t.displayName = "NodeWrapper", Ge(t); }; -const Tb = (e) => { +const Nb = (e) => { const t = e.getNodes().filter((n) => n.selected); return { - ...Ic(t, e.nodeOrigin), + ...zc(t, e.nodeOrigin), transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, userSelectionActive: e.userSelectionActive }; }; -function Ob({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ze(Tb, ut), c = af(), d = he(null); +function Db({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { + const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ue(Nb, ut), c = uf(), d = he(null); if (ue(() => { var m; n || (m = d.current) == null || m.focus({ preventScroll: !0 }); - }, [n]), rf({ + }, [n]), cf({ nodeRef: d }), u || !r || !a) return null; const p = e ? (m) => { const b = o.getState().getNodes().filter((y) => y.selected); e(m, b); - } : void 0, f = (m) => { - Object.prototype.hasOwnProperty.call(yo, m.key) && c({ - x: yo[m.key].x, - y: yo[m.key].y, + } : void 0, h = (m) => { + Object.prototype.hasOwnProperty.call(xo, m.key) && c({ + x: xo[m.key].x, + y: xo[m.key].y, isShiftPressed: m.shiftKey }); }; @@ -20591,7 +20591,7 @@ function Ob({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: { className: bt(["react-flow__nodesselection", "react-flow__container", t]), style: { transform: s } }, - $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: p, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : f, style: { + $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: p, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : h, style: { width: r, height: a, top: l, @@ -20599,55 +20599,55 @@ function Ob({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: } }) ); } -var Nb = Ye(Ob); -const Db = (e) => e.nodesSelectionActive, lf = ({ 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: p, selectionMode: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: j }) => { - const v = Ze(Db), z = vr(d), B = vr(g), A = B || R, W = B || E, Y = z || p && A !== !0; - return mb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( - vb, - { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: F, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: D, noPanClassName: I }, +var Lb = Ge(Db); +const jb = (e) => e.nodesSelectionActive, df = ({ 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: p, selectionMode: h, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: F }) => { + const v = Ue(jb), z = xr(d), B = xr(g), A = B || R, W = B || E, Y = z || p && A !== !0; + return yb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( + wb, + { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: D, noPanClassName: I }, $.createElement( - tf, - { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: A, isSelecting: !!Y, selectionMode: f }, + af, + { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: A, isSelecting: !!Y, selectionMode: h }, e, - v && $.createElement(Nb, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: j }) + v && $.createElement(Lb, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: F }) ) ); }; -lf.displayName = "FlowRenderer"; -var Lb = Ye(lf); -function Fb(e) { - return Ze(Me((n) => e ? I3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); +df.displayName = "FlowRenderer"; +var Fb = Ge(df); +function Rb(e) { + return Ue(Te((n) => e ? B3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); } -function jb(e) { +function Ib(e) { const t = { - input: Go(e.input || U3), - default: Go(e.default || Ns), - output: Go(e.output || Y3), - group: Go(e.group || Hc) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Go(e[a] || Ns), r), n); + input: Ko(e.input || K3), + default: Ko(e.default || Ds), + output: Ko(e.output || Q3), + group: Ko(e.group || Pc) + }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Ko(e[a] || Ds), r), n); return { ...t, ...o }; } -const Rb = ({ 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 } : { +const zb = ({ 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] -}, Ib = (e) => ({ +}, Hb = (e) => ({ nodesDraggable: e.nodesDraggable, nodesConnectable: e.nodesConnectable, nodesFocusable: e.nodesFocusable, elementsSelectable: e.elementsSelectable, updateNodeDimensions: e.updateNodeDimensions, onError: e.onError -}), sf = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ze(Ib, ut), l = Fb(e.onlyRenderVisibleElements), s = he(), u = Be(() => { +}), ff = (e) => { + const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ue(Hb, ut), l = Rb(e.onlyRenderVisibleElements), s = he(), u = Ve(() => { if (typeof ResizeObserver > "u") return null; const c = new ResizeObserver((d) => { - const p = d.map((f) => ({ - id: f.target.getAttribute("data-id"), - nodeElement: f.target, + const p = d.map((h) => ({ + id: h.target.getAttribute("data-id"), + nodeElement: h.target, forceUpdate: !0 })); a(p); @@ -20657,41 +20657,41 @@ const Rb = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e return ue(() => () => { var c; (c = s == null ? void 0 : s.current) == null || c.disconnect(); - }, []), $.createElement("div", { className: "react-flow__nodes", style: Pc }, l.map((c) => { + }, []), $.createElement("div", { className: "react-flow__nodes", style: Bc }, l.map((c) => { var w, E, M; let d = c.type || "default"; - e.nodeTypes[d] || (i == null || i("003", Xt.error003(d)), d = "default"); - const p = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Nc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = Rb({ + e.nodeTypes[d] || (i == null || i("003", Qt.error003(d)), d = "default"); + const p = e.nodeTypes[d] || e.nodeTypes.default, h = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Dc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = zb({ x, y: C, width: c.width ?? 0, height: c.height ?? 0, origin: e.nodeOrigin }); - return $.createElement(p, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ie.Bottom, targetPosition: c.targetPosition || ie.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: S.x, yPosOrigin: S.y, selectNodesOnDrag: e.selectNodesOnDrag, onClick: e.onNodeClick, onMouseEnter: e.onNodeMouseEnter, onMouseMove: e.onNodeMouseMove, onMouseLeave: e.onNodeMouseLeave, onContextMenu: e.onNodeContextMenu, onDoubleClick: e.onNodeDoubleClick, selected: !!c.selected, isDraggable: f, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((w = c[qe]) == null ? void 0 : w.z) ?? 0, isParent: !!((E = c[qe]) != null && E.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((M = c[qe]) != null && M.handleBounds) }); + return $.createElement(p, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ie.Bottom, targetPosition: c.targetPosition || ie.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: S.x, yPosOrigin: S.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: h, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((w = c[Ye]) == null ? void 0 : w.z) ?? 0, isParent: !!((E = c[Ye]) != null && E.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((M = c[Ye]) != null && M.handleBounds) }); })); }; -sf.displayName = "NodeRenderer"; -var zb = Ye(sf); -const Hb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Pb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, ju = "react-flow__edgeupdater", Ru = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([ju, `${ju}-${l}`]), cx: Hb(t, o, e), cy: Pb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Bb = () => !0; -var co = (e) => { - const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, elementsSelectable: L, hidden: R, sourceHandleId: F, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: D, onReconnect: I, onReconnectStart: j, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { - const U = he(null), [ge, J] = ce(!1), [ke, ae] = ce(!1), _e = rt(), $e = Be(() => `url('#${Ts(B, A)}')`, [B, A]), Ee = Be(() => `url('#${Ts(z, A)}')`, [z, A]); +ff.displayName = "NodeRenderer"; +var Pb = Ge(ff); +const Bb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Vb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, Iu = "react-flow__edgeupdater", zu = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([Iu, `${Iu}-${l}`]), cx: Bb(t, o, e), cy: Vb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), $b = () => !0; +var ho = (e) => { + const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: h, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, elementsSelectable: L, hidden: R, sourceHandleId: j, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: D, onReconnect: I, onReconnectStart: F, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { + const U = he(null), [ge, J] = ce(!1), [ke, ae] = ce(!1), _e = rt(), We = Ve(() => `url('#${Os(B, A)}')`, [B, A]), Ee = Ve(() => `url('#${Os(z, A)}')`, [z, A]); if (R) return null; const le = (de) => { var Se; - const { edges: Ve, addSelectedEdges: tt, unselectNodesAndEdges: Qe, multiSelectionActive: ht } = _e.getState(), it = Ve.find((Wt) => Wt.id === n); - it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (Qe({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : tt([n])), i && i(de, it)); - }, Ge = qo(n, _e.getState, l), Ot = qo(n, _e.getState, V), en = qo(n, _e.getState, k), Nt = qo(n, _e.getState, N), tn = qo(n, _e.getState, T), St = (de, Ve) => { + const { edges: $e, addSelectedEdges: nt, unselectNodesAndEdges: et, multiSelectionActive: ht } = _e.getState(), it = $e.find((Wt) => Wt.id === n); + it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (et({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : nt([n])), i && i(de, it)); + }, Xe = Yo(n, _e.getState, l), Ot = Yo(n, _e.getState, V), tn = Yo(n, _e.getState, k), Nt = Yo(n, _e.getState, N), nn = Yo(n, _e.getState, T), St = (de, $e) => { if (de.button !== 0) return; - const { edges: tt, isValidConnection: Qe } = _e.getState(), ht = Ve ? x : g, it = (Ve ? P : F) || null, Se = Ve ? "target" : "source", Wt = Qe || Bb, lt = Ve, kn = tt.find((Zt) => Zt.id === n); - ae(!0), j == null || j(de, kn, Se); - const nn = (Zt) => { + const { edges: nt, isValidConnection: et } = _e.getState(), ht = $e ? x : g, it = ($e ? P : j) || null, Se = $e ? "target" : "source", Wt = et || $b, lt = $e, kn = nt.find((Zt) => Zt.id === n); + ae(!0), F == null || F(de, kn, Se); + const on = (Zt) => { ae(!1), v == null || v(Zt, kn, Se); }; - V3({ + U3({ event: de, handleId: it, nodeId: ht, @@ -20701,13 +20701,13 @@ var co = (e) => { setState: _e.setState, isValidConnection: Wt, edgeUpdaterType: Se, - onReconnectEnd: nn + onReconnectEnd: on }); }, $t = (de) => St(de, !0), Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !L && !i, xe = (de) => { - var Ve; - if (!oe && T3.includes(de.key) && L) { - const { unselectNodesAndEdges: tt, addSelectedEdges: Qe, edges: ht } = _e.getState(); - de.key === "Escape" ? ((Ve = U.current) == null || Ve.blur(), tt({ edges: [ht.find((Se) => Se.id === n)] })) : Qe([n]); + var $e; + if (!oe && L3.includes(de.key) && L) { + const { unselectNodesAndEdges: nt, addSelectedEdges: et, edges: ht } = _e.getState(); + de.key === "Escape" ? (($e = U.current) == null || $e.blur(), nt({ edges: [ht.find((Se) => Se.id === n)] })) : et([n]); } }; return $.createElement( @@ -20717,32 +20717,32 @@ var co = (e) => { `react-flow__edge-${r}`, o, { selected: s, animated: u, inactive: se, updating: ge } - ]), onClick: le, onDoubleClick: Ge, onContextMenu: Ot, onMouseEnter: en, onMouseMove: Nt, onMouseLeave: tn, onKeyDown: Y ? xe : void 0, tabIndex: Y ? 0 : void 0, role: Y ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": Y ? `${X3}-${A}` : void 0, ref: U }, - !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: y, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, sourceHandleId: F, targetHandleId: P, markerStart: $e, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), + ]), onClick: le, onDoubleClick: Xe, onContextMenu: Ot, onMouseEnter: tn, onMouseMove: Nt, onMouseLeave: nn, onKeyDown: Y ? xe : void 0, tabIndex: Y ? 0 : void 0, role: Y ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": Y ? `${tf}-${A}` : void 0, ref: U }, + !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: h, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: y, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, sourceHandleId: j, targetHandleId: P, markerStart: We, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), K && $.createElement( $.Fragment, null, - (K === "source" || K === !0) && $.createElement(Ru, { position: M, centerX: C, centerY: S, radius: D, onMouseDown: $t, onMouseEnter: Z, onMouseOut: ee, type: "source" }), - (K === "target" || K === !0) && $.createElement(Ru, { position: _, centerX: w, centerY: E, radius: D, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) + (K === "source" || K === !0) && $.createElement(zu, { position: M, centerX: C, centerY: S, radius: D, onMouseDown: $t, onMouseEnter: Z, onMouseOut: ee, type: "source" }), + (K === "target" || K === !0) && $.createElement(zu, { position: _, centerX: w, centerY: E, radius: D, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) ) ); }; - return t.displayName = "EdgeWrapper", Ye(t); + return t.displayName = "EdgeWrapper", Ge(t); }; -function Vb(e) { +function Wb(e) { const t = { - default: co(e.default || Pa), - straight: co(e.bezier || jc), - step: co(e.step || Fc), - smoothstep: co(e.step || ii), - simplebezier: co(e.simplebezier || Lc) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = co(e[a] || Pa), r), n); + default: ho(e.default || Va), + straight: ho(e.bezier || Rc), + step: ho(e.step || Fc), + smoothstep: ho(e.step || si), + simplebezier: ho(e.simplebezier || jc) + }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = ho(e[a] || Va), r), n); return { ...t, ...o }; } -function Iu(e, t, n = null) { +function Hu(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 ie.Top: @@ -20767,11 +20767,11 @@ function Iu(e, t, n = null) { }; } } -function zu(e, t) { +function Pu(e, t) { return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; } -const $b = (e, t, n, o, r, a) => { - const i = Iu(n, e, t), l = Iu(a, o, r); +const Zb = (e, t, n, o, r, a) => { + const i = Hu(n, e, t), l = Hu(a, o, r); return { sourceX: i.x, sourceY: i.y, @@ -20779,7 +20779,7 @@ const $b = (e, t, n, o, r, a) => { targetY: l.y }; }; -function Wb({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targetWidth: r, targetHeight: a, width: i, height: l, transform: s }) { +function Ub({ 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), @@ -20787,7 +20787,7 @@ function Wb({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targe 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 = Dc({ + const c = Lc({ x: (0 - s[0]) / s[2], y: (0 - s[1]) / s[2], width: i / s[2], @@ -20795,9 +20795,9 @@ function Wb({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targe }), d = Math.max(0, Math.min(c.x2, u.x2) - Math.max(c.x, u.x)), p = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); return Math.ceil(d * p) > 0; } -function Hu(e) { +function Bu(e) { var o, r, a, i, l; - const t = ((o = e == null ? void 0 : e[qe]) == null ? void 0 : o.handleBounds) || null, n = t && (e == null ? void 0 : e.width) && (e == null ? void 0 : e.height) && typeof ((r = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : r.x) < "u" && typeof ((a = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : a.y) < "u"; + const t = ((o = e == null ? void 0 : e[Ye]) == 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, @@ -20809,15 +20809,15 @@ function Hu(e) { !!n ]; } -const Zb = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function Ub(e, t, n = !1) { +const qb = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function Yb(e, t, n = !1) { let o = -1; const r = e.reduce((i, l) => { var c, d; const s = Rt(l.zIndex); let u = s ? l.zIndex : 0; if (n) { - const p = t.get(l.target), f = t.get(l.source), m = l.selected || (p == null ? void 0 : p.selected) || (f == null ? void 0 : f.selected), b = Math.max(((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, ((d = p == null ? void 0 : p[qe]) == null ? void 0 : d.z) || 0, 1e3); + const p = t.get(l.target), h = t.get(l.source), m = l.selected || (p == null ? void 0 : p.selected) || (h == null ? void 0 : h.selected), b = Math.max(((c = h == null ? void 0 : h[Ye]) == null ? void 0 : c.z) || 0, ((d = p == null ? void 0 : p[Ye]) == 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; @@ -20829,12 +20829,12 @@ function Ub(e, t, n = !1) { isMaxLevel: s === o }; }); - return a.length === 0 ? Zb : a; + return a.length === 0 ? qb : a; } -function qb(e, t, n) { - const o = Ze(Me((r) => e ? r.edges.filter((a) => { +function Gb(e, t, n) { + const o = Ue(Te((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) && Wb({ + 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) && Ub({ sourcePos: i.positionAbsolute || { x: 0, y: 0 }, targetPos: l.positionAbsolute || { x: 0, y: 0 }, sourceWidth: i.width, @@ -20846,52 +20846,52 @@ function qb(e, t, n) { transform: r.transform }); }) : r.edges, [e, t])); - return Ub(o, t, n); + return Yb(o, t, n); } -const Yb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +const Kb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Gb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { +}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Xb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { stroke: e, fill: e, strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Pu = { - [Ha.Arrow]: Yb, - [Ha.ArrowClosed]: Gb +}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Vu = { + [Ba.Arrow]: Kb, + [Ba.ArrowClosed]: Xb }; -function Kb(e) { +function Qb(e) { const t = rt(); - return Be(() => { + return Ve(() => { var r, a; - return Object.prototype.hasOwnProperty.call(Pu, e) ? Pu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Xt.error009(e)), null); + return Object.prototype.hasOwnProperty.call(Vu, e) ? Vu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Qt.error009(e)), null); }, [e]); } -const Xb = ({ 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 = Kb(t); +const Jb = ({ 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 = Qb(t); return s ? $.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" }, $.createElement(s, { color: n, strokeWidth: i }) ) : null; -}, Qb = ({ defaultColor: e, rfId: t }) => (n) => { +}, ey = ({ 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 = Ts(i, t); + const l = Os(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)); -}, cf = ({ defaultColor: e, rfId: t }) => { - const n = Ze( - Me(Qb({ defaultColor: e, rfId: t }), [e, t]), +}, hf = ({ defaultColor: e, rfId: t }) => { + const n = Ue( + Te(ey({ 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 $.createElement("defs", null, n.map((o) => $.createElement(Xb, { 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 }))); + return $.createElement("defs", null, n.map((o) => $.createElement(Jb, { 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 }))); }; -cf.displayName = "MarkerDefinitions"; -var Jb = Ye(cf); -const ey = (e) => ({ +hf.displayName = "MarkerDefinitions"; +var ty = Ge(hf); +const ny = (e) => ({ nodesConnectable: e.nodesConnectable, edgesFocusable: e.edgesFocusable, edgesUpdatable: e.edgesUpdatable, @@ -20901,66 +20901,66 @@ const ey = (e) => ({ connectionMode: e.connectionMode, nodeInternals: e.nodeInternals, onError: e.onError -}), uf = ({ 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: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { - const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ze(ey, ut), R = qb(t, _, n); +}), pf = ({ 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: p, onReconnectStart: h, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { + const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ue(ny, ut), R = Gb(t, _, n); return w ? $.createElement( $.Fragment, null, - R.map(({ level: F, edges: P, isMaxLevel: V }) => $.createElement( + R.map(({ level: j, edges: P, isMaxLevel: V }) => $.createElement( "svg", - { key: F, style: { zIndex: F }, width: w, height: E, className: "react-flow__edges react-flow__container" }, - V && $.createElement(Jb, { defaultColor: e, rfId: o }), + { key: j, style: { zIndex: j }, width: w, height: E, className: "react-flow__edges react-flow__container" }, + V && $.createElement(ty, { defaultColor: e, rfId: o }), $.createElement("g", null, P.map((k) => { - const [N, T, D] = Hu(_.get(k.source)), [I, j, v] = Hu(_.get(k.target)); + const [N, T, D] = Bu(_.get(k.source)), [I, F, v] = Bu(_.get(k.target)); if (!D || !v) return null; let z = k.type || "default"; - r[z] || (L == null || L("011", Xt.error011(z)), z = "default"); - const B = r[z] || r.default, A = M === eo.Strict ? j.target : (j.target ?? []).concat(j.source ?? []), W = zu(T.source, k.sourceHandle), Y = zu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); + r[z] || (L == null || L("011", Qt.error011(z)), z = "default"); + const B = r[z] || r.default, A = M === no.Strict ? F.target : (F.target ?? []).concat(F.source ?? []), W = Pu(T.source, k.sourceHandle), Y = Pu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); if (!W || !Y) - return L == null || L("008", Xt.error008(W, k)), null; - const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = $b(N, W, K, I, Y, Q); - return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: p, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); + return L == null || L("008", Qt.error008(W, k)), null; + const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = Zb(N, W, K, I, Y, Q); + return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: p, onReconnectStart: h, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); })) )), y ) : null; }; -uf.displayName = "EdgeRenderer"; -var ty = Ye(uf); -const ny = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function oy({ children: e }) { - const t = Ze(ny); +pf.displayName = "EdgeRenderer"; +var oy = Ge(pf); +const ry = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function ay({ children: e }) { + const t = Ue(ry); return $.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); } -function ry(e) { - const t = Jt(), n = he(!1); +function iy(e) { + const t = en(), n = he(!1); ue(() => { !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); }, [e, t.viewportInitialized]); } -const ay = { +const ly = { [ie.Left]: ie.Right, [ie.Right]: ie.Left, [ie.Top]: ie.Bottom, [ie.Bottom]: ie.Top -}, df = ({ nodeId: e, handleType: t, style: n, type: o = Ln.Bezier, CustomComponent: r, connectionStatus: a }) => { +}, gf = ({ nodeId: e, handleType: t, style: n, type: o = Ln.Bezier, CustomComponent: r, connectionStatus: a }) => { var E, M, _; - const { fromNode: i, handleId: l, toX: s, toY: u, connectionMode: c } = Ze(Me((L) => ({ + const { fromNode: i, handleId: l, toX: s, toY: u, connectionMode: c } = Ue(Te((L) => ({ fromNode: L.nodeInternals.get(e), handleId: L.connectionHandleId, toX: (L.connectionPosition.x - L.transform[0]) / L.transform[2], toY: (L.connectionPosition.y - L.transform[1]) / L.transform[2], connectionMode: L.connectionMode - }), [e]), ut), d = (E = i == null ? void 0 : i[qe]) == null ? void 0 : E.handleBounds; + }), [e]), ut), d = (E = i == null ? void 0 : i[Ye]) == null ? void 0 : E.handleBounds; let p = d == null ? void 0 : d[t]; - if (c === eo.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) + if (c === no.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) return null; - const f = l ? p.find((L) => L.id === l) : p[0], m = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, b = f ? f.y + f.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? ay[x] : null; + const h = l ? p.find((L) => L.id === l) : p[0], m = h ? h.x + h.width / 2 : (i.width ?? 0) / 2, b = h ? h.y + h.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = h == null ? void 0 : h.position, C = x ? ly[x] : null; if (!x || !C) return null; if (r) - return $.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: i, fromHandle: f, fromX: y, fromY: g, toX: s, toY: u, fromPosition: x, toPosition: C, connectionStatus: a }); + return $.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: i, fromHandle: h, fromX: y, fromY: g, toX: s, toY: u, fromPosition: x, toPosition: C, connectionStatus: a }); let S = ""; const w = { sourceX: y, @@ -20970,13 +20970,13 @@ const ay = { targetY: u, targetPosition: C }; - return o === Ln.Bezier ? [S] = j3(w) : o === Ln.Step ? [S] = Ms({ + return o === Ln.Bezier ? [S] = H3(w) : o === Ln.Step ? [S] = Ts({ ...w, borderRadius: 0 - }) : o === Ln.SmoothStep ? [S] = Ms(w) : o === Ln.SimpleBezier ? [S] = F3(w) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); + }) : o === Ln.SmoothStep ? [S] = Ts(w) : o === Ln.SimpleBezier ? [S] = z3(w) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); }; -df.displayName = "ConnectionLine"; -const iy = (e) => ({ +gf.displayName = "ConnectionLine"; +const sy = (e) => ({ nodeId: e.connectionNodeId, handleType: e.connectionHandleType, nodesConnectable: e.nodesConnectable, @@ -20984,50 +20984,50 @@ const iy = (e) => ({ width: e.width, height: e.height }); -function ly({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ze(iy, ut); +function cy({ containerStyle: e, style: t, type: n, component: o }) { + const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ue(sy, ut); return !(r && a && l && i) ? null : $.createElement( "svg", { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, $.createElement( "g", { className: bt(["react-flow__connection", u]) }, - $.createElement(df, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) + $.createElement(gf, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) ) ); } -function Bu(e, t) { +function $u(e, t) { const n = he(null), o = rt(); - return Be(() => { + return Ve(() => { var a, i; if (process.env.NODE_ENV === "development") { const l = Object.keys(e); - ut(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", Xt.error002())), n.current = l; + ut(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", Qt.error002())), n.current = l; } return t(e); }, [e]); } -const ff = ({ 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: p, onNodeContextMenu: f, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, deleteKeyCode: F, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, preventScrolling: j, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, elevateEdgesOnSelect: $t, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { - const xe = Bu(e, jb), de = Bu(t, Vb); - return ry(a), $.createElement( - Lb, - { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: F, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, onSelectionContextMenu: m, preventScrolling: j, noDragClassName: Nt, noWheelClassName: tn, noPanClassName: St, disableKeyboardA11y: Dt }, +const mf = ({ 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: p, onNodeContextMenu: h, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, deleteKeyCode: j, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, preventScrolling: F, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: We, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Xe, onReconnectEnd: Ot, reconnectRadius: tn, noDragClassName: Nt, noWheelClassName: nn, noPanClassName: St, elevateEdgesOnSelect: $t, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { + const xe = $u(e, Ib), de = $u(t, Wb); + return iy(a), $.createElement( + Fb, + { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: j, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, onSelectionContextMenu: m, preventScrolling: F, noDragClassName: Nt, noWheelClassName: nn, noPanClassName: St, disableKeyboardA11y: Dt }, $.createElement( - oy, + ay, null, $.createElement( - ty, - { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: en, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!$t, disableKeyboardA11y: Dt, rfId: se }, - $.createElement(ly, { style: x, type: g, component: C, containerStyle: S }) + oy, + { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: We, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Xe, onReconnectEnd: Ot, reconnectRadius: tn, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!$t, disableKeyboardA11y: Dt, rfId: se }, + $.createElement(cy, { style: x, type: g, component: C, containerStyle: S }) ), $.createElement("div", { className: "react-flow__edgelabel-renderer" }), - $.createElement(zb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) + $.createElement(Pb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: h, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) ) ); }; -ff.displayName = "GraphView"; -var sy = Ye(ff); -const Ls = [ +mf.displayName = "GraphView"; +var uy = Ge(mf); +const js = [ [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] ], An = { @@ -21046,8 +21046,8 @@ const Ls = [ d3ZoomHandler: void 0, minZoom: 0.5, maxZoom: 2, - translateExtent: Ls, - nodeExtent: Ls, + translateExtent: js, + nodeExtent: js, nodesSelectionActive: !1, userSelectionActive: !1, userSelectionRect: null, @@ -21056,7 +21056,7 @@ const Ls = [ connectionHandleType: "source", connectionPosition: { x: 0, y: 0 }, connectionStatus: null, - connectionMode: eo.Strict, + connectionMode: no.Strict, domNode: null, paneDragging: !1, noPanClassName: "nopan", @@ -21084,13 +21084,13 @@ const Ls = [ autoPanOnConnect: !0, autoPanOnNodeDrag: !0, connectionRadius: 20, - onError: O3, + onError: j3, isValidConnection: void 0 -}, cy = () => Y9((e, t) => ({ +}, dy = () => K9((e, t) => ({ ...An, setNodes: (n) => { const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: a } = t(); - e({ nodeInternals: zl(n, o, r, a) }); + e({ nodeInternals: Hl(n, o, r, a) }); }, getNodes: () => Array.from(t().nodeInternals.values()), setEdges: (n) => { @@ -21098,34 +21098,34 @@ const Ls = [ e({ edges: n.map((r) => ({ ...o, ...r })) }); }, setDefaultNodesAndEdges: (n, o) => { - const r = typeof n < "u", a = typeof o < "u", i = r ? zl(n, /* @__PURE__ */ new Map(), t().nodeOrigin, t().elevateNodesOnSelect) : /* @__PURE__ */ new Map(); + const r = typeof n < "u", a = typeof o < "u", i = r ? Hl(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: p } = new window.DOMMatrixReadOnly(d.transform), f = n.reduce((b, y) => { + const d = window.getComputedStyle(c), { m22: p } = new window.DOMMatrixReadOnly(d.transform), h = n.reduce((b, y) => { const g = r.get(y.id); if (g != null && g.hidden) r.set(g.id, { ...g, - [qe]: { - ...g[qe], + [Ye]: { + ...g[Ye], // we need to reset the handle bounds when the node is hidden // in order to force a new observation when the node is shown again handleBounds: void 0 } }); else if (g) { - const x = Oc(y.nodeElement); + const x = Nc(y.nodeElement); !!(x.width && x.height && (g.width !== x.width || g.height !== x.height || y.forceUpdate)) && (r.set(g.id, { ...g, - [qe]: { - ...g[qe], + [Ye]: { + ...g[Ye], handleBounds: { - source: Fu(".source", y.nodeElement, p, u), - target: Fu(".target", y.nodeElement, p, u) + source: Ru(".source", y.nodeElement, p, u), + target: Ru(".target", y.nodeElement, p, u) } }, ...x @@ -21137,9 +21137,9 @@ const Ls = [ } return b; }, []); - J3(r, u); - const m = i || a && !i && ef(t, { initial: !0, ...l }); - e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (f == null ? void 0 : f.length) > 0 && (o == null || o(f)); + of(r, u); + const m = i || a && !i && rf(t, { initial: !0, ...l }); + e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (h == null ? void 0 : h.length) > 0 && (o == null || o(h)); }, updateNodePositions: (n, o = !0, r = !1) => { const { triggerNodeChanges: a } = t(), i = n.map((l) => { @@ -21156,7 +21156,7 @@ const Ls = [ const { onNodesChange: o, nodeInternals: r, hasDefaultNodes: a, nodeOrigin: i, getNodes: l, elevateNodesOnSelect: s } = t(); if (n != null && n.length) { if (a) { - const u = Sb(n, l()), c = zl(u, r, i, s); + const u = _b(n, l()), c = Hl(u, r, i, s); e({ nodeInternals: c }); } o == null || o(n); @@ -21165,7 +21165,7 @@ const Ls = [ addSelectedNodes: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Dn(s, !0)) : (i = fo(a(), n), l = fo(r, [])), oa({ + o ? i = n.map((s) => Dn(s, !0)) : (i = go(a(), n), l = go(r, [])), aa({ changedNodes: i, changedEdges: l, get: t, @@ -21175,7 +21175,7 @@ const Ls = [ addSelectedEdges: (n) => { const { multiSelectionActive: o, edges: r, getNodes: a } = t(); let i, l = null; - o ? i = n.map((s) => Dn(s, !0)) : (i = fo(r, n), l = fo(a(), [])), oa({ + o ? i = n.map((s) => Dn(s, !0)) : (i = go(r, n), l = go(a(), [])), aa({ changedNodes: l, changedEdges: i, get: t, @@ -21184,7 +21184,7 @@ const Ls = [ }, unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { const { edges: r, getNodes: a } = t(), i = n || a(), l = o || r, s = i.map((c) => (c.selected = !1, Dn(c.id, !1))), u = l.map((c) => Dn(c.id, !1)); - oa({ + aa({ changedNodes: s, changedEdges: u, get: t, @@ -21205,7 +21205,7 @@ const Ls = [ }, resetSelectedElements: () => { const { edges: n, getNodes: o } = t(), a = o().filter((l) => l.selected).map((l) => Dn(l.id, !1)), i = n.filter((l) => l.selected).map((l) => Dn(l.id, !1)); - oa({ + aa({ changedNodes: a, changedEdges: i, get: t, @@ -21215,7 +21215,7 @@ const Ls = [ setNodeExtent: (n) => { const { nodeInternals: o } = t(); o.forEach((r) => { - r.positionAbsolute = Nc(r.position, n); + r.positionAbsolute = Dc(r.position, n); }), e({ nodeExtent: n, nodeInternals: new Map(o) @@ -21240,94 +21240,94 @@ const Ls = [ connectionEndHandle: An.connectionEndHandle }), reset: () => e({ ...An }) -}), Object.is), Dr = ({ children: e }) => { +}), Object.is), Lr = ({ children: e }) => { const t = he(null); - return t.current || (t.current = cy()), $.createElement(Am, { value: t.current }, e); + return t.current || (t.current = dy()), $.createElement(Tm, { value: t.current }, e); }; -Dr.displayName = "ReactFlowProvider"; -const hf = ({ children: e }) => et(ai) ? $.createElement($.Fragment, null, e) : $.createElement(Dr, null, e); -hf.displayName = "ReactFlowWrapper"; -const uy = { - input: U3, - default: Ns, - output: Y3, - group: Hc -}, dy = { - default: Pa, - straight: jc, +Lr.displayName = "ReactFlowProvider"; +const bf = ({ children: e }) => tt(li) ? $.createElement($.Fragment, null, e) : $.createElement(Lr, null, e); +bf.displayName = "ReactFlowWrapper"; +const fy = { + input: K3, + default: Ds, + output: Q3, + group: Pc +}, hy = { + default: Va, + straight: Rc, step: Fc, - smoothstep: ii, - simplebezier: Lc -}, fy = [0, 0], hy = [15, 15], py = { x: 0, y: 0, zoom: 1 }, gy = { + smoothstep: si, + simplebezier: jc +}, py = [0, 0], gy = [15, 15], my = { x: 0, y: 0, zoom: 1 }, by = { width: "100%", height: "100%", overflow: "hidden", position: "relative", zIndex: 0 -}, li = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = uy, edgeTypes: i = dy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: F, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: j = eo.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = Cr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = za() ? "Meta" : "Control", zoomActivationKeyCode: U = za() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = hy, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, nodeOrigin: le = fy, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, defaultViewport: Nt = py, minZoom: tn = 0.5, maxZoom: St = 2, translateExtent: $t = Ls, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Ve = 0.5, panOnScrollMode: tt = Zn.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, children: oo, onEdgeContextMenu: Zt, onEdgeDoubleClick: Ir, onEdgeMouseEnter: mi, onEdgeMouseMove: zr, onEdgeMouseLeave: bi, onEdgeUpdate: Hr, onEdgeUpdateStart: Pr, onEdgeUpdateEnd: yi, onReconnect: Ci, onReconnectStart: Br, onReconnectEnd: Vr, reconnectRadius: vi = 10, edgeUpdaterRadius: xi = 10, onNodesChange: wi, onEdgesChange: Ei, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Re = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: pn = !0, connectionRadius: dt = 20, isValidConnection: Bo, onError: Si, style: ki, id: v1, nodeDragThreshold: F5, ...j5 }, R5) => { - const _i = v1 || "1"; +}, ci = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = fy, edgeTypes: i = hy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: h, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: j, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: F = no.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = vr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = Pa() ? "Meta" : "Control", zoomActivationKeyCode: U = Pa() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = gy, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: We, nodesFocusable: Ee, nodeOrigin: le = py, edgesFocusable: Xe, edgesUpdatable: Ot, elementsSelectable: tn, defaultViewport: Nt = my, minZoom: nn = 0.5, maxZoom: St = 2, translateExtent: $t = js, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: $e = 0.5, panOnScrollMode: nt = qn.Free, zoomOnDoubleClick: et = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: on, children: io, onEdgeContextMenu: Zt, onEdgeDoubleClick: Hr, onEdgeMouseEnter: bi, onEdgeMouseMove: Pr, onEdgeMouseLeave: yi, onEdgeUpdate: Br, onEdgeUpdateStart: Vr, onEdgeUpdateEnd: Ci, onReconnect: vi, onReconnectStart: $r, onReconnectEnd: Wr, reconnectRadius: xi = 10, edgeUpdaterRadius: wi = 10, onNodesChange: Ei, onEdgesChange: Si, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Ie = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: Ze = !0, elevateEdgesOnSelect: qe = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: gn = !0, connectionRadius: dt = 20, isValidConnection: Vo, onError: ki, style: _i, id: w1, nodeDragThreshold: z5, ...H5 }, P5) => { + const Ai = w1 || "1"; return $.createElement( "div", - { ...j5, style: { ...ki, ...gy }, ref: R5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: v1 }, + { ...H5, style: { ..._i, ...by }, ref: P5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: w1 }, $.createElement( - hf, + bf, null, - $.createElement(sy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: tn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Ve, panOnScrollMode: tt, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: nn, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: Ir, onEdgeMouseEnter: mi, onEdgeMouseMove: zr, onEdgeMouseLeave: bi, onReconnect: Ci ?? Hr, onReconnectStart: Br ?? Pr, onReconnectEnd: Vr ?? yi, reconnectRadius: vi ?? xi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: _i, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), - $.createElement(rb, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: en, elevateNodesOnSelect: We, minZoom: tn, maxZoom: St, nodeExtent: Z, onNodesChange: wi, onEdgesChange: Ei, snapToGrid: ge, snapGrid: J, connectionMode: j, translateExtent: $t, connectOnClick: Re, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: F, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: _i, autoPanOnConnect: _n, autoPanOnNodeDrag: pn, onError: Si, connectionRadius: dt, isValidConnection: Bo, nodeDragThreshold: F5 }), - $.createElement(nb, { onSelectionChange: P }), - oo, - $.createElement(Tm, { proOptions: ye, position: we }), - $.createElement(cb, { rfId: _i, disableKeyboardA11y: pt }) + $.createElement(uy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: nn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: et, panOnScroll: de, panOnScrollSpeed: $e, panOnScrollMode: nt, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: on, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: Hr, onEdgeMouseEnter: bi, onEdgeMouseMove: Pr, onEdgeMouseLeave: yi, onReconnect: vi ?? Br, onReconnectStart: $r ?? Vr, onReconnectEnd: Wr ?? Ci, reconnectRadius: xi ?? wi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: qe, rfId: Ai, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), + $.createElement(ib, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: h, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: We, nodesFocusable: Ee, edgesFocusable: Xe, edgesUpdatable: Ot, elementsSelectable: tn, elevateNodesOnSelect: Ze, minZoom: nn, maxZoom: St, nodeExtent: Z, onNodesChange: Ei, onEdgesChange: Si, snapToGrid: ge, snapGrid: J, connectionMode: F, translateExtent: $t, connectOnClick: Ie, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: j, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: Ai, autoPanOnConnect: _n, autoPanOnNodeDrag: gn, onError: ki, connectionRadius: dt, isValidConnection: Vo, nodeDragThreshold: z5 }), + $.createElement(rb, { onSelectionChange: P }), + io, + $.createElement(Nm, { proOptions: ye, position: we }), + $.createElement(db, { rfId: Ai, disableKeyboardA11y: pt }) ) ); }); -li.displayName = "ReactFlow"; -function my() { +ci.displayName = "ReactFlow"; +function yy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, $.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) ); } -function by() { +function Cy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, $.createElement("path", { d: "M0 0h32v4.2H0z" }) ); } -function yy() { +function vy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, $.createElement("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }) ); } -function Cy() { +function xy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }) ); } -function vy() { +function wy() { return $.createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z" }) ); } -const tr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); -tr.displayName = "ControlButton"; -const xy = (e) => ({ +const nr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); +nr.displayName = "ControlButton"; +const Ey = (e) => ({ isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, minZoomReached: e.transform[2] <= e.minZoom, maxZoomReached: e.transform[2] >= e.maxZoom -}), pf = ({ 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 p = rt(), [f, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(xy, ut), { zoomIn: x, zoomOut: C, fitView: S } = Jt(); +}), yf = ({ 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 p = rt(), [h, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ue(Ey, ut), { zoomIn: x, zoomOut: C, fitView: S } = en(); if (ue(() => { m(!0); - }, []), !f) + }, []), !h) return null; const w = () => { x(), a == null || a(); @@ -21343,52 +21343,52 @@ const xy = (e) => ({ }), s == null || s(!b); }; return $.createElement( - _3, + O3, { className: bt(["react-flow__controls", u]), position: d, style: e, "data-testid": "rf__controls" }, t && $.createElement( $.Fragment, null, $.createElement( - tr, + nr, { onClick: w, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, - $.createElement(my, null) + $.createElement(yy, null) ), $.createElement( - tr, + nr, { onClick: E, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, - $.createElement(by, null) + $.createElement(Cy, null) ) ), n && $.createElement( - tr, + nr, { className: "react-flow__controls-fitview", onClick: M, title: "fit view", "aria-label": "fit view" }, - $.createElement(yy, null) + $.createElement(vy, null) ), - o && $.createElement(tr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(vy, null) : $.createElement(Cy, null)), + o && $.createElement(nr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(wy, null) : $.createElement(xy, null)), c ); }; -pf.displayName = "Controls"; -var Bc = Ye(pf), Kt; +yf.displayName = "Controls"; +var Vc = Ge(yf), Kt; (function(e) { e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; })(Kt || (Kt = {})); -function wy({ color: e, dimensions: t, lineWidth: n }) { +function Sy({ color: e, dimensions: t, lineWidth: n }) { return $.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); } -function Ey({ color: e, radius: t }) { +function ky({ color: e, radius: t }) { return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); } -const Sy = { +const _y = { [Kt.Dots]: "#91919a", [Kt.Lines]: "#eee", [Kt.Cross]: "#e2e2e2" -}, ky = { +}, Ay = { [Kt.Dots]: 1, [Kt.Lines]: 1, [Kt.Cross]: 6 -}, _y = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); -function gf({ +}, My = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +function Cf({ id: e, variant: t = Kt.Dots, // only used for dots and cross @@ -21401,7 +21401,7 @@ function gf({ style: l, className: s }) { - const u = he(null), { transform: c, patternId: d } = Ze(_y, ut), p = i || Sy[t], f = o || ky[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; + const u = he(null), { transform: c, patternId: d } = Ue(My, ut), p = i || _y[t], h = o || Ay[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = h * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; return $.createElement( "svg", { className: bt(["react-flow__background", s]), style: { @@ -21412,78 +21412,78 @@ function gf({ top: 0, left: 0 }, ref: u, "data-testid": "rf__background" }, - $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(Ey, { color: p, radius: x / a }) : $.createElement(wy, { dimensions: C, color: p, lineWidth: r })), + $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(ky, { color: p, radius: x / a }) : $.createElement(Sy, { dimensions: C, color: p, lineWidth: r })), $.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) ); } -gf.displayName = "Background"; -var Vc = Ye(gf); -const $c = "columns", Wc = "exposure", Zc = "tables", Ay = "feedback", mf = "settings", yn = "column-", bf = "see-more-", My = 5, Ty = 100, Vl = 100, Lr = 300, Co = 80, Oy = 12, Ny = Co, yf = 30, Vu = 4, Dy = 280, Ly = 80, Fy = 80, jy = 250, Fs = 0.05, Cf = "#7A899E", Uc = "#E38E00", qc = { +Cf.displayName = "Background"; +var $c = Ge(Cf); +const Wc = "columns", Zc = "exposure", Uc = "tables", Ty = "feedback", vf = "settings", Cn = "column-", xf = "see-more-", Oy = 5, Ny = 100, $l = 100, jr = 300, wo = 80, Dy = 12, Ly = wo, wf = 30, Wu = 4, jy = 280, Fy = 80, Ry = 80, Iy = 250, Fs = 0.05, Ef = "#7A899E", qc = "#E38E00", Yc = { Original: "#FDD835", Alias: "#40C8AE", Transformation: "#FF754C", Unchanged: "#BC3FBC", "Not sure": "#247efe", "Non select": "#BC3FBC" -}, si = { - stroke: Cf, +}, ui = { + stroke: Ef, strokeWidth: 1 -}, Yc = { - stroke: Uc, - strokeWidth: 2 }, Gc = { - stroke: Uc, + stroke: qc, + strokeWidth: 2 +}, Kc = { + stroke: qc, strokeWidth: 1, strokeDasharray: 10 -}, vf = { +}, Sf = { type: "arrow", strokeWidth: 1, width: 24, height: 24, - color: Cf -}, xf = { + color: Ef +}, kf = { type: "arrow", strokeWidth: 1, width: 16, height: 16, - color: Uc -}, vt = (e) => e.id.startsWith(yn), aa = (e) => e.id.startsWith(bf), En = (e) => !e.id.startsWith(yn), Kc = (e, t, n, o, r, a = !1) => { - const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? js(e, t, a) : js(t, e, a); + color: qc +}, vt = (e) => e.id.startsWith(Cn), la = (e) => e.id.startsWith(xf), En = (e) => !e.id.startsWith(Cn), Xc = (e, t, n, o, r, a = !1) => { + const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? Rs(e, t, a) : Rs(t, e, a); return { id: `${i}-${l}`, source: i, target: l, sourceHandle: s, targetHandle: u, - style: si, - markerEnd: vf, + style: ui, + markerEnd: Sf, type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default" }; -}, Oo = (e, t, n) => ({ +}, Lo = (e, t, n) => ({ id: e.table, data: { ...e, level: t, parent: n }, position: { x: 100, y: 100 }, type: "table", - width: Lr, - height: Co -}), wf = (e, t, n, o) => ({ + width: jr, + height: wo +}), _f = (e, t, n, o) => ({ id: e, data: { ...o, level: t, parent: n, id: e }, position: { x: 100, y: 100 }, type: "operator", - width: Lr, - height: Co -}), Ba = (e, t, n, o, r) => ({ - id: xr(e, t), + width: jr, + height: wo +}), $a = (e, t, n, o, r) => ({ + id: wr(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: yf -}), Va = (e, t, n, o, r, a) => { - const i = ci(e, t), [l, s] = js( + height: wf +}), Wa = (e, t, n, o, r, a) => { + const i = di(e, t), [l, s] = Rs( n, o, !1 @@ -21495,18 +21495,18 @@ const $c = "columns", Wc = "exposure", Zc = "tables", Ay = "feedback", mf = "set target: t, sourceHandle: l, targetHandle: s, - style: r === "direct" ? Yc : Gc, + style: r === "direct" ? Gc : Kc, zIndex: 1e3, - markerEnd: xf, + markerEnd: kf, type: n === o ? "smoothstep" : "default", hidden: !a[r] }; -}, ci = (e, t) => yn + `${e}-${t}`, $a = (e, t) => { +}, di = (e, t) => Cn + `${e}-${t}`, Za = (e, t) => { e.style = { opacity: t ? 1 : 0.5 }; -}, No = (e, t) => { +}, jo = (e, t) => { var n; - e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Gc : Yc : si, e.markerEnd = t ? xf : vf; -}, js = (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"], Ry = (e, t) => { + e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Kc : Gc : ui, e.markerEnd = t ? kf : Sf; +}, Rs = (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"], zy = (e, t) => { const n = {}; e.forEach((a) => { En(a) && (n[a.id] = a.data.level); @@ -21530,25 +21530,25 @@ const $c = "columns", Wc = "exposure", Zc = "tables", Ay = "feedback", mf = "set } } return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; -}, xr = (e, t) => yn + `${e}/${t}`, Wa = (e, t) => bf + e + "-" + (t ? "1" : "0"), $u = (e, t) => { +}, wr = (e, t) => Cn + `${e}/${t}`, Ua = (e, t) => xf + e + "-" + (t ? "1" : "0"), Zu = (e, t) => { for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; return !1; -}, Wu = (e, t, n) => { +}, Uu = (e, t, n) => { e[t] = e[t] || [], e[t].push(...n); -}, va = (e, t = 1) => e * (yf + Vu) + t * Vu, Zu = (e, t) => (n) => e <= n && n <= t, Iy = (e, t) => (n) => e < n && n < t, Uu = (e, t) => { +}, wa = (e, t = 1) => e * (wf + Wu) + t * Wu, qu = (e, t) => (n) => e <= n && n <= t, Hy = (e, t) => (n) => e < n && n < t, Yu = (e, t) => { const n = e.findIndex((o) => o.id === t); n !== -1 && e.splice(n, 1); -}, qu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, wr = (e, t, n = !0) => { +}, Gu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Er = (e, t, n = !0) => { e.forEach((o) => { - vt(o) || (o.hidden = !t, n && No(o, t)); + vt(o) || (o.hidden = !t, n && jo(o, t)); }); -}, Er = (e, t, n = !0) => { +}, Sr = (e, t, n = !0) => { e.forEach((o) => { - vt(o) && (o.hidden = !t, n && No(o, t)); + vt(o) && (o.hidden = !t, n && jo(o, t)); }); }; -function Ef(e) { +function Af(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); @@ -21559,114 +21559,114 @@ function Ef(e) { i === 0 && r.push(a); return { sources: o, sinks: r }; } -const zy = "_table_node_1n1a2_1", Hy = "_header_1n1a2_8", Py = "_collapse_1n1a2_16", By = "_selected_1n1a2_21", Vy = "_content_1n1a2_24", $y = "_table_header_1n1a2_37", Wy = "_seed_1n1a2_47", Zy = "_model_1n1a2_52", Uy = "_source_1n1a2_57", qy = "_exposure_1n1a2_62", Yy = "_snapshot_1n1a2_67", Gy = "_metrics_1n1a2_72", Ky = "_macros_1n1a2_77", Xy = "_analysis_1n1a2_82", Qy = "_node_icon_1n1a2_87", Jy = "_dialect_icon_1n1a2_99", eC = "_table_handle_1n1a2_107", tC = "_see_more_node_1n1a2_121", nC = "_table_card_1n1a2_132", oC = "_disabled_1n1a2_144", rC = "_column_card_1n1a2_149", aC = "_edit_icon_1n1a2_162", iC = "_active_1n1a2_170", lC = "_expand_lineage_icon_1n1a2_174", sC = "_processing_div_1n1a2_187", cC = "_gif_img_1n1a2_190", uC = "_card_1n1a2_195", dC = "_column_node_1n1a2_210", fC = "_column_name_1n1a2_221", hC = "_column_top_right_1n1a2_226", pC = "_divider_1n1a2_234", gC = "_table_details_header_1n1a2_240", mC = "_verticle_divider_1n1a2_248", bC = "_low_confidence_1n1a2_253", yC = "_high_confidence_1n1a2_260", CC = "_alert_icon_1n1a2_267", vC = "_menu_card_1n1a2_273", xC = "_menu_card_container_1n1a2_278", wC = "_table_details_tabs_1n1a2_285", EC = "_tab_1n1a2_1", SC = "_table_node_pill_1n1a2_305", kC = "_icon_1n1a2_315", _C = "_node-checkbox_1n1a2_322", AC = "_non_select_node_checkbox_1n1a2_322", MC = "_select_node_checkbox_1n1a2_322", TC = "_node_extra_info_1n1a2_338", OC = "_help_body_1n1a2_342", NC = "_feedback_body_1n1a2_346", DC = "_cancel_btn_1n1a2_349", LC = "_expand_nav_1n1a2_354", FC = "_expand_nav_btn_1n1a2_362", jC = "_lineage_legend_1n1a2_389", RC = "_column_legend_1n1a2_406", IC = "_dot_1n1a2_422", zC = "_model_views_type_1n1a2_434", HC = "_close_button_1n1a2_443", PC = "_op_node_1n1a2_456", BC = "_light_mode_1n1a2_475", VC = "_dark_mode_1n1a2_478", $C = "_highlighted_1n1a2_481", WC = "_cost_data_1n1a2_487", ZC = "_op_type_text_1n1a2_502", UC = "_node_stats_1n1a2_505", qC = "_savings-performance_1n1a2_521", YC = "_performance_1n1a2_521", GC = "_savings_1n1a2_521", KC = "_value_1n1a2_536", XC = "_percent_1n1a2_539", QC = "_static_table_node_1n1a2_554", JC = "_details_btn_1n1a2_618", ev = "_enable_1n1a2_627", tv = "_disable_1n1a2_144", nv = "_code_editor_container_1n1a2_638", ov = "_code_editor_1n1a2_638", rv = "_tooltip_container_1n1a2_652", av = "_tooltip_text_1n1a2_658", iv = "_views_type_badge_1n1a2_675", lv = "_column_code_icon_1n1a2_706", sv = "_edge_select_1n1a2_722", cv = "_edge_non_select_1n1a2_732", uv = "_modal_views_code_container_1n1a2_742", dv = "_custom_node_code_block_1n1a2_747", fv = "_reset_btn_1n1a2_759", hv = "_error_tooltip_1n1a2_765", G = { - table_node: zy, - header: Hy, - collapse: Py, - selected: By, - content: Vy, - table_header: $y, - seed: Wy, - model: Zy, - source: Uy, - exposure: qy, - snapshot: Yy, - metrics: Gy, - macros: Ky, - analysis: Xy, - node_icon: Qy, - dialect_icon: Jy, - table_handle: eC, - see_more_node: tC, - table_card: nC, - disabled: oC, - column_card: rC, - edit_icon: aC, - active: iC, - expand_lineage_icon: lC, - processing_div: sC, - gif_img: cC, - card: uC, - column_node: dC, +const Py = "_table_node_1n1a2_1", By = "_header_1n1a2_8", Vy = "_collapse_1n1a2_16", $y = "_selected_1n1a2_21", Wy = "_content_1n1a2_24", Zy = "_table_header_1n1a2_37", Uy = "_seed_1n1a2_47", qy = "_model_1n1a2_52", Yy = "_source_1n1a2_57", Gy = "_exposure_1n1a2_62", Ky = "_snapshot_1n1a2_67", Xy = "_metrics_1n1a2_72", Qy = "_macros_1n1a2_77", Jy = "_analysis_1n1a2_82", eC = "_node_icon_1n1a2_87", tC = "_dialect_icon_1n1a2_99", nC = "_table_handle_1n1a2_107", oC = "_see_more_node_1n1a2_121", rC = "_table_card_1n1a2_132", aC = "_disabled_1n1a2_144", iC = "_column_card_1n1a2_149", lC = "_edit_icon_1n1a2_162", sC = "_active_1n1a2_170", cC = "_expand_lineage_icon_1n1a2_174", uC = "_processing_div_1n1a2_187", dC = "_gif_img_1n1a2_190", fC = "_card_1n1a2_195", hC = "_column_node_1n1a2_210", pC = "_column_name_1n1a2_221", gC = "_column_top_right_1n1a2_226", mC = "_divider_1n1a2_234", bC = "_table_details_header_1n1a2_240", yC = "_verticle_divider_1n1a2_248", CC = "_low_confidence_1n1a2_253", vC = "_high_confidence_1n1a2_260", xC = "_alert_icon_1n1a2_267", wC = "_menu_card_1n1a2_273", EC = "_menu_card_container_1n1a2_278", SC = "_table_details_tabs_1n1a2_285", kC = "_tab_1n1a2_1", _C = "_table_node_pill_1n1a2_305", AC = "_icon_1n1a2_315", MC = "_node-checkbox_1n1a2_322", TC = "_non_select_node_checkbox_1n1a2_322", OC = "_select_node_checkbox_1n1a2_322", NC = "_node_extra_info_1n1a2_338", DC = "_help_body_1n1a2_342", LC = "_feedback_body_1n1a2_346", jC = "_cancel_btn_1n1a2_349", FC = "_expand_nav_1n1a2_354", RC = "_expand_nav_btn_1n1a2_362", IC = "_lineage_legend_1n1a2_389", zC = "_column_legend_1n1a2_406", HC = "_dot_1n1a2_422", PC = "_model_views_type_1n1a2_434", BC = "_close_button_1n1a2_443", VC = "_op_node_1n1a2_456", $C = "_light_mode_1n1a2_475", WC = "_dark_mode_1n1a2_478", ZC = "_highlighted_1n1a2_481", UC = "_cost_data_1n1a2_487", qC = "_op_type_text_1n1a2_502", YC = "_node_stats_1n1a2_505", GC = "_savings-performance_1n1a2_521", KC = "_performance_1n1a2_521", XC = "_savings_1n1a2_521", QC = "_value_1n1a2_536", JC = "_percent_1n1a2_539", ev = "_static_table_node_1n1a2_554", tv = "_details_btn_1n1a2_618", nv = "_enable_1n1a2_627", ov = "_disable_1n1a2_144", rv = "_code_editor_container_1n1a2_638", av = "_code_editor_1n1a2_638", iv = "_tooltip_container_1n1a2_652", lv = "_tooltip_text_1n1a2_658", sv = "_views_type_badge_1n1a2_675", cv = "_column_code_icon_1n1a2_706", uv = "_edge_select_1n1a2_722", dv = "_edge_non_select_1n1a2_732", fv = "_modal_views_code_container_1n1a2_742", hv = "_custom_node_code_block_1n1a2_747", pv = "_reset_btn_1n1a2_759", gv = "_error_tooltip_1n1a2_765", G = { + table_node: Py, + header: By, + collapse: Vy, + selected: $y, + content: Wy, + table_header: Zy, + seed: Uy, + model: qy, + source: Yy, + exposure: Gy, + snapshot: Ky, + metrics: Xy, + macros: Qy, + analysis: Jy, + node_icon: eC, + dialect_icon: tC, + table_handle: nC, + see_more_node: oC, + table_card: rC, + disabled: aC, + column_card: iC, + edit_icon: lC, + active: sC, + expand_lineage_icon: cC, + processing_div: uC, + gif_img: dC, + card: fC, + column_node: hC, default: "_default_1n1a2_218", - column_name: fC, - column_top_right: hC, - divider: pC, - table_details_header: gC, - verticle_divider: mC, - low_confidence: bC, - high_confidence: yC, - alert_icon: CC, - menu_card: vC, - menu_card_container: xC, - table_details_tabs: wC, - tab: EC, - table_node_pill: SC, - icon: kC, + column_name: pC, + column_top_right: gC, + divider: mC, + table_details_header: bC, + verticle_divider: yC, + low_confidence: CC, + high_confidence: vC, + alert_icon: xC, + menu_card: wC, + menu_card_container: EC, + table_details_tabs: SC, + tab: kC, + table_node_pill: _C, + icon: AC, "node-checkbox": "_node-checkbox_1n1a2_322", - nodeCheckbox: _C, - non_select_node_checkbox: AC, - select_node_checkbox: MC, - node_extra_info: TC, - help_body: OC, - feedback_body: NC, - cancel_btn: DC, - expand_nav: LC, - expand_nav_btn: FC, - lineage_legend: jC, - column_legend: RC, - dot: IC, - model_views_type: zC, - close_button: HC, - op_node: PC, - light_mode: BC, - dark_mode: VC, - highlighted: $C, - cost_data: WC, - op_type_text: ZC, - node_stats: UC, + nodeCheckbox: MC, + non_select_node_checkbox: TC, + select_node_checkbox: OC, + node_extra_info: NC, + help_body: DC, + feedback_body: LC, + cancel_btn: jC, + expand_nav: FC, + expand_nav_btn: RC, + lineage_legend: IC, + column_legend: zC, + dot: HC, + model_views_type: PC, + close_button: BC, + op_node: VC, + light_mode: $C, + dark_mode: WC, + highlighted: ZC, + cost_data: UC, + op_type_text: qC, + node_stats: YC, "savings-performance": "_savings-performance_1n1a2_521", - savingsPerformance: qC, - performance: YC, - savings: GC, - value: KC, - percent: XC, - static_table_node: QC, - details_btn: JC, - enable: ev, - disable: tv, - code_editor_container: nv, - code_editor: ov, - tooltip_container: rv, - tooltip_text: av, - views_type_badge: iv, - column_code_icon: lv, - edge_select: sv, - edge_non_select: cv, - modal_views_code_container: uv, - custom_node_code_block: dv, - reset_btn: fv, - error_tooltip: hv -}, Sf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), kf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), ia = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Rs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { + savingsPerformance: GC, + performance: KC, + savings: XC, + value: QC, + percent: JC, + static_table_node: ev, + details_btn: tv, + enable: nv, + disable: ov, + code_editor_container: rv, + code_editor: av, + tooltip_container: iv, + tooltip_text: lv, + views_type_badge: sv, + column_code_icon: cv, + edge_select: uv, + edge_non_select: dv, + modal_views_code_container: fv, + custom_node_code_block: hv, + reset_btn: pv, + error_tooltip: gv +}, Mf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), Tf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), sa = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Xc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), zs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Qc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), _f = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { +}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), Of = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Yu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), la = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Gu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), ca = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Ju = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), e0 = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", fill: "#247EFE" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), ex = "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", tx = "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", nx = "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==", ox = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Qc = ({ viewsType: e }) => /* @__PURE__ */ h.jsx(Sn, { title: e, children: /* @__PURE__ */ h.jsx( +}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M22 13.7945C22 15.9444 21.3018 17.985 19.9808 19.6963C19.7202 20.0341 19.2301 20.0996 18.8864 19.8449C18.5424 19.5898 18.4745 19.1097 18.7346 18.7726C19.8487 17.3295 20.4375 15.6081 20.4375 13.7945C20.4375 9.22487 16.6608 5.5311 12 5.5311C7.336 5.5311 3.5625 9.22772 3.5625 13.7945C3.5625 15.6081 4.15134 17.3295 5.26523 18.7726C5.52554 19.1097 5.45764 19.5898 5.11356 19.8449C4.76932 20.1 4.27951 20.0335 4.01904 19.6963C2.69824 17.985 2 15.9444 2 13.7945C2 8.37828 6.47571 4 12 4C17.5273 4 22 8.38127 22 13.7945ZM16.9501 9.18405C17.2551 9.48295 17.2551 9.9677 16.9501 10.2666L14.4036 12.762C14.6132 13.1407 14.7325 13.5743 14.7325 14.0345C14.7325 15.5111 13.5067 16.7122 12 16.7122C10.4932 16.7122 9.26746 15.5111 9.26746 14.0345C9.26746 12.5582 10.4932 11.3569 12 11.3569C12.4698 11.3569 12.9122 11.4738 13.2987 11.6793L15.8452 9.18391C16.1504 8.88501 16.6449 8.88501 16.9501 9.18405ZM13.17 14.0347C13.17 13.4025 12.6451 12.8881 12 12.8881C11.3549 12.8881 10.83 13.4025 10.83 14.0347C10.83 14.6669 11.3549 15.1812 12 15.1812C12.6451 15.1812 13.17 14.6669 13.17 14.0347Z", fill: "#247EFE" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), ex = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", fill: "#247EFE" })), tx = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), nx = "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", ox = "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", rx = "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==", ax = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Jc = ({ viewsType: e }) => /* @__PURE__ */ f.jsx(Sn, { title: e, children: /* @__PURE__ */ f.jsx( "div", { style: { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - "--views-color": qc[e] + "--views-color": Yc[e] }, className: G.views_type_badge, children: e[0] } -) }), rx = () => { +) }), ix = () => { const [e, t] = ce(!1); ue(() => { setTimeout(() => { @@ -21680,9 +21680,9 @@ const zy = "_table_node_1n1a2_1", Hy = "_header_1n1a2_8", Py = "_collapse_1n1a2_ const n = () => { t((o) => !o); }; - return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsxs( - Ie, + return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsxs( + Re, { id: "lineageLegend", className: G.lineage_legend, @@ -21690,41 +21690,41 @@ const zy = "_table_node_1n1a2_1", Hy = "_header_1n1a2_8", Py = "_collapse_1n1a2_ onClick: n, children: [ "Legend", - e ? /* @__PURE__ */ h.jsx(Av, {}) : /* @__PURE__ */ h.jsx(_v, {}) + e ? /* @__PURE__ */ f.jsx(Tv, {}) : /* @__PURE__ */ f.jsx(Mv, {}) ] } ), - /* @__PURE__ */ h.jsx( - Z0, + /* @__PURE__ */ f.jsx( + q0, { flip: !0, target: "lineageLegend", isOpen: e, className: G.column_legend, placement: "top", - children: /* @__PURE__ */ h.jsxs(U0, { children: [ - Object.keys(qc).map((o) => /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ h.jsx(Qc, { viewsType: o }), - /* @__PURE__ */ h.jsx("div", { children: o }) + children: /* @__PURE__ */ f.jsxs(Y0, { children: [ + Object.keys(Yc).map((o) => /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ f.jsx(Jc, { viewsType: o }), + /* @__PURE__ */ f.jsx("div", { children: o }) ] }, o)), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ h.jsx("div", { className: G.column_code_icon, children: /* @__PURE__ */ h.jsx(Cd, {}) }), - /* @__PURE__ */ h.jsx("div", { children: "Code" }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ f.jsx("div", { className: G.column_code_icon, children: /* @__PURE__ */ f.jsx(Ed, {}) }), + /* @__PURE__ */ f.jsx("div", { children: "Code" }) ] }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ h.jsx("div", { className: G.edge_select, children: /* @__PURE__ */ h.jsx("div", {}) }), - /* @__PURE__ */ h.jsx("div", { children: "Select" }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ f.jsx("div", { className: G.edge_select, children: /* @__PURE__ */ f.jsx("div", {}) }), + /* @__PURE__ */ f.jsx("div", { children: "Select" }) ] }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ h.jsx("div", { className: G.edge_non_select, children: /* @__PURE__ */ h.jsx("div", {}) }), - /* @__PURE__ */ h.jsx("div", { children: "Non select" }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ + /* @__PURE__ */ f.jsx("div", { className: G.edge_non_select, children: /* @__PURE__ */ f.jsx("div", {}) }), + /* @__PURE__ */ f.jsx("div", { children: "Non select" }) ] }) ] }) } ) ] }); }; -var Af = { exports: {} }; +var Nf = { exports: {} }; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see @@ -21759,21 +21759,21 @@ var Af = { exports: {} }; } e.exports ? (n.default = n, e.exports = n) : window.classNames = n; })(); -})(Af); -var ax = Af.exports; -const Te = /* @__PURE__ */ dn(ax), ix = (e) => je.get("upstreamTables", { table: e }), lx = (e) => je.get("downstreamTables", { table: e }), sx = (e) => je.get("getExposureDetails", { +})(Nf); +var lx = Nf.exports; +const Oe = /* @__PURE__ */ fn(lx), sx = (e) => Me.get("upstreamTables", { table: e }), cx = (e) => Me.get("downstreamTables", { table: e }), ux = (e) => Me.get("getExposureDetails", { name: e -}), ui = (e, t) => je.get("getColumns", { +}), fi = (e, t) => Me.get("getColumns", { table: e, refresh: t -}), cx = (e) => je.get("getConnectedColumns", e), ux = (e) => je.get("sendFeedback", e), dx = () => je.get("getLineageSettings", {}), $l = (e) => je.get("persistLineageSettings", e), Mf = () => je.get("init", {}), fx = (e) => je.get("openFile", { url: e }), hx = () => je.get("openChat", {}), Jc = (e) => je.get("showInfoNotification", { message: e }), px = () => je.get("previewFeature", {}), Wl = (e) => je.get("columnLineage", { event: e }), gx = (e) => je.get("telemetryEvents", e), mx = (e) => je.post("dbt/v4/export-lineage", e); -var bx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(bx || {}); +}), dx = (e) => Me.get("getConnectedColumns", e), fx = (e) => Me.get("sendFeedback", e), hx = () => Me.get("getLineageSettings", {}), Wl = (e) => Me.get("persistLineageSettings", e), Df = () => Me.get("init", {}), px = (e) => Me.get("openFile", { url: e }), gx = () => Me.get("openChat", {}), e1 = (e) => Me.get("showInfoNotification", { message: e }), mx = () => Me.get("previewFeature", {}), Zl = (e) => Me.get("columnLineage", { event: e }), bx = (e) => Me.get("telemetryEvents", e), yx = (e) => Me.post("dbt/v4/export-lineage", e); +var Cx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(Cx || {}); const gt = class gt { static onCancel() { gt.isCancelled = !0, gt.inProgress = !1; } static cancel() { - gt.onCancel(), Wl( + gt.onCancel(), Zl( "cancel" /* CANCEL */ ); @@ -21781,16 +21781,16 @@ const gt = class gt { document.dispatchEvent(t); } static start() { - gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Wl( + gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Zl( "start" /* START */ ); } static end() { - gt.inProgress = !1, Wl( + gt.inProgress = !1, Zl( "end" /* END */ - ), gx({ + ), bx({ id: "columnLineageNumLinks", params: { num: gt.linkCount } }), gt.linkCount = 0; @@ -21799,110 +21799,110 @@ const gt = class gt { gt.linkCount += t; } static showCllInProgressMsg() { - Jc( + e1( "Column lineage is in progress. Either wait for it to complete or cancel the current one." ); } }; -$r(gt, "isCancelled", !1), $r(gt, "inProgress", !1), $r(gt, "linkCount", 0); -let Xe = gt; -const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { - const [o, r] = Be(() => { +Zr(gt, "isCancelled", !1), Zr(gt, "inProgress", !1), Zr(gt, "linkCount", 0); +let Je = gt; +const vx = ({ datatype: e, color: t, size: n = "1rem" }) => { + const [o, r] = Ve(() => { switch (e.toLowerCase()) { case "integer": case "float": case "double precision": case "double": case "bigint": - return [bv, "#FF754C"]; + return [Cv, "#FF754C"]; case "bool": case "boolean": - return [gv, "#00A5DB"]; + return [bv, "#00A5DB"]; case "text": case "character": case "character varying": case "varchar": - return [mv, "#3F8CFF"]; + return [yv, "#3F8CFF"]; case "geospatial": - return [vv, "#01CD8C"]; + return [wv, "#01CD8C"]; case "date": case "timestamp": case "timestamp with time zone": - return [Cv, "#247EFE"]; + return [xv, "#247EFE"]; default: - return [yv, "#6A24FE"]; + return [vv, "#6A24FE"]; } }, [e]); - return /* @__PURE__ */ h.jsx( + return /* @__PURE__ */ f.jsx( "div", { style: { color: t || r }, className: "d-flex align-items-center", - children: /* @__PURE__ */ h.jsx(o, { width: n, height: n }) + children: /* @__PURE__ */ f.jsx(o, { width: n, height: n }) } ); -}, Cx = { +}, xx = { seed: { - light: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#E6FAF4" } }), - dark: /* @__PURE__ */ h.jsx(Gu, { style: { color: "#344B49" } }) + light: /* @__PURE__ */ f.jsx(Xu, { style: { color: "#E6FAF4" } }), + dark: /* @__PURE__ */ f.jsx(Xu, { style: { color: "#344B49" } }) }, model: { - light: /* @__PURE__ */ h.jsx(la, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ h.jsx(la, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ f.jsx(ca, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ f.jsx(ca, { style: { color: "#4D4343" } }) }, cte: { - light: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ h.jsx(Yu, { style: { color: "#4B473F" } }) + light: /* @__PURE__ */ f.jsx(Ku, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ f.jsx(Ku, { style: { color: "#4B473F" } }) }, subquery: { - light: /* @__PURE__ */ h.jsx(zv, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ h.jsx(Hv, { style: { color: "#4B473F" } }) + light: /* @__PURE__ */ f.jsx(Pv, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ f.jsx(Bv, { style: { color: "#4B473F" } }) }, source: { - light: /* @__PURE__ */ h.jsx(Ku, { style: { color: "#EAF3FF" } }), - dark: /* @__PURE__ */ h.jsx(Ku, { style: { color: "#384454" } }) + light: /* @__PURE__ */ f.jsx(Qu, { style: { color: "#EAF3FF" } }), + dark: /* @__PURE__ */ f.jsx(Qu, { style: { color: "#384454" } }) }, exposure: { - light: /* @__PURE__ */ h.jsx(Xu, { style: { color: "#FEEFF7" } }), - dark: /* @__PURE__ */ h.jsx(Xu, { style: { color: "#4C404C" } }) + light: /* @__PURE__ */ f.jsx(Ju, { style: { color: "#FEEFF7" } }), + dark: /* @__PURE__ */ f.jsx(Ju, { style: { color: "#4C404C" } }) }, - analysis: { light: /* @__PURE__ */ h.jsx(Rs, {}), dark: /* @__PURE__ */ h.jsx(Rs, {}) }, + analysis: { light: /* @__PURE__ */ f.jsx(Is, {}), dark: /* @__PURE__ */ f.jsx(Is, {}) }, snapshot: { - light: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#F6F4FF" } }), - dark: /* @__PURE__ */ h.jsx(Qu, { style: { color: "#444554" } }) + light: /* @__PURE__ */ f.jsx(e0, { style: { color: "#F6F4FF" } }), + dark: /* @__PURE__ */ f.jsx(e0, { style: { color: "#444554" } }) }, - semantic_model: { light: /* @__PURE__ */ h.jsx(Pv, {}), dark: /* @__PURE__ */ h.jsx(Iv, {}) }, - macros: { light: /* @__PURE__ */ h.jsx(Is, {}), dark: /* @__PURE__ */ h.jsx(Is, {}) }, + semantic_model: { light: /* @__PURE__ */ f.jsx(Vv, {}), dark: /* @__PURE__ */ f.jsx(Hv, {}) }, + macros: { light: /* @__PURE__ */ f.jsx(zs, {}), dark: /* @__PURE__ */ f.jsx(zs, {}) }, unknown: { - light: /* @__PURE__ */ h.jsx(la, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ h.jsx(la, { style: { color: "#4D4343" } }) + light: /* @__PURE__ */ f.jsx(ca, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ f.jsx(ca, { style: { color: "#4D4343" } }) } -}, di = ({ +}, hi = ({ nodeType: e -}) => /* @__PURE__ */ h.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ h.jsx(xv, {}), - e === "model" && /* @__PURE__ */ h.jsx(ia, {}), - e === "cte" && /* @__PURE__ */ h.jsx(ia, {}), - e === "subquery" && /* @__PURE__ */ h.jsx(ia, {}), - e === "source" && /* @__PURE__ */ h.jsx(wv, {}), - e === "exposure" && /* @__PURE__ */ h.jsx(Ev, {}), - e === "analysis" && /* @__PURE__ */ h.jsx(Rs, {}), - e === "snapshot" && /* @__PURE__ */ h.jsx(Sv, {}), - e === "semantic_model" && /* @__PURE__ */ h.jsx(kv, {}), - e === "macros" && /* @__PURE__ */ h.jsx(Is, {}), - e === "unknown" && /* @__PURE__ */ h.jsx(ia, {}) -] }), vx = ({ nodeType: e }) => { +}) => /* @__PURE__ */ f.jsxs("div", { children: [ + e === "seed" && /* @__PURE__ */ f.jsx(Ev, {}), + e === "model" && /* @__PURE__ */ f.jsx(sa, {}), + e === "cte" && /* @__PURE__ */ f.jsx(sa, {}), + e === "subquery" && /* @__PURE__ */ f.jsx(sa, {}), + e === "source" && /* @__PURE__ */ f.jsx(Sv, {}), + e === "exposure" && /* @__PURE__ */ f.jsx(kv, {}), + e === "analysis" && /* @__PURE__ */ f.jsx(Is, {}), + e === "snapshot" && /* @__PURE__ */ f.jsx(_v, {}), + e === "semantic_model" && /* @__PURE__ */ f.jsx(Av, {}), + e === "macros" && /* @__PURE__ */ f.jsx(zs, {}), + e === "unknown" && /* @__PURE__ */ f.jsx(sa, {}) +] }), wx = ({ nodeType: e }) => { const { state: { theme: t } } = at(); - return /* @__PURE__ */ h.jsx(h.Fragment, { children: Cx[e][t] }); -}, or = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.table_node_pill, id: e, children: [ - /* @__PURE__ */ h.jsx("div", { className: G.icon, children: t }), - /* @__PURE__ */ h.jsx("div", { children: n }) + return /* @__PURE__ */ f.jsx(f.Fragment, { children: xx[e][t] }); +}, rr = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.table_node_pill, id: e, children: [ + /* @__PURE__ */ f.jsx("div", { className: G.icon, children: t }), + /* @__PURE__ */ f.jsx("div", { children: n }) ] }), - /* @__PURE__ */ h.jsx(V5, { target: e, children: o }) -] }), e1 = { + /* @__PURE__ */ f.jsx(U5, { target: e, children: o }) +] }), t1 = { seed: G.seed, model: G.model, source: G.source, @@ -21914,7 +21914,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: G.model, subquery: G.model, unknown: G.exposure -}, Sr = { +}, kr = { seed: "SED", model: "MDL", source: "SRC", @@ -21926,36 +21926,36 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { cte: "CTE", subquery: "SUB", unknown: "UNK" -}, Tf = (e, t) => e ? ix(t) : lx(t), Of = (e, t) => e ? t + 1 : t - 1, fi = (e, t, n, o, r, a, i = My, l = !1, s) => { - const u = Of(r, a), c = (p) => { +}, Lf = (e, t) => e ? sx(t) : cx(t), jf = (e, t) => e ? t + 1 : t - 1, pi = (e, t, n, o, r, a, i = Oy, l = !1, s) => { + const u = jf(r, a), c = (p) => { var y, g; - const f = ((g = (y = e.find((x) => x.id === p)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Kc(a, f, o, p, r, l); + const h = ((g = (y = e.find((x) => x.id === p)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Xc(a, h, o, p, r, l); t.find((x) => x.id === m.id) || t.push(m); }; let d = 0; for (const p of n) { if (d >= i) { - const m = Wa(o, r); + const m = Ua(o, r); e.push({ id: m, data: { tables: n, prevTable: o, right: r, level: u }, position: { x: 100, y: 100 }, type: "seeMore", - width: Lr, + width: jr, height: 100 }), c(m); break; } - e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in Sr ? e.push(Oo(p, u, o)) : e.push(wf(p.table, u, o, s[p.table])) : e.push(Oo(p, u, o))), c(p.table); + e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in kr ? e.push(Lo(p, u, o)) : e.push(_f(p.table, u, o, s[p.table])) : e.push(Lo(p, u, o))), c(p.table); } -}, hn = (e, t, n = !1) => { +}, pn = (e, t, n = !1) => { let o = 1 / 0; const r = {}; for (const g of e) if (vt(g) && g.parentNode) g.parentNode in r || (r[g.parentNode] = 0), g.position = { - x: Oy, - y: Ny + va(r[g.parentNode]) + x: Dy, + y: Ly + wa(r[g.parentNode]) }, r[g.parentNode]++; else { const { level: x } = g.data; @@ -21963,7 +21963,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { } const a = {}, i = {}, l = {}, s = {}, u = {}, c = {}; for (const g of t) - vt(g) || aa(e.find((x) => x.id === g.source)) || aa(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); + vt(g) || la(e.find((x) => x.id === g.source)) || la(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); const d = (g) => { const { level: x } = g.data; if (i[x] = i[x] || [], !i[x].includes(g.id)) { @@ -21979,76 +21979,76 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { } }; for (const g of e) - vt(g) || aa(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); + vt(g) || la(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); for (const g of e) - vt(g) || aa(g) && d(g); - const f = (g) => { + vt(g) || la(g) && d(g); + const h = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return Vl + x * (Co + Fy) + va(C, x); - }, m = (g) => (g - o) * (Lr + Dy) + Ty, b = (g) => (g - o) * (Co + Ly) + Vl, y = (g) => { + return $l + x * (wo + Ry) + wa(C, x); + }, m = (g) => (g - o) * (jr + jy) + Ny, b = (g) => (g - o) * (wo + Fy) + $l, y = (g) => { const x = l[g.id] || 0, C = a[g.id] || 0; - return Vl + x * (Co + jy) + va(C, x); + return $l + x * (wo + Iy) + wa(C, x); }; for (const g of e) { if (vt(g)) continue; const { level: x } = g.data; - g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; + g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: h(g) }; } -}, Nf = (e, t) => (e.forEach((n) => $a(n, !0)), t.forEach((n) => No(n, !1)), [e, t]), kr = (e, t, n) => { - wr(t, !0), Er(t, !1); +}, Ff = (e, t) => (e.forEach((n) => Za(n, !0)), t.forEach((n) => jo(n, !1)), [e, t]), _r = (e, t, n) => { + Er(t, !0), Sr(t, !1); const o = {}, r = {}, a = (s, u) => { const c = [n], d = {}; for (; c.length > 0; ) { const p = c.shift(); - d[p] = !0, o[p] = !0, t.forEach((f) => { - f[s] === p && (r[f.id] = !0, d[f[u]] || c.push(f[u])); + d[p] = !0, o[p] = !0, t.forEach((h) => { + h[s] === p && (r[h.id] = !0, d[h[u]] || c.push(h[u])); }); } }; a("source", "target"), a("target", "source"); const i = [...t]; - i.forEach((s) => No(s, r[s.id])); + i.forEach((s) => jo(s, r[s.id])); const l = [...e]; - return l.forEach((s) => $a(s, !!o[s.id])), [l, i]; -}, zs = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, a] = kr(n, o, t); + return l.forEach((s) => Za(s, !!o[s.id])), [l, i]; +}, Hs = (e, t) => { + const n = e.getNodes(), o = e.getEdges(), [r, a] = _r(n, o, t); e.setNodes(r), e.setEdges(a); -}, xx = async (e, t, n, o, r, a, i, l, s, u) => { +}, Ex = async (e, t, n, o, r, a, i, l, s, u) => { var w, E; - const c = [], d = [], { column_lineage: p, confidence: f, errors: m } = await cx({ + const c = [], d = [], { column_lineage: p, confidence: h, errors: m } = await dx({ targets: r, upstreamExpansion: a, currAnd1HopTables: i, selectedColumn: l, showIndirectEdges: s.indirect }); - u((M) => ({ ...M, ...m })), Xe.addLinks(p.length); + u((M) => ({ ...M, ...m })), Je.addLinks(p.length); const b = p.filter( - (M) => a ? $u(r, M.source) : $u(r, M.target) + (M) => a ? Zu(r, M.source) : Zu(r, M.target) ), y = b.map((M) => a ? M.target : M.source), g = {}, x = ([M, _], L) => { g[M] = g[M] || [], g[M].find((R) => R.column === _) || g[M].push({ column: _, viewsType: L }); - }, C = (M, _, L, R, F) => { - const P = ci(L, R); + }, C = (M, _, L, R, j) => { + const P = di(L, R); d.find((V) => V.id === P) || d.push( - Va( + Wa( L, R, t[M], t[_], - F, + j, s ) ); }, S = []; for (const M of b) { x(M.source), x(M.target, M.viewsType); - const [_] = M.source, [L] = M.target, R = o[_], F = o[L], P = M.source.join("/"), V = M.target.join("/"), k = yn + P, N = yn + V, T = M.type; - if (R && F) + const [_] = M.source, [L] = M.target, R = o[_], j = o[L], P = M.source.join("/"), V = M.target.join("/"), k = Cn + P, N = Cn + V, T = M.type; + if (R && j) C(_, L, k, N, T); else if (R) { const D = n[L]; C(_, D, k, D, T), S.push(M); - } else if (F) { + } else if (j) { const D = n[_]; C(D, L, D, N, T), S.push(M); } else @@ -22060,33 +22060,33 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { _.sort((L, R) => L.column.localeCompare(R.column)); for (const L of _) { const R = {}; - b.filter((F) => F.target.join("/") === `${M}/${L.column}`).forEach((F) => { - F.type !== "indirect" && (R[F.source.join("/")] = F.viewsCode || []); + b.filter((j) => j.target.join("/") === `${M}/${L.column}`).forEach((j) => { + j.type !== "indirect" && (R[j.source.join("/")] = j.viewsCode || []); }), c.push( - Ba( + $a( M, L.column, L.viewsType, R, - (E = (w = e.find((F) => F.id = M)) == null ? void 0 : w.data) == null ? void 0 : E.nodeType + (E = (w = e.find((j) => j.id = M)) == null ? void 0 : w.data) == null ? void 0 : E.nodeType ) ); } } - return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: f, seeMoreLineage: S }; -}, wx = async (e, t, n, o) => { - var f, m, b, y; + return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: h, seeMoreLineage: S }; +}, Sx = async (e, t, n, o) => { + var h, m, b, y; let r = e.filter(En), a = t.filter(En); - [r, a] = Nf(r, a); + [r, a] = Ff(r, a); const i = {}; r.forEach((g) => i[g.id] = g.data.level); const l = {}; e.filter((g) => g.type === "table").forEach((g) => l[g.id] = !0); const s = {}, u = []; for (const g of t) { - if (g.id.startsWith(yn)) continue; + if (g.id.startsWith(Cn)) continue; const x = l[g.source], C = l[g.target]; - x && C ? u.push({ src: g.source, dst: g.target }) : x ? (f = e.find((w) => w.id === g.target).data.tables) == null || f.forEach((w) => { + x && C ? u.push({ src: g.source, dst: g.target }) : x ? (h = e.find((w) => w.id === g.target).data.tables) == null || h.forEach((w) => { u.push({ src: g.source, dst: w.table }), s[w.table] = g.target; }) : C && ((m = e.find((w) => w.id === g.source).data.tables) == null || m.forEach((w) => { u.push({ src: w.table, dst: g.target }), s[w.table] = g.source; @@ -22102,21 +22102,21 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { x.sort((C, S) => C.column.localeCompare(S.column)); for (const C of x) { const S = (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; - r.push(Ba(g, C.column, C.viewsType, {}, S)); + r.push($a(g, C.column, C.viewsType, {}, S)); } } - a.forEach((g) => g.style = si); + a.forEach((g) => g.style = ui); const p = (g, x, C, S, w) => { - const E = ci(C, S); + const E = di(C, S); a.find((M) => M.id === E) || a.push( - Va(C, S, i[g], i[x], w, { + Wa(C, S, i[g], i[x], w, { direct: w === "direct", indirect: w === "indirect" }) ); }; for (const g of d) { - const [x] = g[0].split("/"), [C] = g[1].split("/"), S = l[x], w = l[C], E = yn + g[0], M = yn + g[1], _ = g[2] || "direct"; + const [x] = g[0].split("/"), [C] = g[1].split("/"), S = l[x], w = l[C], E = Cn + g[0], M = Cn + g[1], _ = g[2] || "direct"; if (S && w) p(x, C, E, M, _); else if (S) { @@ -22127,8 +22127,8 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { p(L, C, L, M, _); } } - return hn(r, a), { nodes: r, edges: a, collect_columns: c }; -}, Ex = (e, t, n, o) => { + return pn(r, a), { nodes: r, edges: a, collect_columns: c }; +}, kx = (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); @@ -22146,25 +22146,25 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { }), t.edges.forEach((i) => { a.find((l) => l.id === i.id) || a.push(i); }), n.name) { - const i = {}, l = xr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; + const i = {}, l = wr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; for (; u.length > 0; ) { - const f = u.shift(); - if (!c[f]) { - c[f] = !0; + const h = u.shift(); + if (!c[h]) { + c[h] = !0; for (const m of a) - m[d] === f && (u.push(m[p]), s[m[p]] !== "direct" && (s[m[p]] = s[m[d]] === "direct" ? m.data.type : "indirect")); + m[d] === h && (u.push(m[p]), s[m[p]] !== "direct" && (s[m[p]] = s[m[d]] === "direct" ? m.data.type : "indirect")); for (const m of a) - m[d] === f && (i[m.id] = s[m[p]]); + m[d] === h && (i[m.id] = s[m[p]]); } } - for (const f of a) - En(f) || (f.data.type = i[f.id] || f.data.type, f.style = f.data.type === "direct" ? Yc : Gc); + for (const h of a) + En(h) || (h.data.type = i[h.id] || h.data.type, h.style = h.data.type === "direct" ? Gc : Kc); } - return hn(r, a), [r, a]; -}, Sx = (e, t) => { + return pn(r, a), [r, a]; +}, _x = (e, t) => { const n = e.filter((r) => En(r)), o = t.filter((r) => En(r)); return [n, o]; -}, Df = async (e, t, n, o) => { +}, Rf = async (e, t, n, o) => { const r = [...e], a = [...t], i = [ { table: n, level: r.find((s) => s.id === n).data.level } ], l = {}; @@ -22172,79 +22172,79 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { const { table: s, level: u } = i.shift(); if (l[s]) continue; l[s] = !0; - const { tables: c } = await Tf(o, s); - fi(r, a, c, s, o, u), c.forEach((d) => { - const p = r.find((f) => f.id === d.table); + const { tables: c } = await Lf(o, s); + pi(r, a, c, s, o, u), c.forEach((d) => { + const p = r.find((h) => h.id === d.table); (p == null ? void 0 : p.data.materialization) === "ephemeral" && i.push({ table: d.table, level: p.data.level }); }); } return [r, a]; -}, Za = async (e, t, n, o, r) => { +}, qa = async (e, t, n, o, r) => { const a = [...e], i = [...t]; if (o >= r) return [a, i]; - const l = Iy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { + const l = Hy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { const d = [ { table: n, level: s } ], p = {}; for (; d.length > 0; ) { - const f = d.shift(); - if (p[f.table]) continue; - p[f.table] = !0; - const { tables: m } = await Tf(c, f.table); - fi( + const h = d.shift(); + if (p[h.table]) continue; + p[h.table] = !0; + const { tables: m } = await Lf(c, h.table); + pi( a, i, m, - f.table, + h.table, c, - f.level, + h.level, 25 ); - const b = Of(c, f.level); + const b = jf(c, h.level); l(b) ? d.push(...m.map((y) => ({ table: y.table, level: b }))) : d.push( ...m.filter((y) => y.materialization === "ephemeral").map((y) => ({ table: y.table, level: b })) ); } }; return r > s && await u(!0), o < s && await u(!1), [a, i]; -}, Ju = (e, t, n, o) => { +}, t0 = (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 f of e) - vt(f) || (l[f.id] = f, s[f.id] = []); - for (const f of t) - vt(f) || s[f[r]].push(f[a]); + for (const h of e) + vt(h) || (l[h.id] = h, s[h.id] = []); + for (const h of t) + vt(h) || s[h[r]].push(h[a]); const c = (() => { - const f = [n], m = {}; - for (; f.length > 0; ) { - const b = f.shift(); + const h = [n], m = {}; + for (; h.length > 0; ) { + const b = h.shift(); if (m[b]) continue; m[b] = !0; const y = l[b].data; if (y[i] !== 0) { if (s[b].length < y[i]) return b; - for (const g of s[b]) f.push(g); + for (const g of s[b]) h.push(g); } } })(); if (!c) return -1; const { level: d } = l[n].data, { level: p } = l[c].data; return o ? p - d : d - p; -}, _r = (e, t, n) => [ - Ju(e, t, n, !1), - Ju(e, t, n, !0) -], t1 = async (e, t, n, o, r, a, i, l, s, u, c, d) => { +}, Ar = (e, t, n) => [ + t0(e, t, n, !1), + t0(e, t, n, !0) +], n1 = async (e, t, n, o, r, a, i, l, s, u, c, d) => { var w, E, M, _, L, R; let p = !1; - const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Ry(e, t), y = (F) => e.find((P) => P.id === F), g = {}, x = {}; - let C = o.map((F) => [ - F.table, - F.name + const { levelMap: h, tableNodes: m, seeMoreIdTableReverseMap: b } = zy(e, t), y = (j) => e.find((P) => P.id === j), g = {}, x = {}; + let C = o.map((j) => [ + j.table, + j.name ]), S = []; - for (d(() => ({})); !(Xe.isCancelled || (C = C.filter((W) => !g[W.join("/")]), C.length === 0 && S.length === 0)); ) { - const F = {}; + for (d(() => ({})); !(Je.isCancelled || (C = C.filter((W) => !g[W.join("/")]), C.length === 0 && S.length === 0)); ) { + const j = {}; C.forEach((W) => { - g[W.join("/")] = !0, F[W[0]] = !0; + g[W.join("/")] = !0, j[W[0]] = !0; }); const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], N = [], T = []; let D = !1; @@ -22256,11 +22256,11 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { Q == null || Q.forEach((ne) => { if (!ne) return; const { table: oe, materialization: U } = ne; - F[Y] ? (D = !0, U === "ephemeral" ? (Wu( + j[Y] ? (D = !0, U === "ephemeral" ? (Uu( x, oe, C.filter((ge) => ge[0] === Y) - ), N.push(oe)) : k.push(oe)) : S.includes(Y) && (D = !0, U === "ephemeral" ? (Wu( + ), N.push(oe)) : k.push(oe)) : S.includes(Y) && (D = !0, U === "ephemeral" ? (Uu( x, oe, x[Y] @@ -22270,13 +22270,13 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { if (!D) break; S = N; - const I = Object.keys(F).concat(k); + const I = Object.keys(j).concat(k); T.forEach((W) => { C.push(...x[W]), I.push(...x[W].map((Y) => Y[0])); }); - const j = await xx( + const F = await Ex( e, - f, + h, b, m, C, @@ -22286,66 +22286,66 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { c, d ); - ((L = j.confidence) == null ? void 0 : L.confidence) === "low" && r(((R = j.confidence) == null ? void 0 : R.operator_list) || []), C = j.newCurr, !p && C.length > 0 && (p = !0), C = C.filter( + ((L = F.confidence) == null ? void 0 : L.confidence) === "low" && r(((R = F.confidence) == null ? void 0 : R.operator_list) || []), C = F.newCurr, !p && C.length > 0 && (p = !0), C = C.filter( (W) => t.filter((Y) => (n ? Y.source : Y.target) === W[0]).length > 0 ); - const [v, z] = l(), [B, A] = Ex( + const [v, z] = l(), [B, A] = kx( { nodes: v, edges: z }, - j, + F, u, n ); - a(j.seeMoreLineage), hn(B, A), s(B, A), i(j.collectColumns); + a(F.seeMoreLineage), pn(B, A), s(B, A), i(F.collectColumns); } return p; -}, kx = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { +}, Ax = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { var p; const { table: u } = n; - if (e.find((f) => f.id === u)) return !1; - e.push(Oo(n, i, o)); - const d = (p = e.find((f) => f.id === o)) == null ? void 0 : p.data.level; - if (t.push(Kc(d, i, o, u, a)), l == null || l.forEach((f) => { - const m = xr(f.source[0], f.source[1]), b = xr(f.target[0], f.target[1]), y = {}; - if (a && l.filter((g) => g.target.join("/") === f.target.join("/")).forEach((g) => { + if (e.find((h) => h.id === u)) return !1; + e.push(Lo(n, i, o)); + const d = (p = e.find((h) => h.id === o)) == null ? void 0 : p.data.level; + if (t.push(Xc(d, i, o, u, a)), l == null || l.forEach((h) => { + const m = wr(h.source[0], h.source[1]), b = wr(h.target[0], h.target[1]), y = {}; + if (a && l.filter((g) => g.target.join("/") === h.target.join("/")).forEach((g) => { y[g.source.join("/")] = g.viewsCode || []; }), a) { - if (f.target[0] !== u) return; + if (h.target[0] !== u) return; e.push( - Ba( - f.target[0], - f.target[1], - f.viewsType, + $a( + h.target[0], + h.target[1], + h.viewsType, y, n.nodeType ) ), t.push( - Va(m, b, i - 1, i, f.type, s) + Wa(m, b, i - 1, i, h.type, s) ); } else { - if (f.source[0] !== u) return; + if (h.source[0] !== u) return; e.push( - Ba( - f.source[0], - f.source[1], - f.viewsType, + $a( + h.source[0], + h.source[1], + h.viewsType, y, n.nodeType ) ), t.push( - Va(m, b, i, i + 1, f.type, s) + Wa(m, b, i, i + 1, h.type, s) ); } - }), r.every((f) => !!e.find((m) => m.id === f.table))) { - const f = Wa(o, a), m = a ? `${o}-${f}` : `${f}-${o}`; - return Uu(e, f), Uu(t, m), !0; + }), r.every((h) => !!e.find((m) => m.id === h.table))) { + const h = Ua(o, a), m = a ? `${o}-${h}` : `${h}-${o}`; + return Yu(e, h), Yu(t, m), !0; } return !1; -}, Do = async (e, t, n, o, r) => { +}, Fo = 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 Za( + const { level: i } = a, l = e.length, [s] = await qa( e, t, n, @@ -22353,18 +22353,18 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { i + r ); return s.length - l; -}, _x = (e, t, n, o) => { - if (!$m(e)) +}, Mx = (e, t, n, o) => { + if (!Zm(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) => ci(a.source, a.target)) + edgeIds: r.map((a) => di(a.source, a.target)) }; -}, Hs = (e, t, n, o = [], r) => { - const { nodes: a, edgeIds: i } = _x( +}, Ps = (e, t, n, o = [], r) => { + const { nodes: a, edgeIds: i } = Mx( e, t, n, @@ -22374,7 +22374,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { (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 } = Hs( + const { nodes: u, edges: c } = Ps( s, t, n, @@ -22389,27 +22389,27 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { }, { nodes: [], edges: [] } ); -}, Ax = (e, t) => { +}, Tx = (e, t) => { const n = t.getNodes().filter((i) => vt(i)), o = t.getEdges(); n.forEach((i) => { const l = t.getNode(i.id); - l && $a(l, !1); + l && Za(l, !1); }), o.forEach((i) => { const l = t.getEdge(i.id); - l && (l.hidden = !0, No(l, !1)); + l && (l.hidden = !0, jo(l, !1)); }); - const r = Hs(e, n, o, [], !0), a = Hs(e, n, o, [], !1); + const r = Ps(e, n, o, [], !0), a = Ps(e, n, o, [], !1); [r, a].forEach(({ nodes: i, edges: l }) => { i.forEach((s) => { const u = t.getNode(s.id); - u && $a(u, !0); + u && Za(u, !0); }), l.forEach((s) => { const u = t.getEdge(s); - u && (u.hidden = !1, No(u, !0)); + u && (u.hidden = !1, jo(u, !0)); }); }); -}, Mn = "-1px", Fr = () => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx( +}, Mn = "-1px", Fr = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx( Lt, { id: "left", @@ -22420,7 +22420,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { left: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "right", @@ -22431,7 +22431,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { right: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "left", @@ -22442,7 +22442,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { left: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "right", @@ -22453,7 +22453,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { right: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "top", @@ -22464,7 +22464,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { top: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "bottom", @@ -22475,7 +22475,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { bottom: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "top", @@ -22486,7 +22486,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { top: Mn } } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( Lt, { id: "bottom", @@ -22497,7 +22497,7 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { style: { bottom: Mn } } ) -] }), Lf = ({ data: e }) => { +] }), If = ({ data: e }) => { var N; const { label: t, @@ -22510,10 +22510,10 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { materialization: s, isExternalProject: u, schema: c - } = e, d = Jt(), { + } = e, d = en(), { state: { selectedTable: p, - collectColumns: f, + collectColumns: h, selectedColumn: m, leftExpansion: b, rightExpansion: y, @@ -22522,22 +22522,22 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { errors: C }, rerender: S - } = at(), w = ft(), E = Object.keys(f[n] || {}).length, M = E > 0, _ = p === n, L = async (T) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); + } = at(), w = ft(), E = Object.keys(h[n] || {}).length, M = E > 0, _ = p === n, L = async (T) => { + if (Je.inProgress) { + Je.showCllInProgressMsg(); return; } - let [D, I] = await Df( + let [D, I] = await Rf( d.getNodes(), d.getEdges(), n, T ); - if ([D, I] = kr(D, I, p), hn(D, I), d.setNodes(D), d.setEdges(I), w( - hr(_r(D, I, p)) + if ([D, I] = _r(D, I, p), pn(D, I), d.setNodes(D), d.setEdges(I), w( + pr(Ar(D, I, p)) ), w( - ko( - await Do( + Mo( + await Fo( D, I, p, @@ -22547,21 +22547,21 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { ) ), S(), !!(m != null && m.name)) try { - Xe.start(); - const j = d.getEdges(); - wr(j, !1), Er(j, !0), d.setEdges(j), await t1( + Je.start(); + const F = d.getEdges(); + Er(F, !1), Sr(F, !0), d.setEdges(F), await n1( D, I, T, - f[n].map((v) => ({ table: n, name: v.column })), + h[n].map((v) => ({ table: n, name: v.column })), (v) => { - w(wc({ operatorList: v })); + w(Ec({ operatorList: v })); }, (v) => { - w(vc(v)); + w(xc(v)); }, (v) => { - w(xc(v)); + w(wc(v)); }, () => [d.getNodes(), d.getEdges()], (v, z) => { @@ -22569,17 +22569,17 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { }, m, { direct: g, indirect: x }, - (v) => w(Ec(v(C))) + (v) => w(Sc(v(C))) ), S(); - } catch (j) { - console.log("cll:error:", j); + } catch (F) { + console.log("cll:error:", F); } finally { - Xe.end(); + Je.end(); } - }, R = () => L(!0), F = () => L(!1), P = (T) => { - T.stopPropagation(), i !== "semantic_model" && (w(Qn(n)), w(Gt(i === "exposure" ? Wc : $c))); + }, R = () => L(!0), j = () => L(!1), P = (T) => { + T.stopPropagation(), i !== "semantic_model" && (w(eo(n)), w(Gt(i === "exposure" ? Zc : Wc))); }, V = d.getEdges(), k = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ h.jsxs( + return /* @__PURE__ */ f.jsxs( "div", { className: "position-relative", @@ -22587,15 +22587,15 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { opacity: m != null && m.name ? M ? 1 : 0.5 : 1 }, children: [ - /* @__PURE__ */ h.jsxs( + /* @__PURE__ */ f.jsxs( "div", { className: G.table_node, onClick: async () => { const T = d.getNodes(), D = d.getEdges(); - w(hr(_r(T, D, n))), w( - ko( - await Do( + w(pr(Ar(T, D, n))), w( + Mo( + await Fo( T, D, n, @@ -22603,13 +22603,13 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { y ) ) - ), zs(d, n), w(Qn(n)), o && fx(o); + ), Hs(d, n), w(eo(n)), o && px(o); }, children: [ - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { - className: Te( + className: Oe( G.header, "d-flex flex-column align-items-start gap-xs", { @@ -22617,97 +22617,97 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { [G.collapse]: !M } ), - children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ - i in Sr && /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs( + children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.table_header, children: [ + i in kr && /* @__PURE__ */ f.jsx(f.Fragment, { children: /* @__PURE__ */ f.jsxs( "div", { - className: Te( + className: Oe( G.node_icon, - e1[i] + t1[i] ), children: [ - /* @__PURE__ */ h.jsx(di, { nodeType: i }), - /* @__PURE__ */ h.jsx("div", { children: Sr[i] }) + /* @__PURE__ */ f.jsx(hi, { nodeType: i }), + /* @__PURE__ */ f.jsx("div", { children: kr[i] }) ] } ) }), - i in e0 && /* @__PURE__ */ h.jsx( + i in n0 && /* @__PURE__ */ f.jsx( "img", { - src: e0[i], + src: n0[i], className: G.dialect_icon } ), - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: t }), - c && /* @__PURE__ */ h.jsx("div", { className: "text-muted", style: { fontSize: "0.75em" }, children: c }) + /* @__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 = C == null ? void 0 : C[n]) == null ? void 0 : N.length) && /* @__PURE__ */ h.jsx( + ((N = C == null ? void 0 : C[n]) == null ? void 0 : N.length) && /* @__PURE__ */ f.jsx( Sn, { - title: /* @__PURE__ */ h.jsx("div", { className: G.error_tooltip, children: C[n].map((T, D) => /* @__PURE__ */ h.jsxs("div", { className: "mb-1", children: [ + title: /* @__PURE__ */ f.jsx("div", { className: G.error_tooltip, children: C[n].map((T, D) => /* @__PURE__ */ f.jsxs("div", { className: "mb-1", children: [ D + 1, ". ", T ] }, D)) }), - children: /* @__PURE__ */ h.jsx(ox, {}) + children: /* @__PURE__ */ f.jsx(ax, {}) } ) ] }), - /* @__PURE__ */ h.jsxs( + /* @__PURE__ */ f.jsxs( "div", { - className: Te( + className: Oe( "w-100 d-flex align-items-center gap-xs", G.node_extra_info ), children: [ - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { - className: Te("nodrag", G.table_handle, { - invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Wa(n, !1)) + className: Oe("nodrag", G.table_handle, { + invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Ua(n, !1)) }), onClick: (T) => { - T.stopPropagation(), F(); + T.stopPropagation(), j(); }, "data-testid": "expand-left-btn-" + n, children: "+" } ), - (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ h.jsx( - or, + (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ f.jsx( + rr, { id: "table-node-tests-" + k, - icon: /* @__PURE__ */ h.jsx(Sf, {}), + icon: /* @__PURE__ */ f.jsx(Mf, {}), text: l.length.toString(), label: "Tests" } ), - s && /* @__PURE__ */ h.jsx( - or, + s && /* @__PURE__ */ f.jsx( + rr, { id: "table-node-materilization-" + k, - icon: /* @__PURE__ */ h.jsx(kf, {}), + icon: /* @__PURE__ */ f.jsx(Tf, {}), text: s, label: "Materialization" } ), - u ? /* @__PURE__ */ h.jsx( - or, + u ? /* @__PURE__ */ f.jsx( + rr, { id: "table-node-is-external-" + k, - icon: /* @__PURE__ */ h.jsx(pv, {}), + icon: /* @__PURE__ */ f.jsx(mv, {}), text: "ext", label: `External Project: ${n}` } ) : null, - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsx( "div", { - className: Te( + className: Oe( "nodrag", _ && i !== "semantic_model" ? "text-blue" : "text-grey" ), @@ -22716,11 +22716,11 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { children: "Details" } ), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { - className: Te("nodrag", G.table_handle, { - invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Wa(n, !0)) + className: Oe("nodrag", G.table_handle, { + invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Ua(n, !0)) }), onClick: (T) => { T.stopPropagation(), R(); @@ -22735,33 +22735,33 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { ] }) } ), - M && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx("div", { className: G.divider }), - /* @__PURE__ */ h.jsx( + M && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx("div", { className: G.divider }), + /* @__PURE__ */ f.jsx( "div", { - className: Te(G.content, { + className: Oe(G.content, { [G.selected]: _ }), - style: { height: va(E) } + style: { height: wa(E) } } ) ] }) ] } ), - /* @__PURE__ */ h.jsx(Fr, {}) + /* @__PURE__ */ f.jsx(Fr, {}) ] } ); -}, Ua = ({ +}, Ya = ({ percentValue: e, className: t -}) => e ? /* @__PURE__ */ h.jsx(Sn, { title: e.tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: t, children: [ - /* @__PURE__ */ h.jsx("div", { className: G.value, children: e.value }), - /* @__PURE__ */ h.jsx("div", { className: G.percent, children: e.percent }) -] }) }) : null, Mx = ({ data: e }) => { - var p, f; +}) => e ? /* @__PURE__ */ f.jsx(Sn, { title: e.tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: t, children: [ + /* @__PURE__ */ f.jsx("div", { className: G.value, children: e.value }), + /* @__PURE__ */ f.jsx("div", { className: G.percent, children: e.percent }) +] }) }) : null, Ox = ({ data: e }) => { + var p, h; const { table: t, nodeType: n, label: o } = e, { state: { sqlLineage: r, @@ -22772,24 +22772,24 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { nodesCost: u } } = at(), c = ft(), d = n || "unknown"; - return /* @__PURE__ */ h.jsxs("div", { className: "position-relative", children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ h.jsx( - Ua, + return /* @__PURE__ */ f.jsxs("div", { className: "position-relative", children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.node_stats, children: [ + /* @__PURE__ */ f.jsx( + Ya, { percentValue: (p = s[t]) == null ? void 0 : p.savings, className: G.savings } ), - /* @__PURE__ */ h.jsx( - Ua, + /* @__PURE__ */ f.jsx( + Ya, { - percentValue: (f = s[t]) == null ? void 0 : f.performance, + percentValue: (h = s[t]) == null ? void 0 : h.performance, className: G.performance } ) ] }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { className: G.static_table_node, @@ -22798,10 +22798,10 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { new CustomEvent("selectedNode", { detail: t }) ); }, - children: /* @__PURE__ */ h.jsx( + children: /* @__PURE__ */ f.jsx( "div", { - className: Te( + className: Oe( G.header, "d-flex flex-column align-items-start", { @@ -22810,33 +22810,33 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { [G.selected]: l === t } ), - children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", children: [ - u[t] && /* @__PURE__ */ h.jsx(Sn, { title: u[t].tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: Te(G.cost_data), children: [ - /* @__PURE__ */ h.jsx("div", { children: u[t].value }), - /* @__PURE__ */ h.jsx("div", { children: u[t].percent }) + 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(Sn, { title: u[t].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: Oe(G.cost_data), children: [ + /* @__PURE__ */ f.jsx("div", { children: u[t].value }), + /* @__PURE__ */ f.jsx("div", { children: u[t].percent }) ] }) }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { - className: Te(G.node_icon, e1[d]), - children: /* @__PURE__ */ h.jsx(vx, { nodeType: d }) + className: Oe(G.node_icon, t1[d]), + children: /* @__PURE__ */ f.jsx(wx, { nodeType: d }) } ), - /* @__PURE__ */ h.jsx("div", {}), - /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: o }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - /* @__PURE__ */ h.jsx("div", {}), - /* @__PURE__ */ h.jsx( + /* @__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: Te( + className: Oe( G.details_btn, !r || d === "unknown" ? G.disable : G.enable ), onClick: (m) => { - m.stopPropagation(), d !== "unknown" && (i || c(Qn(t))); + m.stopPropagation(), d !== "unknown" && (i || c(eo(t))); }, - children: /* @__PURE__ */ h.jsx(_f, {}) + children: /* @__PURE__ */ f.jsx(Of, {}) } ) ] }) @@ -22844,35 +22844,35 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { ) } ), - /* @__PURE__ */ h.jsx(Fr, {}) + /* @__PURE__ */ f.jsx(Fr, {}) ] }); -}, n1 = ({ data: e }) => { +}, o1 = ({ data: e }) => { const { tables: t = [], prevTable: n, right: o, level: r } = e, { state: { moreTables: a } - } = at(), i = ft(), l = Jt(), s = Me( + } = at(), i = ft(), l = en(), s = Te( (u) => { - u.stopPropagation(), i(Gt(Zc)), i( - Cc({ ...a, tables: t, prevTable: n, right: o, level: r }) + u.stopPropagation(), i(Gt(Uc)), i( + vc({ ...a, tables: t, prevTable: n, right: o, level: r }) ); }, [r, i, a, n, o, t] ); - return /* @__PURE__ */ h.jsxs("div", { className: G.see_more_node, onClick: s, children: [ - /* @__PURE__ */ h.jsx("div", { className: "fw-semibold", children: "See more" }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - /* @__PURE__ */ h.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), - /* @__PURE__ */ h.jsx(Fr, {}) + return /* @__PURE__ */ f.jsxs("div", { className: G.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(Fr, {}) ] }); -}, o1 = (e) => { +}, r1 = (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__ */ h.jsx(Io, { path: s, markerEnd: a }); -}, r1 = ({ data: e }) => { + return /* @__PURE__ */ f.jsx(zo, { path: s, markerEnd: a }); +}, a1 = ({ data: e }) => { const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, { state: { selectedColumn: i } - } = at(), l = ft(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && qc[o], c = u ? { borderColor: u } : {}, d = Jt(), p = () => { - const m = d.getNode(xr(n, t)); - m && (l(Qn("")), l($n({ name: t, table: n })), Ax(m, d)); - }, f = Be(() => { + } = at(), l = ft(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && Yc[o], c = u ? { borderColor: u } : {}, d = en(), p = () => { + const m = d.getNode(wr(n, t)); + m && (l(eo("")), l(Zn({ name: t, table: n })), Tx(m, d)); + }, h = Ve(() => { const m = Object.values( r || {} ).flat().filter(([, y]) => y === "Transformation").map(([y]) => y), b = []; @@ -22880,26 +22880,26 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { b.includes(y) || b.push(y); return b; }, [r]); - return /* @__PURE__ */ h.jsxs( + return /* @__PURE__ */ f.jsxs( "div", { - className: Te( + className: Oe( G.column_node, s ? G.selected : G.default ), style: c, onClick: p, children: [ - /* @__PURE__ */ h.jsx("div", { className: G.column_name, children: t }), - /* @__PURE__ */ h.jsx(Fr, {}), - /* @__PURE__ */ h.jsxs("div", { className: G.column_top_right, children: [ - f.length > 0 && /* @__PURE__ */ h.jsx(Sn, { title: "Click to view code", children: /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx("div", { className: G.column_name, children: t }), + /* @__PURE__ */ f.jsx(Fr, {}), + /* @__PURE__ */ f.jsxs("div", { className: G.column_top_right, children: [ + h.length > 0 && /* @__PURE__ */ f.jsx(Sn, { title: "Click to view code", children: /* @__PURE__ */ f.jsx( "div", { className: G.column_code_icon, onClick: (m) => { m.stopPropagation(), l( - _o({ + To({ type: "views_code", args: { table: n, @@ -22911,34 +22911,34 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { }) ); }, - children: /* @__PURE__ */ h.jsx(Cd, {}) + children: /* @__PURE__ */ f.jsx(Ed, {}) } ) }), - o && o !== "Non select" && /* @__PURE__ */ h.jsx(Qc, { viewsType: o }) + o && o !== "Non select" && /* @__PURE__ */ f.jsx(Jc, { viewsType: o }) ] }) ] } ); -}, Ff = { - INNER_JOIN: /* @__PURE__ */ h.jsx($v, {}), - OUTER_JOIN: /* @__PURE__ */ h.jsx(qv, {}), - LEFT_JOIN: /* @__PURE__ */ h.jsx(Wv, {}), - FULL_JOIN: /* @__PURE__ */ h.jsx(Xv, {}), - RIGHT_JOIN: /* @__PURE__ */ h.jsx(Yv, {}), - CROSS_JOIN: /* @__PURE__ */ h.jsx(Gv, {}), - LATERAL_JOIN: /* @__PURE__ */ h.jsx(Kv, {}), - FILTER: /* @__PURE__ */ h.jsx(Bv, {}), - GROUP: /* @__PURE__ */ h.jsx(Vv, {}), - LIMIT: /* @__PURE__ */ h.jsx(Zv, {}), - SORT: /* @__PURE__ */ h.jsx(Uv, {}), - UNION: /* @__PURE__ */ h.jsx(Qv, {}), - SELECT: /* @__PURE__ */ h.jsx(Jv, {}) -}, e0 = { - postgres: tx, - snowflake: ex, - s3: nx -}, Tx = ({ data: e }) => { - var p, f; +}, zf = { + INNER_JOIN: /* @__PURE__ */ f.jsx(Zv, {}), + OUTER_JOIN: /* @__PURE__ */ f.jsx(Gv, {}), + LEFT_JOIN: /* @__PURE__ */ f.jsx(Uv, {}), + FULL_JOIN: /* @__PURE__ */ f.jsx(Jv, {}), + RIGHT_JOIN: /* @__PURE__ */ f.jsx(Kv, {}), + CROSS_JOIN: /* @__PURE__ */ f.jsx(Xv, {}), + LATERAL_JOIN: /* @__PURE__ */ f.jsx(Qv, {}), + FILTER: /* @__PURE__ */ f.jsx($v, {}), + GROUP: /* @__PURE__ */ f.jsx(Wv, {}), + LIMIT: /* @__PURE__ */ f.jsx(qv, {}), + SORT: /* @__PURE__ */ f.jsx(Yv, {}), + UNION: /* @__PURE__ */ f.jsx(ex, {}), + SELECT: /* @__PURE__ */ f.jsx(tx, {}) +}, n0 = { + postgres: ox, + snowflake: nx, + s3: rx +}, Nx = ({ data: e }) => { + var p, h; const { type: t, expression: n, id: o } = e, { state: { theme: r, @@ -22949,12 +22949,12 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { nodesCost: u } } = at(), c = r === "dark", d = ft(); - return /* @__PURE__ */ h.jsxs("div", { style: { width: Lr, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ h.jsx(Fr, {}), - /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsxs( + return /* @__PURE__ */ f.jsxs("div", { style: { width: jr, display: "flex", justifyContent: "center" }, children: [ + /* @__PURE__ */ f.jsx(Fr, {}), + /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsxs( "div", { - className: Te(G.op_node, { + className: Oe(G.op_node, { [G.highlighted]: a.includes(o), [G.selected]: l === o }), @@ -22962,54 +22962,54 @@ const yx = ({ datatype: e, color: t, size: n = "1rem" }) => { i ? document.dispatchEvent( new CustomEvent("selectedNode", { detail: o }) ) : d( - _o({ + To({ type: "op_node", args: { op_code: n, op_type: t } }) ); }, children: [ - u[o] && /* @__PURE__ */ h.jsx(Sn, { title: u[o].tooltip, children: /* @__PURE__ */ h.jsxs("div", { className: Te(G.cost_data), children: [ - /* @__PURE__ */ h.jsx("div", { children: u[o].value }), - /* @__PURE__ */ h.jsx("div", { children: u[o].percent }) + u[o] && /* @__PURE__ */ f.jsx(Sn, { title: u[o].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: Oe(G.cost_data), children: [ + /* @__PURE__ */ f.jsx("div", { children: u[o].value }), + /* @__PURE__ */ f.jsx("div", { children: u[o].percent }) ] }) }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "div", { - className: Te( + className: Oe( G.node_icon, c ? G.dark_mode : G.light_mode ), - children: Ff[t] + children: zf[t] } ), - /* @__PURE__ */ h.jsx("div", {}), - /* @__PURE__ */ h.jsxs("div", { className: G.op_type_text, children: [ - /* @__PURE__ */ h.jsx("span", { children: t }), - /* @__PURE__ */ h.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ h.jsx( - Ua, + /* @__PURE__ */ f.jsx("div", {}), + /* @__PURE__ */ f.jsxs("div", { className: G.op_type_text, children: [ + /* @__PURE__ */ f.jsx("span", { children: t }), + /* @__PURE__ */ f.jsxs("div", { className: G.node_stats, children: [ + /* @__PURE__ */ f.jsx( + Ya, { percentValue: (p = s[o]) == null ? void 0 : p.savings, className: G.savings } ), - /* @__PURE__ */ h.jsx( - Ua, + /* @__PURE__ */ f.jsx( + Ya, { - percentValue: (f = s[o]) == null ? void 0 : f.performance, + percentValue: (h = s[o]) == null ? void 0 : h.performance, className: G.performance } ) ] }) ] }), - /* @__PURE__ */ h.jsx("div", {}) + /* @__PURE__ */ f.jsx("div", {}) ] } ) }) ] }); }; -function a1({ +function i1({ isOpen: e, closeModal: t, width: n = 350, @@ -23018,24 +23018,24 @@ function a1({ const r = document.getElementById("lineage-sidebar"); if (!r) return null; const a = typeof n == "number" ? `${n}px` : n; - return Rn( - /* @__PURE__ */ h.jsx("div", { className: `sidebar-modal ${e ? "" : "d-none"}`, children: e && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx("div", { className: "sidebar-background-screen", onClick: t }), - /* @__PURE__ */ h.jsxs("div", { className: "sidebar-modal-content", style: { width: a }, children: [ - /* @__PURE__ */ h.jsx("div", { className: "sidebar-close-button", onClick: t, children: /* @__PURE__ */ h.jsx(Xc, {}) }), + return zn( + /* @__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(Qc, {}) }), o ] }) ] }) }), r ); } -function zo(e) { - return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e }); +function Ho(e) { + return /* @__PURE__ */ f.jsx(Xt, { className: "custom-input", ...e }); } -function Ox(e) { - return /* @__PURE__ */ h.jsx(Cn, { className: "custom-input", ...e, type: "textarea", rows: 4 }); +function Dx(e) { + return /* @__PURE__ */ f.jsx(Xt, { className: "custom-input", ...e, type: "textarea", rows: 4 }); } -function Nx({ +function Lx({ nodeType: e, label: t, table: n, @@ -23043,29 +23043,29 @@ function Nx({ materialization: r }) { const a = e, i = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.table_header, children: [ - /* @__PURE__ */ h.jsxs("div", { className: Te(G.node_icon, e1[a]), children: [ - /* @__PURE__ */ h.jsx(di, { nodeType: a }), - /* @__PURE__ */ h.jsx("div", { children: Sr[a] }) + return /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.table_header, children: [ + /* @__PURE__ */ f.jsxs("div", { className: Oe(G.node_icon, t1[a]), children: [ + /* @__PURE__ */ f.jsx(hi, { nodeType: a }), + /* @__PURE__ */ f.jsx("div", { children: kr[a] }) ] }), - /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: t }) + /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: t }) ] }), - /* @__PURE__ */ h.jsxs("div", { className: Te("d-flex gap-xs", G.node_extra_info), children: [ - (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ h.jsx( - or, + /* @__PURE__ */ f.jsxs("div", { className: Oe("d-flex gap-xs", G.node_extra_info), children: [ + (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ f.jsx( + rr, { id: "table-node-tests-" + i, - icon: /* @__PURE__ */ h.jsx(Sf, {}), + icon: /* @__PURE__ */ f.jsx(Mf, {}), text: o.length.toString(), label: "Tests" } ), - r && /* @__PURE__ */ h.jsx( - or, + r && /* @__PURE__ */ f.jsx( + rr, { id: "table-node-materilization-" + i, - icon: /* @__PURE__ */ h.jsx(kf, {}), + icon: /* @__PURE__ */ f.jsx(Tf, {}), text: r, label: "Materialization" } @@ -23073,50 +23073,50 @@ function Nx({ ] }) ] }); } -function jf() { +function Hf() { const { state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, rerender: o - } = at(), r = ft(), { tables: a, level: i } = e, l = Jt(), s = async (d) => { - const p = [...l.getNodes()], f = [...l.getEdges()]; - kx( + } = at(), r = ft(), { tables: a, level: i } = e, l = en(), s = async (d) => { + const p = [...l.getNodes()], h = [...l.getEdges()]; + Ax( p, - f, + h, d, e, { direct: t, indirect: n } - ) && r(Gt("")), hn(p, f), l.setNodes(p), l.setEdges(f), o(); + ) && r(Gt("")), pn(p, h), l.setNodes(p), l.setEdges(h), o(); }, [u, c] = ce(a); - return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), - /* @__PURE__ */ h.jsx( - zo, + 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( + Ho, { bsSize: "sm", placeholder: "Search by table name", onChange: (d) => { const p = d.target.value.toLowerCase(); c( - a.filter((f) => f.table.toLowerCase().includes(p)) + a.filter((h) => h.table.toLowerCase().includes(p)) ); } } ), - /* @__PURE__ */ h.jsx("div", { className: "mb-3" }), - /* @__PURE__ */ h.jsx("div", { className: "h-100 overflow-y", children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: u.map((d) => { - const p = l.getNode(d.table), f = p && p.data.level !== i; - return /* @__PURE__ */ h.jsx( + /* @__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 p = l.getNode(d.table), h = p && p.data.level !== i; + return /* @__PURE__ */ f.jsx( "div", { - className: Te(G.table_card, { + className: Oe(G.table_card, { [G.selected]: p // [styles.disabled]: isNodeOnOtherLevel, }), onClick: (m) => { - m.stopPropagation(), !f && s(d); + m.stopPropagation(), !h && s(d); }, - children: /* @__PURE__ */ h.jsx( - Nx, + children: /* @__PURE__ */ f.jsx( + Lx, { nodeType: d.nodeType, label: d.label, @@ -23131,45 +23131,45 @@ function jf() { }) }) }) ] }); } -const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { - component: Dx, - spin: Lx -}, Rf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ h.jsx( +const jx = "_component_13r39_1", Fx = "_spin_13r39_1", Rx = { + component: jx, + spin: Fx +}, Pf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ f.jsx( "div", { - className: Fx.component, + className: Rx.component, style: { top: `${e}%`, left: `${t}%` }, - children: /* @__PURE__ */ h.jsx("div", { style: { marginTop: "-70px" }, children: n }) - } -), jx = "_level_tag_x6wwh_1", Rx = { - level_tag: jx -}, Ix = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(Rx.level_tag), children: e }), If = ({ purpose: e }) => /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "purpose-section"), children: /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), - /* @__PURE__ */ h.jsx("div", { className: Te(G.column_card), children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs", children: e }) }) -] }) }) }), zf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { + children: /* @__PURE__ */ f.jsx("div", { style: { marginTop: "-70px" }, children: n }) + } +), Ix = "_level_tag_x6wwh_1", zx = { + level_tag: Ix +}, Hx = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { className: Oe(zx.level_tag), children: e }), Bf = ({ purpose: e }) => /* @__PURE__ */ f.jsx("div", { className: Oe(G.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: Oe(G.column_card), children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs", children: e }) }) +] }) }) }), Vf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { const { state: { theme: r } - } = et(to); - return /* @__PURE__ */ h.jsxs( + } = tt(ro); + return /* @__PURE__ */ f.jsxs( "div", { - className: Te(G.column_card, { + className: Oe(G.column_card, { [G.selected]: n, "cursor-pointer": o }), onClick: t, "data-testid": "table-details-" + e.name, children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ h.jsx(yx, { datatype: e.datatype || "" }), - /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e.name }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - e.can_lineage_expand && /* @__PURE__ */ h.jsx("div", { className: G.expand_lineage_icon, children: /* @__PURE__ */ h.jsx(Mv, {}) }), - e.datatype && /* @__PURE__ */ h.jsx(Ix, { label: e.datatype }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ + /* @__PURE__ */ f.jsx(vx, { 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: G.expand_lineage_icon, children: /* @__PURE__ */ f.jsx(Ov, {}) }), + e.datatype && /* @__PURE__ */ f.jsx(Hx, { label: e.datatype }) ] }), - e.description && /* @__PURE__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), - e.code && /* @__PURE__ */ h.jsx( - Mr, + 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( + Tr, { code: e.code, language: "sql", @@ -23180,7 +23180,7 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { ] } ); -}, zx = ({ +}, Px = ({ columns: e, filteredColumn: t, setFilteredColumn: n, @@ -23191,17 +23191,17 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { allowSyncColumnsWithDB: l }) => { const s = (r == null ? void 0 : r.materialization) === "ephemeral", u = (r == null ? void 0 : r.nodeType) === "analysis"; - return /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - l && !s && !u && /* @__PURE__ */ h.jsx( - Ie, + return /* @__PURE__ */ f.jsx("div", { className: Oe(G.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( + Re, { size: "sm", color: "primary", onClick: () => { - r && ui(r.table, !0).then((c) => { + r && fi(r.table, !0).then((c) => { c && (i(c), n(c.columns)); }); }, @@ -23209,8 +23209,8 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } ) ] }), - /* @__PURE__ */ h.jsx( - zo, + /* @__PURE__ */ f.jsx( + Ho, { bsSize: "sm", type: "text", @@ -23223,16 +23223,16 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } } ), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - !s && /* @__PURE__ */ h.jsx("div", { className: "fs-xxs", children: "Select column for lineage" }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - /* @__PURE__ */ h.jsxs("div", { className: "fs-xxs text-grey", children: [ + /* @__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__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((c) => /* @__PURE__ */ h.jsx( - zf, + /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((c) => /* @__PURE__ */ f.jsx( + Vf, { column: c, handleClick: () => { @@ -23244,12 +23244,12 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { c.name )) }) ] }) }); -}, Hx = ({ tests: e }) => { +}, Bx = ({ tests: e }) => { const [t, n] = ce(e); - return /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), - /* @__PURE__ */ h.jsx( - zo, + return /* @__PURE__ */ f.jsx("div", { className: Oe(G.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( + Ho, { bsSize: "sm", type: "text", @@ -23262,19 +23262,19 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } } ), - /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsxs("div", { className: "fs-xxs text-grey", children: [ + /* @__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__ */ h.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ h.jsx("div", { className: G.column_card, children: /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: o.key }) }) }, o.key)) }) + /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ f.jsx("div", { className: G.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)) }) ] }) }); -}, i1 = ({ +}, l1 = ({ nodeType: e, table: t -}) => /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ h.jsx(di, { nodeType: e }), - /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) -] }), Hf = () => { +}) => /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ + /* @__PURE__ */ f.jsx(hi, { 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 }) }) +] }), $f = () => { var w; const { rerender: e, @@ -23287,10 +23287,10 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { allowSyncColumnsWithDB: i, errors: l } - } = at(), s = ft(), u = Jt(), [c, d] = ce([]), [p, f] = ce(null), [m, b] = ce(0), [y, g] = ce(!0); + } = at(), s = ft(), u = en(), [c, d] = ce([]), [p, h] = ce(null), [m, b] = ce(0), [y, g] = ce(!0); ue(() => { - t && (g(!0), ui(t, !1).then((E) => { - f(E), d(E.columns), g(!1); + t && (g(!0), fi(t, !1).then((E) => { + h(E), d(E.columns), g(!1); }).catch(() => { g(!1); })); @@ -23298,67 +23298,67 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { const x = async (E) => { var T; if (!a) { - px(); + mx(); return; } - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); + if (Je.inProgress) { + Je.showCllInProgressMsg(); return; } if ((n == null ? void 0 : n.table) === E.table && (n == null ? void 0 : n.name) === E.name) { - const [D, I] = Sx( + const [D, I] = _x( u.getNodes(), u.getEdges() ); - wr(I, !0), Er(I, !0), u.setNodes(D), u.setEdges(I), s($n({ table: "", name: "" })), s(fr({})), s(Gt("")); + Er(I, !0), Sr(I, !0), u.setNodes(D), u.setEdges(I), s(Zn({ table: "", name: "" })), s(hr({})), s(Gt("")); return; } const M = (T = u.getNode(E.table)) == null ? void 0 : T.data; if (!M) throw new Error(`table node ${E.table} isn't visible`); let _ = u.getNodes(), L = u.getEdges(); - wr(L, !1), Er(L, !0); + Er(L, !1), Sr(L, !0); const R = async (D) => { - [_, L] = await Df( + [_, L] = await Rf( _, L, E.table, D - ), hn(_, L); - }, { upstreamCount: F, downstreamCount: P } = M; - F > 0 && L.filter((D) => D.source === E.table).length < F && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s($n({ ...E })), s(Gt("")), s(fr({})), s(T9({ confidence: "high" })); - const [V, k] = Nf( + ), pn(_, L); + }, { upstreamCount: j, downstreamCount: P } = M; + j > 0 && L.filter((D) => D.source === E.table).length < j && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s(Zn({ ...E })), s(Gt("")), s(hr({})), s(N9({ confidence: "high" })); + const [V, k] = Ff( _.filter(En), L.filter(En) ); - k.forEach((D) => D.style = si), u.setNodes(V), u.setEdges(k), e(); - const N = (D) => t1( + k.forEach((D) => D.style = ui), u.setNodes(V), u.setEdges(k), e(); + const N = (D) => n1( V, k, D, [E], (I) => { - s(wc({ operatorList: I })); + s(Ec({ operatorList: I })); }, (I) => { - s(vc(I)); + s(xc(I)); }, (I) => { - s(xc(I)); + s(wc(I)); }, () => [u.getNodes(), u.getEdges()], - (I, j) => { - u.setNodes(I), u.setEdges(j); + (I, F) => { + u.setNodes(I), u.setEdges(F); }, E, { direct: o, indirect: r }, - (I) => s(Ec(I(l))) + (I) => s(Sc(I(l))) ); try { - Xe.start(), (await Promise.all([ + Je.start(), (await Promise.all([ N(!0), N(!1) - ])).every((I) => !I) && (s($n({ table: "", name: "" })), zs(u, E.table), Xe.isCancelled || Jc( + ])).every((I) => !I) && (s(Zn({ table: "", name: "" })), Hs(u, E.table), Je.isCancelled || e1( `No lineage found for model ${E.table} and column ${E.name}` )); } catch (D) { @@ -23368,26 +23368,26 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { E.name, ", error:", D - ), s($n({ table: "", name: "" })), zs(u, E.table); + ), s(Zn({ table: "", name: "" })), Hs(u, E.table); } finally { - Xe.end(); + Je.end(); } }, C = (w = u.getNode(t)) == null ? void 0 : w.data; - if (y || !p || !t) return /* @__PURE__ */ h.jsx(Rf, {}); + if (y || !p || !t) return /* @__PURE__ */ f.jsx(Pf, {}); const S = ["Column"]; - return C.tests.length && S.push("Tests"), /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ h.jsx( - i1, + return C.tests.length && S.push("Tests"), /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ f.jsx( + l1, { nodeType: C.nodeType, table: C.label } ), - p.purpose && /* @__PURE__ */ h.jsx(If, { purpose: p.purpose }), - S.length > 1 && /* @__PURE__ */ h.jsx("div", { className: G.table_details_tabs, children: S.map((E, M) => /* @__PURE__ */ h.jsx( + p.purpose && /* @__PURE__ */ f.jsx(Bf, { purpose: p.purpose }), + S.length > 1 && /* @__PURE__ */ f.jsx("div", { className: G.table_details_tabs, children: S.map((E, M) => /* @__PURE__ */ f.jsx( "div", { - className: Te(G.tab, { + className: Oe(G.tab, { [G.selected]: m === M }), onClick: () => b(M), @@ -23395,8 +23395,8 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { }, E )) }), - m === 0 && /* @__PURE__ */ h.jsx( - zx, + m === 0 && /* @__PURE__ */ f.jsx( + Px, { selectedTable: C, selectedColumn: n, @@ -23404,19 +23404,19 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { setFilteredColumn: d, columns: p.columns, handleColumnClick: x, - setData: f, + setData: h, allowSyncColumnsWithDB: i } ), - m === 1 && /* @__PURE__ */ h.jsx(Hx, { tests: C.tests }) + m === 1 && /* @__PURE__ */ f.jsx(Bx, { tests: C.tests }) ] }); -}, Px = () => { - var f, m, b, y; +}, Vx = () => { + var h, m, b, y; const { state: { theme: e } - } = et(to), { + } = tt(ro), { state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } - } = at(), r = (b = (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( + } = at(), r = (b = (m = (h = t == null ? void 0 : t.details) == null ? void 0 : h[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( (g) => ({ ...g, description: g.expression @@ -23425,12 +23425,12 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { if (!u) return null; const { sql: c, type: d, nodeId: p } = u; - return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ h.jsx(i1, { nodeType: d || "cte", table: n }), - c && /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "mb-0 purpose-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), - /* @__PURE__ */ h.jsx( - Mr, + return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ f.jsx(l1, { nodeType: d || "cte", table: n }), + c && /* @__PURE__ */ f.jsx("div", { className: Oe(G.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( + Tr, { code: c, language: "sql", @@ -23440,17 +23440,17 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } ) ] }) }), - /* @__PURE__ */ h.jsx("div", { className: Te(G.card, "mb-0 flex-grow column-section"), children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm h-100", children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - o && p && ["table", "final"].includes(d || "") && /* @__PURE__ */ h.jsx( - Ie, + /* @__PURE__ */ f.jsx("div", { className: Oe(G.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 && p && ["table", "final"].includes(d || "") && /* @__PURE__ */ f.jsx( + Re, { size: "sm", color: "primary", onClick: () => { - ui(p, !0).then((g) => { + fi(p, !0).then((g) => { i(g.columns), s(g.columns); }); }, @@ -23458,8 +23458,8 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } ) ] }), - /* @__PURE__ */ h.jsx( - zo, + /* @__PURE__ */ f.jsx( + Ho, { bsSize: "sm", placeholder: "Search by column name", @@ -23472,12 +23472,12 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { } } ), - /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ h.jsxs("div", { children: [ + /* @__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__ */ h.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((g) => /* @__PURE__ */ h.jsx( - zf, + /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((g) => /* @__PURE__ */ f.jsx( + Vf, { column: { name: g.name, @@ -23495,73 +23495,73 @@ const Dx = "_component_13r39_1", Lx = "_spin_13r39_1", Fx = { )) }) ] }) }) ] }); -}, sa = ({ title: e, value: t }) => /* @__PURE__ */ h.jsxs("div", { className: Te(G.column_card, {}), children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "lines-2", children: e }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }) +}, ua = ({ title: e, value: t }) => /* @__PURE__ */ f.jsxs("div", { className: Oe(G.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__ */ h.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ h.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) -] }), Bx = ({ label: e }) => /* @__PURE__ */ h.jsx("div", { children: e }), Pf = () => { + /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) +] }), $x = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { children: e }), Wf = () => { var l; - const e = Jt(), { + const e = en(), { state: { selectedTable: t } } = at(), [n, o] = ce(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ce(!0); return ue(() => { - t && sx(t).then((s) => { + t && ux(t).then((s) => { o(s), i(!1); }); - }, [t]), a || !n || !t ? /* @__PURE__ */ h.jsx(Rf, {}) : /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ h.jsx(di, { nodeType: r.nodeType }), - /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) + }, [t]), a || !n || !t ? /* @__PURE__ */ f.jsx(Pf, {}) : /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ + /* @__PURE__ */ f.jsx(hi, { 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__ */ h.jsx(If, { purpose: n.description }) : null, - /* @__PURE__ */ h.jsxs("div", { className: Te(G.card, "flex-grow column-section"), children: [ - /* @__PURE__ */ h.jsx( - sa, + n.description ? /* @__PURE__ */ f.jsx(Bf, { purpose: n.description }) : null, + /* @__PURE__ */ f.jsxs("div", { className: Oe(G.card, "flex-grow column-section"), children: [ + /* @__PURE__ */ f.jsx( + ua, { title: "Owner", value: `${n.owner.name} - ${n.owner.email}` } ), - /* @__PURE__ */ h.jsx(sa, { title: "Url", value: n.url }), - /* @__PURE__ */ h.jsx( - sa, + /* @__PURE__ */ f.jsx(ua, { title: "Url", value: n.url }), + /* @__PURE__ */ f.jsx( + ua, { title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ h.jsx(Bx, { label: s })) + value: n.tags.map((s) => /* @__PURE__ */ f.jsx($x, { label: s })) } ), - /* @__PURE__ */ h.jsx(sa, { title: "Maturity", value: n.maturity }) + /* @__PURE__ */ f.jsx(ua, { title: "Maturity", value: n.maturity }) ] }) ] }); }; -function Vx({ close: e }) { +function Wx({ close: e }) { const [t, n] = ce( "" /* None */ ), [o, r] = ce(""), [a, i] = ce(!1); - return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ h.jsxs("div", { className: "mb-2 d-flex", children: [ - /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), - /* @__PURE__ */ h.jsx("div", { className: "spacer" }), - /* @__PURE__ */ h.jsx( - Ie, + 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( + Re, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), hx(); + l.stopPropagation(), gx(); }, children: "Chat with us" } ) ] }), - /* @__PURE__ */ h.jsxs("div", { className: G.feedback_body, children: [ - !a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm m-2", children: [ - t === "good" ? /* @__PURE__ */ h.jsx( - Nv, + /* @__PURE__ */ f.jsxs("div", { className: G.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( + Lv, { className: "cursor-pointer", onClick: () => n( @@ -23569,8 +23569,8 @@ function Vx({ close: e }) { /* None */ ) } - ) : /* @__PURE__ */ h.jsx( - Tv, + ) : /* @__PURE__ */ f.jsx( + Nv, { className: "cursor-pointer", onClick: () => n( @@ -23579,8 +23579,8 @@ function Vx({ close: e }) { ) } ), - t === "bad" ? /* @__PURE__ */ h.jsx( - Dv, + t === "bad" ? /* @__PURE__ */ f.jsx( + jv, { className: "cursor-pointer", onClick: () => n( @@ -23588,8 +23588,8 @@ function Vx({ close: e }) { /* None */ ) } - ) : /* @__PURE__ */ h.jsx( - Ov, + ) : /* @__PURE__ */ f.jsx( + Dv, { className: "cursor-pointer", onClick: () => n( @@ -23599,23 +23599,23 @@ function Vx({ close: e }) { } ) ] }), - /* @__PURE__ */ h.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), - /* @__PURE__ */ h.jsx( - Ox, + /* @__PURE__ */ f.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), + /* @__PURE__ */ f.jsx( + Dx, { value: o, onChange: (l) => r(l.target.value), placeholder: "What did AI do wrong? What it should have done?" } ), - /* @__PURE__ */ h.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ - /* @__PURE__ */ h.jsx( - Ie, + /* @__PURE__ */ f.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ + /* @__PURE__ */ f.jsx( + Re, { size: "sm", color: "primary", onClick: async (l) => { - l.stopPropagation(), t !== "" && (await ux({ + l.stopPropagation(), t !== "" && (await fx({ feedback_value: t, feedback_text: o }), i(!0)); @@ -23623,8 +23623,8 @@ function Vx({ close: e }) { children: "Submit" } ), - /* @__PURE__ */ h.jsx( - Ie, + /* @__PURE__ */ f.jsx( + Re, { size: "sm", color: "link", @@ -23637,10 +23637,10 @@ function Vx({ close: e }) { ) ] }) ] }), - a && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx("p", { children: "Many thanks for your feedback!" }), - /* @__PURE__ */ h.jsx( - Ie, + a && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx("p", { children: "Many thanks for your feedback!" }), + /* @__PURE__ */ f.jsx( + Re, { size: "sm", color: "primary", @@ -23654,103 +23654,103 @@ function Vx({ close: e }) { ] }) ] }); } -function $x({ applyDefault: e }) { +function Zx({ applyDefault: e }) { const { state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } } = at(), a = ft(); - return /* @__PURE__ */ h.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(fa, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), - /* @__PURE__ */ h.jsx( - zo, + 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(pa, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), + /* @__PURE__ */ f.jsx( + Ho, { id: "default-expansion", value: o, type: "number", onChange: (i) => { const l = Math.max(parseInt(i.target.value), 0); - a(Gd(l)), $l({ defaultExpansion: l }), e(l); + a(Jd(l)), Wl({ defaultExpansion: l }), e(l); } } ) ] }), - r && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx("div", { className: "fs-6", children: "Edges visibility" }), - /* @__PURE__ */ h.jsxs("div", { className: G.select_node_checkbox, children: [ - /* @__PURE__ */ h.jsx( - Cn, + r && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx("div", { className: "fs-6", children: "Edges visibility" }), + /* @__PURE__ */ f.jsxs("div", { className: G.select_node_checkbox, children: [ + /* @__PURE__ */ f.jsx( + Xt, { type: "checkbox", id: "select-check", className: "mt-2", checked: t, onChange: (i) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); + if (Je.inProgress) { + Je.showCllInProgressMsg(); return; } - a(qd(i.target.checked)), $l({ + a(Xd(i.target.checked)), Wl({ showSelectEdges: i.target.checked }); } } ), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx(fa, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), - /* @__PURE__ */ h.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: "d-flex flex-column", children: [ + /* @__PURE__ */ f.jsx(pa, { 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__ */ h.jsxs("div", { className: G.non_select_node_checkbox, children: [ - /* @__PURE__ */ h.jsx( - Cn, + /* @__PURE__ */ f.jsxs("div", { className: G.non_select_node_checkbox, children: [ + /* @__PURE__ */ f.jsx( + Xt, { type: "checkbox", id: "non-select-check", className: "mt-2", checked: n, onChange: (i) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); + if (Je.inProgress) { + Je.showCllInProgressMsg(); return; } - a(Yd(i.target.checked)), $l({ + a(Qd(i.target.checked)), Wl({ showNonSelectEdges: i.target.checked }); } } ), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ h.jsx(fa, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), - /* @__PURE__ */ h.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column", children: [ + /* @__PURE__ */ f.jsx(pa, { 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 Bf = Ht({ openedPopover: "", setOpenedPopover: () => { +const Zf = Ht({ openedPopover: "", setOpenedPopover: () => { } }); -function Vf({ +function Uf({ id: e, trigger: t, render: n }) { - const o = he(null), { openedPopover: r, setOpenedPopover: a } = et(Bf); + const o = he(null), { openedPopover: r, setOpenedPopover: a } = tt(Zf); return ue(() => { const i = (l) => { if (!o.current) return; const { x: s, y: u, width: c, height: d } = o.current.getBoundingClientRect(); a( - Zu(s - 10, s + c + 10)(l.x) && Zu(u - 10, u + d + 10)(l.y) ? e : "" + qu(s - 10, s + c + 10)(l.x) && qu(u - 10, u + d + 10)(l.y) ? e : "" ); }; return document.body.addEventListener("click", i), () => { document.body.removeEventListener("click", i); }; - }, [r]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx( + }, [r]), /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx( "div", { id: e, @@ -23760,21 +23760,21 @@ function Vf({ children: t } ), - /* @__PURE__ */ h.jsx( - Z0, + /* @__PURE__ */ f.jsx( + q0, { placement: "bottom", target: e, className: G.popover, isOpen: r === e, toggle: () => a(""), - children: /* @__PURE__ */ h.jsx(U0, { children: /* @__PURE__ */ h.jsx("div", { ref: o, children: n({ close: () => a("") }) }) }) + children: /* @__PURE__ */ f.jsx(Y0, { children: /* @__PURE__ */ f.jsx("div", { ref: o, children: n({ close: () => a("") }) }) }) } ) ] }); } -const Wx = () => { - const e = Jt(), { +const Ux = () => { + const e = en(), { state: { selectedTable: t, leftExpansion: n, @@ -23787,18 +23787,18 @@ const Wx = () => { } = at(), [s, u] = ce([0, 0]), c = ft(); ue(() => { c( - Al( - qu(r[0], s[0], i) + Ml( + Gu(r[0], s[0], i) ) ), c( - Ml( - qu(r[1], s[1], i) + Tl( + Gu(r[1], s[1], i) ) ); }, [i, c, s, r]), ue(() => { (async () => c( - ko( - await Do( + Mo( + await Fo( e.getNodes(), e.getEdges(), t, @@ -23811,9 +23811,9 @@ const Wx = () => { (async () => { var S; if (!t) return; - const f = (S = e.getNode(t)) == null ? void 0 : S.data; - if (!f) return; - const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Za( + const h = (S = e.getNode(t)) == null ? void 0 : S.data; + if (!h) return; + const { level: m } = h, b = e.getNodes(), y = e.getEdges(), [g] = await qa( b, y, t, @@ -23826,100 +23826,100 @@ const Wx = () => { u([m - x, C - m]); })(); }, [e, t]); - const d = Me(() => { + const d = Te(() => { c( - Al( + Ml( n + 1 <= s[0] ? n + 1 : n ) ); - }, [n, c, s]), p = Me(() => { + }, [n, c, s]), p = Te(() => { c( - Ml( + Tl( o + 1 <= s[0] ? o + 1 : o ) ); }, [o, c, s]); - return /* @__PURE__ */ h.jsx( - Vf, + return /* @__PURE__ */ f.jsx( + Uf, { id: "auto-expansion-popover", - trigger: /* @__PURE__ */ h.jsxs( - Ie, + trigger: /* @__PURE__ */ f.jsxs( + Re, { size: "sm", color: "primary", className: "d-flex gap-sm align-items-center", type: "button", children: [ - /* @__PURE__ */ h.jsx(Lv, {}), + /* @__PURE__ */ f.jsx(Fv, {}), "Expand" ] } ), - render: ({ close: f }) => /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ h.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ h.jsxs( + render: ({ close: h }) => /* @__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: Te(G.expand_nav, { + className: Oe(G.expand_nav, { [G.disabled]: r[0] === -1 }), children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsxs("div", { className: G.expand_nav_btn, children: [ + /* @__PURE__ */ f.jsx( "div", { className: G.icon, onClick: (m) => { - m.stopPropagation(), t && c(Al(s[0])); + m.stopPropagation(), t && c(Ml(s[0])); }, - children: /* @__PURE__ */ h.jsx(Fv, {}) + children: /* @__PURE__ */ f.jsx(Rv, {}) } ), - /* @__PURE__ */ h.jsx("div", { className: G.divider }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx("div", { className: G.divider }), + /* @__PURE__ */ f.jsx( "div", { className: G.icon, onClick: (m) => { m.stopPropagation(), t && d(); }, - children: /* @__PURE__ */ h.jsx(jv, {}) + children: /* @__PURE__ */ f.jsx(Iv, {}) } ) ] }), - /* @__PURE__ */ h.jsx("div", { className: "text-blue px-2 py-1", children: n }) + /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: n }) ] } ), - /* @__PURE__ */ h.jsxs( + /* @__PURE__ */ f.jsxs( "div", { - className: Te(G.expand_nav, { + className: Oe(G.expand_nav, { [G.disabled]: r[1] === -1 }), children: [ - /* @__PURE__ */ h.jsx("div", { className: "text-blue px-2 py-1", children: o }), - /* @__PURE__ */ h.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: o }), + /* @__PURE__ */ f.jsxs("div", { className: G.expand_nav_btn, children: [ + /* @__PURE__ */ f.jsx( "div", { className: G.icon, onClick: (m) => { m.stopPropagation(), t && p(); }, - children: /* @__PURE__ */ h.jsx(Rv, {}) + children: /* @__PURE__ */ f.jsx(zv, {}) } ), - /* @__PURE__ */ h.jsx("div", { className: G.divider }), - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx("div", { className: G.divider }), + /* @__PURE__ */ f.jsx( "div", { className: G.icon, onClick: (m) => { - m.stopPropagation(), t && c(Ml(s[1])); + m.stopPropagation(), t && c(Tl(s[1])); }, - children: /* @__PURE__ */ h.jsx(_f, {}) + children: /* @__PURE__ */ f.jsx(Of, {}) } ) ] }) @@ -23927,12 +23927,12 @@ const Wx = () => { } ) ] }), - /* @__PURE__ */ h.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ h.jsx("div", { className: "normal-text", children: "Parents" }), - /* @__PURE__ */ h.jsx("div", { className: "normal-text", children: "Children" }) + /* @__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__ */ h.jsxs( - Ie, + /* @__PURE__ */ f.jsxs( + Re, { color: a === 0 ? "secondary" : "primary", size: "sm", @@ -23942,18 +23942,18 @@ const Wx = () => { if (m.stopPropagation(), !t) return; const b = (x = e.getNode(t)) == null ? void 0 : x.data; if (!b) return; - const [y, g] = await Za( + const [y, g] = await qa( e.getNodes(), e.getEdges(), t, b.level - n, b.level + o ); - kr(y, g, t), hn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( - hr(_r(y, g, t)) + _r(y, g, t), pn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( + pr(Ar(y, g, t)) ), c( - ko( - await Do( + Mo( + await Fo( y, g, t, @@ -23961,7 +23961,7 @@ const Wx = () => { o ) ) - ), l(), f(); + ), l(), h(); }, children: [ "Add ", @@ -23973,117 +23973,117 @@ const Wx = () => { ] }) } ); -}, Zx = () => { +}, qx = () => { const { state: { selectedColumn: e, confidence: t, aiEnabled: n } } = at(), o = document.getElementById("expand-container"); - return o ? Rn( - /* @__PURE__ */ h.jsx(zt, { className: G.menu_card_container, children: /* @__PURE__ */ h.jsx(un, { className: G.menu_card, children: /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ h.jsx(Wx, {}), - n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx("div", { className: G.verticle_divider }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ - /* @__PURE__ */ h.jsx("div", { children: "Confidence" }), - /* @__PURE__ */ h.jsx( - Un, + return o ? zn( + /* @__PURE__ */ f.jsx(zt, { className: G.menu_card_container, children: /* @__PURE__ */ f.jsx(dn, { className: G.menu_card, children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm", children: [ + /* @__PURE__ */ f.jsx(Ux, {}), + n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx("div", { className: G.verticle_divider }), + /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ + /* @__PURE__ */ f.jsx("div", { children: "Confidence" }), + /* @__PURE__ */ f.jsx( + jn, { 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__ */ h.jsx(b8, {}) + children: /* @__PURE__ */ f.jsx(v8, {}) } ), - /* @__PURE__ */ h.jsx("div", { className: G.low_confidence, children: "Low" }) + /* @__PURE__ */ f.jsx("div", { className: G.low_confidence, children: "Low" }) ] }) ] }) ] }) }) }), o ) : null; -}, Ux = () => { +}, Yx = () => { const e = document.getElementById("settings-container"), t = ft(); - return e ? Rn( - /* @__PURE__ */ h.jsxs( - Ie, + return e ? zn( + /* @__PURE__ */ f.jsxs( + Re, { outline: !0, - onClick: () => t(Gt(mf)), + onClick: () => t(Gt(vf)), children: [ - /* @__PURE__ */ h.jsx(m8, {}), + /* @__PURE__ */ f.jsx(C8, {}), "Settings" ] } ), e ) : null; -}, qx = ({ flow: e }) => { +}, Gx = ({ flow: e }) => { const t = document.getElementById("reset-container"), n = ft(); - return t ? Rn( - /* @__PURE__ */ h.jsxs( - Ie, + return t ? zn( + /* @__PURE__ */ f.jsxs( + Re, { outline: !0, onClick: () => { - e.setNodes([]), e.setEdges([]), n($n({ table: "", name: "" })), n(fr({})), n(Cc({})), Mf(), Xe.cancel(); + e.setNodes([]), e.setEdges([]), n(Zn({ table: "", name: "" })), n(hr({})), n(vc({})), Df(), Je.cancel(); }, "data-testid": "reset-btn", className: G.reset_btn, children: [ - /* @__PURE__ */ h.jsx(g8, {}), - /* @__PURE__ */ h.jsx("span", { children: "Reset" }) + /* @__PURE__ */ f.jsx(y8, {}), + /* @__PURE__ */ f.jsx("span", { children: "Reset" }) ] } ), t ) : null; -}, Yx = ({ +}, Kx = ({ viewsCodeArgs: e }) => { const { state: { theme: t } - } = et(to), n = ft(), o = Jt(), r = Be(() => { + } = tt(ro), n = ft(), o = en(), r = Ve(() => { var i, l; return e ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null ? void 0 : l.label : ""; - }, [o, e]), a = Be(() => { + }, [o, e]), a = Ve(() => { 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__ */ h.jsx( - q0, + return /* @__PURE__ */ f.jsx( + G0, { size: "lg", isOpen: !!e, - toggle: () => n(_o(null)), + toggle: () => n(To(null)), centered: !0, unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ h.jsxs(Y0, { children: [ - /* @__PURE__ */ h.jsx( + children: /* @__PURE__ */ f.jsxs(K0, { children: [ + /* @__PURE__ */ f.jsx( "div", { className: G.close_button, - onClick: () => n(_o(null)), - children: /* @__PURE__ */ h.jsx(Xc, {}) + onClick: () => n(To(null)), + children: /* @__PURE__ */ f.jsx(Qc, {}) } ), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - r && /* @__PURE__ */ h.jsx(i1, { nodeType: e.nodeType, table: r }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Column" }), - /* @__PURE__ */ h.jsx("div", { className: G.model_views_type, children: e.column }) + /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + r && /* @__PURE__ */ f.jsx(l1, { 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: G.model_views_type, children: e.column }) ] }), - /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Type" }), - /* @__PURE__ */ h.jsxs("div", { className: G.model_views_type, children: [ - /* @__PURE__ */ h.jsx(Qc, { viewsType: e.viewsType }), + /* @__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: G.model_views_type, children: [ + /* @__PURE__ */ f.jsx(Jc, { viewsType: e.viewsType }), e.viewsType ] }) ] }), - a.length > 0 && /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), - a.map((i) => /* @__PURE__ */ h.jsx( - Mr, + 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( + Tr, { code: i, language: "sql", @@ -24098,19 +24098,19 @@ const Wx = () => { } ); }; -function Gx({ opNodeArgs: e }) { +function Xx({ opNodeArgs: e }) { const { state: { theme: t } - } = et(to); - return /* @__PURE__ */ h.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ h.jsxs("div", { className: G.table_details_header, children: [ - Ff[e.op_type], - /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ h.jsx("div", { className: "fw-semibold fs-5 lines-2", children: e.op_type }) }) + } = tt(ro); + return /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ + /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ + zf[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__ */ h.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ h.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), - /* @__PURE__ */ h.jsx( - Mr, + /* @__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( + Tr, { code: e.op_code, language: "sql", @@ -24121,40 +24121,40 @@ function Gx({ opNodeArgs: e }) { ] }) ] }); } -const l1 = () => { +const s1 = () => { const { state: { modalArgs: e } } = at(), t = ft(); - return e ? /* @__PURE__ */ h.jsx( - q0, + return e ? /* @__PURE__ */ f.jsx( + G0, { size: "lg", isOpen: e.type !== "none", - close: () => t(_o({ type: "none" })), + close: () => t(To({ type: "none" })), centered: !0, unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ h.jsxs(Y0, { children: [ - /* @__PURE__ */ h.jsx( + children: /* @__PURE__ */ f.jsxs(K0, { children: [ + /* @__PURE__ */ f.jsx( "div", { className: G.close_button, - onClick: () => t(_o({ type: "none" })), - children: /* @__PURE__ */ h.jsx(Xc, {}) + onClick: () => t(To({ type: "none" })), + children: /* @__PURE__ */ f.jsx(Qc, {}) } ), - e.type === "views_code" && /* @__PURE__ */ h.jsx( - Yx, + e.type === "views_code" && /* @__PURE__ */ f.jsx( + Kx, { viewsCodeArgs: e.args } ), - e.type === "op_node" && /* @__PURE__ */ h.jsx(Gx, { opNodeArgs: e.args }) + e.type === "op_node" && /* @__PURE__ */ f.jsx(Xx, { opNodeArgs: e.args }) ] }) } ) : null; -}, Kx = ({ flow: e }) => { +}, Qx = ({ flow: e }) => { const t = document.getElementById("export-container"), { state: { selectedColumn: n, collectColumns: o } } = at(), [r, a] = ce(""), i = async (l) => { @@ -24170,7 +24170,7 @@ const l1 = () => { await Promise.all( e.getNodes().map(async (m) => { if (vt(m)) return; - const b = await ui(m.id, !1); + const b = await fi(m.id, !1); d[m.id] = { type: m.data.nodeType, nodeId: m.id, @@ -24179,27 +24179,27 @@ const l1 = () => { }; }) ); - const f = await mx({ name: r, lineage_data: { + const h = await yx({ name: r, lineage_data: { selectedColumn: n, collectColumns: o, tableEdges: u, columnEdges: c, details: d } }); - f != null && f.url && Jc(`Lineage is exported at [link](${f.url})`), l(), a(""); + h != null && h.url && e1(`Lineage is exported at [link](${h.url})`), l(), a(""); }; - return t ? Rn( - /* @__PURE__ */ h.jsx( - Vf, + return t ? zn( + /* @__PURE__ */ f.jsx( + Uf, { id: "export-popover", - trigger: /* @__PURE__ */ h.jsxs(Ie, { outline: !0, children: [ - /* @__PURE__ */ h.jsx(A2, {}), + trigger: /* @__PURE__ */ f.jsxs(Re, { outline: !0, children: [ + /* @__PURE__ */ f.jsx(T2, {}), "Export" ] }), - render: ({ close: l }) => /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx( - zo, + render: ({ close: l }) => /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx( + Ho, { id: "export-name", value: r, @@ -24209,14 +24209,14 @@ const l1 = () => { placeholder: "Enter name" } ), - /* @__PURE__ */ h.jsxs( - Ie, + /* @__PURE__ */ f.jsxs( + Re, { outline: !0, onClick: () => i(l), disabled: r === "", children: [ - /* @__PURE__ */ h.jsx(A2, {}), + /* @__PURE__ */ f.jsx(T2, {}), "Export" ] } @@ -24226,11 +24226,11 @@ const l1 = () => { ), t ) : null; -}, Xx = { - table: Lf, - seeMore: n1, - column: r1 -}, Qx = { selfConnecting: o1 }, Jx = ({ +}, Jx = { + table: If, + seeMore: o1, + column: a1 +}, ew = { selfConnecting: r1 }, tw = ({ flow: e, theme: t }) => { @@ -24246,25 +24246,25 @@ const l1 = () => { errors: d }, rerender: p - } = at(), f = ft(), m = he(c), b = () => { + } = at(), h = ft(), m = he(c), b = () => { if (e.current) { const C = e.current.getEdges(); - wr(C, !0), Er(C, !1), e.current.setEdges(C); + Er(C, !0), Sr(C, !1), e.current.setEdges(C); } - }, y = Me( + }, y = Te( async (C) => { - if (f(Gt("")), !C) return; - f(O9(C.aiEnabled)); + if (h(Gt("")), !C) return; + h(D9(C.aiEnabled)); const { node: S } = C, w = e.current; if (!w || !S) return; if (w.getNode(S.table)) { - f(Qn(S.table)); + h(eo(S.table)); let L = w.getNodes(), R = w.getEdges(); - u != null && u.name || ([L, R] = kr(L, R, S.table), w.setNodes(L), w.setEdges(R)), f( - hr(_r(L, R, S.table)) - ), f( - ko( - await Do( + u != null && u.name || ([L, R] = _r(L, R, S.table), w.setNodes(L), w.setEdges(R)), h( + pr(Ar(L, R, S.table)) + ), h( + Mo( + await Fo( L, R, S.table, @@ -24276,15 +24276,15 @@ const l1 = () => { return; } let M = [], _ = []; - M = [Oo(S, 0, "")], [M, _] = await Za( + M = [Lo(S, 0, "")], [M, _] = await qa( M, _, S.table, -m.current, m.current - ), f(Qn(S.table)), f($n({ table: "", name: "" })), f(fr({})), f(Cc({})), [M, _] = kr(M, _, S.table), hn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), f(hr(_r(M, _, S.table))), f( - ko( - await Do( + ), h(eo(S.table)), h(Zn({ table: "", name: "" })), h(hr({})), h(vc({})), [M, _] = _r(M, _, S.table), pn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), h(pr(Ar(M, _, S.table))), h( + Mo( + await Fo( M, _, S.table, @@ -24305,10 +24305,10 @@ const l1 = () => { document.removeEventListener("cll_cancelled", b), document.removeEventListener("renderStartNode", C); }; }, []); - const g = Me(async () => { - const C = await dx(); - f(qd(C.showSelectEdges)), f(Yd(C.showNonSelectEdges)), f(Gd(C.defaultExpansion)), m.current = C.defaultExpansion; - }, [f]); + const g = Te(async () => { + const C = await hx(); + h(Xd(C.showSelectEdges)), h(Qd(C.showNonSelectEdges)), h(Jd(C.defaultExpansion)), m.current = C.defaultExpansion; + }, [h]); ue(() => { g(); }, [g]), ue(() => { @@ -24319,32 +24319,32 @@ const l1 = () => { const w = u; if (!w) return; if (a) { - const _ = (L) => t1( + const _ = (L) => n1( C.getNodes(), C.getEdges(), L, w ? [w] : [], (R) => { - f( - wc({ operatorList: R }) + h( + Ec({ operatorList: R }) ); }, (R) => { - f(vc(R)); + h(xc(R)); }, (R) => { - f(xc(R)); + h(wc(R)); }, () => [C.getNodes(), C.getEdges()], - (R, F) => { - C.setNodes(R), C.setEdges(F); + (R, j) => { + C.setNodes(R), C.setEdges(j); }, w || { table: "", name: "" }, { direct: r, indirect: a }, - (R) => f(Ec(R(d))) + (R) => h(Sc(R(d))) ); try { - Xe.start(), await Promise.all([_(!0), _(!1)]); + Je.start(), await Promise.all([_(!0), _(!1)]); } catch (L) { console.error( "Error while performing cll for ", @@ -24354,7 +24354,7 @@ const l1 = () => { L ); } finally { - Xe.end(); + Je.end(); } } const E = C.getEdges(); @@ -24372,46 +24372,46 @@ const l1 = () => { })(); }, [r, a]); const x = (C) => { - e.current = C, Mf(); + e.current = C, Df(); }; - return /* @__PURE__ */ h.jsx( + return /* @__PURE__ */ f.jsx( "div", { className: "lineage_flow_component", style: { width: "100%", height: "100%" }, "data-theme": t, - children: /* @__PURE__ */ h.jsx(Bf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ h.jsxs(Dr, { children: [ - /* @__PURE__ */ h.jsxs( - li, + children: /* @__PURE__ */ f.jsx(Zf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ f.jsxs(Lr, { children: [ + /* @__PURE__ */ f.jsxs( + ci, { defaultNodes: [], defaultEdges: [], onInit: (C) => x(C), - nodeTypes: Xx, - edgeTypes: Qx, + nodeTypes: Jx, + edgeTypes: ew, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: Fs, children: [ - /* @__PURE__ */ h.jsx(Vc, {}), - /* @__PURE__ */ h.jsx(Bc, {}) + /* @__PURE__ */ f.jsx($c, {}), + /* @__PURE__ */ f.jsx(Vc, {}) ] } ), - /* @__PURE__ */ h.jsx(rx, {}), - /* @__PURE__ */ h.jsxs( - a1, + /* @__PURE__ */ f.jsx(ix, {}), + /* @__PURE__ */ f.jsxs( + i1, { isOpen: i !== "", - closeModal: () => f(Gt("")), + closeModal: () => h(Gt("")), width: "30vw", children: [ - i === Zc && /* @__PURE__ */ h.jsx(jf, {}), - i === $c && /* @__PURE__ */ h.jsx(Hf, {}), - i === Wc && /* @__PURE__ */ h.jsx(Pf, {}), - i === Ay && /* @__PURE__ */ h.jsx(Vx, { close: () => Gt("") }), - i === mf && /* @__PURE__ */ h.jsx( - $x, + i === Uc && /* @__PURE__ */ f.jsx(Hf, {}), + i === Wc && /* @__PURE__ */ f.jsx($f, {}), + i === Zc && /* @__PURE__ */ f.jsx(Wf, {}), + i === Ty && /* @__PURE__ */ f.jsx(Wx, { close: () => Gt("") }), + i === vf && /* @__PURE__ */ f.jsx( + Zx, { applyDefault: (C) => m.current = C } @@ -24419,21 +24419,21 @@ const l1 = () => { ] } ), - e.current ? /* @__PURE__ */ h.jsx(Kx, { flow: e.current }) : null, - /* @__PURE__ */ h.jsx(Zx, {}), - /* @__PURE__ */ h.jsx(Ux, {}), - e.current ? /* @__PURE__ */ h.jsx(qx, { flow: e.current }) : null, - /* @__PURE__ */ h.jsx(l1, {}) + e.current ? /* @__PURE__ */ f.jsx(Qx, { flow: e.current }) : null, + /* @__PURE__ */ f.jsx(qx, {}), + /* @__PURE__ */ f.jsx(Yx, {}), + e.current ? /* @__PURE__ */ f.jsx(Gx, { flow: e.current }) : null, + /* @__PURE__ */ f.jsx(s1, {}) ] }) }) } ); -}, ew = { - table: Lf, - seeMore: n1, - column: r1 -}, tw = { - selfConnecting: o1 -}, nw = ({ +}, nw = { + table: If, + seeMore: o1, + column: a1 +}, ow = { + selfConnecting: r1 +}, rw = ({ flow: e, selectedColumn: t, collectColumns: n, @@ -24445,7 +24445,7 @@ const l1 = () => { state: { sidebarScreen: i } } = at(), l = ft(); return ue(() => { - l(fr(n)), setTimeout(async () => { + l(hr(n)), setTimeout(async () => { var b, y; const s = (g) => ({ table: g, @@ -24455,12 +24455,12 @@ const l1 = () => { nodeType: a[g].type || "cte", isExternalProject: !1, tests: [] - }), { sources: u } = Ef(r); + }), { sources: u } = Af(r); let c = [], d = []; - const p = [...u], f = {}, m = (g, x) => { + const p = [...u], h = {}, m = (g, x) => { var w, E; const C = g ? r.filter(([M]) => M === x).map(([, M]) => M) : r.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = c.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return fi( + return pi( c, d, C.map(s), @@ -24474,13 +24474,13 @@ const l1 = () => { }; for (; p.length > 0; ) { const g = p.pop(); - f[g] || (f[g] = !0, p.push( + h[g] || (h[g] = !0, p.push( ...m(!0, g), ...m(!1, g) )); } if (t) { - const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await wx( + const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await Sx( c, d, g, @@ -24491,7 +24491,7 @@ const l1 = () => { ); c = x, d = C; } - hn(c, d, !1), (b = e.current) == null || b.setNodes(c), (y = e.current) == null || y.setEdges(d); + pn(c, d, !1), (b = e.current) == null || b.setNodes(c), (y = e.current) == null || y.setEdges(d); }, 500); }, [n, o, a, e, t, r]), ue(() => { const s = setTimeout(() => { @@ -24499,49 +24499,49 @@ const l1 = () => { (u = e.current) == null || u.fitView({ duration: 500 }); }, 1e3); return () => clearInterval(s); - }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsxs(Dr, { children: [ - /* @__PURE__ */ h.jsxs( - li, + }, []), /* @__PURE__ */ f.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ + /* @__PURE__ */ f.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ f.jsxs(Lr, { children: [ + /* @__PURE__ */ f.jsxs( + ci, { defaultNodes: [], defaultEdges: [], onInit: (s) => e.current = s, - nodeTypes: ew, - edgeTypes: tw, + nodeTypes: nw, + edgeTypes: ow, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: 0.05, children: [ - /* @__PURE__ */ h.jsx(Vc, {}), - /* @__PURE__ */ h.jsx(Bc, {}) + /* @__PURE__ */ f.jsx($c, {}), + /* @__PURE__ */ f.jsx(Vc, {}) ] } ), - /* @__PURE__ */ h.jsxs( - a1, + /* @__PURE__ */ f.jsxs( + i1, { isOpen: i !== "", closeModal: () => l(Gt("")), width: "30vw", children: [ - i === Zc && /* @__PURE__ */ h.jsx(jf, {}), - i === $c && /* @__PURE__ */ h.jsx(Hf, {}), - i === Wc && /* @__PURE__ */ h.jsx(Pf, {}) + i === Uc && /* @__PURE__ */ f.jsx(Hf, {}), + i === Wc && /* @__PURE__ */ f.jsx($f, {}), + i === Zc && /* @__PURE__ */ f.jsx(Wf, {}) ] } ) ] }) }), - /* @__PURE__ */ h.jsx(l1, {}) + /* @__PURE__ */ f.jsx(s1, {}) ] }); -}, ow = { - table: Mx, - seeMore: n1, - column: r1, - operator: Tx -}, rw = { - selfConnecting: o1 -}, aw = ({ +}, aw = { + table: Ox, + seeMore: o1, + column: a1, + operator: Nx +}, iw = { + selfConnecting: r1 +}, lw = ({ flow: e, tableEdges: t, details: n, @@ -24551,10 +24551,10 @@ const l1 = () => { state: { selectedTable: r } } = at(), a = ft(); return ue(() => { - a(D9({ details: n, tableEdges: t })); + a(j9({ details: n, tableEdges: t })); }, [n]), ue(() => { setTimeout(async () => { - var f, m, b, y; + var h, m, b, y; const i = (g) => ({ table: g, label: n[g].name || g, @@ -24565,8 +24565,8 @@ const l1 = () => { tests: [] }); if (o) { - const g = Object.keys(o).map((C) => n[C].type in Sr ? Oo(i(C), 0, "") : wf(C, 0, "", n[C])), x = t.map( - ([C, S]) => Kc( + const g = Object.keys(o).map((C) => n[C].type in kr ? Lo(i(C), 0, "") : _f(C, 0, "", n[C])), x = t.map( + ([C, S]) => Xc( o[C][1], o[S][1], C, @@ -24580,17 +24580,17 @@ const l1 = () => { const [S, w] = o[C.id]; C.position = { x: S, y: w }; } - (f = e.current) == null || f.setNodes(g), (m = e.current) == null || m.setEdges(x); + (h = e.current) == null || h.setNodes(g), (m = e.current) == null || m.setEdges(x); return; } - const { sinks: l } = Ef(t); + const { sinks: l } = Af(t); let s = l.map( - (g) => Oo(i(g), 0, "") + (g) => Lo(i(g), 0, "") ), u = []; const c = [...l], d = {}, p = (g, x) => { var w, E; const C = g ? t.filter(([M]) => M === x).map(([, M]) => M) : t.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = s.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return fi( + return pi( s, u, C.map(i), @@ -24606,7 +24606,7 @@ const l1 = () => { const g = c.pop(); d[g] || (d[g] = !0, c.push(...p(!1, g))); } - hn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); + pn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); }, 500); }, [n, e, t, o]), ue(() => { const i = setTimeout(() => { @@ -24616,18 +24616,18 @@ const l1 = () => { return () => clearInterval(i); }, []), ue(() => { const i = (d) => { - a(L9(d.detail)); - }, l = (d) => { a(F9(d.detail)); + }, l = (d) => { + a(R9(d.detail)); }, s = () => { setTimeout(() => { var d; (d = e.current) == null || d.fitView({ duration: 500 }); }, 500); }, u = (d) => { - a(j9(d.detail)); + a(I9(d.detail)); }, c = (d) => { - a(R9(d.detail)); + a(z9(d.detail)); }; return document.addEventListener("onHighlightedNodes", i), document.addEventListener("onSelectedNodes", l), document.addEventListener( "onNodesSavingsPerformance", @@ -24638,40 +24638,40 @@ const l1 = () => { u ), document.removeEventListener("onNodesCost", c), document.removeEventListener("fitView", s); }; - }, []), /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ h.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ h.jsx(Dr, { children: /* @__PURE__ */ h.jsxs( - li, + }, []), /* @__PURE__ */ f.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ + /* @__PURE__ */ f.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ f.jsx(Lr, { children: /* @__PURE__ */ f.jsxs( + ci, { defaultNodes: [], defaultEdges: [], onInit: (i) => e.current = i, - nodeTypes: ow, - edgeTypes: rw, + nodeTypes: aw, + edgeTypes: iw, style: { background: "var(--bg-color)" }, proOptions: { hideAttribution: !0 }, minZoom: 0.05, children: [ - /* @__PURE__ */ h.jsx(Vc, {}), - /* @__PURE__ */ h.jsx(Bc, {}) + /* @__PURE__ */ f.jsx($c, {}), + /* @__PURE__ */ f.jsx(Vc, {}) ] } ) }) }), - /* @__PURE__ */ h.jsx(l1, {}), - /* @__PURE__ */ h.jsx( - a1, + /* @__PURE__ */ f.jsx(s1, {}), + /* @__PURE__ */ f.jsx( + i1, { isOpen: !!r, - closeModal: () => a(Qn("")), + closeModal: () => a(eo("")), width: "30vw", - children: !!r && /* @__PURE__ */ h.jsx(Px, {}) + children: !!r && /* @__PURE__ */ f.jsx(Vx, {}) } ) ] }); -}, to = Ht({ - state: Na.getInitialState(), +}, ro = Ht({ + state: La.getInitialState(), dispatch: () => null, rerender: () => null -}), iw = ({ +}), sw = ({ theme: e = "dark", lineageType: t, sqlLineage: n, @@ -24680,18 +24680,18 @@ const l1 = () => { allowSyncColumnsWithDB: a, externalSidePanel: i = !1 }) => { - const [l, s] = ec(Na.reducer, { - ...Na.getInitialState(), + const [l, s] = ec(La.reducer, { + ...La.getInitialState(), theme: e, lineageType: t, sqlLineage: n, allowSyncColumnsWithDB: a, externalSidePanel: i - }), u = he(), [, c] = ce(0), d = Me(() => c((f) => (f + 1) % 100), []); + }), u = he(), [, c] = ce(0), d = Te(() => c((h) => (h + 1) % 100), []); ue(() => { - s(N9(e)); + s(L9(e)); }, [e]); - const p = Be( + const p = Ve( () => ({ state: l, dispatch: s, @@ -24699,9 +24699,9 @@ const l1 = () => { }), [l, s, d] ); - return /* @__PURE__ */ h.jsx(to.Provider, { value: p, children: /* @__PURE__ */ h.jsxs("div", { className: "lineage-component", children: [ - t === "sql" && n && /* @__PURE__ */ h.jsx( - aw, + return /* @__PURE__ */ f.jsx(ro.Provider, { value: p, children: /* @__PURE__ */ f.jsxs("div", { className: "lineage-component", children: [ + t === "sql" && n && /* @__PURE__ */ f.jsx( + lw, { flow: u, details: n.details, @@ -24709,51 +24709,51 @@ const l1 = () => { nodePositions: n.nodePositions } ), - t === "dynamic" && o && /* @__PURE__ */ h.jsx(Jx, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ h.jsx(nw, { flow: u, ...r }), - /* @__PURE__ */ h.jsx("div", { id: "lineage-sidebar" }) + t === "dynamic" && o && /* @__PURE__ */ f.jsx(tw, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ f.jsx(rw, { flow: u, ...r }), + /* @__PURE__ */ f.jsx("div", { id: "lineage-sidebar" }) ] }) }); -}, at = () => et(to), ft = () => { - const { dispatch: e } = et(to); +}, at = () => tt(ro), ft = () => { + const { dispatch: e } = tt(ro); return e; -}, gA = (e) => /* @__PURE__ */ h.jsx(iw, { ...e }), $f = { +}, yA = (e) => /* @__PURE__ */ f.jsx(sw, { ...e }), qf = { showCoachingForm: !1 -}, Ps = cc({ +}, Bs = cc({ name: "teamMate", - initialState: $f, + initialState: qf, reducers: { setShowCoachingForm: (e, t) => { e.showCoachingForm = t.payload; } } -}), lw = Ps.actions, Wf = Ht({ - state: $f, +}), cw = Bs.actions, Yf = Ht({ + state: qf, dispatch: () => null -}), mA = ({ +}), CA = ({ children: e }) => { const [t, n] = ec( - Ps.reducer, - Ps.getInitialState() - ), o = Be( + Bs.reducer, + Bs.getInitialState() + ), o = Ve( () => ({ state: t, dispatch: n }), [t, n] ); - return /* @__PURE__ */ h.jsx(Wf.Provider, { value: o, children: e }); -}, sw = ({ + return /* @__PURE__ */ f.jsx(Yf.Provider, { value: o, children: e }); +}, uw = ({ errors: e, isSubmitting: t, taskLabel: n, onSuccess: o, onCancel: r }) => { - const { setFieldError: a, values: i, setSubmitting: l } = J0(), s = async () => await je.post("coach/training", { + const { setFieldError: a, values: i, setSubmitting: l } = td(), s = async () => await Me.post("coach/training", { ...i, taskLabel: n - }), { mutate: u, error: c } = jo({ + }), { mutate: u, error: c } = oo({ // @ts-ignore queryFn: s, onSuccess: (d) => { @@ -24762,14 +24762,14 @@ const l1 = () => { }); return ue(() => { c != null && c.message && (a("content", c.message), l(!1)); - }, [c, a]), /* @__PURE__ */ h.jsxs(ed, { children: [ - /* @__PURE__ */ h.jsx( - ns, + }, [c, a]), /* @__PURE__ */ f.jsxs(nd, { children: [ + /* @__PURE__ */ f.jsx( + os, { name: "content", - render: ({ field: d }) => /* @__PURE__ */ h.jsxs(ir, { children: [ - /* @__PURE__ */ h.jsx( - Cn, + render: ({ field: d }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx( + Xt, { type: "textarea", ...d, @@ -24777,14 +24777,14 @@ const l1 = () => { invalid: !!e.content } ), - e.content ? /* @__PURE__ */ h.jsx(Qs, { children: e.content }) : null + e.content ? /* @__PURE__ */ f.jsx(lr, { children: e.content }) : null ] }) } ), - /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-end", children: [ - /* @__PURE__ */ h.jsx(Ie, { onClick: r, children: "Cancel" }), - /* @__PURE__ */ h.jsx( - Fo, + /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-end", children: [ + /* @__PURE__ */ f.jsx(Re, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ f.jsx( + In, { color: "primary", loading: t, @@ -24795,15 +24795,15 @@ const l1 = () => { ) ] }) ] }); -}, Zf = (e, t) => (n) => { +}, Gf = (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 }); }, {}); -}, cw = nt.object({ - content: nt.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" }) -}), uw = ({ +}, dw = He.object({ + content: He.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" }) +}), fw = ({ taskLabel: e, context: t, onClose: n, @@ -24817,7 +24817,7 @@ const l1 = () => { l(!1); }, d = async () => { if (r) - return c(), await je.post( + return c(), await Me.post( "coach/training/confirm", { content: r.ai_response, @@ -24830,20 +24830,20 @@ const l1 = () => { ); }, { mutate: p, - error: f, + error: h, loading: m, data: b - } = jo({ + } = oo({ // @ts-ignore queryFn: d, onSuccess: () => { l(!1); } }); - return b != null && b.frontend_url ? /* @__PURE__ */ h.jsxs(Ar, { children: [ + return b != null && b.frontend_url ? /* @__PURE__ */ f.jsxs(Mr, { children: [ "Thank you for coaching Datapilot. Click the link to", " ", - /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsx( "a", { className: "alert-link", @@ -24851,17 +24851,17 @@ const l1 = () => { children: "View learnings" } ) - ] }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", children: [ - /* @__PURE__ */ h.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__ */ h.jsx( - td, + ] }) : /* @__PURE__ */ f.jsxs(Ke, { 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( + od, { initialValues: { content: "" }, onSubmit: () => { }, - validate: Zf(cw), - children: (y) => /* @__PURE__ */ h.jsx( - sw, + validate: Gf(dw), + children: (y) => /* @__PURE__ */ f.jsx( + uw, { ...y, taskLabel: e, @@ -24871,11 +24871,11 @@ const l1 = () => { ) } ), - r && /* @__PURE__ */ h.jsxs(zt, { className: "mt-4", children: [ - /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), - /* @__PURE__ */ h.jsx("div", { children: i ? /* @__PURE__ */ h.jsx( - Cn, + r && /* @__PURE__ */ f.jsxs(zt, { className: "mt-4", children: [ + /* @__PURE__ */ f.jsxs(dn, { children: [ + /* @__PURE__ */ f.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), + /* @__PURE__ */ f.jsx("div", { children: i ? /* @__PURE__ */ f.jsx( + Xt, { type: "textarea", value: r.ai_response, @@ -24888,46 +24888,57 @@ const l1 = () => { style: { fieldSizing: "content" } } ) : r.ai_response }), - f && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: f.message }) + h && /* @__PURE__ */ f.jsx("div", { className: "text-danger", children: h.message }) ] }), - /* @__PURE__ */ h.jsxs(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - i ? /* @__PURE__ */ h.jsx(Ie, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ h.jsx(Ie, { variant: "secondary", onClick: u, children: "Edit" }), - /* @__PURE__ */ h.jsx(Fo, { loading: m, onClick: p, color: "primary", children: "Save" }) + /* @__PURE__ */ f.jsxs(X0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ + i ? /* @__PURE__ */ f.jsx(Re, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ f.jsx(Re, { variant: "secondary", onClick: u, children: "Edit" }), + /* @__PURE__ */ f.jsx(In, { loading: m, onClick: p, color: "primary", children: "Save" }) ] }) ] }) ] }); -}, dw = "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", fw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1707)'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='%2341C676'/%3e%3cpath%20d='M34.7918%2043.7001H25.262V50.1142H34.7918V43.7001Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M44.3289%2035.8214C47.4632%2035.8214%2050.0268%2035.0784%2050.0268%2030.8222C50.0268%2026.5976%2047.4632%2025.8232%2044.3289%2025.8232V35.8214Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M12.1643%2033.3777C12.1643%2039.6628%2017.2916%2044.8045%2023.5578%2044.8045H36.4957C42.7625%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7625%2018.6824%2036.4957%2018.6824H23.5578C17.2916%2018.6824%2012.1643%2023.8238%2012.1643%2030.1092V33.3777Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.2625%2038.6511C40.1176%2038.6511%2043.2541%2035.5057%2043.2541%2031.6401C43.2541%2027.7735%2040.1176%2024.6288%2036.2625%2024.6288H23.3247C19.4705%2024.6288%2016.3334%2027.7735%2016.3334%2031.6401C16.3334%2035.5057%2019.4705%2038.6511%2023.3247%2038.6511H36.2625Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M35.0116%2022.9674C35.0116%2019.8248%2034.271%2017.254%2030.0264%2017.254C25.8144%2017.254%2025.0416%2019.8248%2025.0416%2022.9674H35.0116Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M27.8734%2010.9127C27.8734%209.71947%2028.8385%208.75259%2030.0265%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2012.1074%2031.2175%2013.0739%2030.0265%2013.0739C28.8385%2013.0739%2027.8734%2012.1074%2027.8734%2010.9127Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M31.5221%2011.3548C31.5221%2010.1607%2030.5571%209.19412%2029.3694%209.19412C29.0706%209.19412%2028.7855%209.25556%2028.5271%209.36516C28.915%208.98658%2029.4447%208.75259%2030.0298%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2011.8086%2031.6409%2012.5759%2030.8687%2012.9041C31.272%2012.5114%2031.5221%2011.9634%2031.5221%2011.3548Z'%20fill='%23D8FFF2'/%3e%3cpath%20d='M30.7466%2012.4755H29.3079V17.8941H30.7466V12.4755Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.4963%2018.6824H33.9094C39.1512%2018.6824%2045.4817%2023.8238%2045.4817%2030.1092V33.3777C45.4817%2039.6628%2039.9154%2044.8045%2033.6473%2044.8045H36.4963C42.7631%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7631%2018.6824%2036.4963%2018.6824Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M13.9897%2025.9258C11.6977%2026.2399%2010.0269%2027.3867%2010.0269%2030.8222C10.0269%2034.074%2011.5455%2035.2816%2013.6737%2035.6657C14.0613%2035.7355%2014.3498%2025.8766%2013.9897%2025.9258Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M26.3334%2032C26.3334%2030.8937%2025.4359%2030%2024.3328%2030C23.2276%2030%2022.3334%2030.8937%2022.3334%2032C22.3334%2033.1053%2023.2276%2034%2024.3328%2034C25.4359%2034%2026.3334%2033.1053%2026.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M38.3334%2032C38.3334%2030.8937%2037.4359%2030%2036.3328%2030C35.2276%2030%2034.3334%2030.8937%2034.3334%2032C34.3334%2033.1053%2035.2276%2034%2036.3328%2034C37.4359%2034%2038.3334%2033.1053%2038.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M41.0027%2056.5086C41.0027%2051.3979%2037.1179%2048.2255%2030.0274%2048.2255C22.9933%2048.2255%2019.0515%2051.3979%2019.0515%2056.5086C19.0515%2061.6178%2024.9304%2060.5907%2030.0274%2060.5907C35.1234%2060.5907%2041.0027%2061.6178%2041.0027%2056.5086Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M38.808%2056.5087C38.808%2056.8363%2038.7839%2057.1386%2038.7373%2057.4175C40.2603%2056.9425%2041.0018%2056.6238%2041.0018%2056.6238C41.0024%2056.5857%2041.0027%2056.5473%2041.0027%2056.5087C41.0027%2052.6943%2038.8388%2049.9598%2034.7933%2048.8179C34.7933%2048.8179%2038.808%2050.1729%2038.808%2056.5087Z'%20fill='%23DBFFE9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1707'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", t0 = "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", pw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { +}, hw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", pw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", gw = "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", o0 = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3536_7181)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%23FFC125'/%3e%3cpath%20d='M33.3384%2045.6643H26.6606V52.4674H33.3384V45.6643Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M47.6346%2018.573H46.387V26.615H47.6346V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M49.2402%2017.4861C49.2402%2016.2542%2048.2428%2015.2556%2047.0103%2015.2556C45.7784%2015.2556%2044.7801%2016.2542%2044.7801%2017.4861C44.7801%2018.7186%2045.7784%2019.7167%2047.0103%2019.7167C48.2428%2019.7167%2049.2402%2018.7186%2049.2402%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M13.613%2018.573H12.366V26.615H13.613V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M15.2193%2017.4861C15.2193%2016.2542%2014.2218%2015.2556%2012.9896%2015.2556C11.7577%2015.2556%2010.759%2016.2542%2010.759%2017.4861C10.759%2018.7186%2011.7577%2019.7167%2012.9896%2019.7167C14.2218%2019.7167%2015.2193%2018.7186%2015.2193%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M50%2030.9072C50%2030.8171%2049.9975%2029.7555%2049.9923%2029.6667C49.8532%2027.124%2047.7475%2026.0778%2045.1703%2026.0778C42.5937%2026.0778%2040.488%2027.5693%2040.3486%2030.1117C40.344%2030.2005%2040.3415%2030.8171%2040.3415%2030.9072C40.3415%2030.9935%2040.3434%2032.052%2040.348%2032.1378C40.4822%2034.6851%2042.5903%2036.1819%2045.1703%2036.1819C47.7512%2036.1819%2049.8588%2035.1302%2049.9929%2032.5832C49.9975%2032.4968%2050%2030.9935%2050%2030.9072Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M46.1442%2031.4C46.1442%2031.099%2046.1353%2029.0387%2046.1196%2028.742C45.6544%2020.2416%2038.6148%2015.2556%2030.0001%2015.2556C21.3847%2015.2556%2014.3463%2020.2416%2013.8809%2028.742C13.8639%2029.0387%2013.8556%2031.099%2013.8556%2031.4C13.8556%2031.6902%2013.8633%2033.7395%2013.8788%2034.0254C14.3278%2042.5399%2021.3736%2047.5442%2030.0001%2047.5442C38.6262%2047.5442%2045.672%2042.5399%2046.1214%2034.0254C46.1365%2033.7395%2046.1442%2031.6902%2046.1442%2031.4Z'%20fill='white'/%3e%3cpath%20d='M46.2704%2028.742C45.805%2020.2416%2038.7663%2015.2556%2030.1506%2015.2556C29.8468%2015.2556%2029.5467%2015.2636%2029.2463%2015.2759C37.445%2015.6133%2044.0127%2020.5414%2044.4615%2028.742C44.4778%2029.0387%2044.4861%2031.099%2044.4861%2031.4C44.4861%2031.6902%2044.479%2033.7395%2044.4636%2034.0254C44.0303%2042.2401%2037.4555%2047.1861%2029.2463%2047.5244C29.5467%2047.5368%2029.8468%2047.5442%2030.1506%2047.5442C38.7768%2047.5442%2045.8229%2042.5399%2046.2726%2034.0254C46.288%2033.7395%2046.2951%2031.6902%2046.2951%2031.4C46.2951%2031.099%2046.2868%2029.0387%2046.2704%2028.742Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M19.6585%2030.9072C19.6585%2030.8171%2019.6563%2030.2005%2019.6514%2030.1117C19.512%2027.5693%2017.4063%2026.0778%2014.8291%2026.0778C12.2522%2026.0778%2010.1468%2027.3466%2010.0074%2029.8894C10.0025%2029.9782%2010%2030.8171%2010%2030.9072C10%2030.9935%2010.0019%2032.2744%2010.0068%2032.3605C10.1406%2034.9075%2012.2488%2036.1819%2014.8291%2036.1819C17.4097%2036.1819%2019.5172%2034.6851%2019.6514%2032.1378C19.6563%2032.052%2019.6585%2030.9935%2019.6585%2030.9072Z'%20fill='white'/%3e%3cpath%20d='M30%2042.8922C24.6929%2042.8922%2018.3636%2040.3739%2017.979%2033.2803C17.9691%2032.9626%2017.9611%2031.8482%2017.9611%2031.4001C17.9611%2030.9649%2017.9703%2029.2698%2017.9808%2028.9468C18.3806%2021.8717%2024.7027%2020.1263%2030%2020.1263C35.2976%2020.1263%2041.6201%2021.8717%2042.019%2028.9465C42.0294%2029.2707%2042.039%2030.9655%2042.039%2031.4001C42.039%2031.8328%2042.03%2032.9638%2042.0208%2033.2821C41.6343%2040.3754%2035.3056%2042.8922%2030%2042.8922Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M25.7771%2031.8109C25.7771%2030.7644%2024.928%2029.919%2023.8843%2029.919C22.8387%2029.919%2021.9927%2030.7644%2021.9927%2031.8109C21.9927%2032.8565%2022.8387%2033.7028%2023.8843%2033.7028C24.928%2033.7028%2025.7771%2032.8565%2025.7771%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M38.0072%2031.8109C38.0072%2030.7644%2037.1618%2029.919%2036.1153%2029.919C35.0697%2029.919%2034.2234%2030.7644%2034.2234%2031.8109C34.2234%2032.8565%2035.0697%2033.7028%2036.1153%2033.7028C37.1618%2033.7028%2038.0072%2032.8565%2038.0072%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M30%2049.7708C35.3069%2049.7708%2041.6362%2052.2885%2042.0208%2059.3821C42.0307%2059.6995%2042.039%2060.8148%2042.039%2061.2623C42.039%2061.6972%2042.0294%2063.3932%2042.0195%2063.7153C41.6192%2070.7903%2035.297%2071.9328%2030%2071.9328C24.7021%2071.9328%2018.3793%2070.791%2017.9808%2063.7165C17.9703%2063.3914%2017.9611%2061.6966%2017.9611%2061.2623C17.9611%2060.8293%2017.9697%2059.6982%2017.9796%2059.3809C18.3657%2052.2867%2024.6941%2049.7708%2030%2049.7708Z'%20fill='white'/%3e%3cpath%20d='M48.575%2017.8695C48.575%2016.67%2047.6028%2015.6991%2046.4064%2015.6991C46.1054%2015.6991%2045.8179%2015.7608%2045.558%2015.8712C45.9487%2015.4906%2046.4823%2015.2556%2047.0717%2015.2556C48.2681%2015.2556%2049.2403%2016.2265%2049.2403%2017.4257C49.2403%2018.325%2048.6944%2019.0955%2047.9165%2019.4255C48.323%2019.0314%2048.575%2018.4805%2048.575%2017.8695Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M14.5541%2017.8695C14.5541%2016.67%2013.5819%2015.6991%2012.3852%2015.6991C12.0842%2015.6991%2011.797%2015.7608%2011.5367%2015.8712C11.9275%2015.4906%2012.4611%2015.2556%2013.0508%2015.2556C14.2469%2015.2556%2015.2191%2016.2265%2015.2191%2017.4257C15.2191%2018.325%2014.6735%2019.0955%2013.8956%2019.4255C14.3018%2019.0314%2014.5541%2018.4805%2014.5541%2017.8695Z'%20fill='%23FFF5DD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3536_7181'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", mw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ O.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ O.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ O.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ O.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ O.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ O.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ O.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ O.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ O.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ O.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))); -var hi = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.TESTS = "tests", e.MODEL = "model", e.FILE_STRUCTURE = "file_structure", e))(hi || {}), gw = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(gw || {}); -const mw = ({ +var Rr = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.TESTS = "tests", e.MODEL = "model", e.FILE_STRUCTURE = "file_structure", e))(Rr || {}), Kf = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(Kf || {}); +const bw = He.object({ + name: He.string(), + alias: He.string(), + type: He.enum( + Object.values(Rr) + ), + description: He.string(), + files_required: He.array( + He.enum(Object.values(Kf)) + ), + config: He.record(He.unknown()) +}), yw = ({ errors: e, isSubmitting: t, onSuccess: n, onCancel: o }) => { - const { setFieldError: r, setSubmitting: a, values: i } = J0(), l = async () => await je.post( + const { setFieldError: r, setSubmitting: a, values: i } = td(), l = async () => await Me.post( "project_governance/check/validate", { ...i } - ), { mutate: s, error: u } = jo({ + ), { mutate: s, error: u } = oo({ // @ts-ignore queryFn: l, onSuccess: (c) => { - n(c, i.category), a(!1); + n(c, i.type), a(!1); } }); return ue(() => { u != null && u.message && (r("content", u.message), a(!1)); - }, [u, r]), /* @__PURE__ */ h.jsxs(ed, { children: [ - /* @__PURE__ */ h.jsx( - ns, + }, [u, r]), /* @__PURE__ */ f.jsxs(nd, { children: [ + /* @__PURE__ */ f.jsx( + os, { - name: "content", - render: ({ field: c }) => /* @__PURE__ */ h.jsxs(ir, { children: [ - /* @__PURE__ */ h.jsx( - Cn, + name: "description", + render: ({ field: c }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx( + Xt, { type: "textarea", ...c, @@ -24935,22 +24946,22 @@ const mw = ({ invalid: !!e.description } ), - e.description ? /* @__PURE__ */ h.jsx(Qs, { children: e.description }) : null + e.description ? /* @__PURE__ */ f.jsx(lr, { children: e.description }) : null ] }) } ), - /* @__PURE__ */ h.jsx( - ns, + /* @__PURE__ */ f.jsx( + os, { name: "type", - render: ({ field: c }) => /* @__PURE__ */ h.jsxs(ir, { children: [ - /* @__PURE__ */ h.jsx(fa, { children: "Type:" }), - /* @__PURE__ */ h.jsx( - os, + render: ({ field: c }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx(pa, { children: "Type:" }), + /* @__PURE__ */ f.jsx( + rs, { style: { width: 120 }, onChange: (d) => c.onChange({ target: { value: d, name: c.name } }), - options: Object.entries(hi).map( + options: Object.entries(Rr).map( ([, d]) => ({ value: d, label: d @@ -24961,10 +24972,10 @@ const mw = ({ ] }) } ), - /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-end", children: [ - /* @__PURE__ */ h.jsx(Ie, { onClick: o, children: "Cancel" }), - /* @__PURE__ */ h.jsx( - Fo, + /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-end", children: [ + /* @__PURE__ */ f.jsx(Re, { onClick: o, children: "Cancel" }), + /* @__PURE__ */ f.jsx( + In, { color: "primary", loading: t, @@ -24975,170 +24986,61 @@ const mw = ({ ) ] }) ] }); -}, bw = nt.object({ - content: nt.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" }), - type: nt.enum( - Object.values(hi) +}, Cw = He.object({ + content: He.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" }), + type: He.enum( + Object.values(Rr) ) -}), Uf = ({ onClose: e }) => { +}), Xf = ({ onClose: e }) => { const [t, n] = ce(), o = (s, u) => { - n({ ...s, category: u }); + n({ ...s, type: u }); }, { mutate: r, error: a, loading: i, data: l - } = jo({ + } = oo({ // @ts-ignore - queryFn: () => je.post( + queryFn: () => Me.post( "project_governance/check", { ...t } ) }); - return l ? /* @__PURE__ */ h.jsxs(Ar, { children: [ + return l ? /* @__PURE__ */ f.jsxs(Mr, { children: [ "Project governance check saved successfully", " ", - /* @__PURE__ */ h.jsx(Ie, { onClick: () => e(l), children: "View" }) - ] }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", children: [ - /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }), - /* @__PURE__ */ h.jsx( - td, + /* @__PURE__ */ f.jsx(Re, { onClick: () => e(l), children: "View" }) + ] }) : /* @__PURE__ */ f.jsxs(Ke, { direction: "column", children: [ + /* @__PURE__ */ f.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }), + /* @__PURE__ */ f.jsx( + od, { initialValues: { description: "", - category: hi.MODEL + type: Rr.MODEL }, onSubmit: () => { }, - validate: Zf(bw), - children: (s) => /* @__PURE__ */ h.jsx(mw, { ...s, onSuccess: o, onCancel: e }) + validate: Gf(Cw), + children: (s) => /* @__PURE__ */ f.jsx(yw, { ...s, onSuccess: o, onCancel: e }) } ), - t ? /* @__PURE__ */ h.jsxs(zt, { className: "mt-4", children: [ - /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx("p", { children: "Please validate the following check: " }), - /* @__PURE__ */ h.jsx("p", { children: t.name }), - /* @__PURE__ */ h.jsx("p", { children: t.description }), - /* @__PURE__ */ h.jsxs("p", { children: [ + t ? /* @__PURE__ */ f.jsxs(zt, { className: "mt-4", children: [ + /* @__PURE__ */ f.jsxs(dn, { children: [ + /* @__PURE__ */ f.jsx("p", { children: "Please validate the following check: " }), + /* @__PURE__ */ f.jsx("p", { children: t.name }), + /* @__PURE__ */ f.jsx("p", { children: t.description }), + /* @__PURE__ */ f.jsxs("p", { children: [ "Type: ", - t.category + t.type ] }), - a && /* @__PURE__ */ h.jsx("div", { className: "text-danger", children: a.message }) + a && /* @__PURE__ */ f.jsx("div", { className: "text-danger", children: a.message }) ] }), - /* @__PURE__ */ h.jsx(G0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ h.jsx(Fo, { loading: i, onClick: r, color: "primary", children: "Save" }) }) + /* @__PURE__ */ f.jsx(X0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ f.jsx(In, { loading: i, onClick: r, color: "primary", children: "Save" }) }) ] }) : null ] }); -}, yw = ({}) => { - const [e, t] = ce(!1), { - data: n, - error: o, - loading: r - } = tc({ - queryFn: () => ( - // @ts-expect-error valid - je.get("project_governance/checks") - ) - }), a = () => { - t((i) => !i); - }; - return r ? /* @__PURE__ */ h.jsx(Xs, {}) : o ? /* @__PURE__ */ h.jsxs(Ar, { color: "danger", children: [ - "Error loading checks: ", - o.message - ] }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(Je, { className: "justify-content-end", children: /* @__PURE__ */ h.jsx(Ie, { onClick: a, children: "+ Add new check" }) }), - /* @__PURE__ */ h.jsx("div", { className: "mt-2", children: n != null && n.length ? n.map((i) => /* @__PURE__ */ h.jsxs(zt, { children: [ - /* @__PURE__ */ h.jsx(Lo, { className: "px-3 pt-3 mb-0", children: i.name }), - /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx("p", { children: i.description }), - /* @__PURE__ */ h.jsxs("p", { children: [ - "Files required: ", - i.files_required.join(", ") - ] }) - ] }) - ] })) : /* @__PURE__ */ h.jsx("div", { children: "No checks added yet!" }) }) - ] }), - e && /* @__PURE__ */ h.jsxs($5, { isOpen: !0, direction: "end", children: [ - /* @__PURE__ */ h.jsx(W5, { toggle: a, children: "Add new check" }), - /* @__PURE__ */ h.jsx(Z5, { children: /* @__PURE__ */ h.jsx(Uf, { onClose: a }) }) - ] }) - ] }); }; -var s1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(s1 || {}), uo = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(uo || {}), c1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(c1 || {}); -const Cw = nt.object({ - train_doc_uid: nt.string(), - userId: nt.string(), - display_name: nt.string(), - taskLabel: nt.string(), - category: nt.enum(Object.values(s1)), - personalizationScope: nt.enum(Object.values(c1)).default( - "UserSpecific" - /* USER_SPECIFIC */ - ), - createdDate: nt.string(), - updatedDate: nt.string(), - content: nt.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: nt.record(nt.unknown()).optional(), - isActive: nt.boolean().default(!0) -}); -var Bn = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(Bn || {}), xa = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(xa || {}); -const qf = [ - { - name: "Documentation Writer", - avatar: dw, - description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [Bn.EXTENSION], - key: uo.DocGen - }, - { - name: "Chart Analyzer", - avatar: fw, - description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [Bn.SAAS], - key: uo.ChartBot, - seeInAction: !1 - }, - { - name: "SQL Guru", - avatar: hw, - description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [Bn.SAAS], - key: uo.SqlBot - }, - { - name: "Project Governor", - avatar: t0, - description: "AI teammate to help you create checks or rules for project governance", - availability: [Bn.SAAS], - key: uo.ProjectGovernor, - displayComponent: yw, - formComponent: Uf - }, - { - name: "Opportunities Expert", - avatar: t0, - description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [Bn.SAAS], - key: uo.OpportunitiesBot, - comingSoon: !0 - } -], bA = (e) => { - const t = qf.find((n) => n.key === e.taskLabel); - return t != null && t.formComponent ? /* @__PURE__ */ h.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ h.jsx(uw, { ...e }); -}, vw = () => { - const e = et(Wf); - if (e === void 0) - throw new Error( - "useTeamMateContext must be used within a TeamMateProvider" - ); - return e; -}, yA = ({}) => { - const { dispatch: e } = vw(), t = () => { - e(lw.setShowCoachingForm(!0)); - }; - return /* @__PURE__ */ h.jsx(Un, { onClick: t, children: "Show Coaching Form" }); -}; -var Yn = {}, xw = Gn && Gn.__extends || /* @__PURE__ */ function() { +var Gn = {}, vw = Xn && Xn.__extends || /* @__PURE__ */ function() { var e = function(t, n) { return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) { o.__proto__ = r; @@ -25155,7 +25057,7 @@ var Yn = {}, xw = Gn && Gn.__extends || /* @__PURE__ */ function() { } t.prototype = n === null ? Object.create(n) : (o.prototype = n.prototype, new o()); }; -}(), Yf = Gn && Gn.__awaiter || function(e, t, n, o) { +}(), Qf = Xn && Xn.__awaiter || function(e, t, n, o) { function r(a) { return a instanceof n ? a : new n(function(i) { i(a); @@ -25181,7 +25083,7 @@ var Yn = {}, xw = Gn && Gn.__extends || /* @__PURE__ */ function() { } u((o = o.apply(e, t || [])).next()); }); -}, Gf = Gn && Gn.__generator || function(e, t) { +}, Jf = Xn && Xn.__generator || function(e, t) { var n = { label: 0, sent: function() { if (a[0] & 1) throw a[1]; return a[1]; @@ -25241,12 +25143,12 @@ var Yn = {}, xw = Gn && Gn.__extends || /* @__PURE__ */ function() { return { value: u[0] ? u[1] : void 0, done: !0 }; } }; -Object.defineProperty(Yn, "__esModule", { value: !0 }); -Yn.toFormikValidate = Xf = Yn.toFormikValidationSchema = Yn.ValidationError = void 0; -var Kf = ( +Object.defineProperty(Gn, "__esModule", { value: !0 }); +Gn.toFormikValidate = c1 = Gn.toFormikValidationSchema = Gn.ValidationError = void 0; +var e5 = ( /** @class */ function(e) { - xw(t, e); + vw(t, e); function t(n) { var o = e.call(this, n) || this; return o.name = "ValidationError", o.inner = [], o; @@ -25254,9 +25156,9 @@ var Kf = ( return t; }(Error) ); -Yn.ValidationError = Kf; -function ww(e) { - var t = new Kf(e.message); +Gn.ValidationError = e5; +function xw(e) { + var t = new e5(e.message); return t.inner = e.errors.map(function(n) { return { message: n.message, @@ -25264,19 +25166,19 @@ function ww(e) { }; }), t; } -function Ew(e, t) { +function ww(e, t) { return { validate: function(n) { - return Yf(this, void 0, void 0, function() { + return Qf(this, void 0, void 0, function() { var o; - return Gf(this, function(r) { + return Jf(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(), ww(o); + throw o = r.sent(), xw(o); case 3: return [ 2 @@ -25288,20 +25190,20 @@ function Ew(e, t) { } }; } -var Xf = Yn.toFormikValidationSchema = Ew; -function Sw(e) { +var c1 = Gn.toFormikValidationSchema = ww; +function Ew(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; t[r.path.filter(Boolean).join(".")] = r.message; } return t; } -function kw(e, t) { +function Sw(e, t) { var n = this; return function(o) { - return Yf(n, void 0, void 0, function() { + return Qf(n, void 0, void 0, function() { var r; - return Gf(this, function(a) { + return Jf(this, function(a) { switch (a.label) { case 0: return [4, e.safeParseAsync(o, t)]; @@ -25309,14 +25211,231 @@ function kw(e, t) { return r = a.sent(), r.success ? [ 2 /*return*/ - ] : [2, Sw(r.error)]; + ] : [2, Ew(r.error)]; } }); }); }; } -Yn.toFormikValidate = kw; -const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { +Gn.toFormikValidate = Sw; +const kw = ({ check: e }) => { + const [t, n] = ce(!1), [o, r] = u4.useNotification(), { + errors: a, + isValid: i, + isSubmitting: l, + handleSubmit: s, + values: u, + handleChange: c, + setSubmitting: d, + resetForm: p + } = rd({ + initialValues: e, + validationSchema: c1(bw), + onSubmit: async (g) => { + try { + await Me.post("project_governance/check", g, { + method: "PUT" + }), n(!1), d(!1); + } catch (x) { + o.error({ + message: "Failed to update project governance check", + description: x.message || x + }); + } + } + }), { mutate: h, loading: m } = oo({ + queryFn: (g) => Me.post( + "project_governance/check", + { data: { check_name: g } }, + { method: "DELETE" } + ) + }), b = () => { + n(!0); + }, y = () => { + n(!1), p(); + }; + return /* @__PURE__ */ f.jsxs(zt, { children: [ + r, + /* @__PURE__ */ f.jsxs("form", { onSubmit: s, children: [ + /* @__PURE__ */ f.jsxs(Ro, { className: "px-3 pt-3 mb-0 d-flex justify-content-between", children: [ + t ? /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx( + Xt, + { + name: "name", + value: u.name, + placeholder: "Project governance check name...", + invalid: !!a.name, + onChange: c + } + ), + a.name ? /* @__PURE__ */ f.jsx(lr, { children: a.name }) : null + ] }) : e.name, + /* @__PURE__ */ f.jsx(Ke, { className: "gap-0 align-items-center", children: t ? /* @__PURE__ */ f.jsxs(Ke, { children: [ + /* @__PURE__ */ f.jsx(Re, { onClick: y, outline: !0, size: "sm", children: "Cancel" }), + /* @__PURE__ */ f.jsx( + In, + { + size: "sm", + color: "primary", + loading: l, + disabled: l || !i, + type: "submit", + children: "Save" + } + ) + ] }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx(jn, { title: "Edit this learning", onClick: b, children: /* @__PURE__ */ f.jsx(Ad, {}) }), + /* @__PURE__ */ f.jsx( + ad, + { + title: "Delete the task", + description: "Are you sure to delete this task?", + onConfirm: () => h(e.name), + okText: "Yes", + cancelText: "No", + children: /* @__PURE__ */ f.jsx( + In, + { + title: "Delete check", + color: "link", + className: "py-0 px-1", + loading: m, + children: /* @__PURE__ */ f.jsx(pc, {}) + } + ) + } + ) + ] }) }) + ] }), + /* @__PURE__ */ f.jsxs(dn, { children: [ + /* @__PURE__ */ f.jsx("p", { children: t ? /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx( + Xt, + { + name: "description", + value: u.description, + type: "textarea", + placeholder: "Describe the project governance check...", + invalid: !!a.description, + onChange: c, + style: { fieldSizing: "content" } + } + ), + a.description ? /* @__PURE__ */ f.jsx(lr, { children: a.description }) : null + ] }) : e.description }), + /* @__PURE__ */ f.jsxs("p", { children: [ + "Type: ", + e.type + ] }), + /* @__PURE__ */ f.jsxs("p", { children: [ + "Files required: ", + e.files_required.join(", ") + ] }) + ] }) + ] }) + ] }); +}, _w = ({}) => { + const [e, t] = ce(!1), { + data: n, + error: o, + loading: r + } = tc({ + queryFn: () => ( + // @ts-expect-error valid + Me.get("project_governance/checks") + ) + }), a = () => { + t((i) => !i); + }; + return r ? /* @__PURE__ */ f.jsx(Qs, {}) : o ? /* @__PURE__ */ f.jsxs(Mr, { color: "danger", children: [ + "Error loading checks: ", + o.message + ] }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx(Ke, { className: "justify-content-end", children: /* @__PURE__ */ f.jsx(Re, { onClick: a, children: "+ Add new check" }) }), + /* @__PURE__ */ f.jsx("div", { className: "mt-2", children: n != null && n.length ? n.map((i) => /* @__PURE__ */ f.jsx(kw, { check: i })) : /* @__PURE__ */ f.jsx("div", { children: "No checks added yet!" }) }) + ] }), + e && /* @__PURE__ */ f.jsxs(q5, { isOpen: !0, direction: "end", children: [ + /* @__PURE__ */ f.jsx(Y5, { toggle: a, children: "Add new check" }), + /* @__PURE__ */ f.jsx(G5, { children: /* @__PURE__ */ f.jsx(Xf, { onClose: a }) }) + ] }) + ] }); +}; +var u1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(u1 || {}), po = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(po || {}), d1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(d1 || {}); +const Aw = He.object({ + train_doc_uid: He.string(), + userId: He.string(), + display_name: He.string(), + taskLabel: He.string(), + category: He.enum(Object.values(u1)), + personalizationScope: He.enum(Object.values(d1)).default( + "UserSpecific" + /* USER_SPECIFIC */ + ), + createdDate: He.string(), + updatedDate: He.string(), + content: He.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: He.record(He.unknown()).optional(), + isActive: He.boolean().default(!0) +}); +var $n = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))($n || {}), Ea = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(Ea || {}); +const t5 = [ + { + name: "Documentation Writer", + avatar: hw, + description: "AI teammate to write your dbt model, table and column descriptions for you", + availability: [$n.EXTENSION], + key: po.DocGen + }, + { + name: "Chart Analyzer", + avatar: pw, + description: "AI teammate to analyze charts, find insights and answer your specific questions", + availability: [$n.SAAS], + key: po.ChartBot, + seeInAction: !1 + }, + { + name: "SQL Guru", + avatar: gw, + description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", + availability: [$n.SAAS], + key: po.SqlBot + }, + { + name: "Project Governor", + avatar: o0, + description: "AI teammate to help you create checks or rules for project governance", + availability: [$n.SAAS], + key: po.ProjectGovernor, + displayComponent: _w, + formComponent: Xf + }, + { + name: "Opportunities Expert", + avatar: o0, + description: "AI teammate to analyze your spends, costs and find opportunities to save money", + availability: [$n.SAAS], + key: po.OpportunitiesBot, + comingSoon: !0 + } +], vA = (e) => { + const t = t5.find((n) => n.key === e.taskLabel); + return t != null && t.formComponent ? /* @__PURE__ */ f.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ f.jsx(fw, { ...e }); +}, Mw = () => { + const e = tt(Yf); + if (e === void 0) + throw new Error( + "useTeamMateContext must be used within a TeamMateProvider" + ); + return e; +}, xA = ({}) => { + const { dispatch: e } = Mw(), t = () => { + e(cw.setShowCoachingForm(!0)); + }; + return /* @__PURE__ */ f.jsx(jn, { onClick: t, children: "Show Coaching Form" }); +}, Tw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { const [r, a] = ce(!1), { errors: i, isValid: l, @@ -25325,21 +25444,21 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { values: c, handleChange: d, setSubmitting: p - } = i4({ + } = rd({ initialValues: e, - validationSchema: Xf(Cw), + validationSchema: c1(Aw), onSubmit: async (E) => { - await je.post(`coach/training/${e.train_doc_uid}`, E, { + await Me.post(`coach/training/${e.train_doc_uid}`, E, { method: "PUT" }), a(!1), p(!1); } - }), f = async () => await je.post( + }), h = async () => await Me.post( `coach/training/${e.train_doc_uid}`, {}, { method: "DELETE" } - ), { loading: m, error: b, mutate: y } = jo({ + ), { loading: m, error: b, mutate: y } = oo({ // @ts-ignore - queryFn: f, + queryFn: h, onSuccess: t }), g = (E) => { E == null || E.stopPropagation(); @@ -25350,12 +25469,12 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { }, S = (E) => { g(E), n(e.train_doc_uid), a(!0); }, w = o === e.train_doc_uid; - return /* @__PURE__ */ h.jsx(zt, { className: w ? "active" : "", children: /* @__PURE__ */ h.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ h.jsx(Lo, { children: /* @__PURE__ */ h.jsxs(Je, { className: "align-items-start", children: [ - /* @__PURE__ */ h.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ h.jsx("div", { children: r ? /* @__PURE__ */ h.jsxs(ir, { children: [ - /* @__PURE__ */ h.jsx( - Cn, + return /* @__PURE__ */ f.jsx(zt, { className: w ? "active" : "", children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ + /* @__PURE__ */ f.jsx(Ro, { children: /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-start", children: [ + /* @__PURE__ */ f.jsxs("div", { style: { flex: 1 }, children: [ + /* @__PURE__ */ f.jsx("div", { children: r ? /* @__PURE__ */ f.jsxs(Kn, { children: [ + /* @__PURE__ */ f.jsx( + Xt, { name: "content", value: c.content, @@ -25367,38 +25486,38 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { style: { fieldSizing: "content" } } ), - i.content ? /* @__PURE__ */ h.jsx(Qs, { children: i.content }) : null - ] }) : /* @__PURE__ */ h.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ h.jsx(Je, { children: /* @__PURE__ */ h.jsxs("dl", { children: [ - /* @__PURE__ */ h.jsxs(Je, { children: [ - /* @__PURE__ */ h.jsx("dt", { children: "Created on:" }), - /* @__PURE__ */ h.jsx("dd", { children: ms(e.createdDate).format( + i.content ? /* @__PURE__ */ f.jsx(lr, { children: i.content }) : null + ] }) : /* @__PURE__ */ f.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), + /* @__PURE__ */ f.jsx(Ke, { children: /* @__PURE__ */ f.jsxs("dl", { children: [ + /* @__PURE__ */ f.jsxs(Ke, { children: [ + /* @__PURE__ */ f.jsx("dt", { children: "Created on:" }), + /* @__PURE__ */ f.jsx("dd", { children: bs(e.createdDate).format( "MMMM D, YYYY h:mm A" ) }) ] }), - /* @__PURE__ */ h.jsxs(Je, { children: [ - /* @__PURE__ */ h.jsx("dt", { children: "Updated on:" }), - /* @__PURE__ */ h.jsxs("dd", { children: [ - ms(e.updatedDate).format( + /* @__PURE__ */ f.jsxs(Ke, { children: [ + /* @__PURE__ */ f.jsx("dt", { children: "Updated on:" }), + /* @__PURE__ */ f.jsxs("dd", { children: [ + bs(e.updatedDate).format( "MMMM D, YYYY h:mm A" ), " " ] }) ] }), - /* @__PURE__ */ h.jsxs(Je, { children: [ - /* @__PURE__ */ h.jsx("dt", { children: "Created by:" }), + /* @__PURE__ */ f.jsxs(Ke, { children: [ + /* @__PURE__ */ f.jsx("dt", { children: "Created by:" }), " ", - /* @__PURE__ */ h.jsx("dd", { children: e.display_name }) + /* @__PURE__ */ f.jsx("dd", { children: e.display_name }) ] }) ] }) }) ] }), - /* @__PURE__ */ h.jsxs(Je, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ h.jsx(ir, { switch: !0, children: /* @__PURE__ */ h.jsx( + /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-top gap-0", children: [ + /* @__PURE__ */ f.jsx(Kn, { switch: !0, children: /* @__PURE__ */ f.jsx( Sn, { title: c.isActive ? "Disable this learning" : "Enable this learning", - children: /* @__PURE__ */ h.jsx( - Cn, + children: /* @__PURE__ */ f.jsx( + Xt, { type: "switch", role: "switch", @@ -25413,8 +25532,8 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ) } ) }), - /* @__PURE__ */ h.jsx( - l4, + /* @__PURE__ */ f.jsx( + ad, { title: "Delete the task", description: "Are you sure to delete this task?", @@ -25422,22 +25541,22 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { onCancel: g, okText: "Yes", cancelText: "No", - children: /* @__PURE__ */ h.jsx( - Un, + children: /* @__PURE__ */ f.jsx( + jn, { title: "Delete this learning", className: "pt-1 pb-0", disabled: m, onClick: g, - children: /* @__PURE__ */ h.jsx(xd, {}) + children: /* @__PURE__ */ f.jsx(pc, {}) } ) } ), - r ? /* @__PURE__ */ h.jsxs(Je, { className: "align-items-baseline", children: [ - /* @__PURE__ */ h.jsx(Ie, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ h.jsx( - Ie, + r ? /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-baseline", children: [ + /* @__PURE__ */ f.jsx(Re, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), + /* @__PURE__ */ f.jsx( + Re, { size: "sm", color: "primary", @@ -25446,21 +25565,21 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { children: "Save" } ) - ] }) : /* @__PURE__ */ h.jsx(Un, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ h.jsx(C8, {}) }), - /* @__PURE__ */ h.jsx(Un, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) }) + ] }) : /* @__PURE__ */ f.jsx(jn, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ f.jsx(Ad, {}) }), + /* @__PURE__ */ f.jsx(jn, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ f.jsx(kd, {}) : /* @__PURE__ */ f.jsx(_d, {}) }) ] }) ] }) }), - /* @__PURE__ */ h.jsxs(K0, { isOpen: w, children: [ - b && /* @__PURE__ */ h.jsx(Ar, { color: "danger", children: b.message }), - /* @__PURE__ */ h.jsxs(Je, { className: "gap-4", children: [ - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx("strong", { children: "Category:" }), + /* @__PURE__ */ f.jsxs(Q0, { isOpen: w, children: [ + b && /* @__PURE__ */ f.jsx(Mr, { color: "danger", children: b.message }), + /* @__PURE__ */ f.jsxs(Ke, { className: "gap-4", children: [ + /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx("strong", { children: "Category:" }), " ", - r ? /* @__PURE__ */ h.jsx( - os, + r ? /* @__PURE__ */ f.jsx( + rs, { style: { minWidth: 160 }, - options: Object.values(s1).map((E) => ({ + options: Object.values(u1).map((E) => ({ value: E, label: E })), @@ -25473,19 +25592,19 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { } ) : e.category ] }), - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx("strong", { children: "Task Label:" }), + /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx("strong", { children: "Task Label:" }), " ", e.taskLabel ] }), - /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx("strong", { children: "Personalization Scope:" }), + /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx("strong", { children: "Personalization Scope:" }), " ", - r ? /* @__PURE__ */ h.jsx( - os, + r ? /* @__PURE__ */ f.jsx( + rs, { style: { minWidth: 100 }, - options: Object.values(c1).map((E) => ({ + options: Object.values(d1).map((E) => ({ value: E, label: E })), @@ -25500,30 +25619,30 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ] }), e.metadata && Object.keys(e.metadata).map((E) => { var M; - return /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsxs("strong", { children: [ + return /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsxs("strong", { children: [ E, ":" ] }), " ", - /* @__PURE__ */ h.jsx(h.Fragment, { children: ((M = e.metadata) == null ? void 0 : M[E]) || "" }) + /* @__PURE__ */ f.jsx(f.Fragment, { children: ((M = e.metadata) == null ? void 0 : M[E]) || "" }) ] }, E); }) ] }) ] }) ] }) }); -}, CA = ({ filters: e, learning: t }) => { +}, wA = ({ filters: e, learning: t }) => { var u; const [n, o] = ce(t), { error: r, data: a, loading: i, refetch: l } = tc({ - queryFn: () => je.get("coach/training", e) + queryFn: () => Me.get("coach/training", e) }), s = (c) => { o((d) => d === c ? void 0 : c); }; - return /* @__PURE__ */ h.jsx(Je, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ h.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ h.jsxs(Ar, { color: "danger", children: [ + return /* @__PURE__ */ f.jsx(Ke, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ f.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ f.jsxs(Mr, { color: "danger", children: [ "Error loading learnings: ", r.message - ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ h.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ h.jsx( - _w, + ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ f.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ f.jsx( + Tw, { learning: c, afterDelete: l, @@ -25531,20 +25650,20 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { openId: n }, c.train_doc_uid - )) }) : /* @__PURE__ */ h.jsxs(Je, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ h.jsx(pw, {}), - /* @__PURE__ */ h.jsx("h4", { children: "No learnings added yet!" }) + )) }) : /* @__PURE__ */ f.jsxs(Ke, { direction: "column", className: "align-items-center", children: [ + /* @__PURE__ */ f.jsx(mw, {}), + /* @__PURE__ */ f.jsx("h4", { children: "No learnings added yet!" }) ] }) }); -}, Aw = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, xa.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = jo({ +}, Ow = ({ config: e, client: t, onSelect: n }) => { + const o = async () => await n(e, Ea.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = oo({ // @ts-ignore queryFn: o }); - return /* @__PURE__ */ h.jsx(U5, { children: /* @__PURE__ */ h.jsxs(zt, { children: [ - /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-between", children: [ - /* @__PURE__ */ h.jsx(q5, { alt: "Teammate image", src: e.avatar }), - /* @__PURE__ */ h.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ h.jsxs( - od, + return /* @__PURE__ */ f.jsx(K5, { children: /* @__PURE__ */ f.jsxs(zt, { children: [ + /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-between", children: [ + /* @__PURE__ */ f.jsx(X5, { alt: "Teammate image", src: e.avatar }), + /* @__PURE__ */ f.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ f.jsxs( + ld, { color: "success", tooltip: "", @@ -25559,14 +25678,14 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { l )) }) ] }), - /* @__PURE__ */ h.jsxs(un, { children: [ - /* @__PURE__ */ h.jsx(Lo, { tag: "h5", children: e.name }), - /* @__PURE__ */ h.jsx(Y5, { tag: "h6" }), - /* @__PURE__ */ h.jsx(G5, { children: e.description }), - /* @__PURE__ */ h.jsxs(Je, { className: "justify-content-start align-items-center", children: [ - e.comingSoon ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ - /* @__PURE__ */ h.jsx( - Fo, + /* @__PURE__ */ f.jsxs(dn, { children: [ + /* @__PURE__ */ f.jsx(Ro, { tag: "h5", children: e.name }), + /* @__PURE__ */ f.jsx(Q5, { tag: "h6" }), + /* @__PURE__ */ f.jsx(J5, { children: e.description }), + /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-start align-items-center", children: [ + e.comingSoon ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + /* @__PURE__ */ f.jsx( + In, { size: "sm", className: "cursor-pointer", @@ -25577,26 +25696,26 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { children: "Request Access" } ), - i ? /* @__PURE__ */ h.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null - ] }) : /* @__PURE__ */ h.jsx( - Ie, + i ? /* @__PURE__ */ f.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null + ] }) : /* @__PURE__ */ f.jsx( + Re, { size: "sm", className: "cursor-pointer", - onClick: () => n(e, xa.VIEW_DETAILS), + onClick: () => n(e, Ea.VIEW_DETAILS), tooltip: "", color: "primary", children: "View details" } ), - e.seeInAction && e.availability.includes(Bn[t]) && /* @__PURE__ */ h.jsx( - Ie, + e.seeInAction && e.availability.includes($n[t]) && /* @__PURE__ */ f.jsx( + Re, { color: "primary", outline: !0, size: "sm", className: "cursor-pointer", - onClick: () => n(e, xa.SEE_IN_ACTION), + onClick: () => n(e, Ea.SEE_IN_ACTION), tooltip: "", children: "See in action" } @@ -25604,29 +25723,29 @@ const _w = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { ] }) ] }) ] }) }); -}, vA = ({ onSelect: e, client: t }) => /* @__PURE__ */ h.jsx("div", { className: "teammates", children: /* @__PURE__ */ h.jsx(K5, { children: qf.map((n) => /* @__PURE__ */ h.jsx( - Aw, +}, EA = ({ onSelect: e, client: t }) => /* @__PURE__ */ f.jsx("div", { className: "teammates", children: /* @__PURE__ */ f.jsx(e4, { children: t5.map((n) => /* @__PURE__ */ f.jsx( + Ow, { config: n, client: t, onSelect: e }, n.name -)) }) }), Mw = "_chatbot_1ti7a_1", Tw = "_chatTriggerLink_1ti7a_1", Ow = "_statusUpdates_1ti7a_51", u1 = { - chatbot: Mw, - chatTriggerLink: Tw, - statusUpdates: Ow -}, Nw = ({ text: e }) => { - const { sendMessage: t } = r4(); - return /* @__PURE__ */ h.jsx(Ie, { onClick: () => t(e), color: "link", className: u1.chatTriggerLink, children: e }, e); -}, Dw = ({ onFollowupRequest: e, sessionId: t }) => { +)) }) }), Nw = "_chatbot_1ti7a_1", Dw = "_chatTriggerLink_1ti7a_1", Lw = "_statusUpdates_1ti7a_51", f1 = { + chatbot: Nw, + chatTriggerLink: Dw, + statusUpdates: Lw +}, jw = ({ text: e }) => { + const { sendMessage: t } = s4(); + return /* @__PURE__ */ f.jsx(Re, { onClick: () => t(e), color: "link", className: f1.chatTriggerLink, children: e }, e); +}, Fw = ({ onFollowupRequest: e, sessionId: t }) => { const { data: n } = tc({ // @ts-expect-error valid queryFn: () => e(t) }); - return n != null && n.length ? /* @__PURE__ */ h.jsx(Je, { direction: "column", children: n.map((o) => /* @__PURE__ */ h.jsx(Nw, { text: o }, o)) }) : null; -}, n0 = ["http", "https", "mailto", "tel"]; -function Lw(e) { + return n != null && n.length ? /* @__PURE__ */ f.jsx(Ke, { direction: "column", children: n.map((o) => /* @__PURE__ */ f.jsx(jw, { text: o }, o)) }) : null; +}, r0 = ["http", "https", "mailto", "tel"]; +function Rw(e) { const t = (e || "").trim(), n = t.charAt(0); if (n === "#" || n === "/") return t; @@ -25634,8 +25753,8 @@ function Lw(e) { if (o === -1) return t; let r = -1; - for (; ++r < n0.length; ) { - const a = n0[r]; + for (; ++r < r0.length; ) { + const a = r0[r]; if (o === a.length && t.slice(0, a.length).toLowerCase() === a) return t; } @@ -25647,20 +25766,20 @@ function Lw(e) { * @author Feross Aboukhadijeh * @license MIT */ -var Fw = function(t) { +var Iw = function(t) { return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); }; -const Qf = /* @__PURE__ */ dn(Fw); -function rr(e) { - return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? o0(e.position) : "start" in e || "end" in e ? o0(e) : "line" in e || "column" in e ? Bs(e) : ""; +const n5 = /* @__PURE__ */ fn(Iw); +function ar(e) { + return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? a0(e.position) : "start" in e || "end" in e ? a0(e) : "line" in e || "column" in e ? Vs(e) : ""; } -function Bs(e) { - return r0(e && e.line) + ":" + r0(e && e.column); +function Vs(e) { + return i0(e && e.line) + ":" + i0(e && e.column); } -function o0(e) { - return Bs(e && e.start) + "-" + Bs(e && e.end); +function a0(e) { + return Vs(e && e.start) + "-" + Vs(e && e.end); } -function r0(e) { +function i0(e) { return e && typeof e == "number" ? e : 1; } class Bt extends Error { @@ -25694,7 +25813,7 @@ class Bt extends Error { const i = o.indexOf(":"); i === -1 ? r[1] = o : (r[0] = o.slice(0, i), r[1] = o.slice(i + 1)); } - n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = rr(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; + n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = ar(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; } } Bt.prototype.file = ""; @@ -25708,11 +25827,11 @@ Bt.prototype.line = null; Bt.prototype.source = null; Bt.prototype.ruleId = null; Bt.prototype.position = null; -const on = { basename: jw, dirname: Rw, extname: Iw, join: zw, sep: "/" }; -function jw(e, t) { +const rn = { basename: zw, dirname: Hw, extname: Pw, join: Bw, sep: "/" }; +function zw(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); - jr(e); + Ir(e); let n = 0, o = -1, r = e.length, a; if (t === void 0 || t.length === 0 || t.length > e.length) { for (; r--; ) @@ -25737,8 +25856,8 @@ function jw(e, t) { i < 0 && (a = !0, i = r + 1), l > -1 && (e.charCodeAt(r) === t.charCodeAt(l--) ? l < 0 && (o = r) : (l = -1, o = i)); return n === o ? o = i : o < 0 && (o = e.length), e.slice(n, o); } -function Rw(e) { - if (jr(e), e.length === 0) +function Hw(e) { + if (Ir(e), e.length === 0) return "."; let t = -1, n = e.length, o; for (; --n; ) @@ -25750,8 +25869,8 @@ function Rw(e) { } else o || (o = !0); return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); } -function Iw(e) { - jr(e); +function Pw(e) { + Ir(e); let t = e.length, n = -1, o = 0, r = -1, a = 0, i; for (; t--; ) { const l = e.charCodeAt(t); @@ -25768,19 +25887,19 @@ function Iw(e) { a === 0 || // The (right-most) trimmed path component is exactly `..`. a === 1 && r === n - 1 && r === o + 1 ? "" : e.slice(r, n); } -function zw(...e) { +function Bw(...e) { let t = -1, n; for (; ++t < e.length; ) - jr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); - return n === void 0 ? "." : Hw(n); + Ir(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); + return n === void 0 ? "." : Vw(n); } -function Hw(e) { - jr(e); +function Vw(e) { + Ir(e); const t = e.charCodeAt(0) === 47; - let n = Pw(e, !t); + let n = $w(e, !t); return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; } -function Pw(e, t) { +function $w(e, t) { let n = "", o = 0, r = -1, a = 0, i = -1, l, s; for (; ++i <= e.length; ) { if (i < e.length) @@ -25811,25 +25930,25 @@ function Pw(e, t) { } return n; } -function jr(e) { +function Ir(e) { if (typeof e != "string") throw new TypeError( "Path must be a string. Received " + JSON.stringify(e) ); } -const Bw = { cwd: Vw }; -function Vw() { +const Ww = { cwd: Zw }; +function Zw() { return "/"; } -function Vs(e) { +function $s(e) { return e !== null && typeof e == "object" && // @ts-expect-error: indexable. e.href && // @ts-expect-error: indexable. e.origin; } -function $w(e) { +function Uw(e) { if (typeof e == "string") e = new URL(e); - else if (!Vs(e)) { + else if (!$s(e)) { const t = new TypeError( 'The "path" argument must be of type string or an instance of URL. Received `' + e + "`" ); @@ -25839,9 +25958,9 @@ function $w(e) { const t = new TypeError("The URL must be of scheme file"); throw t.code = "ERR_INVALID_URL_SCHEME", t; } - return Ww(e); + return qw(e); } -function Ww(e) { +function qw(e) { if (e.hostname !== "") { const o = new TypeError( 'File URL host must be "localhost" or empty on darwin' @@ -25862,8 +25981,8 @@ function Ww(e) { } return decodeURIComponent(t); } -const Zl = ["history", "path", "basename", "stem", "extname", "dirname"]; -class Jf { +const Ul = ["history", "path", "basename", "stem", "extname", "dirname"]; +class o5 { /** * Create a new virtual file. * @@ -25888,15 +26007,15 @@ class Jf { */ constructor(t) { let n; - t ? typeof t == "string" || Zw(t) ? n = { value: t } : Vs(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Bw.cwd(), this.value, this.stored, this.result, this.map; + t ? typeof t == "string" || Yw(t) ? n = { value: t } : $s(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Ww.cwd(), this.value, this.stored, this.result, this.map; let o = -1; - for (; ++o < Zl.length; ) { - const a = Zl[o]; + for (; ++o < Ul.length; ) { + const a = Ul[o]; a in n && n[a] !== void 0 && n[a] !== null && (this[a] = a === "history" ? [...n[a]] : n[a]); } let r; for (r in n) - Zl.includes(r) || (this[r] = n[r]); + Ul.includes(r) || (this[r] = n[r]); } /** * Get the full path (example: `'~/index.min.js'`). @@ -25916,13 +26035,13 @@ class Jf { * @param {string | URL} path */ set path(t) { - Vs(t) && (t = $w(t)), ql(t, "path"), this.path !== t && this.history.push(t); + $s(t) && (t = Uw(t)), Yl(t, "path"), this.path !== t && this.history.push(t); } /** * Get the parent path (example: `'~'`). */ get dirname() { - return typeof this.path == "string" ? on.dirname(this.path) : void 0; + return typeof this.path == "string" ? rn.dirname(this.path) : void 0; } /** * Set the parent path (example: `'~'`). @@ -25930,13 +26049,13 @@ class Jf { * Cannot be set if there’s no `path` yet. */ set dirname(t) { - a0(this.basename, "dirname"), this.path = on.join(t || "", this.basename); + l0(this.basename, "dirname"), this.path = rn.join(t || "", this.basename); } /** * Get the basename (including extname) (example: `'index.min.js'`). */ get basename() { - return typeof this.path == "string" ? on.basename(this.path) : void 0; + return typeof this.path == "string" ? rn.basename(this.path) : void 0; } /** * Set basename (including extname) (`'index.min.js'`). @@ -25946,13 +26065,13 @@ class Jf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set basename(t) { - ql(t, "basename"), Ul(t, "basename"), this.path = on.join(this.dirname || "", t); + Yl(t, "basename"), ql(t, "basename"), this.path = rn.join(this.dirname || "", t); } /** * Get the extname (including dot) (example: `'.js'`). */ get extname() { - return typeof this.path == "string" ? on.extname(this.path) : void 0; + return typeof this.path == "string" ? rn.extname(this.path) : void 0; } /** * Set the extname (including dot) (example: `'.js'`). @@ -25962,19 +26081,19 @@ class Jf { * Cannot be set if there’s no `path` yet. */ set extname(t) { - if (Ul(t, "extname"), a0(this.dirname, "extname"), t) { + if (ql(t, "extname"), l0(this.dirname, "extname"), t) { if (t.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); if (t.includes(".", 1)) throw new Error("`extname` cannot contain multiple dots"); } - this.path = on.join(this.dirname, this.stem + (t || "")); + this.path = rn.join(this.dirname, this.stem + (t || "")); } /** * Get the stem (basename w/o extname) (example: `'index.min'`). */ get stem() { - return typeof this.path == "string" ? on.basename(this.path, this.extname) : void 0; + return typeof this.path == "string" ? rn.basename(this.path, this.extname) : void 0; } /** * Set the stem (basename w/o extname) (example: `'index.min'`). @@ -25984,7 +26103,7 @@ class Jf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set stem(t) { - ql(t, "stem"), Ul(t, "stem"), this.path = on.join(this.dirname || "", t + (this.extname || "")); + Yl(t, "stem"), ql(t, "stem"), this.path = rn.join(this.dirname || "", t + (this.extname || "")); } /** * Serialize the file. @@ -26063,69 +26182,69 @@ class Jf { throw r.fatal = !0, r; } } -function Ul(e, t) { - if (e && e.includes(on.sep)) +function ql(e, t) { + if (e && e.includes(rn.sep)) throw new Error( - "`" + t + "` cannot be a path: did not expect `" + on.sep + "`" + "`" + t + "` cannot be a path: did not expect `" + rn.sep + "`" ); } -function ql(e, t) { +function Yl(e, t) { if (!e) throw new Error("`" + t + "` cannot be empty"); } -function a0(e, t) { +function l0(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -function Zw(e) { - return Qf(e); +function Yw(e) { + return n5(e); } -function i0(e) { +function s0(e) { if (e) throw e; } -var wa = Object.prototype.hasOwnProperty, e5 = Object.prototype.toString, l0 = Object.defineProperty, s0 = Object.getOwnPropertyDescriptor, c0 = function(t) { - return typeof Array.isArray == "function" ? Array.isArray(t) : e5.call(t) === "[object Array]"; -}, u0 = function(t) { - if (!t || e5.call(t) !== "[object Object]") +var Sa = Object.prototype.hasOwnProperty, r5 = Object.prototype.toString, c0 = Object.defineProperty, u0 = Object.getOwnPropertyDescriptor, d0 = function(t) { + return typeof Array.isArray == "function" ? Array.isArray(t) : r5.call(t) === "[object Array]"; +}, f0 = function(t) { + if (!t || r5.call(t) !== "[object Object]") return !1; - var n = wa.call(t, "constructor"), o = t.constructor && t.constructor.prototype && wa.call(t.constructor.prototype, "isPrototypeOf"); + var n = Sa.call(t, "constructor"), o = t.constructor && t.constructor.prototype && Sa.call(t.constructor.prototype, "isPrototypeOf"); if (t.constructor && !n && !o) return !1; var r; for (r in t) ; - return typeof r > "u" || wa.call(t, r); -}, d0 = function(t, n) { - l0 && n.name === "__proto__" ? l0(t, n.name, { + return typeof r > "u" || Sa.call(t, r); +}, h0 = function(t, n) { + c0 && n.name === "__proto__" ? c0(t, n.name, { enumerable: !0, configurable: !0, value: n.newValue, writable: !0 }) : t[n.name] = n.newValue; -}, f0 = function(t, n) { +}, p0 = function(t, n) { if (n === "__proto__") - if (wa.call(t, n)) { - if (s0) - return s0(t, n).value; + if (Sa.call(t, n)) { + if (u0) + return u0(t, n).value; } else return; return t[n]; -}, Uw = function e() { +}, Gw = function e() { var t, n, o, r, a, i, l = arguments[0], s = 1, u = arguments.length, c = !1; for (typeof l == "boolean" && (c = l, l = arguments[1] || {}, s = 2), (l == null || typeof l != "object" && typeof l != "function") && (l = {}); s < u; ++s) if (t = arguments[s], t != null) for (n in t) - o = f0(l, n), r = f0(t, n), l !== r && (c && r && (u0(r) || (a = c0(r))) ? (a ? (a = !1, i = o && c0(o) ? o : []) : i = o && u0(o) ? o : {}, d0(l, { name: n, newValue: e(c, i, r) })) : typeof r < "u" && d0(l, { name: n, newValue: r })); + o = p0(l, n), r = p0(t, n), l !== r && (c && r && (f0(r) || (a = d0(r))) ? (a ? (a = !1, i = o && d0(o) ? o : []) : i = o && f0(o) ? o : {}, h0(l, { name: n, newValue: e(c, i, r) })) : typeof r < "u" && h0(l, { name: n, newValue: r })); return l; }; -const h0 = /* @__PURE__ */ dn(Uw); -function $s(e) { +const g0 = /* @__PURE__ */ fn(Gw); +function Ws(e) { if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); } -function qw() { +function Kw() { const e = [], t = { run: n, use: o }; return t; function n(...r) { @@ -26143,7 +26262,7 @@ function qw() { } for (; ++d < r.length; ) (u[d] === null || u[d] === void 0) && (u[d] = r[d]); - r = u, c ? Yw(c, l)(...u) : i(null, ...u); + r = u, c ? Xw(c, l)(...u) : i(null, ...u); } } function o(r) { @@ -26154,7 +26273,7 @@ function qw() { return e.push(r), t; } } -function Yw(e, t) { +function Xw(e, t) { let n; return o; function o(...i) { @@ -26181,20 +26300,20 @@ function Yw(e, t) { r(null, i); } } -const Gw = n5().freeze(), t5 = {}.hasOwnProperty; -function n5() { - const e = qw(), t = []; +const Qw = i5().freeze(), a5 = {}.hasOwnProperty; +function i5() { + const e = Kw(), t = []; let n = {}, o, r = -1; - return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = p, a.process = f, a.processSync = m, a; + return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = p, a.process = h, a.processSync = m, a; function a() { - const b = n5(); + const b = i5(); let y = -1; for (; ++y < t.length; ) b.use(...t[y]); - return b.data(h0(!0, {}, n)), b; + return b.data(g0(!0, {}, n)), b; } function i(b, y) { - return typeof b == "string" ? arguments.length === 2 ? (Kl("data", o), n[b] = y, a) : t5.call(n, b) && n[b] || null : b ? (Kl("data", o), n = b, a) : n; + return typeof b == "string" ? arguments.length === 2 ? (Xl("data", o), n[b] = y, a) : a5.call(n, b) && n[b] || null : b ? (Xl("data", o), n = b, a) : n; } function l() { if (o) @@ -26211,7 +26330,7 @@ function n5() { } function s(b, ...y) { let g; - if (Kl("use", o), b != null) if (typeof b == "function") + if (Xl("use", o), b != null) if (typeof b == "function") w(b, ...y); else if (typeof b == "object") Array.isArray(b) ? S(b) : C(b); @@ -26250,25 +26369,25 @@ function n5() { L = t[_]; break; } - L ? ($s(L[1]) && $s(M) && (M = h0(!0, L[1], M)), L[1] = M) : t.push([...arguments]); + L ? (Ws(L[1]) && Ws(M) && (M = g0(!0, L[1], M)), L[1] = M) : t.push([...arguments]); } } function u(b) { a.freeze(); - const y = Ko(b), g = a.Parser; - return Yl("parse", g), p0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); + const y = Xo(b), g = a.Parser; + return Gl("parse", g), m0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); } function c(b, y) { a.freeze(); - const g = Ko(y), x = a.Compiler; - return Gl("stringify", x), g0(b), p0(x, "compile") ? new x(b, g).compile() : x(b, g); + const g = Xo(y), x = a.Compiler; + return Kl("stringify", x), b0(b), m0(x, "compile") ? new x(b, g).compile() : x(b, g); } function d(b, y, g) { - if (g0(b), a.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) + if (b0(b), a.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) return new Promise(x); x(null, g); function x(C, S) { - e.run(b, Ko(y), w); + e.run(b, Xo(y), w); function w(E, M, _) { M = M || b, E ? S(E) : C ? C(M) : g(null, M, _); } @@ -26276,23 +26395,23 @@ function n5() { } function p(b, y) { let g, x; - return a.run(b, y, C), m0("runSync", "run", x), g; + return a.run(b, y, C), y0("runSync", "run", x), g; function C(S, w) { - i0(S), g = w, x = !0; + s0(S), g = w, x = !0; } } - function f(b, y) { - if (a.freeze(), Yl("process", a.Parser), Gl("process", a.Compiler), !y) + function h(b, y) { + if (a.freeze(), Gl("process", a.Parser), Kl("process", a.Compiler), !y) return new Promise(g); g(null, y); function g(x, C) { - const S = Ko(b); + const S = Xo(b); a.run(a.parse(S), S, (E, M, _) => { if (E || !M || !_) w(E); else { const L = a.stringify(M, _); - L == null || (Qw(L) ? _.value = L : _.result = L), w(E, _); + L == null || (tE(L) ? _.value = L : _.result = L), w(E, _); } }); function w(E, M) { @@ -26302,90 +26421,90 @@ function n5() { } function m(b) { let y; - a.freeze(), Yl("processSync", a.Parser), Gl("processSync", a.Compiler); - const g = Ko(b); - return a.process(g, x), m0("processSync", "process", y), g; + a.freeze(), Gl("processSync", a.Parser), Kl("processSync", a.Compiler); + const g = Xo(b); + return a.process(g, x), y0("processSync", "process", y), g; function x(C) { - y = !0, i0(C); + y = !0, s0(C); } } } -function p0(e, t) { +function m0(e, t) { return typeof e == "function" && // Prototypes do exist. // type-coverage:ignore-next-line e.prototype && // A function with keys in its prototype is probably a constructor. // Classes’ prototype methods are not enumerable, so we check if some value // exists in the prototype. // type-coverage:ignore-next-line - (Kw(e.prototype) || t in e.prototype); + (Jw(e.prototype) || t in e.prototype); } -function Kw(e) { +function Jw(e) { let t; for (t in e) - if (t5.call(e, t)) + if (a5.call(e, t)) return !0; return !1; } -function Yl(e, t) { +function Gl(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Parser`"); } -function Gl(e, t) { +function Kl(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Compiler`"); } -function Kl(e, t) { +function Xl(e, t) { if (t) throw new Error( "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`." ); } -function g0(e) { - if (!$s(e) || typeof e.type != "string") +function b0(e) { + if (!Ws(e) || typeof e.type != "string") throw new TypeError("Expected node, got `" + e + "`"); } -function m0(e, t, n) { +function y0(e, t, n) { if (!n) throw new Error( "`" + e + "` finished async. Use `" + t + "` instead" ); } -function Ko(e) { - return Xw(e) ? e : new Jf(e); +function Xo(e) { + return eE(e) ? e : new o5(e); } -function Xw(e) { +function eE(e) { return !!(e && typeof e == "object" && "message" in e && "messages" in e); } -function Qw(e) { - return typeof e == "string" || Qf(e); +function tE(e) { + return typeof e == "string" || n5(e); } -const Jw = {}; -function eE(e, t) { - const n = Jw, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; - return o5(e, o, r); +const nE = {}; +function oE(e, t) { + const n = nE, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; + return l5(e, o, r); } -function o5(e, t, n) { - if (tE(e)) { +function l5(e, t, n) { + if (rE(e)) { if ("value" in e) return e.type === "html" && !n ? "" : e.value; if (t && "alt" in e && e.alt) return e.alt; if ("children" in e) - return b0(e.children, t, n); + return C0(e.children, t, n); } - return Array.isArray(e) ? b0(e, t, n) : ""; + return Array.isArray(e) ? C0(e, t, n) : ""; } -function b0(e, t, n) { +function C0(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) - o[r] = o5(e[r], t, n); + o[r] = l5(e[r], t, n); return o.join(""); } -function tE(e) { +function rE(e) { return !!(e && typeof e == "object"); } -function cn(e, t, n, o) { +function un(e, t, n, o) { const r = e.length; let a = 0, i; if (t < 0 ? t = -t > r ? 0 : r + t : t = t > r ? r : t, n = n > 0 ? n : 0, o.length < 1e4) @@ -26394,27 +26513,27 @@ function cn(e, t, n, o) { for (n && e.splice(t, n); a < o.length; ) i = o.slice(a, a + 1e4), i.unshift(t, 0), e.splice(...i), a += 1e4, t += 1e4; } -function Ft(e, t) { - return e.length > 0 ? (cn(e, e.length, 0, t), e) : t; +function jt(e, t) { + return e.length > 0 ? (un(e, e.length, 0, t), e) : t; } -const y0 = {}.hasOwnProperty; -function nE(e) { +const v0 = {}.hasOwnProperty; +function aE(e) { const t = {}; let n = -1; for (; ++n < e.length; ) - oE(t, e[n]); + iE(t, e[n]); return t; } -function oE(e, t) { +function iE(e, t) { let n; for (n in t) { - const r = (y0.call(e, n) ? e[n] : void 0) || (e[n] = {}), a = t[n]; + const r = (v0.call(e, n) ? e[n] : void 0) || (e[n] = {}), a = t[n]; let i; if (a) for (i in a) { - y0.call(r, i) || (r[i] = []); + v0.call(r, i) || (r[i] = []); const l = a[i]; - rE( + lE( // @ts-expect-error Looks like a list. r[i], Array.isArray(l) ? l : l ? [l] : [] @@ -26422,53 +26541,53 @@ function oE(e, t) { } } } -function rE(e, t) { +function lE(e, t) { let n = -1; const o = []; for (; ++n < t.length; ) (t[n].add === "after" ? e : o).push(t[n]); - cn(e, 0, 0, o); + un(e, 0, 0, o); } -const aE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, ln = In(/[A-Za-z]/), _t = In(/[\dA-Za-z]/), iE = In(/[#-'*+\--9=?A-Z^-~]/); -function Ws(e) { +const sE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, sn = Hn(/[A-Za-z]/), _t = Hn(/[\dA-Za-z]/), cE = Hn(/[#-'*+\--9=?A-Z^-~]/); +function Zs(e) { return ( // Special whitespace codes (which have negative values), C0 and Control // character DEL e !== null && (e < 32 || e === 127) ); } -const Zs = In(/\d/), lE = In(/[\dA-Fa-f]/), sE = In(/[!-/:-@[-`{-~]/); +const Us = Hn(/\d/), uE = Hn(/[\dA-Fa-f]/), dE = Hn(/[!-/:-@[-`{-~]/); function pe(e) { return e !== null && e < -2; } function wt(e) { return e !== null && (e < 0 || e === 32); } -function Oe(e) { +function Ne(e) { return e === -2 || e === -1 || e === 32; } -const cE = In(aE), uE = In(/\s/); -function In(e) { +const fE = Hn(sE), hE = Hn(/\s/); +function Hn(e) { return t; function t(n) { return n !== null && e.test(String.fromCharCode(n)); } } -function Pe(e, t, n, o) { +function Be(e, t, n, o) { const r = o ? o - 1 : Number.POSITIVE_INFINITY; let a = 0; return i; function i(s) { - return Oe(s) ? (e.enter(n), l(s)) : t(s); + return Ne(s) ? (e.enter(n), l(s)) : t(s); } function l(s) { - return Oe(s) && a++ < r ? (e.consume(s), l) : (e.exit(n), t(s)); + return Ne(s) && a++ < r ? (e.consume(s), l) : (e.exit(n), t(s)); } } -const dE = { - tokenize: fE +const pE = { + tokenize: gE }; -function fE(e) { +function gE(e) { const t = e.attempt( this.parser.constructs.contentInitial, o, @@ -26481,7 +26600,7 @@ function fE(e) { e.consume(l); return; } - return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), Pe(e, t, "linePrefix"); + return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), Be(e, t, "linePrefix"); } function r(l) { return e.enter("paragraph"), a(l); @@ -26501,12 +26620,12 @@ function fE(e) { return pe(l) ? (e.consume(l), e.exit("chunkText"), a) : (e.consume(l), i); } } -const hE = { - tokenize: pE -}, C0 = { - tokenize: gE +const mE = { + tokenize: bE +}, x0 = { + tokenize: yE }; -function pE(e) { +function bE(e) { const t = this, n = []; let o = 0, r, a, i; return l; @@ -26535,7 +26654,7 @@ function pE(e) { let M = S; for (; M < t.events.length; ) t.events[M][1].end = Object.assign({}, E), M++; - return cn( + return un( t.events, w + 1, 0, @@ -26553,7 +26672,7 @@ function pE(e) { t.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack); } return t.containerState = {}, e.check( - C0, + x0, c, d )(C); @@ -26566,12 +26685,12 @@ function pE(e) { } function p(C) { return t.containerState = {}, e.attempt( - C0, - f, + x0, + h, m )(C); } - function f(C) { + function h(C) { return o++, n.push([t.currentConstruct, t.containerState]), p(C); } function m(C) { @@ -26616,7 +26735,7 @@ function pE(e) { } for (g(o), E = M; E < t.events.length; ) t.events[E][1].end = Object.assign({}, R), E++; - cn( + un( t.events, _ + 1, 0, @@ -26636,21 +26755,21 @@ function pE(e) { r.write([null]), a = void 0, r = void 0, t.containerState._closeFlow = void 0; } } -function gE(e, t, n) { - return Pe( +function yE(e, t, n) { + return Be( e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 ); } -function v0(e) { - if (e === null || wt(e) || uE(e)) +function w0(e) { + if (e === null || wt(e) || hE(e)) return 1; - if (cE(e)) + if (fE(e)) return 2; } -function d1(e, t, n) { +function h1(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) { @@ -26659,12 +26778,12 @@ function d1(e, t, n) { } return t; } -const Us = { +const qs = { name: "attention", - tokenize: bE, - resolveAll: mE + tokenize: vE, + resolveAll: CE }; -function mE(e, t) { +function CE(e, t) { let n = -1, o, r, a, i, l, s, u, c; for (; ++n < e.length; ) if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) { @@ -26675,7 +26794,7 @@ function mE(e, t) { continue; s = e[o][1].end.offset - e[o][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1; const d = Object.assign({}, e[o][1].end), p = Object.assign({}, e[n][1].start); - x0(d, -s), x0(p, s), i = { + E0(d, -s), E0(p, s), i = { type: s > 1 ? "strongSequence" : "emphasisSequence", start: d, end: Object.assign({}, e[o][1].end) @@ -26691,30 +26810,30 @@ function mE(e, t) { type: s > 1 ? "strong" : "emphasis", start: Object.assign({}, i.start), end: Object.assign({}, l.end) - }, e[o][1].end = Object.assign({}, i.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = Ft(u, [ + }, e[o][1].end = Object.assign({}, i.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = jt(u, [ ["enter", e[o][1], t], ["exit", e[o][1], t] - ])), u = Ft(u, [ + ])), u = jt(u, [ ["enter", r, t], ["enter", i, t], ["exit", i, t], ["enter", a, t] - ]), u = Ft( + ]), u = jt( u, - d1( + h1( t.parser.constructs.insideSpan.null, e.slice(o + 1, n), t ) - ), u = Ft(u, [ + ), u = jt(u, [ ["exit", a, t], ["enter", l, t], ["exit", l, t], ["exit", r, t] - ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Ft(u, [ + ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = jt(u, [ ["enter", e[n][1], t], ["exit", e[n][1], t] - ])) : c = 0, cn(e, o - 1, n - o + 3, u), n = o + u.length - c - 2; + ])) : c = 0, un(e, o - 1, n - o + 3, u), n = o + u.length - c - 2; break; } } @@ -26722,8 +26841,8 @@ function mE(e, t) { e[n][1].type === "attentionSequence" && (e[n][1].type = "data"); return e; } -function bE(e, t) { - const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = v0(o); +function vE(e, t) { + const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = w0(o); let a; return i; function i(s) { @@ -26732,74 +26851,74 @@ function bE(e, t) { function l(s) { if (s === a) return e.consume(s), l; - const u = e.exit("attentionSequence"), c = v0(s), d = !c || c === 2 && r || n.includes(s), p = !r || r === 2 && c || n.includes(o); + const u = e.exit("attentionSequence"), c = w0(s), d = !c || c === 2 && r || n.includes(s), p = !r || r === 2 && c || n.includes(o); return u._open = !!(a === 42 ? d : d && (r || !p)), u._close = !!(a === 42 ? p : p && (c || !d)), t(s); } } -function x0(e, t) { +function E0(e, t) { e.column += t, e.offset += t, e._bufferIndex += t; } -const yE = { +const xE = { name: "autolink", - tokenize: CE + tokenize: wE }; -function CE(e, t, n) { +function wE(e, t, n) { let o = 0; return r; - function r(f) { - return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a; + function r(h) { + return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a; } - function a(f) { - return ln(f) ? (e.consume(f), i) : u(f); + function a(h) { + return sn(h) ? (e.consume(h), i) : u(h); } - function i(f) { - return f === 43 || f === 45 || f === 46 || _t(f) ? (o = 1, l(f)) : u(f); + function i(h) { + return h === 43 || h === 45 || h === 46 || _t(h) ? (o = 1, l(h)) : u(h); } - function l(f) { - return f === 58 ? (e.consume(f), o = 0, s) : (f === 43 || f === 45 || f === 46 || _t(f)) && o++ < 32 ? (e.consume(f), l) : (o = 0, u(f)); + function l(h) { + return h === 58 ? (e.consume(h), o = 0, s) : (h === 43 || h === 45 || h === 46 || _t(h)) && o++ < 32 ? (e.consume(h), l) : (o = 0, u(h)); } - function s(f) { - return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || Ws(f) ? n(f) : (e.consume(f), s); + function s(h) { + return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : h === null || h === 32 || h === 60 || Zs(h) ? n(h) : (e.consume(h), s); } - function u(f) { - return f === 64 ? (e.consume(f), c) : iE(f) ? (e.consume(f), u) : n(f); + function u(h) { + return h === 64 ? (e.consume(h), c) : cE(h) ? (e.consume(h), u) : n(h); } - function c(f) { - return _t(f) ? d(f) : n(f); + function c(h) { + return _t(h) ? d(h) : n(h); } - function d(f) { - return f === 46 ? (e.consume(f), o = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : p(f); + function d(h) { + return h === 46 ? (e.consume(h), o = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : p(h); } - function p(f) { - if ((f === 45 || _t(f)) && o++ < 63) { - const m = f === 45 ? p : d; - return e.consume(f), m; + function p(h) { + if ((h === 45 || _t(h)) && o++ < 63) { + const m = h === 45 ? p : d; + return e.consume(h), m; } - return n(f); + return n(h); } } -const pi = { - tokenize: vE, +const gi = { + tokenize: EE, partial: !0 }; -function vE(e, t, n) { +function EE(e, t, n) { return o; function o(a) { - return Oe(a) ? Pe(e, r, "linePrefix")(a) : r(a); + return Ne(a) ? Be(e, r, "linePrefix")(a) : r(a); } function r(a) { return a === null || pe(a) ? t(a) : n(a); } } -const r5 = { +const s5 = { name: "blockQuote", - tokenize: xE, + tokenize: SE, continuation: { - tokenize: wE + tokenize: kE }, - exit: EE + exit: _E }; -function xE(e, t, n) { +function SE(e, t, n) { const o = this; return r; function r(i) { @@ -26812,14 +26931,14 @@ function xE(e, t, n) { return n(i); } function a(i) { - return Oe(i) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(i), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(i)); + return Ne(i) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(i), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(i)); } } -function wE(e, t, n) { +function kE(e, t, n) { const o = this; return r; function r(i) { - return Oe(i) ? Pe( + return Ne(i) ? Be( e, a, "linePrefix", @@ -26827,37 +26946,37 @@ function wE(e, t, n) { )(i) : a(i); } function a(i) { - return e.attempt(r5, t, n)(i); + return e.attempt(s5, t, n)(i); } } -function EE(e) { +function _E(e) { e.exit("blockQuote"); } -const a5 = { +const c5 = { name: "characterEscape", - tokenize: SE + tokenize: AE }; -function SE(e, t, n) { +function AE(e, t, n) { return o; function o(a) { return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(a), e.exit("escapeMarker"), r; } function r(a) { - return sE(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a); + return dE(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a); } } -const w0 = document.createElement("i"); -function f1(e) { +const S0 = document.createElement("i"); +function p1(e) { const t = "&" + e + ";"; - w0.innerHTML = t; - const n = w0.textContent; + S0.innerHTML = t; + const n = S0.textContent; return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n; } -const i5 = { +const u5 = { name: "characterReference", - tokenize: kE + tokenize: ME }; -function kE(e, t, n) { +function ME(e, t, n) { const o = this; let r = 0, a, i; return l; @@ -26868,25 +26987,25 @@ function kE(e, t, n) { return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i = _t, c(d)); } function u(d) { - return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = lE, c) : (e.enter("characterReferenceValue"), a = 7, i = Zs, c(d)); + return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = uE, c) : (e.enter("characterReferenceValue"), a = 7, i = Us, c(d)); } function c(d) { if (d === 59 && r) { const p = e.exit("characterReferenceValue"); - return i === _t && !f1(o.sliceSerialize(p)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); + return i === _t && !p1(o.sliceSerialize(p)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); } return i(d) && r++ < a ? (e.consume(d), c) : n(d); } } -const E0 = { - tokenize: AE, +const k0 = { + tokenize: OE, partial: !0 -}, S0 = { +}, _0 = { name: "codeFenced", - tokenize: _E, + tokenize: TE, concrete: !0 }; -function _E(e, t, n) { +function TE(e, t, n) { const o = this, r = { tokenize: w, partial: !0 @@ -26901,17 +27020,17 @@ function _E(e, t, n) { return a = M && M[1].type === "linePrefix" ? M[2].sliceSerialize(M[1], !0).length : 0, l = E, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(E); } function c(E) { - return E === l ? (i++, e.consume(E), c) : i < 3 ? n(E) : (e.exit("codeFencedFenceSequence"), Oe(E) ? Pe(e, d, "whitespace")(E) : d(E)); + return E === l ? (i++, e.consume(E), c) : i < 3 ? n(E) : (e.exit("codeFencedFenceSequence"), Ne(E) ? Be(e, d, "whitespace")(E) : d(E)); } function d(E) { - return E === null || pe(E) ? (e.exit("codeFencedFence"), o.interrupt ? t(E) : e.check(E0, b, S)(E)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { + return E === null || pe(E) ? (e.exit("codeFencedFence"), o.interrupt ? t(E) : e.check(k0, b, S)(E)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), p(E)); } function p(E) { - return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(E)) : Oe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Pe(e, f, "whitespace")(E)) : E === 96 && E === l ? n(E) : (e.consume(E), p); + return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(E)) : Ne(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Be(e, h, "whitespace")(E)) : E === 96 && E === l ? n(E) : (e.consume(E), p); } - function f(E) { + function h(E) { return E === null || pe(E) ? d(E) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" }), m(E)); @@ -26926,7 +27045,7 @@ function _E(e, t, n) { return e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), g; } function g(E) { - return a > 0 && Oe(E) ? Pe( + return a > 0 && Ne(E) ? Be( e, x, "linePrefix", @@ -26934,7 +27053,7 @@ function _E(e, t, n) { )(E) : x(E); } function x(E) { - return E === null || pe(E) ? e.check(E0, b, S)(E) : (e.enter("codeFlowValue"), C(E)); + return E === null || pe(E) ? e.check(k0, b, S)(E) : (e.enter("codeFlowValue"), C(E)); } function C(E) { return E === null || pe(E) ? (e.exit("codeFlowValue"), x(E)) : (e.consume(E), C); @@ -26946,10 +27065,10 @@ function _E(e, t, n) { let L = 0; return R; function R(N) { - return E.enter("lineEnding"), E.consume(N), E.exit("lineEnding"), F; + return E.enter("lineEnding"), E.consume(N), E.exit("lineEnding"), j; } - function F(N) { - return E.enter("codeFencedFence"), Oe(N) ? Pe( + function j(N) { + return E.enter("codeFencedFence"), Ne(N) ? Be( E, P, "linePrefix", @@ -26960,14 +27079,14 @@ function _E(e, t, n) { return N === l ? (E.enter("codeFencedFenceSequence"), V(N)) : _(N); } function V(N) { - return N === l ? (L++, E.consume(N), V) : L >= i ? (E.exit("codeFencedFenceSequence"), Oe(N) ? Pe(E, k, "whitespace")(N) : k(N)) : _(N); + return N === l ? (L++, E.consume(N), V) : L >= i ? (E.exit("codeFencedFenceSequence"), Ne(N) ? Be(E, k, "whitespace")(N) : k(N)) : _(N); } function k(N) { return N === null || pe(N) ? (E.exit("codeFencedFence"), M(N)) : _(N); } } } -function AE(e, t, n) { +function OE(e, t, n) { const o = this; return r; function r(i) { @@ -26977,25 +27096,25 @@ function AE(e, t, n) { return o.parser.lazy[o.now().line] ? n(i) : t(i); } } -const Xl = { +const Ql = { name: "codeIndented", - tokenize: TE -}, ME = { - tokenize: OE, + tokenize: DE +}, NE = { + tokenize: LE, partial: !0 }; -function TE(e, t, n) { +function DE(e, t, n) { const o = this; return r; function r(u) { - return e.enter("codeIndented"), Pe(e, a, "linePrefix", 5)(u); + return e.enter("codeIndented"), Be(e, a, "linePrefix", 5)(u); } function a(u) { const c = o.events[o.events.length - 1]; return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? i(u) : n(u); } function i(u) { - return u === null ? s(u) : pe(u) ? e.attempt(ME, i, s)(u) : (e.enter("codeFlowValue"), l(u)); + return u === null ? s(u) : pe(u) ? e.attempt(NE, i, s)(u) : (e.enter("codeFlowValue"), l(u)); } function l(u) { return u === null || pe(u) ? (e.exit("codeFlowValue"), i(u)) : (e.consume(u), l); @@ -27004,24 +27123,24 @@ function TE(e, t, n) { return e.exit("codeIndented"), t(u); } } -function OE(e, t, n) { +function LE(e, t, n) { const o = this; return r; function r(i) { - return o.parser.lazy[o.now().line] ? n(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : Pe(e, a, "linePrefix", 5)(i); + return o.parser.lazy[o.now().line] ? n(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : Be(e, a, "linePrefix", 5)(i); } function a(i) { const l = o.events[o.events.length - 1]; return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : pe(i) ? r(i) : n(i); } } -const NE = { +const jE = { name: "codeText", - tokenize: FE, - resolve: DE, - previous: LE + tokenize: IE, + resolve: FE, + previous: RE }; -function DE(e) { +function FE(e) { let t = e.length - 4, n = 3, o, r; if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { for (o = n; ++o < t; ) @@ -27034,10 +27153,10 @@ function DE(e) { r === void 0 ? o !== t && e[o][1].type !== "lineEnding" && (r = o) : (o === t || e[o][1].type === "lineEnding") && (e[r][1].type = "codeTextData", o !== r + 2 && (e[r][1].end = e[o - 1][1].end, e.splice(r + 2, o - r - 2), t -= o - r - 2, o = r + 2), r = void 0); return e; } -function LE(e) { +function RE(e) { return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; } -function FE(e, t, n) { +function IE(e, t, n) { let o = 0, r, a; return i; function i(d) { @@ -27056,7 +27175,7 @@ function FE(e, t, n) { return d === 96 ? (e.consume(d), r++, c) : r === o ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (a.type = "codeTextData", u(d)); } } -function l5(e) { +function d5(e) { const t = {}; let n = -1, o, r, a, i, l, s, u; for (; ++n < e.length; ) { @@ -27066,48 +27185,48 @@ function l5(e) { for (; ++a < s.length && s[a][1].type !== "content"; ) s[a][1].type === "chunkText" && (s[a][1]._isInFirstContentOfListItem = !0, a++); if (o[0] === "enter") - o[1].contentType && (Object.assign(t, jE(e, n)), n = t[n], u = !0); + o[1].contentType && (Object.assign(t, zE(e, n)), n = t[n], u = !0); else if (o[1]._container) { for (a = n, r = void 0; a-- && (i = e[a], i[1].type === "lineEnding" || i[1].type === "lineEndingBlank"); ) i[0] === "enter" && (r && (e[r][1].type = "lineEndingBlank"), i[1].type = "lineEnding", r = a); - r && (o[1].end = Object.assign({}, e[r][1].start), l = e.slice(r, n), l.unshift(o), cn(e, r, n - r + 1, l)); + r && (o[1].end = Object.assign({}, e[r][1].start), l = e.slice(r, n), l.unshift(o), un(e, r, n - r + 1, l)); } } return !u; } -function jE(e, t) { +function zE(e, t) { const n = e[t][1], o = e[t][2]; let r = t - 1; const a = [], i = n._tokenizer || o.parser[n.contentType](n.start), l = i.events, s = [], u = {}; - let c, d, p = -1, f = n, m = 0, b = 0; + let c, d, p = -1, h = n, m = 0, b = 0; const y = [b]; - for (; f; ) { - for (; e[++r][1] !== f; ) + for (; h; ) { + for (; e[++r][1] !== h; ) ; - a.push(r), f._tokenizer || (c = o.sliceStream(f), f.next || c.push(null), d && i.defineSkip(f.start), f._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = !0), i.write(c), f._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = void 0)), d = f, f = f.next; + a.push(r), h._tokenizer || (c = o.sliceStream(h), h.next || c.push(null), d && i.defineSkip(h.start), h._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = !0), i.write(c), h._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = void 0)), d = h, h = h.next; } - for (f = n; ++p < l.length; ) + for (h = n; ++p < l.length; ) // Find a void token that includes a break. - l[p][0] === "exit" && l[p - 1][0] === "enter" && l[p][1].type === l[p - 1][1].type && l[p][1].start.line !== l[p][1].end.line && (b = p + 1, y.push(b), f._tokenizer = void 0, f.previous = void 0, f = f.next); - for (i.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : y.pop(), p = y.length; p--; ) { + l[p][0] === "exit" && l[p - 1][0] === "enter" && l[p][1].type === l[p - 1][1].type && l[p][1].start.line !== l[p][1].end.line && (b = p + 1, y.push(b), h._tokenizer = void 0, h.previous = void 0, h = h.next); + for (i.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : y.pop(), p = y.length; p--; ) { const g = l.slice(y[p], y[p + 1]), x = a.pop(); - s.unshift([x, x + g.length - 1]), cn(e, x, 2, g); + s.unshift([x, x + g.length - 1]), un(e, x, 2, g); } for (p = -1; ++p < s.length; ) u[m + s[p][0]] = m + s[p][1], m += s[p][1] - s[p][0] - 1; return u; } -const RE = { - tokenize: HE, - resolve: zE -}, IE = { - tokenize: PE, +const HE = { + tokenize: VE, + resolve: BE +}, PE = { + tokenize: $E, partial: !0 }; -function zE(e) { - return l5(e), e; +function BE(e) { + return d5(e), e; } -function HE(e, t) { +function VE(e, t) { let n; return o; function o(l) { @@ -27117,7 +27236,7 @@ function HE(e, t) { } function r(l) { return l === null ? a(l) : pe(l) ? e.check( - IE, + PE, i, a )(l) : (e.consume(l), r); @@ -27132,11 +27251,11 @@ function HE(e, t) { }), n = n.next, r; } } -function PE(e, t, n) { +function $E(e, t, n) { const o = this; return r; function r(i) { - return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), Pe(e, a, "linePrefix"); + return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), Be(e, a, "linePrefix"); } function a(i) { if (i === null || pe(i)) @@ -27145,58 +27264,58 @@ function PE(e, t, n) { return !o.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : e.interrupt(o.parser.constructs.flow, n, t)(i); } } -function s5(e, t, n, o, r, a, i, l, s) { +function f5(e, t, n, o, r, a, i, l, s) { const u = s || Number.POSITIVE_INFINITY; let c = 0; return d; function d(g) { - return g === 60 ? (e.enter(o), e.enter(r), e.enter(a), e.consume(g), e.exit(a), p) : g === null || g === 32 || g === 41 || Ws(g) ? n(g) : (e.enter(o), e.enter(i), e.enter(l), e.enter("chunkString", { + return g === 60 ? (e.enter(o), e.enter(r), e.enter(a), e.consume(g), e.exit(a), p) : g === null || g === 32 || g === 41 || Zs(g) ? n(g) : (e.enter(o), e.enter(i), e.enter(l), e.enter("chunkString", { contentType: "string" }), b(g)); } function p(g) { return g === 62 ? (e.enter(a), e.consume(g), e.exit(a), e.exit(r), e.exit(o), t) : (e.enter(l), e.enter("chunkString", { contentType: "string" - }), f(g)); + }), h(g)); } - function f(g) { - return g === 62 ? (e.exit("chunkString"), e.exit(l), p(g)) : g === null || g === 60 || pe(g) ? n(g) : (e.consume(g), g === 92 ? m : f); + function h(g) { + return g === 62 ? (e.exit("chunkString"), e.exit(l), p(g)) : g === null || g === 60 || pe(g) ? n(g) : (e.consume(g), g === 92 ? m : h); } function m(g) { - return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g); + return g === 60 || g === 62 || g === 92 ? (e.consume(g), h) : h(g); } function b(g) { - return !c && (g === null || g === 41 || wt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(i), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Ws(g) ? n(g) : (e.consume(g), g === 92 ? y : b); + return !c && (g === null || g === 41 || wt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(i), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Zs(g) ? n(g) : (e.consume(g), g === 92 ? y : b); } function y(g) { return g === 40 || g === 41 || g === 92 ? (e.consume(g), b) : b(g); } } -function c5(e, t, n, o, r, a) { +function h5(e, t, n, o, r, a) { const i = this; let l = 0, s; return u; - function u(f) { - return e.enter(o), e.enter(r), e.consume(f), e.exit(r), e.enter(a), c; + function u(h) { + return e.enter(o), e.enter(r), e.consume(h), e.exit(r), e.enter(a), c; } - function c(f) { - return l > 999 || f === null || f === 91 || f === 93 && !s || // To do: remove in the future once we’ve switched from + function c(h) { + return l > 999 || h === null || h === 91 || h === 93 && !s || // To do: remove in the future once we’ve switched from // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, // which doesn’t need this. // Hidden footnotes hook. /* c8 ignore next 3 */ - f === 94 && !l && "_hiddenFootnoteSupport" in i.parser.constructs ? n(f) : f === 93 ? (e.exit(a), e.enter(r), e.consume(f), e.exit(r), e.exit(o), t) : pe(f) ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), c) : (e.enter("chunkString", { + h === 94 && !l && "_hiddenFootnoteSupport" in i.parser.constructs ? n(h) : h === 93 ? (e.exit(a), e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) : pe(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), c) : (e.enter("chunkString", { contentType: "string" - }), d(f)); + }), d(h)); } - function d(f) { - return f === null || f === 91 || f === 93 || pe(f) || l++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), s || (s = !Oe(f)), f === 92 ? p : d); + function d(h) { + return h === null || h === 91 || h === 93 || pe(h) || l++ > 999 ? (e.exit("chunkString"), c(h)) : (e.consume(h), s || (s = !Ne(h)), h === 92 ? p : d); } - function p(f) { - return f === 91 || f === 92 || f === 93 ? (e.consume(f), l++, d) : d(f); + function p(h) { + return h === 91 || h === 92 || h === 93 ? (e.consume(h), l++, d) : d(h); } } -function u5(e, t, n, o, r, a) { +function p5(e, t, n, o, r, a) { let i; return l; function l(p) { @@ -27206,7 +27325,7 @@ function u5(e, t, n, o, r, a) { return p === i ? (e.enter(r), e.consume(p), e.exit(r), e.exit(o), t) : (e.enter(a), u(p)); } function u(p) { - return p === i ? (e.exit(a), s(i)) : p === null ? n(p) : pe(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Pe(e, u, "linePrefix")) : (e.enter("chunkString", { + return p === i ? (e.exit(a), s(i)) : p === null ? n(p) : pe(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Be(e, u, "linePrefix")) : (e.enter("chunkString", { contentType: "string" }), c(p)); } @@ -27217,36 +27336,36 @@ function u5(e, t, n, o, r, a) { return p === i || p === 92 ? (e.consume(p), c) : c(p); } } -function ar(e, t) { +function ir(e, t) { let n; return o; function o(r) { - return pe(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Oe(r) ? Pe( + return pe(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Ne(r) ? Be( e, o, n ? "linePrefix" : "lineSuffix" )(r) : t(r); } } -function vo(e) { +function Eo(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -const BE = { +const WE = { name: "definition", - tokenize: $E -}, VE = { - tokenize: WE, + tokenize: UE +}, ZE = { + tokenize: qE, partial: !0 }; -function $E(e, t, n) { +function UE(e, t, n) { const o = this; let r; return a; - function a(f) { - return e.enter("definition"), i(f); + function a(h) { + return e.enter("definition"), i(h); } - function i(f) { - return c5.call( + function i(h) { + return h5.call( o, e, l, @@ -27255,18 +27374,18 @@ function $E(e, t, n) { "definitionLabel", "definitionLabelMarker", "definitionLabelString" - )(f); + )(h); } - function l(f) { - return r = vo( + function l(h) { + return r = Eo( o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) - ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f); + ), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), s) : n(h); } - function s(f) { - return wt(f) ? ar(e, u)(f) : u(f); + function s(h) { + return wt(h) ? ir(e, u)(h) : u(h); } - function u(f) { - return s5( + function u(h) { + return f5( e, c, // Note: we don’t need to reset the way `markdown-rs` does. @@ -27276,25 +27395,25 @@ function $E(e, t, n) { "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString" - )(f); + )(h); } - function c(f) { - return e.attempt(VE, d, d)(f); + function c(h) { + return e.attempt(ZE, d, d)(h); } - function d(f) { - return Oe(f) ? Pe(e, p, "whitespace")(f) : p(f); + function d(h) { + return Ne(h) ? Be(e, p, "whitespace")(h) : p(h); } - function p(f) { - return f === null || pe(f) ? (e.exit("definition"), o.parser.defined.push(r), t(f)) : n(f); + function p(h) { + return h === null || pe(h) ? (e.exit("definition"), o.parser.defined.push(r), t(h)) : n(h); } } -function WE(e, t, n) { +function qE(e, t, n) { return o; function o(l) { - return wt(l) ? ar(e, r)(l) : n(l); + return wt(l) ? ir(e, r)(l) : n(l); } function r(l) { - return u5( + return p5( e, a, n, @@ -27304,17 +27423,17 @@ function WE(e, t, n) { )(l); } function a(l) { - return Oe(l) ? Pe(e, i, "whitespace")(l) : i(l); + return Ne(l) ? Be(e, i, "whitespace")(l) : i(l); } function i(l) { return l === null || pe(l) ? t(l) : n(l); } } -const ZE = { +const YE = { name: "hardBreakEscape", - tokenize: UE + tokenize: GE }; -function UE(e, t, n) { +function GE(e, t, n) { return o; function o(a) { return e.enter("hardBreakEscape"), e.consume(a), r; @@ -27323,12 +27442,12 @@ function UE(e, t, n) { return pe(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a); } } -const qE = { +const KE = { name: "headingAtx", - tokenize: GE, - resolve: YE + tokenize: QE, + resolve: XE }; -function YE(e, t) { +function XE(e, t) { let n = e.length - 2, o = 3, r, a; return e[o][1].type === "whitespace" && (o += 2), n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (o === n - 1 || n - 4 > o && e[n - 2][1].type === "whitespace") && (n -= o + 1 === n ? 2 : 4), n > o && (r = { type: "atxHeadingText", @@ -27339,14 +27458,14 @@ function YE(e, t) { start: e[o][1].start, end: e[n][1].end, contentType: "text" - }, cn(e, o, n - o + 1, [ + }, un(e, o, n - o + 1, [ ["enter", r, t], ["enter", a, t], ["exit", a, t], ["exit", r, t] ])), e; } -function GE(e, t, n) { +function QE(e, t, n) { let o = 0; return r; function r(c) { @@ -27359,7 +27478,7 @@ function GE(e, t, n) { return c === 35 && o++ < 6 ? (e.consume(c), i) : c === null || wt(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c); } function l(c) { - return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : Oe(c) ? Pe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); + return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : Ne(c) ? Be(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); } function s(c) { return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c)); @@ -27368,7 +27487,7 @@ function GE(e, t, n) { return c === null || c === 35 || wt(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u); } } -const KE = [ +const JE = [ "address", "article", "aside", @@ -27431,25 +27550,25 @@ const KE = [ "tr", "track", "ul" -], k0 = ["pre", "script", "style", "textarea"], XE = { +], A0 = ["pre", "script", "style", "textarea"], eS = { name: "htmlFlow", - tokenize: tS, - resolveTo: eS, + tokenize: rS, + resolveTo: oS, concrete: !0 -}, QE = { - tokenize: oS, +}, tS = { + tokenize: iS, partial: !0 -}, JE = { - tokenize: nS, +}, nS = { + tokenize: aS, partial: !0 }; -function eS(e) { +function oS(e) { let t = e.length; for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) ; return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; } -function tS(e, t, n) { +function rS(e, t, n) { const o = this; let r, a, i, l, s; return u; @@ -27460,12 +27579,12 @@ function tS(e, t, n) { return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(A), d; } function d(A) { - return A === 33 ? (e.consume(A), p) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), r = 3, o.interrupt ? t : v) : ln(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); + return A === 33 ? (e.consume(A), p) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), r = 3, o.interrupt ? t : v) : sn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); } function p(A) { - return A === 45 ? (e.consume(A), r = 2, f) : A === 91 ? (e.consume(A), r = 5, l = 0, m) : ln(A) ? (e.consume(A), r = 4, o.interrupt ? t : v) : n(A); + return A === 45 ? (e.consume(A), r = 2, h) : A === 91 ? (e.consume(A), r = 5, l = 0, m) : sn(A) ? (e.consume(A), r = 4, o.interrupt ? t : v) : n(A); } - function f(A) { + function h(A) { return A === 45 ? (e.consume(A), o.interrupt ? t : v) : n(A); } function m(A) { @@ -27473,12 +27592,12 @@ function tS(e, t, n) { return A === W.charCodeAt(l++) ? (e.consume(A), l === W.length ? o.interrupt ? t : P : m) : n(A); } function b(A) { - return ln(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); + return sn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); } function y(A) { if (A === null || A === 47 || A === 62 || wt(A)) { const W = A === 47, Y = i.toLowerCase(); - return !W && !a && k0.includes(Y) ? (r = 1, o.interrupt ? t(A) : P(A)) : KE.includes(i.toLowerCase()) ? (r = 6, W ? (e.consume(A), g) : o.interrupt ? t(A) : P(A)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(A) : a ? x(A) : C(A)); + return !W && !a && A0.includes(Y) ? (r = 1, o.interrupt ? t(A) : P(A)) : JE.includes(i.toLowerCase()) ? (r = 6, W ? (e.consume(A), g) : o.interrupt ? t(A) : P(A)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(A) : a ? x(A) : C(A)); } return A === 45 || _t(A) ? (e.consume(A), i += String.fromCharCode(A), y) : n(A); } @@ -27486,19 +27605,19 @@ function tS(e, t, n) { return A === 62 ? (e.consume(A), o.interrupt ? t : P) : n(A); } function x(A) { - return Oe(A) ? (e.consume(A), x) : R(A); + return Ne(A) ? (e.consume(A), x) : R(A); } function C(A) { - return A === 47 ? (e.consume(A), R) : A === 58 || A === 95 || ln(A) ? (e.consume(A), S) : Oe(A) ? (e.consume(A), C) : R(A); + return A === 47 ? (e.consume(A), R) : A === 58 || A === 95 || sn(A) ? (e.consume(A), S) : Ne(A) ? (e.consume(A), C) : R(A); } function S(A) { return A === 45 || A === 46 || A === 58 || A === 95 || _t(A) ? (e.consume(A), S) : w(A); } function w(A) { - return A === 61 ? (e.consume(A), E) : Oe(A) ? (e.consume(A), w) : C(A); + return A === 61 ? (e.consume(A), E) : Ne(A) ? (e.consume(A), w) : C(A); } function E(A) { - return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), s = A, M) : Oe(A) ? (e.consume(A), E) : _(A); + return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), s = A, M) : Ne(A) ? (e.consume(A), E) : _(A); } function M(A) { return A === s ? (e.consume(A), s = null, L) : A === null || pe(A) ? n(A) : (e.consume(A), M); @@ -27507,24 +27626,24 @@ function tS(e, t, n) { return A === null || A === 34 || A === 39 || A === 47 || A === 60 || A === 61 || A === 62 || A === 96 || wt(A) ? w(A) : (e.consume(A), _); } function L(A) { - return A === 47 || A === 62 || Oe(A) ? C(A) : n(A); + return A === 47 || A === 62 || Ne(A) ? C(A) : n(A); } function R(A) { - return A === 62 ? (e.consume(A), F) : n(A); + return A === 62 ? (e.consume(A), j) : n(A); } - function F(A) { - return A === null || pe(A) ? P(A) : Oe(A) ? (e.consume(A), F) : n(A); + function j(A) { + return A === null || pe(A) ? P(A) : Ne(A) ? (e.consume(A), j) : n(A); } function P(A) { - return A === 45 && r === 2 ? (e.consume(A), T) : A === 60 && r === 1 ? (e.consume(A), D) : A === 62 && r === 4 ? (e.consume(A), z) : A === 63 && r === 3 ? (e.consume(A), v) : A === 93 && r === 5 ? (e.consume(A), j) : pe(A) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( - QE, + return A === 45 && r === 2 ? (e.consume(A), T) : A === 60 && r === 1 ? (e.consume(A), D) : A === 62 && r === 4 ? (e.consume(A), z) : A === 63 && r === 3 ? (e.consume(A), v) : A === 93 && r === 5 ? (e.consume(A), F) : pe(A) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( + tS, B, V )(A)) : A === null || pe(A) ? (e.exit("htmlFlowData"), V(A)) : (e.consume(A), P); } function V(A) { return e.check( - JE, + nS, k, B )(A); @@ -27544,11 +27663,11 @@ function tS(e, t, n) { function I(A) { if (A === 62) { const W = i.toLowerCase(); - return k0.includes(W) ? (e.consume(A), z) : P(A); + return A0.includes(W) ? (e.consume(A), z) : P(A); } - return ln(A) && i.length < 8 ? (e.consume(A), i += String.fromCharCode(A), I) : P(A); + return sn(A) && i.length < 8 ? (e.consume(A), i += String.fromCharCode(A), I) : P(A); } - function j(A) { + function F(A) { return A === 93 ? (e.consume(A), v) : P(A); } function v(A) { @@ -27561,7 +27680,7 @@ function tS(e, t, n) { return e.exit("htmlFlow"), t(A); } } -function nS(e, t, n) { +function aS(e, t, n) { const o = this; return r; function r(i) { @@ -27571,17 +27690,17 @@ function nS(e, t, n) { return o.parser.lazy[o.now().line] ? n(i) : t(i); } } -function oS(e, t, n) { +function iS(e, t, n) { return o; function o(r) { - return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(pi, t, n); + return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(gi, t, n); } } -const rS = { +const lS = { name: "htmlText", - tokenize: aS + tokenize: sS }; -function aS(e, t, n) { +function sS(e, t, n) { const o = this; let r, a, i; return l; @@ -27589,21 +27708,21 @@ function aS(e, t, n) { return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(v), s; } function s(v) { - return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), w) : v === 63 ? (e.consume(v), C) : ln(v) ? (e.consume(v), _) : n(v); + return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), w) : v === 63 ? (e.consume(v), C) : sn(v) ? (e.consume(v), _) : n(v); } function u(v) { - return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), a = 0, m) : ln(v) ? (e.consume(v), x) : n(v); + return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), a = 0, m) : sn(v) ? (e.consume(v), x) : n(v); } function c(v) { - return v === 45 ? (e.consume(v), f) : n(v); + return v === 45 ? (e.consume(v), h) : n(v); } function d(v) { return v === null ? n(v) : v === 45 ? (e.consume(v), p) : pe(v) ? (i = d, D(v)) : (e.consume(v), d); } function p(v) { - return v === 45 ? (e.consume(v), f) : d(v); + return v === 45 ? (e.consume(v), h) : d(v); } - function f(v) { + function h(v) { return v === 62 ? T(v) : v === 45 ? p(v) : d(v); } function m(v) { @@ -27629,28 +27748,28 @@ function aS(e, t, n) { return v === 62 ? T(v) : C(v); } function w(v) { - return ln(v) ? (e.consume(v), E) : n(v); + return sn(v) ? (e.consume(v), E) : n(v); } function E(v) { return v === 45 || _t(v) ? (e.consume(v), E) : M(v); } function M(v) { - return pe(v) ? (i = M, D(v)) : Oe(v) ? (e.consume(v), M) : T(v); + return pe(v) ? (i = M, D(v)) : Ne(v) ? (e.consume(v), M) : T(v); } function _(v) { return v === 45 || _t(v) ? (e.consume(v), _) : v === 47 || v === 62 || wt(v) ? L(v) : n(v); } function L(v) { - return v === 47 ? (e.consume(v), T) : v === 58 || v === 95 || ln(v) ? (e.consume(v), R) : pe(v) ? (i = L, D(v)) : Oe(v) ? (e.consume(v), L) : T(v); + return v === 47 ? (e.consume(v), T) : v === 58 || v === 95 || sn(v) ? (e.consume(v), R) : pe(v) ? (i = L, D(v)) : Ne(v) ? (e.consume(v), L) : T(v); } function R(v) { - return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) ? (e.consume(v), R) : F(v); + return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) ? (e.consume(v), R) : j(v); } - function F(v) { - return v === 61 ? (e.consume(v), P) : pe(v) ? (i = F, D(v)) : Oe(v) ? (e.consume(v), F) : L(v); + function j(v) { + return v === 61 ? (e.consume(v), P) : pe(v) ? (i = j, D(v)) : Ne(v) ? (e.consume(v), j) : L(v); } function P(v) { - return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : pe(v) ? (i = P, D(v)) : Oe(v) ? (e.consume(v), P) : (e.consume(v), k); + return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : pe(v) ? (i = P, D(v)) : Ne(v) ? (e.consume(v), P) : (e.consume(v), k); } function V(v) { return v === r ? (e.consume(v), r = void 0, N) : v === null ? n(v) : pe(v) ? (i = V, D(v)) : (e.consume(v), V); @@ -27668,30 +27787,30 @@ function aS(e, t, n) { return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), I; } function I(v) { - return Oe(v) ? Pe( + return Ne(v) ? Be( e, - j, + F, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(v) : j(v); + )(v) : F(v); } - function j(v) { + function F(v) { return e.enter("htmlTextData"), i(v); } } -const h1 = { +const g1 = { name: "labelEnd", - tokenize: dS, - resolveTo: uS, - resolveAll: cS -}, iS = { - tokenize: fS -}, lS = { - tokenize: hS -}, sS = { - tokenize: pS + tokenize: pS, + resolveTo: hS, + resolveAll: fS +}, cS = { + tokenize: gS +}, uS = { + tokenize: mS +}, dS = { + tokenize: bS }; -function cS(e) { +function fS(e) { let t = -1; for (; ++t < e.length; ) { const n = e[t][1]; @@ -27699,7 +27818,7 @@ function cS(e) { } return e; } -function uS(e, t) { +function hS(e, t) { let n = e.length, o = 0, r, a, i, l; for (; n--; ) if (r = e[n][1], a) { @@ -27728,21 +27847,21 @@ function uS(e, t) { return l = [ ["enter", s, t], ["enter", u, t] - ], l = Ft(l, e.slice(a + 1, a + o + 3)), l = Ft(l, [["enter", c, t]]), l = Ft( + ], l = jt(l, e.slice(a + 1, a + o + 3)), l = jt(l, [["enter", c, t]]), l = jt( l, - d1( + h1( t.parser.constructs.insideSpan.null, e.slice(a + o + 4, i - 3), t ) - ), l = Ft(l, [ + ), l = jt(l, [ ["exit", c, t], e[i - 2], e[i - 1], ["exit", u, t] - ]), l = Ft(l, e.slice(i + 1)), l = Ft(l, [["exit", s, t]]), cn(e, a, e.length, l), e; + ]), l = jt(l, e.slice(i + 1)), l = jt(l, [["exit", s, t]]), un(e, a, e.length, l), e; } -function dS(e, t, n) { +function pS(e, t, n) { const o = this; let r = o.events.length, a, i; for (; r--; ) @@ -27753,7 +27872,7 @@ function dS(e, t, n) { return l; function l(p) { return a ? a._inactive ? d(p) : (i = o.parser.defined.includes( - vo( + Eo( o.sliceSerialize({ start: a.end, end: o.now() @@ -27763,18 +27882,18 @@ function dS(e, t, n) { } function s(p) { return p === 40 ? e.attempt( - iS, + cS, c, i ? c : d )(p) : p === 91 ? e.attempt( - lS, + uS, c, i ? u : d )(p) : i ? c(p) : d(p); } function u(p) { return e.attempt( - sS, + dS, c, d )(p); @@ -27786,16 +27905,16 @@ function dS(e, t, n) { return a._balanced = !0, n(p); } } -function fS(e, t, n) { +function gS(e, t, n) { return o; function o(d) { return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r; } function r(d) { - return wt(d) ? ar(e, a)(d) : a(d); + return wt(d) ? ir(e, a)(d) : a(d); } function a(d) { - return d === 41 ? c(d) : s5( + return d === 41 ? c(d) : f5( e, i, l, @@ -27808,13 +27927,13 @@ function fS(e, t, n) { )(d); } function i(d) { - return wt(d) ? ar(e, s)(d) : c(d); + return wt(d) ? ir(e, s)(d) : c(d); } function l(d) { return n(d); } function s(d) { - return d === 34 || d === 39 || d === 40 ? u5( + return d === 34 || d === 39 || d === 40 ? p5( e, u, n, @@ -27824,17 +27943,17 @@ function fS(e, t, n) { )(d) : c(d); } function u(d) { - return wt(d) ? ar(e, c)(d) : c(d); + return wt(d) ? ir(e, c)(d) : c(d); } function c(d) { return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d); } } -function hS(e, t, n) { +function mS(e, t, n) { const o = this; return r; function r(l) { - return c5.call( + return h5.call( o, e, a, @@ -27846,7 +27965,7 @@ function hS(e, t, n) { } function a(l) { return o.parser.defined.includes( - vo( + Eo( o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) ) ) ? t(l) : n(l); @@ -27855,7 +27974,7 @@ function hS(e, t, n) { return n(l); } } -function pS(e, t, n) { +function bS(e, t, n) { return o; function o(a) { return e.enter("reference"), e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), r; @@ -27864,12 +27983,12 @@ function pS(e, t, n) { return a === 93 ? (e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), e.exit("reference"), t) : n(a); } } -const gS = { +const yS = { name: "labelStartImage", - tokenize: mS, - resolveAll: h1.resolveAll + tokenize: CS, + resolveAll: g1.resolveAll }; -function mS(e, t, n) { +function CS(e, t, n) { const o = this; return r; function r(l) { @@ -27882,12 +28001,12 @@ function mS(e, t, n) { return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : t(l); } } -const bS = { +const vS = { name: "labelStartLink", - tokenize: yS, - resolveAll: h1.resolveAll + tokenize: xS, + resolveAll: g1.resolveAll }; -function yS(e, t, n) { +function xS(e, t, n) { const o = this; return r; function r(i) { @@ -27897,21 +28016,21 @@ function yS(e, t, n) { return i === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(i) : t(i); } } -const Ql = { +const Jl = { name: "lineEnding", - tokenize: CS + tokenize: wS }; -function CS(e, t) { +function wS(e, t) { return n; function n(o) { - return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), Pe(e, t, "linePrefix"); + return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), Be(e, t, "linePrefix"); } } -const Ea = { +const ka = { name: "thematicBreak", - tokenize: vS + tokenize: ES }; -function vS(e, t, n) { +function ES(e, t, n) { let o = 0, r; return a; function a(u) { @@ -27924,69 +28043,69 @@ function vS(e, t, n) { return u === r ? (e.enter("thematicBreakSequence"), s(u)) : o >= 3 && (u === null || pe(u)) ? (e.exit("thematicBreak"), t(u)) : n(u); } function s(u) { - return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Oe(u) ? Pe(e, l, "whitespace")(u) : l(u)); + return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Ne(u) ? Be(e, l, "whitespace")(u) : l(u)); } } const yt = { name: "list", - tokenize: ES, + tokenize: _S, continuation: { - tokenize: SS + tokenize: AS }, - exit: _S -}, xS = { - tokenize: AS, + exit: TS +}, SS = { + tokenize: OS, partial: !0 -}, wS = { - tokenize: kS, +}, kS = { + tokenize: MS, partial: !0 }; -function ES(e, t, n) { +function _S(e, t, n) { const o = this, r = o.events[o.events.length - 1]; let a = r && r[1].type === "linePrefix" ? r[2].sliceSerialize(r[1], !0).length : 0, i = 0; return l; - function l(f) { - const m = o.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered"); - if (m === "listUnordered" ? !o.containerState.marker || f === o.containerState.marker : Zs(f)) { + function l(h) { + const m = o.containerState.type || (h === 42 || h === 43 || h === 45 ? "listUnordered" : "listOrdered"); + if (m === "listUnordered" ? !o.containerState.marker || h === o.containerState.marker : Us(h)) { if (o.containerState.type || (o.containerState.type = m, e.enter(m, { _container: !0 })), m === "listUnordered") - return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ea, n, u)(f) : u(f); - if (!o.interrupt || f === 49) - return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f); + return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(ka, n, u)(h) : u(h); + if (!o.interrupt || h === 49) + return e.enter("listItemPrefix"), e.enter("listItemValue"), s(h); } - return n(f); + return n(h); } - function s(f) { - return Zs(f) && ++i < 10 ? (e.consume(f), s) : (!o.interrupt || i < 2) && (o.containerState.marker ? f === o.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), u(f)) : n(f); + function s(h) { + return Us(h) && ++i < 10 ? (e.consume(h), s) : (!o.interrupt || i < 2) && (o.containerState.marker ? h === o.containerState.marker : h === 41 || h === 46) ? (e.exit("listItemValue"), u(h)) : n(h); } - function u(f) { - return e.enter("listItemMarker"), e.consume(f), e.exit("listItemMarker"), o.containerState.marker = o.containerState.marker || f, e.check( - pi, + function u(h) { + return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), o.containerState.marker = o.containerState.marker || h, e.check( + gi, // Can’t be empty when interrupting. o.interrupt ? n : c, e.attempt( - xS, + SS, p, d ) ); } - function c(f) { - return o.containerState.initialBlankLine = !0, a++, p(f); + function c(h) { + return o.containerState.initialBlankLine = !0, a++, p(h); } - function d(f) { - return Oe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f); + function d(h) { + return Ne(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), p) : n(h); } - function p(f) { - return o.containerState.size = a + o.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f); + function p(h) { + return o.containerState.size = a + o.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(h); } } -function SS(e, t, n) { +function AS(e, t, n) { const o = this; - return o.containerState._closeFlow = void 0, e.check(pi, r, a); + return o.containerState._closeFlow = void 0, e.check(gi, r, a); function r(l) { - return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, Pe( + return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, Be( e, t, "listItemIndent", @@ -27994,10 +28113,10 @@ function SS(e, t, n) { )(l); } function a(l) { - return o.containerState.furtherBlankLines || !Oe(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, i(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(wS, t, i)(l)); + return o.containerState.furtherBlankLines || !Ne(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, i(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(kS, t, i)(l)); } function i(l) { - return o.containerState._closeFlow = !0, o.interrupt = void 0, Pe( + return o.containerState._closeFlow = !0, o.interrupt = void 0, Be( e, e.attempt(yt, t, n), "linePrefix", @@ -28005,9 +28124,9 @@ function SS(e, t, n) { )(l); } } -function kS(e, t, n) { +function MS(e, t, n) { const o = this; - return Pe( + return Be( e, r, "listItemIndent", @@ -28018,12 +28137,12 @@ function kS(e, t, n) { return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === o.containerState.size ? t(a) : n(a); } } -function _S(e) { +function TS(e) { e.exit(this.containerState.type); } -function AS(e, t, n) { +function OS(e, t, n) { const o = this; - return Pe( + return Be( e, r, "listItemPrefixWhitespace", @@ -28031,15 +28150,15 @@ function AS(e, t, n) { ); function r(a) { const i = o.events[o.events.length - 1]; - return !Oe(a) && i && i[1].type === "listItemPrefixWhitespace" ? t(a) : n(a); + return !Ne(a) && i && i[1].type === "listItemPrefixWhitespace" ? t(a) : n(a); } } -const _0 = { +const M0 = { name: "setextUnderline", - tokenize: TS, - resolveTo: MS + tokenize: DS, + resolveTo: NS }; -function MS(e, t) { +function NS(e, t) { let n = e.length, o, r, a; for (; n--; ) if (e[n][0] === "enter") { @@ -28057,7 +28176,7 @@ function MS(e, t) { }; return e[r][1].type = "setextHeadingText", a ? (e.splice(r, 0, ["enter", i, t]), e.splice(a + 1, 0, ["exit", e[o][1], t]), e[o][1].end = Object.assign({}, e[a][1].end)) : e[o][1] = i, e.push(["exit", i, t]), e; } -function TS(e, t, n) { +function DS(e, t, n) { const o = this; let r; return a; @@ -28074,30 +28193,30 @@ function TS(e, t, n) { return e.enter("setextHeadingLineSequence"), l(u); } function l(u) { - return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Oe(u) ? Pe(e, s, "lineSuffix")(u) : s(u)); + return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Ne(u) ? Be(e, s, "lineSuffix")(u) : s(u)); } function s(u) { return u === null || pe(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u); } } -const OS = { - tokenize: NS +const LS = { + tokenize: jS }; -function NS(e) { +function jS(e) { const t = this, n = e.attempt( // Try to parse a blank line. - pi, + gi, o, // Try to parse initial flow (essentially, only code). e.attempt( this.parser.constructs.flowInitial, r, - Pe( + Be( e, e.attempt( this.parser.constructs.flow, r, - e.attempt(RE, r) + e.attempt(HE, r) ), "linePrefix" ) @@ -28119,14 +28238,14 @@ function NS(e) { return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), t.currentConstruct = void 0, n; } } -const DS = { - resolveAll: f5() -}, LS = d5("string"), FS = d5("text"); -function d5(e) { +const FS = { + resolveAll: m5() +}, RS = g5("string"), IS = g5("text"); +function g5(e) { return { tokenize: t, - resolveAll: f5( - e === "text" ? jS : void 0 + resolveAll: m5( + e === "text" ? zS : void 0 ) }; function t(n) { @@ -28152,15 +28271,15 @@ function d5(e) { let p = -1; if (d) for (; ++p < d.length; ) { - const f = d[p]; - if (!f.previous || f.previous.call(o, o.previous)) + const h = d[p]; + if (!h.previous || h.previous.call(o, o.previous)) return !0; } return !1; } } } -function f5(e) { +function m5(e) { return t; function t(n, o) { let r = -1, a; @@ -28169,7 +28288,7 @@ function f5(e) { return e ? e(n, o) : n; } } -function jS(e, t) { +function zS(e, t) { let n = 0; for (; ++n <= e.length; ) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") { @@ -28212,7 +28331,7 @@ function jS(e, t) { } return e; } -function RS(e, t, n) { +function HS(e, t, n) { let o = Object.assign( n ? Object.assign({}, n) : { line: 1, @@ -28241,7 +28360,7 @@ function RS(e, t, n) { containerState: {}, events: [], parser: e, - sliceStream: f, + sliceStream: h, sliceSerialize: p, now: m, defineSkip: b, @@ -28249,63 +28368,63 @@ function RS(e, t, n) { }; let c = t.tokenize.call(u, s); return t.resolveAll && a.push(t), u; - function d(F) { - return i = Ft(i, F), y(), i[i.length - 1] !== null ? [] : (_(t, 0), u.events = d1(a, u.events, u), u.events); + function d(j) { + return i = jt(i, j), y(), i[i.length - 1] !== null ? [] : (_(t, 0), u.events = h1(a, u.events, u), u.events); } - function p(F, P) { - return zS(f(F), P); + function p(j, P) { + return BS(h(j), P); } - function f(F) { - return IS(i, F); + function h(j) { + return PS(i, j); } function m() { - const { line: F, column: P, offset: V, _index: k, _bufferIndex: N } = o; + const { line: j, column: P, offset: V, _index: k, _bufferIndex: N } = o; return { - line: F, + line: j, column: P, offset: V, _index: k, _bufferIndex: N }; } - function b(F) { - r[F.line] = F.column, R(); + function b(j) { + r[j.line] = j.column, R(); } function y() { - let F; + let j; for (; o._index < i.length; ) { const P = i[o._index]; if (typeof P == "string") - for (F = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); o._index === F && o._bufferIndex < P.length; ) + for (j = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); o._index === j && o._bufferIndex < P.length; ) g(P.charCodeAt(o._bufferIndex)); else g(P); } } - function g(F) { - c = c(F); + function g(j) { + c = c(j); } - function x(F) { - pe(F) ? (o.line++, o.column = 1, o.offset += F === -3 ? 2 : 1, R()) : F !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === i[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = F; + function x(j) { + pe(j) ? (o.line++, o.column = 1, o.offset += j === -3 ? 2 : 1, R()) : j !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === i[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = j; } - function C(F, P) { + function C(j, P) { const V = P || {}; - return V.type = F, V.start = m(), u.events.push(["enter", V, u]), l.push(V), V; + return V.type = j, V.start = m(), u.events.push(["enter", V, u]), l.push(V), V; } - function S(F) { + function S(j) { const P = l.pop(); return P.end = m(), u.events.push(["exit", P, u]), P; } - function w(F, P) { - _(F, P.from); + function w(j, P) { + _(j, P.from); } - function E(F, P) { + function E(j, P) { P.restore(); } - function M(F, P) { + function M(j, P) { return V; function V(k, N, T) { - let D, I, j, v; + let D, I, F, v; return Array.isArray(k) ? B(k) : "tokenize" in k ? ( // @ts-expect-error Looks like a construct. B([k]) @@ -28328,7 +28447,7 @@ function RS(e, t, n) { function A(K) { return Q; function Q(ne) { - return v = L(), j = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? Y() : K.tokenize.call( + return v = L(), F = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? Y() : K.tokenize.call( // If we do have fields, create an object w/ `context` as its // prototype. // This allows a “live binding”, which is needed for `interrupt`. @@ -28340,36 +28459,36 @@ function RS(e, t, n) { } } function W(K) { - return F(j, v), N; + return j(F, v), N; } function Y(K) { return v.restore(), ++I < D.length ? A(D[I]) : T; } } } - function _(F, P) { - F.resolveAll && !a.includes(F) && a.push(F), F.resolve && cn( + function _(j, P) { + j.resolveAll && !a.includes(j) && a.push(j), j.resolve && un( u.events, P, u.events.length - P, - F.resolve(u.events.slice(P), u) - ), F.resolveTo && (u.events = F.resolveTo(u.events, u)); + j.resolve(u.events.slice(P), u) + ), j.resolveTo && (u.events = j.resolveTo(u.events, u)); } function L() { - const F = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, N = Array.from(l); + const j = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, N = Array.from(l); return { restore: T, from: k }; function T() { - o = F, u.previous = P, u.currentConstruct = V, u.events.length = k, l = N, R(); + o = j, u.previous = P, u.currentConstruct = V, u.events.length = k, l = N, R(); } } function R() { o.line in r && o.column < 2 && (o.column = r[o.line], o.offset += r[o.line] - 1); } } -function IS(e, t) { +function PS(e, t) { const n = t.start._index, o = t.start._bufferIndex, r = t.end._index, a = t.end._bufferIndex; let i; if (n === r) @@ -28383,7 +28502,7 @@ function IS(e, t) { } return i; } -function zS(e, t) { +function BS(e, t) { let n = -1; const o = []; let r; @@ -28424,7 +28543,7 @@ function zS(e, t) { } return o.join(""); } -const HS = { +const VS = { 42: yt, 43: yt, 45: yt, @@ -28438,94 +28557,94 @@ const HS = { 55: yt, 56: yt, 57: yt, - 62: r5 -}, PS = { - 91: BE -}, BS = { - [-2]: Xl, - [-1]: Xl, - 32: Xl -}, VS = { - 35: qE, - 42: Ea, - 45: [_0, Ea], - 60: XE, - 61: _0, - 95: Ea, - 96: S0, - 126: S0 + 62: s5 }, $S = { - 38: i5, - 92: a5 + 91: WE }, WS = { - [-5]: Ql, - [-4]: Ql, - [-3]: Ql, - 33: gS, - 38: i5, - 42: Us, - 60: [yE, rS], - 91: bS, - 92: [ZE, a5], - 93: h1, - 95: Us, - 96: NE + [-2]: Ql, + [-1]: Ql, + 32: Ql }, ZS = { - null: [Us, DS] + 35: KE, + 42: ka, + 45: [M0, ka], + 60: eS, + 61: M0, + 95: ka, + 96: _0, + 126: _0 }, US = { - null: [42, 95] + 38: u5, + 92: c5 }, qS = { + [-5]: Jl, + [-4]: Jl, + [-3]: Jl, + 33: yS, + 38: u5, + 42: qs, + 60: [xE, lS], + 91: vS, + 92: [YE, c5], + 93: g1, + 95: qs, + 96: jE +}, YS = { + null: [qs, FS] +}, GS = { + null: [42, 95] +}, KS = { null: [] -}, YS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, XS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - attentionMarkers: US, - contentInitial: PS, - disable: qS, - document: HS, - flow: VS, - flowInitial: BS, - insideSpan: ZS, - string: $S, - text: WS + attentionMarkers: GS, + contentInitial: $S, + disable: KS, + document: VS, + flow: ZS, + flowInitial: WS, + insideSpan: YS, + string: US, + text: qS }, Symbol.toStringTag, { value: "Module" })); -function GS(e) { +function QS(e) { const n = ( /** @type {FullNormalizedExtension} */ - nE([YS, ...(e || {}).extensions || []]) + aE([XS, ...(e || {}).extensions || []]) ), o = { defined: [], lazy: {}, constructs: n, - content: r(dE), - document: r(hE), - flow: r(OS), - string: r(LS), - text: r(FS) + content: r(pE), + document: r(mE), + flow: r(LS), + string: r(RS), + text: r(IS) }; return o; function r(a) { return i; function i(l) { - return RS(o, a, l); + return HS(o, a, l); } } } -const A0 = /[\0\t\n\r]/g; -function KS() { +const T0 = /[\0\t\n\r]/g; +function JS() { let e = 1, t = "", n = !0, o; return r; function r(a, i, l) { const s = []; - let u, c, d, p, f; + let u, c, d, p, h; for (a = t + a.toString(i), d = 0, t = "", n && (a.charCodeAt(0) === 65279 && d++, n = void 0); d < a.length; ) { - if (A0.lastIndex = d, u = A0.exec(a), p = u && u.index !== void 0 ? u.index : a.length, f = a.charCodeAt(p), !u) { + if (T0.lastIndex = d, u = T0.exec(a), p = u && u.index !== void 0 ? u.index : a.length, h = a.charCodeAt(p), !u) { t = a.slice(d); break; } - if (f === 10 && d === p && o) + if (h === 10 && d === p && o) s.push(-3), o = void 0; else - switch (o && (s.push(-5), o = void 0), d < p && (s.push(a.slice(d, p)), e += p - d), f) { + switch (o && (s.push(-5), o = void 0), d < p && (s.push(a.slice(d, p)), e += p - d), h) { case 0: { s.push(65533), e++; break; @@ -28546,12 +28665,12 @@ function KS() { return l && (o && s.push(-5), t && s.push(t), s.push(null)), s; } } -function XS(e) { - for (; !l5(e); ) +function ek(e) { + for (; !d5(e); ) ; return e; } -function h5(e, t) { +function b5(e, t) { const n = Number.parseInt(e, t); return ( // C0 except for HT, LF, FF, CR, space. @@ -28562,20 +28681,20 @@ function h5(e, t) { n > 1114111 ? "�" : String.fromCharCode(n) ); } -const QS = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function JS(e) { - return e.replace(QS, ek); +const tk = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; +function nk(e) { + return e.replace(tk, ok); } -function ek(e, t, n) { +function ok(e, t, n) { if (t) return t; if (n.charCodeAt(0) === 35) { const r = n.charCodeAt(1), a = r === 120 || r === 88; - return h5(n.slice(a ? 2 : 1), a ? 16 : 10); + return b5(n.slice(a ? 2 : 1), a ? 16 : 10); } - return f1(n) || e; + return p1(n) || e; } -const p5 = {}.hasOwnProperty, tk = ( +const y5 = {}.hasOwnProperty, rk = ( /** * @type {( * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & @@ -28589,33 +28708,33 @@ const p5 = {}.hasOwnProperty, tk = ( * @returns {Root} */ function(e, t, n) { - return typeof t != "string" && (n = t, t = void 0), nk(n)( - XS( - GS(n).document().write(KS()(e, t, !0)) + return typeof t != "string" && (n = t, t = void 0), ak(n)( + ek( + QS(n).document().write(JS()(e, t, !0)) ) ); } ); -function nk(e) { +function ak(e) { const t = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], enter: { autolink: l(Ot), - autolinkProtocol: F, - autolinkEmail: F, - atxHeading: l($e), + autolinkProtocol: j, + autolinkEmail: j, + atxHeading: l(We), blockQuote: l(ge), - characterEscape: F, - characterReference: F, + characterEscape: j, + characterReference: j, codeFenced: l(J), codeFencedFenceInfo: s, codeFencedFenceMeta: s, codeIndented: l(J, s), codeText: l(ke, s), - codeTextData: F, - data: F, - codeFlowValue: F, + codeTextData: j, + data: j, + codeFlowValue: j, definition: l(ae), definitionDestinationString: s, definitionLabelString: s, @@ -28624,22 +28743,22 @@ function nk(e) { hardBreakEscape: l(Ee), hardBreakTrailing: l(Ee), htmlFlow: l(le, s), - htmlFlowData: F, + htmlFlowData: j, htmlText: l(le, s), - htmlTextData: F, - image: l(Ge), + htmlTextData: j, + image: l(Xe), label: s, link: l(Ot), listItem: l(Nt), listItemValue: m, - listOrdered: l(en, f), - listUnordered: l(en), - paragraph: l(tn), + listOrdered: l(tn, h), + listUnordered: l(tn), + paragraph: l(nn), reference: Y, referenceString: s, resourceDestinationString: s, resourceTitleString: s, - setextHeading: l($e), + setextHeading: l(We), strong: l(St), thematicBreak: l(Dt) }, @@ -28674,7 +28793,7 @@ function nk(e) { htmlFlowData: P, htmlText: c(T), htmlTextData: P, - image: c(j), + image: c(F), label: z, labelText: v, lineEnding: V, @@ -28694,7 +28813,7 @@ function nk(e) { thematicBreak: c() } }; - g5(t, (e || {}).mdastExtensions || []); + C5(t, (e || {}).mdastExtensions || []); const n = {}; return o; function o(Z) { @@ -28719,12 +28838,12 @@ function nk(e) { if (Z[de][0] === "enter") xe.push(de); else { - const Ve = xe.pop(); - de = r(Z, Ve, de); + const $e = xe.pop(); + de = r(Z, $e, de); } for (de = -1; ++de < Z.length; ) { - const Ve = t[Z[de][0]]; - p5.call(Ve, Z[de][1].type) && Ve[Z[de][1].type].call( + const $e = t[Z[de][0]]; + y5.call($e, Z[de][1].type) && $e[Z[de][1].type].call( Object.assign( { sliceSerialize: Z[de][2].sliceSerialize @@ -28735,8 +28854,8 @@ function nk(e) { ); } if (se.tokenStack.length > 0) { - const Ve = se.tokenStack[se.tokenStack.length - 1]; - (Ve[1] || M0).call(se, void 0, Ve[0]); + const $e = se.tokenStack[se.tokenStack.length - 1]; + ($e[1] || O0).call(se, void 0, $e[0]); } for (ee.position = { start: Tn( @@ -28758,34 +28877,34 @@ function nk(e) { return ee; } function r(Z, ee, se) { - let xe = ee - 1, de = -1, Ve = !1, tt, Qe, ht, it; + let xe = ee - 1, de = -1, $e = !1, nt, et, ht, it; for (; ++xe <= se; ) { const Se = Z[xe]; - if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (tt && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { - if (tt) { + if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (nt && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { + if (nt) { let Wt = xe; - for (Qe = void 0; Wt--; ) { + for (et = void 0; Wt--; ) { const lt = Z[Wt]; if (lt[1].type === "lineEnding" || lt[1].type === "lineEndingBlank") { if (lt[0] === "exit") continue; - Qe && (Z[Qe][1].type = "lineEndingBlank", Ve = !0), lt[1].type = "lineEnding", Qe = Wt; + et && (Z[et][1].type = "lineEndingBlank", $e = !0), lt[1].type = "lineEnding", et = Wt; } else if (!(lt[1].type === "linePrefix" || lt[1].type === "blockQuotePrefix" || lt[1].type === "blockQuotePrefixWhitespace" || lt[1].type === "blockQuoteMarker" || lt[1].type === "listItemIndent")) break; } - ht && (!Qe || ht < Qe) && (tt._spread = !0), tt.end = Object.assign( + ht && (!et || ht < et) && (nt._spread = !0), nt.end = Object.assign( {}, - Qe ? Z[Qe][1].start : Se[1].end - ), Z.splice(Qe || xe, 0, ["exit", tt, Se[2]]), xe++, se++; + et ? Z[et][1].start : Se[1].end + ), Z.splice(et || xe, 0, ["exit", nt, Se[2]]), xe++, se++; } - Se[1].type === "listItemPrefix" && (tt = { + Se[1].type === "listItemPrefix" && (nt = { type: "listItem", _spread: !1, start: Object.assign({}, Se[1].start), // @ts-expect-error: we’ll add `end` in a second. end: void 0 - }, Z.splice(xe, 0, ["enter", tt, Se[2]]), xe++, se++, ht = void 0, it = !0); + }, Z.splice(xe, 0, ["enter", nt, Se[2]]), xe++, se++, ht = void 0, it = !0); } } - return Z[ee][1]._spread = Ve, se; + return Z[ee][1]._spread = $e, se; } function a(Z, ee) { n[Z] = ee; @@ -28819,9 +28938,9 @@ function nk(e) { function d(Z, ee) { const se = this.stack.pop(), xe = this.tokenStack.pop(); if (xe) - xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || M0).call(this, Z, xe[0])); + xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || O0).call(this, Z, xe[0])); else throw new Error( - "Cannot close `" + Z.type + "` (" + rr({ + "Cannot close `" + Z.type + "` (" + ar({ start: Z.start, end: Z.end }) + "): it’s not open" @@ -28829,9 +28948,9 @@ function nk(e) { return se.position.end = Tn(Z.end), se; } function p() { - return eE(this.stack.pop()); + return oE(this.stack.pop()); } - function f() { + function h() { a("expectingFirstListItemValue", !0); } function m(Z) { @@ -28861,7 +28980,7 @@ function nk(e) { } function S(Z) { const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = vo( + se.label = ee, se.identifier = Eo( this.sliceSerialize(Z) ).toLowerCase(); } @@ -28890,7 +29009,7 @@ function nk(e) { function R() { a("setextHeadingSlurpLineEnding"); } - function F(Z) { + function j(Z) { const ee = this.stack[this.stack.length - 1]; let se = ee.children[ee.children.length - 1]; (!se || se.type !== "text") && (se = $t(), se.position = { @@ -28908,7 +29027,7 @@ function nk(e) { se.position.end = Tn(Z.end), a("atHardBreak"); return; } - !i("setextHeadingSlurpLineEnding") && t.canContainEols.includes(ee.type) && (F.call(this, Z), P.call(this, Z)); + !i("setextHeadingSlurpLineEnding") && t.canContainEols.includes(ee.type) && (j.call(this, Z), P.call(this, Z)); } function k() { a("atHardBreak", !0); @@ -28934,7 +29053,7 @@ function nk(e) { delete Z.identifier, delete Z.label; a("referenceType"); } - function j() { + function F() { const Z = this.stack[this.stack.length - 1]; if (i("inReference")) { const ee = i("referenceType") || "shortcut"; @@ -28945,7 +29064,7 @@ function nk(e) { } function v(Z) { const ee = this.sliceSerialize(Z), se = this.stack[this.stack.length - 2]; - se.label = JS(ee), se.identifier = vo(ee).toLowerCase(); + se.label = nk(ee), se.identifier = Eo(ee).toLowerCase(); } function z() { const Z = this.stack[this.stack.length - 1], ee = this.resume(), se = this.stack[this.stack.length - 1]; @@ -28971,7 +29090,7 @@ function nk(e) { } function K(Z) { const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = vo( + se.label = ee, se.identifier = Eo( this.sliceSerialize(Z) ).toLowerCase(), a("referenceType", "full"); } @@ -28981,10 +29100,10 @@ function nk(e) { function ne(Z) { const ee = this.sliceSerialize(Z), se = i("characterReferenceType"); let xe; - se ? (xe = h5( + se ? (xe = b5( ee, se === "characterReferenceMarkerNumeric" ? 10 : 16 - ), a("characterReferenceType")) : xe = f1(ee); + ), a("characterReferenceType")) : xe = p1(ee); const de = this.stack.pop(); de.value += xe, de.position.end = Tn(Z.end); } @@ -29033,7 +29152,7 @@ function nk(e) { children: [] }; } - function $e() { + function We() { return { type: "heading", depth: void 0, @@ -29051,7 +29170,7 @@ function nk(e) { value: "" }; } - function Ge() { + function Xe() { return { type: "image", title: null, @@ -29067,7 +29186,7 @@ function nk(e) { children: [] }; } - function en(Z) { + function tn(Z) { return { type: "list", ordered: Z.type === "listOrdered", @@ -29084,7 +29203,7 @@ function nk(e) { children: [] }; } - function tn() { + function nn() { return { type: "paragraph", children: [] @@ -29115,17 +29234,17 @@ function Tn(e) { offset: e.offset }; } -function g5(e, t) { +function C5(e, t) { let n = -1; for (; ++n < t.length; ) { const o = t[n]; - Array.isArray(o) ? g5(e, o) : ok(e, o); + Array.isArray(o) ? C5(e, o) : ik(e, o); } } -function ok(e, t) { +function ik(e, t) { let n; for (n in t) - if (p5.call(t, n)) { + if (y5.call(t, n)) { if (n === "canContainEols") { const o = t[n]; o && e[n].push(...o); @@ -29138,29 +29257,29 @@ function ok(e, t) { } } } -function M0(e, t) { +function O0(e, t) { throw e ? new Error( - "Cannot close `" + e.type + "` (" + rr({ + "Cannot close `" + e.type + "` (" + ar({ start: e.start, end: e.end - }) + "): a different token (`" + t.type + "`, " + rr({ + }) + "): a different token (`" + t.type + "`, " + ar({ start: t.start, end: t.end }) + ") is open" ) : new Error( - "Cannot close document, a token (`" + t.type + "`, " + rr({ + "Cannot close document, a token (`" + t.type + "`, " + ar({ start: t.start, end: t.end }) + ") is still open" ); } -function rk(e) { +function lk(e) { Object.assign(this, { Parser: (n) => { const o = ( /** @type {Options} */ this.data("settings") ); - return tk( + return rk( n, Object.assign({}, o, e, { // Note: these options are not in the readme. @@ -29172,7 +29291,7 @@ function rk(e) { ); } }); } -function ak(e, t) { +function sk(e, t) { const n = { type: "element", tagName: "blockquote", @@ -29181,12 +29300,12 @@ function ak(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function ik(e, t) { +function ck(e, t) { const n = { type: "element", tagName: "br", properties: {}, children: [] }; return e.patch(t, n), [e.applyData(t, n), { type: "text", value: ` ` }]; } -function lk(e, t) { +function uk(e, t) { const n = t.value ? t.value + ` ` : "", o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, r = {}; o && (r.className = ["language-" + o]); @@ -29198,7 +29317,7 @@ function lk(e, t) { }; return t.meta && (a.data = { meta: t.meta }), e.patch(t, a), a = e.applyData(t, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, e.patch(t, a), a; } -function sk(e, t) { +function dk(e, t) { const n = { type: "element", tagName: "del", @@ -29207,7 +29326,7 @@ function sk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function ck(e, t) { +function fk(e, t) { const n = { type: "element", tagName: "em", @@ -29216,7 +29335,7 @@ function ck(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Ho(e) { +function Po(e) { const t = []; let n = -1, o = 0, r = 0; for (; ++n < e.length; ) { @@ -29235,8 +29354,8 @@ function Ho(e) { } return t.join("") + e.slice(o); } -function m5(e, t) { - const n = String(t.identifier).toUpperCase(), o = Ho(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); +function v5(e, t) { + const n = String(t.identifier).toUpperCase(), o = Po(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); let a; r === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, a = e.footnoteOrder.length) : (e.footnoteCounts[n]++, a = r + 1); const i = e.footnoteCounts[n], l = { @@ -29259,7 +29378,7 @@ function m5(e, t) { }; return e.patch(t, s), e.applyData(t, s); } -function uk(e, t) { +function hk(e, t) { const n = e.footnoteById; let o = 1; for (; o in n; ) o++; @@ -29269,13 +29388,13 @@ function uk(e, t) { identifier: r, children: [{ type: "paragraph", children: t.children }], position: t.position - }, m5(e, { + }, v5(e, { type: "footnoteReference", identifier: r, position: t.position }); } -function dk(e, t) { +function pk(e, t) { const n = { type: "element", tagName: "h" + t.depth, @@ -29284,14 +29403,14 @@ function dk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function fk(e, t) { +function gk(e, t) { if (e.dangerous) { const n = { type: "raw", value: t.value }; return e.patch(t, n), e.applyData(t, n); } return null; } -function b5(e, t) { +function x5(e, t) { const n = t.referenceType; let o = "]"; if (n === "collapsed" ? o += "[]" : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference") @@ -29301,22 +29420,22 @@ function b5(e, t) { const i = r[r.length - 1]; return i && i.type === "text" ? i.value += o : r.push({ type: "text", value: o }), r; } -function hk(e, t) { +function mk(e, t) { const n = e.definition(t.identifier); if (!n) - return b5(e, t); - const o = { src: Ho(n.url || ""), alt: t.alt }; + return x5(e, t); + const o = { src: Po(n.url || ""), alt: t.alt }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "img", properties: o, children: [] }; return e.patch(t, r), e.applyData(t, r); } -function pk(e, t) { - const n = { src: Ho(t.url) }; +function bk(e, t) { + const n = { src: Po(t.url) }; t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, o), e.applyData(t, o); } -function gk(e, t) { +function yk(e, t) { const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; e.patch(t, n); const o = { @@ -29327,11 +29446,11 @@ function gk(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function mk(e, t) { +function Ck(e, t) { const n = e.definition(t.identifier); if (!n) - return b5(e, t); - const o = { href: Ho(n.url || "") }; + return x5(e, t); + const o = { href: Po(n.url || "") }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", @@ -29341,8 +29460,8 @@ function mk(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function bk(e, t) { - const n = { href: Ho(t.url) }; +function vk(e, t) { + const n = { href: Po(t.url) }; t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", @@ -29352,8 +29471,8 @@ function bk(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function yk(e, t, n) { - const o = e.all(t), r = n ? Ck(n) : y5(t), a = {}, i = []; +function xk(e, t, n) { + const o = e.all(t), r = n ? wk(n) : w5(t), a = {}, i = []; if (typeof t.checked == "boolean") { const c = o[0]; let d; @@ -29376,22 +29495,22 @@ function yk(e, t, n) { const u = { type: "element", tagName: "li", properties: a, children: i }; return e.patch(t, u), e.applyData(t, u); } -function Ck(e) { +function wk(e) { let t = !1; if (e.type === "list") { t = e.spread || !1; const n = e.children; let o = -1; for (; !t && ++o < n.length; ) - t = y5(n[o]); + t = w5(n[o]); } return t; } -function y5(e) { +function w5(e) { const t = e.spread; return t ?? e.children.length > 1; } -function vk(e, t) { +function Ek(e, t) { const n = {}, o = e.all(t); let r = -1; for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++r < o.length; ) { @@ -29409,7 +29528,7 @@ function vk(e, t) { }; return e.patch(t, a), e.applyData(t, a); } -function xk(e, t) { +function Sk(e, t) { const n = { type: "element", tagName: "p", @@ -29418,11 +29537,11 @@ function xk(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function wk(e, t) { +function kk(e, t) { const n = { type: "root", children: e.wrap(e.all(t)) }; return e.patch(t, n), e.applyData(t, n); } -function Ek(e, t) { +function _k(e, t) { const n = { type: "element", tagName: "strong", @@ -29431,11 +29550,11 @@ function Ek(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const p1 = C5("start"), g1 = C5("end"); -function Sk(e) { - return { start: p1(e), end: g1(e) }; +const m1 = E5("start"), b1 = E5("end"); +function Ak(e) { + return { start: m1(e), end: b1(e) }; } -function C5(e) { +function E5(e) { return t; function t(n) { const o = n && n.position && n.position[e] || {}; @@ -29449,7 +29568,7 @@ function C5(e) { }; } } -function kk(e, t) { +function Mk(e, t) { const n = e.all(t), o = n.shift(), r = []; if (o) { const i = { @@ -29466,7 +29585,7 @@ function kk(e, t) { tagName: "tbody", properties: {}, children: e.wrap(n, !0) - }, l = p1(t.children[1]), s = g1(t.children[t.children.length - 1]); + }, l = m1(t.children[1]), s = b1(t.children[t.children.length - 1]); l.line && s.line && (i.position = { start: l, end: s }), r.push(i); } const a = { @@ -29477,13 +29596,13 @@ function kk(e, t) { }; return e.patch(t, a), e.applyData(t, a); } -function _k(e, t, n) { +function Tk(e, t, n) { const o = n ? n.children : void 0, a = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", i = n && n.type === "table" ? n.align : void 0, l = i ? i.length : t.children.length; let s = -1; const u = []; for (; ++s < l; ) { - const d = t.children[s], p = {}, f = i ? i[s] : void 0; - f && (p.align = f); + const d = t.children[s], p = {}, h = i ? i[s] : void 0; + h && (p.align = h); let m = { type: "element", tagName: a, properties: p, children: [] }; d && (m.children = e.all(d), e.patch(d, m), m = e.applyData(t, m)), u.push(m); } @@ -29495,7 +29614,7 @@ function _k(e, t, n) { }; return e.patch(t, c), e.applyData(t, c); } -function Ak(e, t) { +function Ok(e, t) { const n = { type: "element", tagName: "td", @@ -29505,37 +29624,37 @@ function Ak(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const T0 = 9, O0 = 32; -function Mk(e) { +const N0 = 9, D0 = 32; +function Nk(e) { const t = String(e), n = /\r?\n|\r/g; let o = n.exec(t), r = 0; const a = []; for (; o; ) a.push( - N0(t.slice(r, o.index), r > 0, !0), + L0(t.slice(r, o.index), r > 0, !0), o[0] ), r = o.index + o[0].length, o = n.exec(t); - return a.push(N0(t.slice(r), r > 0, !1)), a.join(""); + return a.push(L0(t.slice(r), r > 0, !1)), a.join(""); } -function N0(e, t, n) { +function L0(e, t, n) { let o = 0, r = e.length; if (t) { let a = e.codePointAt(o); - for (; a === T0 || a === O0; ) + for (; a === N0 || a === D0; ) o++, a = e.codePointAt(o); } if (n) { let a = e.codePointAt(r - 1); - for (; a === T0 || a === O0; ) + for (; a === N0 || a === D0; ) r--, a = e.codePointAt(r - 1); } return r > o ? e.slice(o, r) : ""; } -function Tk(e, t) { - const n = { type: "text", value: Mk(String(t.value)) }; +function Dk(e, t) { + const n = { type: "text", value: Nk(String(t.value)) }; return e.patch(t, n), e.applyData(t, n); } -function Ok(e, t) { +function Lk(e, t) { const n = { type: "element", tagName: "hr", @@ -29544,40 +29663,40 @@ function Ok(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const Nk = { - blockquote: ak, - break: ik, - code: lk, - delete: sk, - emphasis: ck, - footnoteReference: m5, - footnote: uk, - heading: dk, - html: fk, - imageReference: hk, - image: pk, - inlineCode: gk, - linkReference: mk, - link: bk, - listItem: yk, - list: vk, - paragraph: xk, - root: wk, - strong: Ek, - table: kk, - tableCell: Ak, - tableRow: _k, - text: Tk, - thematicBreak: Ok, - toml: ca, - yaml: ca, - definition: ca, - footnoteDefinition: ca +const jk = { + blockquote: sk, + break: ck, + code: uk, + delete: dk, + emphasis: fk, + footnoteReference: v5, + footnote: hk, + heading: pk, + html: gk, + imageReference: mk, + image: bk, + inlineCode: yk, + linkReference: Ck, + link: vk, + listItem: xk, + list: Ek, + paragraph: Sk, + root: kk, + strong: _k, + table: Mk, + tableCell: Ok, + tableRow: Tk, + text: Dk, + thematicBreak: Lk, + toml: da, + yaml: da, + definition: da, + footnoteDefinition: da }; -function ca() { +function da() { return null; } -const v5 = ( +const S5 = ( /** * @type {( * ((test: PredicateTest) => AssertPredicate) & @@ -29590,22 +29709,22 @@ const v5 = ( */ function(e) { if (e == null) - return jk; + return zk; if (typeof e == "string") - return Fk(e); + return Ik(e); if (typeof e == "object") - return Array.isArray(e) ? Dk(e) : Lk(e); + return Array.isArray(e) ? Fk(e) : Rk(e); if (typeof e == "function") - return gi(e); + return mi(e); throw new Error("Expected function, string, or object as test"); } ); -function Dk(e) { +function Fk(e) { const t = []; let n = -1; for (; ++n < e.length; ) - t[n] = v5(e[n]); - return gi(o); + t[n] = S5(e[n]); + return mi(o); function o(...r) { let a = -1; for (; ++a < t.length; ) @@ -29613,8 +29732,8 @@ function Dk(e) { return !1; } } -function Lk(e) { - return gi(t); +function Rk(e) { + return mi(t); function t(n) { let o; for (o in e) @@ -29622,22 +29741,22 @@ function Lk(e) { return !0; } } -function Fk(e) { - return gi(t); +function Ik(e) { + return mi(t); function t(n) { return n && n.type === e; } } -function gi(e) { +function mi(e) { return t; function t(n, ...o) { return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...o)); } } -function jk() { +function zk() { return !0; } -const Rk = !0, D0 = !1, Ik = "skip", zk = ( +const Hk = !0, j0 = !1, Pk = "skip", Bk = ( /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29653,7 +29772,7 @@ const Rk = !0, D0 = !1, Ik = "skip", zk = ( */ function(e, t, n, o) { typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null); - const r = v5(t), a = o ? -1 : 1; + const r = S5(t), a = o ? -1 : 1; i(e, void 0, [])(); function i(l, s, u) { const c = l && typeof l == "object" ? l : {}; @@ -29671,24 +29790,24 @@ const Rk = !0, D0 = !1, Ik = "skip", zk = ( } return d; function d() { - let p = [], f, m, b; - if ((!t || r(l, s, u[u.length - 1] || null)) && (p = Hk(n(l, u)), p[0] === D0)) + let p = [], h, m, b; + if ((!t || r(l, s, u[u.length - 1] || null)) && (p = Vk(n(l, u)), p[0] === j0)) return p; - if (l.children && p[0] !== Ik) + if (l.children && p[0] !== Pk) for (m = (o ? l.children.length : -1) + a, b = u.concat(l); m > -1 && m < l.children.length; ) { - if (f = i(l.children[m], m, b)(), f[0] === D0) - return f; - m = typeof f[1] == "number" ? f[1] : m + a; + if (h = i(l.children[m], m, b)(), h[0] === j0) + return h; + m = typeof h[1] == "number" ? h[1] : m + a; } return p; } } } ); -function Hk(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [Rk, e] : [e]; +function Vk(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [Hk, e] : [e]; } -const m1 = ( +const y1 = ( /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29703,7 +29822,7 @@ const m1 = ( * @returns {void} */ function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), zk(e, t, r, o); + typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), Bk(e, t, r, o); function r(a, i) { const l = i[i.length - 1]; return n( @@ -29714,34 +29833,34 @@ const m1 = ( } } ); -function Pk(e) { +function $k(e) { return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column; } -const L0 = {}.hasOwnProperty; -function Bk(e) { +const F0 = {}.hasOwnProperty; +function Wk(e) { const t = /* @__PURE__ */ Object.create(null); if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); - return m1(e, "definition", (o) => { - const r = F0(o.identifier); - r && !L0.call(t, r) && (t[r] = o); + return y1(e, "definition", (o) => { + const r = R0(o.identifier); + r && !F0.call(t, r) && (t[r] = o); }), n; function n(o) { - const r = F0(o); - return r && L0.call(t, r) ? t[r] : null; + const r = R0(o); + return r && F0.call(t, r) ? t[r] : null; } } -function F0(e) { +function R0(e) { return String(e || "").toUpperCase(); } -const qa = {}.hasOwnProperty; -function Vk(e, t) { +const Ga = {}.hasOwnProperty; +function Zk(e, t) { const n = t || {}, o = n.allowDangerousHtml || !1, r = {}; return i.dangerous = o, i.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, i.footnoteLabel = n.footnoteLabel || "Footnotes", i.footnoteLabelTagName = n.footnoteLabelTagName || "h2", i.footnoteLabelProperties = n.footnoteLabelProperties || { className: ["sr-only"] - }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...Nk, ...n.handlers }, i.definition = Bk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = $k, i.applyData = Wk, i.one = l, i.all = s, i.wrap = Uk, i.augment = a, m1(e, "footnoteDefinition", (u) => { + }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...jk, ...n.handlers }, i.definition = Wk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = Uk, i.applyData = qk, i.one = l, i.all = s, i.wrap = Gk, i.augment = a, y1(e, "footnoteDefinition", (u) => { const c = String(u.identifier).toUpperCase(); - qa.call(r, c) || (r[c] = u); + Ga.call(r, c) || (r[c] = u); }), i; function a(u, c) { if (u && "data" in u && u.data) { @@ -29755,7 +29874,7 @@ function Vk(e, t) { } if (u) { const d = "type" in u ? u : { position: u }; - Pk(d) || (c.position = { start: p1(d), end: g1(d) }); + $k(d) || (c.position = { start: m1(d), end: b1(d) }); } return c; } @@ -29768,16 +29887,16 @@ function Vk(e, t) { }); } function l(u, c) { - return x5(i, u, c); + return k5(i, u, c); } function s(u) { - return b1(i, u); + return C1(i, u); } } -function $k(e, t) { - e.position && (t.position = Sk(e)); +function Uk(e, t) { + e.position && (t.position = Ak(e)); } -function Wk(e, t) { +function qk(e, t) { let n = t; if (e && e.data) { const o = e.data.hName, r = e.data.hChildren, a = e.data.hProperties; @@ -29790,19 +29909,19 @@ function Wk(e, t) { } return n; } -function x5(e, t, n) { +function k5(e, t, n) { const o = t && t.type; if (!o) throw new Error("Expected node, got `" + t + "`"); - return qa.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: b1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Zk(e, t); + return Ga.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: C1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Yk(e, t); } -function b1(e, t) { +function C1(e, t) { const n = []; if ("children" in t) { const o = t.children; let r = -1; for (; ++r < o.length; ) { - const a = x5(e, o[r], t); + const a = k5(e, o[r], t); if (a) { if (r && o[r - 1].type === "break" && (!Array.isArray(a) && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")), !Array.isArray(a) && a.type === "element")) { const i = a.children[0]; @@ -29814,16 +29933,16 @@ function b1(e, t) { } return n; } -function Zk(e, t) { - const n = t.data || {}, o = "value" in t && !(qa.call(n, "hProperties") || qa.call(n, "hChildren")) ? { type: "text", value: t.value } : { +function Yk(e, t) { + const n = t.data || {}, o = "value" in t && !(Ga.call(n, "hProperties") || Ga.call(n, "hChildren")) ? { type: "text", value: t.value } : { type: "element", tagName: "div", properties: {}, - children: b1(e, t) + children: C1(e, t) }; return e.patch(t, o), e.applyData(t, o); } -function Uk(e, t) { +function Gk(e, t) { const n = []; let o = -1; for (t && n.push({ type: "text", value: ` @@ -29833,14 +29952,14 @@ function Uk(e, t) { return t && e.length > 0 && n.push({ type: "text", value: ` ` }), n; } -function qk(e) { +function Kk(e) { const t = []; let n = -1; for (; ++n < e.footnoteOrder.length; ) { const o = e.footnoteById[e.footnoteOrder[n]]; if (!o) continue; - const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Ho(a.toLowerCase()); + const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Po(a.toLowerCase()); let l = 0; const s = []; for (; ++l <= e.footnoteCounts[a]; ) { @@ -29904,28 +30023,28 @@ function qk(e) { ] }; } -function w5(e, t) { - const n = Vk(e, t), o = n.one(e, null), r = qk(n); +function _5(e, t) { + const n = Zk(e, t), o = n.one(e, null), r = Kk(n); return r && o.children.push({ type: "text", value: ` ` }, r), Array.isArray(o) ? { type: "root", children: o } : o; } -const Yk = ( +const Xk = ( /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ function(e, t) { - return e && "run" in e ? Gk(e, t) : Kk(e || t); + return e && "run" in e ? Qk(e, t) : Jk(e || t); } ); -function Gk(e, t) { +function Qk(e, t) { return (n, o, r) => { - e.run(w5(n, t), o, (a) => { + e.run(_5(n, t), o, (a) => { r(a); }); }; } -function Kk(e) { - return (t) => w5(t, e); +function Jk(e) { + return (t) => _5(t, e); } -class Rr { +class zr { /** * @constructor * @param {Properties} property @@ -29936,17 +30055,17 @@ class Rr { this.property = t, this.normal = n, o && (this.space = o); } } -Rr.prototype.property = {}; -Rr.prototype.normal = {}; -Rr.prototype.space = null; -function E5(e, t) { +zr.prototype.property = {}; +zr.prototype.normal = {}; +zr.prototype.space = null; +function A5(e, t) { const n = {}, o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); - return new Rr(n, o, t); + return new zr(n, o, t); } -function qs(e) { +function Ys(e) { return e.toLowerCase(); } class Vt { @@ -29969,22 +30088,22 @@ Vt.prototype.spaceSeparated = !1; Vt.prototype.commaOrSpaceSeparated = !1; Vt.prototype.mustUseProperty = !1; Vt.prototype.defined = !1; -let Xk = 0; -const me = no(), Ke = no(), S5 = no(), te = no(), He = no(), xo = no(), kt = no(); -function no() { - return 2 ** ++Xk; +let e_ = 0; +const me = ao(), Qe = ao(), M5 = ao(), te = ao(), Pe = ao(), So = ao(), kt = ao(); +function ao() { + return 2 ** ++e_; } -const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: me, - booleanish: Ke, + booleanish: Qe, commaOrSpaceSeparated: kt, - commaSeparated: xo, + commaSeparated: So, number: te, - overloadedBoolean: S5, - spaceSeparated: He -}, Symbol.toStringTag, { value: "Module" })), Jl = Object.keys(Ys); -class y1 extends Vt { + overloadedBoolean: M5, + spaceSeparated: Pe +}, Symbol.toStringTag, { value: "Module" })), es = Object.keys(Gs); +class v1 extends Vt { /** * @constructor * @param {string} property @@ -29994,34 +30113,34 @@ class y1 extends Vt { */ constructor(t, n, o, r) { let a = -1; - if (super(t, n), j0(this, "space", r), typeof o == "number") - for (; ++a < Jl.length; ) { - const i = Jl[a]; - j0(this, Jl[a], (o & Ys[i]) === Ys[i]); + if (super(t, n), I0(this, "space", r), typeof o == "number") + for (; ++a < es.length; ) { + const i = es[a]; + I0(this, es[a], (o & Gs[i]) === Gs[i]); } } } -y1.prototype.defined = !0; -function j0(e, t, n) { +v1.prototype.defined = !0; +function I0(e, t, n) { n && (e[t] = n); } -const Qk = {}.hasOwnProperty; -function Po(e) { +const t_ = {}.hasOwnProperty; +function Bo(e) { const t = {}, n = {}; let o; for (o in e.properties) - if (Qk.call(e.properties, o)) { - const r = e.properties[o], a = new y1( + if (t_.call(e.properties, o)) { + const r = e.properties[o], a = new v1( o, e.transform(e.attributes || {}, o), r, e.space ); - e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[qs(o)] = o, n[qs(a.attribute)] = o; + e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[Ys(o)] = o, n[Ys(a.attribute)] = o; } - return new Rr(t, n, e.space); + return new zr(t, n, e.space); } -const k5 = Po({ +const T5 = Bo({ space: "xlink", transform(e, t) { return "xlink:" + t.slice(5).toLowerCase(); @@ -30035,71 +30154,71 @@ const k5 = Po({ xLinkTitle: null, xLinkType: null } -}), _5 = Po({ +}), O5 = Bo({ space: "xml", transform(e, t) { return "xml:" + t.slice(3).toLowerCase(); }, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); -function A5(e, t) { +function N5(e, t) { return t in e ? e[t] : t; } -function M5(e, t) { - return A5(e, t.toLowerCase()); +function D5(e, t) { + return N5(e, t.toLowerCase()); } -const T5 = Po({ +const L5 = Bo({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: M5, + transform: D5, properties: { xmlns: null, xmlnsXLink: null } -}), O5 = Po({ +}), j5 = Bo({ transform(e, t) { return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); }, properties: { ariaActiveDescendant: null, - ariaAtomic: Ke, + ariaAtomic: Qe, ariaAutoComplete: null, - ariaBusy: Ke, - ariaChecked: Ke, + ariaBusy: Qe, + ariaChecked: Qe, ariaColCount: te, ariaColIndex: te, ariaColSpan: te, - ariaControls: He, + ariaControls: Pe, ariaCurrent: null, - ariaDescribedBy: He, + ariaDescribedBy: Pe, ariaDetails: null, - ariaDisabled: Ke, - ariaDropEffect: He, + ariaDisabled: Qe, + ariaDropEffect: Pe, ariaErrorMessage: null, - ariaExpanded: Ke, - ariaFlowTo: He, - ariaGrabbed: Ke, + ariaExpanded: Qe, + ariaFlowTo: Pe, + ariaGrabbed: Qe, ariaHasPopup: null, - ariaHidden: Ke, + ariaHidden: Qe, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, - ariaLabelledBy: He, + ariaLabelledBy: Pe, ariaLevel: te, ariaLive: null, - ariaModal: Ke, - ariaMultiLine: Ke, - ariaMultiSelectable: Ke, + ariaModal: Qe, + ariaMultiLine: Qe, + ariaMultiSelectable: Qe, ariaOrientation: null, - ariaOwns: He, + ariaOwns: Pe, ariaPlaceholder: null, ariaPosInSet: te, - ariaPressed: Ke, - ariaReadOnly: Ke, + ariaPressed: Qe, + ariaReadOnly: Qe, ariaRelevant: null, - ariaRequired: Ke, - ariaRoleDescription: He, + ariaRequired: Qe, + ariaRoleDescription: Pe, ariaRowCount: te, ariaRowIndex: te, ariaRowSpan: te, - ariaSelected: Ke, + ariaSelected: Qe, ariaSetSize: te, ariaSort: null, ariaValueMax: te, @@ -30108,7 +30227,7 @@ const T5 = Po({ ariaValueText: null, role: null } -}), Jk = Po({ +}), n_ = Bo({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -30116,14 +30235,14 @@ const T5 = Po({ htmlfor: "for", httpequiv: "http-equiv" }, - transform: M5, + transform: D5, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. abbr: null, - accept: xo, - acceptCharset: He, - accessKey: He, + accept: So, + acceptCharset: Pe, + accessKey: Pe, action: null, allow: null, allowFullScreen: me, @@ -30133,22 +30252,22 @@ const T5 = Po({ as: null, async: me, autoCapitalize: null, - autoComplete: He, + autoComplete: Pe, autoFocus: me, autoPlay: me, - blocking: He, + blocking: Pe, capture: null, charSet: null, checked: me, cite: null, - className: He, + className: Pe, cols: te, colSpan: null, content: null, - contentEditable: Ke, + contentEditable: Qe, controls: me, - controlsList: He, - coords: te | xo, + controlsList: Pe, + coords: te | So, crossOrigin: null, data: null, dateTime: null, @@ -30158,8 +30277,8 @@ const T5 = Po({ dir: null, dirName: null, disabled: me, - download: S5, - draggable: Ke, + download: M5, + draggable: Qe, encType: null, enterKeyHint: null, fetchPriority: null, @@ -30169,14 +30288,14 @@ const T5 = Po({ formMethod: null, formNoValidate: me, formTarget: null, - headers: He, + headers: Pe, height: te, hidden: me, high: te, href: null, hrefLang: null, - htmlFor: He, - httpEquiv: He, + htmlFor: Pe, + httpEquiv: Pe, id: null, imageSizes: null, imageSrcSet: null, @@ -30186,10 +30305,10 @@ const T5 = Po({ is: null, isMap: me, itemId: null, - itemProp: He, - itemRef: He, + itemProp: Pe, + itemRef: Pe, itemScope: me, - itemType: He, + itemType: Pe, kind: null, label: null, lang: null, @@ -30302,7 +30421,7 @@ const T5 = Po({ open: me, optimum: te, pattern: null, - ping: He, + ping: Pe, placeholder: null, playsInline: me, popover: null, @@ -30312,12 +30431,12 @@ const T5 = Po({ preload: null, readOnly: me, referrerPolicy: null, - rel: He, + rel: Pe, required: me, reversed: me, rows: te, rowSpan: te, - sandbox: He, + sandbox: Pe, scope: null, scoped: me, seamless: me, @@ -30330,7 +30449,7 @@ const T5 = Po({ sizes: null, slot: null, span: te, - spellCheck: Ke, + spellCheck: Qe, src: null, srcDoc: null, srcLang: null, @@ -30345,7 +30464,7 @@ const T5 = Po({ type: null, typeMustMatch: me, useMap: null, - value: Ke, + value: Qe, width: te, wrap: null, writingSuggestions: null, @@ -30355,7 +30474,7 @@ const T5 = Po({ // Several. Use CSS `text-align` instead, aLink: null, // ``. Use CSS `a:active {color}` instead - archive: He, + archive: Pe, // ``. List of URIs to archives axis: null, // `` and ``. Use `scope` on `` @@ -30437,7 +30556,7 @@ const T5 = Po({ // `` scheme: null, // `` - scrolling: Ke, + scrolling: Qe, // ``. Use overflow in the child context standby: null, // `` @@ -30469,7 +30588,7 @@ const T5 = Po({ security: null, unselectable: null } -}), e_ = Po({ +}), o_ = Bo({ space: "svg", attributes: { accentHeight: "accent-height", @@ -30646,7 +30765,7 @@ const T5 = Po({ playbackOrder: "playbackorder", timelineBegin: "timelinebegin" }, - transform: A5, + transform: N5, properties: { about: kt, accentHeight: te, @@ -30670,7 +30789,7 @@ const T5 = Po({ by: null, calcMode: null, capHeight: te, - className: He, + className: Pe, clip: null, clipPath: null, clipPathUnits: null, @@ -30730,9 +30849,9 @@ const T5 = Po({ from: null, fx: null, fy: null, - g1: xo, - g2: xo, - glyphName: xo, + g1: So, + g2: So, + glyphName: So, glyphOrientationHorizontal: null, glyphOrientationVertical: null, glyphRef: null, @@ -30905,7 +31024,7 @@ const T5 = Po({ patternTransform: null, patternUnits: null, phase: null, - ping: He, + ping: Pe, pitch: null, playbackOrder: null, pointerEvents: null, @@ -31028,34 +31147,34 @@ const T5 = Po({ z: null, zoomAndPan: null } -}), t_ = /^data[-\w.:]+$/i, R0 = /-[a-z]/g, n_ = /[A-Z]/g; -function o_(e, t) { - const n = qs(t); +}), r_ = /^data[-\w.:]+$/i, z0 = /-[a-z]/g, a_ = /[A-Z]/g; +function i_(e, t) { + const n = Ys(t); let o = t, r = Vt; if (n in e.normal) return e.property[e.normal[n]]; - if (n.length > 4 && n.slice(0, 4) === "data" && t_.test(t)) { + if (n.length > 4 && n.slice(0, 4) === "data" && r_.test(t)) { if (t.charAt(4) === "-") { - const a = t.slice(5).replace(R0, a_); + const a = t.slice(5).replace(z0, s_); o = "data" + a.charAt(0).toUpperCase() + a.slice(1); } else { const a = t.slice(4); - if (!R0.test(a)) { - let i = a.replace(n_, r_); + if (!z0.test(a)) { + let i = a.replace(a_, l_); i.charAt(0) !== "-" && (i = "-" + i), t = "data" + i; } } - r = y1; + r = v1; } return new r(o, t); } -function r_(e) { +function l_(e) { return "-" + e.toLowerCase(); } -function a_(e) { +function s_(e) { return e.charAt(1).toUpperCase(); } -const I0 = { +const H0 = { classId: "classID", dataType: "datatype", itemId: "itemID", @@ -31073,15 +31192,15 @@ const I0 = { xLinkTitle: "xlinkTitle", xLinkType: "xlinkType", xmlnsXLink: "xmlnsXlink" -}, i_ = E5([_5, k5, T5, O5, Jk], "html"), l_ = E5([_5, k5, T5, O5, e_], "svg"); -function s_(e) { +}, c_ = A5([O5, T5, L5, j5, n_], "html"), u_ = A5([O5, T5, L5, j5, o_], "svg"); +function d_(e) { if (e.allowedElements && e.disallowedElements) throw new TypeError( "Only one of `allowedElements` and `disallowedElements` should be defined" ); if (e.allowedElements || e.disallowedElements || e.allowElement) return (t) => { - m1(t, "element", (n, o, r) => { + y1(t, "element", (n, o, r) => { const a = ( /** @type {Element|Root} */ r @@ -31092,7 +31211,7 @@ function s_(e) { }); }; } -var Gs = { exports: {} }, Le = {}; +var Ks = { exports: {} }, je = {}; /** * @license React * react-is.production.min.js @@ -31102,11 +31221,11 @@ var Gs = { exports: {} }, Le = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var z0; -function c_() { - if (z0) return Le; - z0 = 1; - var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m; +var P0; +function f_() { + if (P0) return je; + P0 = 1; + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), m; m = Symbol.for("react.module.reference"); function b(y) { if (typeof y == "object" && y !== null) { @@ -31138,37 +31257,37 @@ function c_() { } } } - return Le.ContextConsumer = i, Le.ContextProvider = a, Le.Element = e, Le.ForwardRef = s, Le.Fragment = n, Le.Lazy = p, Le.Memo = d, Le.Portal = t, Le.Profiler = r, Le.StrictMode = o, Le.Suspense = u, Le.SuspenseList = c, Le.isAsyncMode = function() { + return je.ContextConsumer = i, je.ContextProvider = a, je.Element = e, je.ForwardRef = s, je.Fragment = n, je.Lazy = p, je.Memo = d, je.Portal = t, je.Profiler = r, je.StrictMode = o, je.Suspense = u, je.SuspenseList = c, je.isAsyncMode = function() { return !1; - }, Le.isConcurrentMode = function() { + }, je.isConcurrentMode = function() { return !1; - }, Le.isContextConsumer = function(y) { + }, je.isContextConsumer = function(y) { return b(y) === i; - }, Le.isContextProvider = function(y) { + }, je.isContextProvider = function(y) { return b(y) === a; - }, Le.isElement = function(y) { + }, je.isElement = function(y) { return typeof y == "object" && y !== null && y.$$typeof === e; - }, Le.isForwardRef = function(y) { + }, je.isForwardRef = function(y) { return b(y) === s; - }, Le.isFragment = function(y) { + }, je.isFragment = function(y) { return b(y) === n; - }, Le.isLazy = function(y) { + }, je.isLazy = function(y) { return b(y) === p; - }, Le.isMemo = function(y) { + }, je.isMemo = function(y) { return b(y) === d; - }, Le.isPortal = function(y) { + }, je.isPortal = function(y) { return b(y) === t; - }, Le.isProfiler = function(y) { + }, je.isProfiler = function(y) { return b(y) === r; - }, Le.isStrictMode = function(y) { + }, je.isStrictMode = function(y) { return b(y) === o; - }, Le.isSuspense = function(y) { + }, je.isSuspense = function(y) { return b(y) === u; - }, Le.isSuspenseList = function(y) { + }, je.isSuspenseList = function(y) { return b(y) === c; - }, Le.isValidElementType = function(y) { - return typeof y == "string" || typeof y == "function" || y === n || y === r || y === o || y === u || y === c || y === f || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === d || y.$$typeof === a || y.$$typeof === i || y.$$typeof === s || y.$$typeof === m || y.getModuleId !== void 0); - }, Le.typeOf = b, Le; + }, je.isValidElementType = function(y) { + return typeof y == "string" || typeof y == "function" || y === n || y === r || y === o || y === u || y === c || y === h || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === d || y.$$typeof === a || y.$$typeof === i || y.$$typeof === s || y.$$typeof === m || y.getModuleId !== void 0); + }, je.typeOf = b, je; } var Fe = {}; /** @@ -31180,13 +31299,13 @@ var Fe = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var H0; -function u_() { - return H0 || (H0 = 1, process.env.NODE_ENV !== "production" && function() { - var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = !1, b = !1, y = !1, g = !1, x = !1, C; +var B0; +function h_() { + return B0 || (B0 = 1, process.env.NODE_ENV !== "production" && function() { + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), m = !1, b = !1, y = !1, g = !1, x = !1, C; C = Symbol.for("react.module.reference"); function S(ae) { - return !!(typeof ae == "string" || typeof ae == "function" || ae === n || ae === r || x || ae === o || ae === u || ae === c || g || ae === f || m || b || y || typeof ae == "object" && ae !== null && (ae.$$typeof === p || ae.$$typeof === d || ae.$$typeof === a || ae.$$typeof === i || ae.$$typeof === s || // This needs to include all possible module reference object + return !!(typeof ae == "string" || typeof ae == "function" || ae === n || ae === r || x || ae === o || ae === u || ae === c || g || ae === h || m || b || y || typeof ae == "object" && ae !== null && (ae.$$typeof === p || ae.$$typeof === d || ae.$$typeof === a || ae.$$typeof === i || ae.$$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. @@ -31197,16 +31316,16 @@ function u_() { var _e = ae.$$typeof; switch (_e) { case e: - var $e = ae.type; - switch ($e) { + var We = ae.type; + switch (We) { case n: case r: case o: case u: case c: - return $e; + return We; default: - var Ee = $e && $e.$$typeof; + var Ee = We && We.$$typeof; switch (Ee) { case l: case i: @@ -31224,12 +31343,12 @@ function u_() { } } } - var E = i, M = a, _ = e, L = s, R = n, F = p, P = d, V = t, k = r, N = o, T = u, D = c, I = !1, j = !1; + var E = i, M = a, _ = e, L = s, R = n, j = p, P = d, V = t, k = r, N = o, T = u, D = c, I = !1, F = !1; function v(ae) { return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function z(ae) { - return j || (j = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + return F || (F = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function B(ae) { return w(ae) === i; @@ -31267,13 +31386,13 @@ function u_() { function ke(ae) { return w(ae) === c; } - Fe.ContextConsumer = E, Fe.ContextProvider = M, Fe.Element = _, Fe.ForwardRef = L, Fe.Fragment = R, Fe.Lazy = F, Fe.Memo = P, Fe.Portal = V, Fe.Profiler = k, Fe.StrictMode = N, Fe.Suspense = T, Fe.SuspenseList = D, Fe.isAsyncMode = v, Fe.isConcurrentMode = z, Fe.isContextConsumer = B, Fe.isContextProvider = A, Fe.isElement = W, Fe.isForwardRef = Y, Fe.isFragment = K, Fe.isLazy = Q, Fe.isMemo = ne, Fe.isPortal = oe, Fe.isProfiler = U, Fe.isStrictMode = ge, Fe.isSuspense = J, Fe.isSuspenseList = ke, Fe.isValidElementType = S, Fe.typeOf = w; + Fe.ContextConsumer = E, Fe.ContextProvider = M, Fe.Element = _, Fe.ForwardRef = L, Fe.Fragment = R, Fe.Lazy = j, Fe.Memo = P, Fe.Portal = V, Fe.Profiler = k, Fe.StrictMode = N, Fe.Suspense = T, Fe.SuspenseList = D, Fe.isAsyncMode = v, Fe.isConcurrentMode = z, Fe.isContextConsumer = B, Fe.isContextProvider = A, Fe.isElement = W, Fe.isForwardRef = Y, Fe.isFragment = K, Fe.isLazy = Q, Fe.isMemo = ne, Fe.isPortal = oe, Fe.isProfiler = U, Fe.isStrictMode = ge, Fe.isSuspense = J, Fe.isSuspenseList = ke, Fe.isValidElementType = S, Fe.typeOf = w; }()), Fe; } -process.env.NODE_ENV === "production" ? Gs.exports = c_() : Gs.exports = u_(); -var d_ = Gs.exports; -const f_ = /* @__PURE__ */ dn(d_); -function h_(e) { +process.env.NODE_ENV === "production" ? Ks.exports = f_() : Ks.exports = h_(); +var p_ = Ks.exports; +const g_ = /* @__PURE__ */ fn(p_); +function m_(e) { const t = ( // @ts-expect-error looks like a node. e && typeof e == "object" && e.type === "text" ? ( @@ -31283,26 +31402,26 @@ function h_(e) { ); return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === ""; } -function p_(e) { +function b_(e) { return e.join(" ").trim(); } -function g_(e, t) { +function y_(e, t) { const n = {}; return (e[e.length - 1] === "" ? [...e, ""] : e).join( (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ") ).trim(); } -var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ = /^\s*/, y_ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, C_ = /^:\s*/, v_ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, x_ = /^[;\s]*/, w_ = /^\s+|\s+$/g, E_ = ` -`, B0 = "/", V0 = "*", Vn = "", S_ = "comment", k_ = "declaration", __ = function(e, t) { +var x1 = { exports: {} }, V0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, C_ = /\n/g, v_ = /^\s*/, x_ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, w_ = /^:\s*/, E_ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, S_ = /^[;\s]*/, k_ = /^\s+|\s+$/g, __ = ` +`, $0 = "/", W0 = "*", Wn = "", A_ = "comment", M_ = "declaration", T_ = function(e, t) { if (typeof e != "string") throw new TypeError("First argument must be a string"); if (!e) return []; t = t || {}; var n = 1, o = 1; function r(m) { - var b = m.match(m_); + var b = m.match(C_); b && (n += b.length); - var y = m.lastIndexOf(E_); + var y = m.lastIndexOf(__); o = ~y ? m.length - y : o + m.length; } function a() { @@ -31329,7 +31448,7 @@ var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ } } function u() { - s(b_); + s(v_); } function c(m) { var b; @@ -31339,76 +31458,76 @@ var C1 = { exports: {} }, P0 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, m_ = /\n/g, b_ } function d() { var m = a(); - if (!(B0 != e.charAt(0) || V0 != e.charAt(1))) { - for (var b = 2; Vn != e.charAt(b) && (V0 != e.charAt(b) || B0 != e.charAt(b + 1)); ) + if (!($0 != e.charAt(0) || W0 != e.charAt(1))) { + for (var b = 2; Wn != e.charAt(b) && (W0 != e.charAt(b) || $0 != e.charAt(b + 1)); ) ++b; - if (b += 2, Vn === e.charAt(b - 1)) + if (b += 2, Wn === e.charAt(b - 1)) return l("End of comment missing"); var y = e.slice(2, b - 2); return o += 2, r(y), e = e.slice(b), o += 2, m({ - type: S_, + type: A_, comment: y }); } } function p() { - var m = a(), b = s(y_); + var m = a(), b = s(x_); if (b) { - if (d(), !s(C_)) return l("property missing ':'"); - var y = s(v_), g = m({ - type: k_, - property: $0(b[0].replace(P0, Vn)), - value: y ? $0(y[0].replace(P0, Vn)) : Vn + if (d(), !s(w_)) return l("property missing ':'"); + var y = s(E_), g = m({ + type: M_, + property: Z0(b[0].replace(V0, Wn)), + value: y ? Z0(y[0].replace(V0, Wn)) : Wn }); - return s(x_), g; + return s(S_), g; } } - function f() { + function h() { var m = []; c(m); for (var b; b = p(); ) b !== !1 && (m.push(b), c(m)); return m; } - return u(), f(); + return u(), h(); }; -function $0(e) { - return e ? e.replace(w_, Vn) : Vn; +function Z0(e) { + return e ? e.replace(k_, Wn) : Wn; } -var A_ = __; -function N5(e, t) { +var O_ = T_; +function F5(e, t) { var n = null; if (!e || typeof e != "string") return n; - for (var o, r = A_(e), a = typeof t == "function", i, l, s = 0, u = r.length; s < u; s++) + for (var o, r = O_(e), a = typeof t == "function", i, l, s = 0, u = r.length; s < u; s++) o = r[s], i = o.property, l = o.value, a ? t(i, l, o) : l && (n || (n = {}), n[i] = l); return n; } -C1.exports = N5; -C1.exports.default = N5; -var M_ = C1.exports; -const T_ = /* @__PURE__ */ dn(M_), Ks = {}.hasOwnProperty, O_ = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); -function D5(e, t) { +x1.exports = F5; +x1.exports.default = F5; +var N_ = x1.exports; +const D_ = /* @__PURE__ */ fn(N_), Xs = {}.hasOwnProperty, L_ = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); +function R5(e, t) { const n = []; let o = -1, r; for (; ++o < t.children.length; ) - r = t.children[o], r.type === "element" ? n.push(N_(e, r, o, t)) : r.type === "text" ? (t.type !== "element" || !O_.has(t.tagName) || !h_(r)) && n.push(r.value) : r.type === "raw" && !e.options.skipHtml && n.push(r.value); + r = t.children[o], r.type === "element" ? n.push(j_(e, r, o, t)) : r.type === "text" ? (t.type !== "element" || !L_.has(t.tagName) || !m_(r)) && n.push(r.value) : r.type === "raw" && !e.options.skipHtml && n.push(r.value); return n; } -function N_(e, t, n, o) { - const r = e.options, a = r.transformLinkUri === void 0 ? Lw : r.transformLinkUri, i = e.schema, l = t.tagName, s = {}; +function j_(e, t, n, o) { + const r = e.options, a = r.transformLinkUri === void 0 ? Rw : r.transformLinkUri, i = e.schema, l = t.tagName, s = {}; let u = i, c; - if (i.space === "html" && l === "svg" && (u = l_, e.schema = u), t.properties) + if (i.space === "html" && l === "svg" && (u = u_, e.schema = u), t.properties) for (c in t.properties) - Ks.call(t.properties, c) && L_(s, c, t.properties[c], e); + Xs.call(t.properties, c) && R_(s, c, t.properties[c], e); (l === "ol" || l === "ul") && e.listDepth++; - const d = D5(e, t); + const d = R5(e, t); (l === "ol" || l === "ul") && e.listDepth--, e.schema = i; const p = t.position || { start: { line: null, column: null, offset: null }, end: { line: null, column: null, offset: null } - }, f = r.components && Ks.call(r.components, l) ? r.components[l] : l, m = typeof f == "string" || f === $.Fragment; - if (!f_.isValidElementType(f)) + }, h = r.components && Xs.call(r.components, l) ? r.components[l] : l, m = typeof h == "string" || h === $.Fragment; + if (!g_.isValidElementType(h)) throw new TypeError( `Component for name \`${l}\` not defined or is not renderable` ); @@ -31425,12 +31544,12 @@ function N_(e, t, n, o) { String(s.alt || ""), typeof s.title == "string" ? s.title : null )), !m && l === "li" && o.type === "element") { - const b = D_(t); - s.checked = b && b.properties ? !!b.properties.checked : null, s.index = es(o, t), s.ordered = o.tagName === "ol"; + const b = F_(t); + s.checked = b && b.properties ? !!b.properties.checked : null, s.index = ts(o, t), s.ordered = o.tagName === "ol"; } - return !m && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = l === "th")), !m && l === "tr" && o.type === "element" && (s.isHeader = o.tagName === "thead"), r.sourcePos && (s["data-sourcepos"] = R_(p)), !m && r.rawSourcePos && (s.sourcePosition = t.position), !m && r.includeElementIndex && (s.index = es(o, t), s.siblingCount = es(o)), m || (s.node = t), d.length > 0 ? $.createElement(f, s, d) : $.createElement(f, s); + return !m && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = l === "th")), !m && l === "tr" && o.type === "element" && (s.isHeader = o.tagName === "thead"), r.sourcePos && (s["data-sourcepos"] = H_(p)), !m && r.rawSourcePos && (s.sourcePosition = t.position), !m && r.includeElementIndex && (s.index = ts(o, t), s.siblingCount = ts(o)), m || (s.node = t), d.length > 0 ? $.createElement(h, s, d) : $.createElement(h, s); } -function D_(e) { +function F_(e) { let t = -1; for (; ++t < e.children.length; ) { const n = e.children[t]; @@ -31439,33 +31558,33 @@ function D_(e) { } return null; } -function es(e, t) { +function ts(e, t) { let n = -1, o = 0; for (; ++n < e.children.length && e.children[n] !== t; ) e.children[n].type === "element" && o++; return o; } -function L_(e, t, n, o) { - const r = o_(o.schema, t); +function R_(e, t, n, o) { + const r = i_(o.schema, t); let a = n; - a == null || a !== a || (Array.isArray(a) && (a = r.commaSeparated ? g_(a) : p_(a)), r.property === "style" && typeof a == "string" && (a = F_(a)), r.space && r.property ? e[Ks.call(I0, r.property) ? I0[r.property] : r.property] = a : r.attribute && (e[r.attribute] = a)); + a == null || a !== a || (Array.isArray(a) && (a = r.commaSeparated ? y_(a) : b_(a)), r.property === "style" && typeof a == "string" && (a = I_(a)), r.space && r.property ? e[Xs.call(H0, r.property) ? H0[r.property] : r.property] = a : r.attribute && (e[r.attribute] = a)); } -function F_(e) { +function I_(e) { const t = {}; try { - T_(e, n); + D_(e, n); } catch { } return t; function n(o, r) { const a = o.slice(0, 4) === "-ms-" ? `ms-${o.slice(4)}` : o; - t[a.replace(/-([a-z])/g, j_)] = r; + t[a.replace(/-([a-z])/g, z_)] = r; } } -function j_(e, t) { +function z_(e, t) { return t.toUpperCase(); } -function R_(e) { +function H_(e) { return [ e.start.line, ":", @@ -31476,7 +31595,7 @@ function R_(e) { e.end.column ].map(String).join(""); } -const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", ua = { +const U0 = {}.hasOwnProperty, P_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", fa = { plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" }, renderers: { to: "components", id: "change-renderers-to-components" }, astPlugins: { id: "remove-buggy-html-in-markdown-parser" }, @@ -31500,18 +31619,18 @@ const W0 = {}.hasOwnProperty, I_ = "https://github.com/remarkjs/react-markdown/b id: "change-includenodeindex-to-includeelementindex" } }; -function L5(e) { - for (const a in ua) - if (W0.call(ua, a) && W0.call(e, a)) { - const i = ua[a]; +function I5(e) { + for (const a in fa) + if (U0.call(fa, a) && U0.call(e, a)) { + const i = fa[a]; console.warn( - `[react-markdown] Warning: please ${i.to ? `use \`${i.to}\` instead of` : "remove"} \`${a}\` (see <${I_}#${i.id}> for more info)` - ), delete ua[a]; + `[react-markdown] Warning: please ${i.to ? `use \`${i.to}\` instead of` : "remove"} \`${a}\` (see <${P_}#${i.id}> for more info)` + ), delete fa[a]; } - const t = Gw().use(rk).use(e.remarkPlugins || []).use(Yk, { + const t = Qw().use(lk).use(e.remarkPlugins || []).use(Xk, { ...e.remarkRehypeOptions, allowDangerousHtml: !0 - }).use(e.rehypePlugins || []).use(s_, e), n = new Jf(); + }).use(e.rehypePlugins || []).use(d_, e), n = new o5(); typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn( `[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)` ); @@ -31521,11 +31640,11 @@ function L5(e) { let r = $.createElement( $.Fragment, {}, - D5({ options: e, schema: i_, listDepth: 0 }, o) + R5({ options: e, schema: c_, listDepth: 0 }, o) ); return e.className && (r = $.createElement("div", { className: e.className }, r)), r; } -L5.propTypes = { +I5.propTypes = { // Core options: children: q.string, // Layout options: @@ -31584,7 +31703,7 @@ L5.propTypes = { transformImageUri: q.func, components: q.object }; -const z_ = ({ chat: e }) => { +const B_ = ({ chat: e }) => { var s; const [t, n] = ce(!0), { originData: { extra: o } @@ -31593,56 +31712,56 @@ const z_ = ({ chat: e }) => { return null; const r = () => n((u) => !u), [a, ...i] = o.statusUpdates.filter( (u) => u.type === "info" - ), l = e.loading ? /* @__PURE__ */ h.jsx(Xs, { size: "sm" }) : /* @__PURE__ */ h.jsx(_2, {}); - return /* @__PURE__ */ h.jsxs(zt, { className: u1.statusUpdates, children: [ - /* @__PURE__ */ h.jsxs(Lo, { color: "primary", onClick: r, children: [ - /* @__PURE__ */ h.jsxs("span", { children: [ + ), l = e.loading ? /* @__PURE__ */ f.jsx(Qs, { size: "sm" }) : /* @__PURE__ */ f.jsx(M2, {}); + return /* @__PURE__ */ f.jsxs(zt, { className: f1.statusUpdates, children: [ + /* @__PURE__ */ f.jsxs(Ro, { color: "primary", onClick: r, children: [ + /* @__PURE__ */ f.jsxs("span", { children: [ l, " ", a.message ] }), - t ? /* @__PURE__ */ h.jsx(wd, {}) : /* @__PURE__ */ h.jsx(Ed, {}) + t ? /* @__PURE__ */ f.jsx(kd, {}) : /* @__PURE__ */ f.jsx(_d, {}) ] }), - i.length ? /* @__PURE__ */ h.jsx(K0, { isOpen: t, children: /* @__PURE__ */ h.jsx(zt, { children: /* @__PURE__ */ h.jsx(un, { children: /* @__PURE__ */ h.jsx(X5, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ h.jsxs("li", { children: [ - /* @__PURE__ */ h.jsx(_2, {}), + i.length ? /* @__PURE__ */ f.jsx(Q0, { isOpen: t, children: /* @__PURE__ */ f.jsx(zt, { children: /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsx(t4, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ f.jsxs("li", { children: [ + /* @__PURE__ */ f.jsx(M2, {}), " ", - /* @__PURE__ */ h.jsx("div", { children: /* @__PURE__ */ h.jsx(L5, { children: u.message.trim().replace(/```/g, "\n```") }) }) + /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(I5, { children: u.message.trim().replace(/```/g, "\n```") }) }) ] }, u.id)) }) }) }) }) : null ] }); }; -var da, H_ = new Uint8Array(16); -function P_() { - if (!da && (da = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !da)) +var ha, V_ = new Uint8Array(16); +function $_() { + if (!ha && (ha = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !ha)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); - return da(H_); + return ha(V_); } -const B_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -function V_(e) { - return typeof e == "string" && B_.test(e); +const W_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; +function Z_(e) { + return typeof e == "string" && W_.test(e); } var ct = []; -for (var ts = 0; ts < 256; ++ts) - ct.push((ts + 256).toString(16).substr(1)); -function $_(e) { +for (var ns = 0; ns < 256; ++ns) + ct.push((ns + 256).toString(16).substr(1)); +function U_(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = (ct[e[t + 0]] + ct[e[t + 1]] + ct[e[t + 2]] + ct[e[t + 3]] + "-" + ct[e[t + 4]] + ct[e[t + 5]] + "-" + ct[e[t + 6]] + ct[e[t + 7]] + "-" + ct[e[t + 8]] + ct[e[t + 9]] + "-" + ct[e[t + 10]] + ct[e[t + 11]] + ct[e[t + 12]] + ct[e[t + 13]] + ct[e[t + 14]] + ct[e[t + 15]]).toLowerCase(); - if (!V_(n)) + if (!Z_(n)) throw TypeError("Stringified UUID is invalid"); return n; } -function W_(e, t, n) { +function q_(e, t, n) { e = e || {}; - var o = e.random || (e.rng || P_)(); - return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, $_(o); + var o = e.random || (e.rng || $_)(); + return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, U_(o); } -const Z_ = "_citations_18435_1", U_ = { - citations: Z_ -}, q_ = ({ +const Y_ = "_citations_18435_1", G_ = { + citations: Y_ +}, K_ = ({ citations: e, frontendUrl: t -}) => e != null && e.length ? /* @__PURE__ */ h.jsxs(Je, { className: U_.citations, children: [ +}) => e != null && e.length ? /* @__PURE__ */ f.jsxs(Ke, { className: G_.citations, children: [ "Learnings applied:", - /* @__PURE__ */ h.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, o) => /* @__PURE__ */ h.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ h.jsx( - od, + /* @__PURE__ */ f.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, o) => /* @__PURE__ */ f.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ f.jsx( + ld, { tag: "a", href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`, @@ -31650,7 +31769,7 @@ const Z_ = "_citations_18435_1", U_ = { children: o + 1 } ) }, n.id)) }) -] }) : null, xA = ({ +] }) : null, SA = ({ loading: e, onRequest: t, sessionId: n, @@ -31672,7 +31791,7 @@ const Z_ = "_citations_18435_1", U_ = { var y, g, x, C; const b = (y = i.current) == null ? void 0 : y.getChatLoadingId(); if (console.log("onStatusUpdate", m, b), b) { - const S = (g = i.current) == null ? void 0 : g.getChatById(b), w = S != null && S.extra ? { ...S.extra } : {}, E = m.id || W_(); + const S = (g = i.current) == null ? void 0 : g.getChatById(b), w = S != null && S.extra ? { ...S.extra } : {}, E = m.id || q_(); w.statusUpdates = w.statusUpdates ? [{ ...m, id: E }, ...w.statusUpdates] : [{ ...m, id: E }], (x = i.current) == null || x.setMessageValue(b, "extra", w), (C = i.current) == null || C.setMessageValue( b, "content", @@ -31697,7 +31816,7 @@ const Z_ = "_citations_18435_1", U_ = { content: (g = b.content) == null ? void 0 : g.replace(/\\\$/g, "$").replace(/\$/g, "\\$") }); }, 100); - }, f = () => { + }, h = () => { var b; const m = (b = i.current) == null ? void 0 : b.getChats(); m == null || m.forEach((y) => { @@ -31705,14 +31824,14 @@ const Z_ = "_citations_18435_1", U_ = { return (g = i.current) == null ? void 0 : g.deleteMessage(y.id); }); }; - return /* @__PURE__ */ h.jsx( - a4, + return /* @__PURE__ */ f.jsx( + c4, { actions: { render: () => [ - /* @__PURE__ */ h.jsxs(Ie, { onClick: f, outline: !0, color: "primary", size: "sm", children: [ + /* @__PURE__ */ f.jsxs(Re, { onClick: h, outline: !0, color: "primary", size: "sm", children: [ "Clear chat ", - /* @__PURE__ */ h.jsx(xd, { className: "align-middle" }) + /* @__PURE__ */ f.jsx(pc, { className: "align-middle" }) ] }) ] }, @@ -31720,35 +31839,35 @@ const Z_ = "_citations_18435_1", U_ = { request: d, appStyle: { height: "100%", width: "100%" }, assistantMeta: { - avatar: d8, + avatar: p8, name: "Altimate" }, helloMessage: "Hello, how are you??", userMeta: { - avatar: f8, + avatar: g8, name: "User" }, loading: e, - className: u1.chatbot, + className: f1.chatbot, chatRef: i, onChatEnd: p, chatItemRenderConfig: { contentRender: (m, b) => { var g, x, C; const y = (C = (x = (g = m.originData) == null ? void 0 : g.extra) == null ? void 0 : x.statusUpdates) == null ? void 0 : C.find((S) => S.type === "citations"); - return /* @__PURE__ */ h.jsxs("div", { children: [ - /* @__PURE__ */ h.jsx(z_, { chat: m }), + return /* @__PURE__ */ f.jsxs("div", { children: [ + /* @__PURE__ */ f.jsx(B_, { chat: m }), b, - /* @__PURE__ */ h.jsx(q_, { citations: y == null ? void 0 : y.citations, frontendUrl: r }) + /* @__PURE__ */ f.jsx(K_, { citations: y == null ? void 0 : y.citations, frontendUrl: r }) ] }); }, render: (m, b, y) => { var x; const g = m.loading || !o || ((x = m.originData) == null ? void 0 : x.role) !== "assistant"; - return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [ + return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ y, - g ? null : /* @__PURE__ */ h.jsx( - Dw, + g ? null : /* @__PURE__ */ f.jsx( + Fw, { onFollowupRequest: o, sessionId: s @@ -31759,7 +31878,7 @@ const Z_ = "_citations_18435_1", U_ = { }, markdownProps: { components: { - pre: ({ node: m, className: b, children: y, ...g }) => /* @__PURE__ */ h.jsx("pre", { ...g, className: b, children: y }) + pre: ({ node: m, className: b, children: y, ...g }) => /* @__PURE__ */ f.jsx("pre", { ...g, className: b, children: y }) } }, ...a @@ -31767,46 +31886,47 @@ const Z_ = "_citations_18435_1", U_ = { ); }; export { - je as A, - od as B, - Mr as C, - dA as D, - qf as E, - s1 as F, - uo as G, - Cw as H, - Un as I, - Bn as J, - xa as K, - Fo as L, - hi as M, - gw as N, - c1 as P, + Me as A, + ld as B, + Tr as C, + pA as D, + t5 as E, + u1 as F, + po as G, + Aw as H, + jn as I, + $n as J, + Ea as K, + In as L, + Rr as M, + Kf as N, + bw as O, + d1 as P, Sn as T, ze as a, - sA as b, - cA as c, - oA as d, + dA as b, + fA as c, + iA as d, rc as e, xn as f, - h6 as g, + m6 as g, nc as h, - Bd as i, - h as j, - m9 as k, - gA as l, - Xe as m, - bx as n, - xA as o, - Nw as p, - q_ as q, - mA as r, - lA as s, - bA as t, + Zd as i, + f as j, + y9 as k, + yA as l, + Je as m, + Cx as n, + SA as o, + jw as p, + K_ as q, + CA as r, + uA as s, + vA as t, Pt as u, - yA as v, - vw as w, - lw as x, - CA as y, - vA as z + xA as v, + Mw as w, + cw as x, + wA as y, + EA as z }; diff --git a/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx index 75ad6d44a..a21a332ff 100644 --- a/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx +++ b/webview_panels/src/modules/healthCheck/ProjectHealthNewCheckButton.tsx @@ -1,10 +1,10 @@ import { CoachForm, - ProjectGovernorCheckConfirmationResponse, TaskLabels, TeammateActions, useTeamMateContext, } from "@lib"; +import useAppContext from "@modules/app/useAppContext"; import { vscode } from "@modules/vscode"; import { Drawer, DrawerRef } from "@uicore"; import { useRef } from "react"; @@ -18,11 +18,18 @@ const ProjectHealthNewCheckButton = ({ }): JSX.Element | null => { const drawerRef = useRef(null); const { dispatch } = useTeamMateContext(); + const { + state: { + tenantInfo: { frontendUrl, teammatesEnabled }, + }, + } = useAppContext(); const onOpen = () => { dispatch(TeammateActions.setShowCoachingForm(true)); }; + if (!teammatesEnabled) return null; + return ( { + onClose={() => { drawerRef.current?.close(); - if (data?.frontend_url) + if (frontendUrl) vscode.postMessage({ command: "openURL", - url: `${data.frontend_url}/teammates/${TaskLabels.ProjectGovernor}`, + url: `${frontendUrl}/teammates/${TaskLabels.ProjectGovernor}`, }); }} extra={extra} From 4e0404f6c220d1d377aea1ead53b96731423b7f4 Mon Sep 17 00:00:00 2001 From: Saravanan Date: Thu, 14 Nov 2024 16:30:58 +0530 Subject: [PATCH 04/17] fix: backend integration --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 57b8ca024..c1dbf31b3 100644 --- a/package.json +++ b/package.json @@ -1191,8 +1191,8 @@ "postinstall": "node postInstall.js", "prepare": "husky install", "vscode:prepublish": "npm run panel:webviews && npm run panel:lineage && webpack --mode production && node prepareBuild.js", - "webpack": "npm run panel:webviews", - "webpack-dev": "npm run panel:webviews", + "webpack": "npm run panel:webviews && npm run panel:lineage && webpack --mode development", + "webpack-dev": "npm run panel:webviews && npm run panel:lineage && webpack --mode development --watch", "watch": "concurrently \"npm:watch --prefix ./new_lineage_panel\" \"npm:watch --prefix ./webview_panels\" \"webpack --mode development --watch\"", "test-compile": "tsc -p ./", "lint": "eslint src --ext ts", From 767a2ed26d2f58a98dd8007882449db485934cfb Mon Sep 17 00:00:00 2001 From: Saravanan Date: Mon, 18 Nov 2024 13:42:39 +0530 Subject: [PATCH 05/17] fix: datapilot cli integration --- dbt_healthcheck.py | 7 ++++++- src/altimate.ts | 2 +- src/dbt_client/dbtCloudIntegration.ts | 3 ++- src/dbt_client/dbtCoreIntegration.ts | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dbt_healthcheck.py b/dbt_healthcheck.py index 51854f5cf..d04ddbce2 100644 --- a/dbt_healthcheck.py +++ b/dbt_healthcheck.py @@ -1,5 +1,7 @@ +from typing import Optional + def project_healthcheck( - manifest_path, catalog_path=None, config_path=None, config=None + manifest_path, catalog_path=None, config_path=None, config=None, token=None, tenant=None, backend_url: Optional[str] = None, ): try: import logging @@ -20,6 +22,9 @@ def project_healthcheck( manifest=manifest, catalog=catalog, config=config, + token=token, + tenant=tenant, + backend_url=backend_url, ) reports = insight_generator.run() diff --git a/src/altimate.ts b/src/altimate.ts index bd44606d9..8bd14c8c2 100644 --- a/src/altimate.ts +++ b/src/altimate.ts @@ -334,7 +334,7 @@ export interface ConversationGroup { @provideSingleton(AltimateRequest) export class AltimateRequest { - private static ALTIMATE_URL = workspace + public static ALTIMATE_URL = workspace .getConfiguration("dbt") .get("altimateUrl", "https://api.myaltimate.com"); diff --git a/src/dbt_client/dbtCloudIntegration.ts b/src/dbt_client/dbtCloudIntegration.ts index 55992193f..875d3b8cf 100644 --- a/src/dbt_client/dbtCloudIntegration.ts +++ b/src/dbt_client/dbtCloudIntegration.ts @@ -206,6 +206,7 @@ export class DBTCloudProjectIntegration private validationProvider: ValidationProvider, private deferToProdService: DeferToProdService, private projectRoot: Uri, + private altimateRequest: AltimateRequest, ) { this.terminal.debug( "DBTCloudProjectIntegration", @@ -1189,7 +1190,7 @@ export class DBTCloudProjectIntegration this.throwBridgeErrorIfAvailable(); const result = await this.python?.lock( (python) => - python!`to_dict(project_healthcheck(${manifestPath}, ${catalogPath}, ${configPath}, ${config}))`, + python!`to_dict(project_healthcheck(${manifestPath}, ${catalogPath}, ${configPath}, ${config}, ${this.altimateRequest.getAIKey()}, ${this.altimateRequest.getInstanceName()}, ${AltimateRequest.ALTIMATE_URL}))`, ); return result; } diff --git a/src/dbt_client/dbtCoreIntegration.ts b/src/dbt_client/dbtCoreIntegration.ts index 4d1d97435..850e048a5 100644 --- a/src/dbt_client/dbtCoreIntegration.ts +++ b/src/dbt_client/dbtCoreIntegration.ts @@ -1155,7 +1155,7 @@ export class DBTCoreProjectIntegration await healthCheckThread.ex`from dbt_healthcheck import *`; const result = await healthCheckThread.lock( (python) => - python!`to_dict(project_healthcheck(${manifestPath}, ${catalogPath}, ${configPath}, ${config}))`, + python!`to_dict(project_healthcheck(${manifestPath}, ${catalogPath}, ${configPath}, ${config}, ${this.altimateRequest.getAIKey()}, ${this.altimateRequest.getInstanceName()}, ${AltimateRequest.ALTIMATE_URL}))`, ); return result; } finally { From 01d3c9d2f6f7ec6313237dac8ce5dec23ae32f3c Mon Sep 17 00:00:00 2001 From: Pulkit Gaur Date: Mon, 18 Nov 2024 15:56:02 +0530 Subject: [PATCH 06/17] add llm reports --- dbt_healthcheck.py | 22 +++++++++++++++++++--- src/inversify.config.ts | 1 + 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/dbt_healthcheck.py b/dbt_healthcheck.py index d04ddbce2..7687d50eb 100644 --- a/dbt_healthcheck.py +++ b/dbt_healthcheck.py @@ -10,7 +10,7 @@ def project_healthcheck( from datapilot.config.config import load_config from datapilot.core.platforms.dbt.utils import load_catalog from datapilot.core.platforms.dbt.utils import load_manifest - from datapilot.core.platforms.dbt.constants import MODEL + from datapilot.core.platforms.dbt.constants import MODEL, LLM from datapilot.core.platforms.dbt.executor import DBTInsightGenerator logging.basicConfig(level=logging.INFO) @@ -23,7 +23,7 @@ def project_healthcheck( catalog=catalog, config=config, token=token, - tenant=tenant, + instance_name=tenant, backend_url=backend_url, ) reports = insight_generator.run() @@ -33,6 +33,22 @@ def project_healthcheck( k: [json.loads(item.json()) for item in v] for k, v in reports[MODEL].items() } - return {"model_insights": model_insights} + + llm_reports = reports[LLM] + llm_insights = {} + for report in llm_reports: + location = report["answer"]["Location"] + if location not in llm_insights: + llm_insights[location] = [] + llm_insights[location].append( + { + "name": report["name"], + "rule": report["answer"]["Rule"], + "issue": report["answer"]["Issue"], + "fix": report["answer"]["Fix"], + } + ) + + return {"model_insights": model_insights, "llm_insights": llm_insights} except Exception as e: raise Exception(str(e)) diff --git a/src/inversify.config.ts b/src/inversify.config.ts index dcf1a547b..63ce8f564 100755 --- a/src/inversify.config.ts +++ b/src/inversify.config.ts @@ -143,6 +143,7 @@ container container.get(ValidationProvider), container.get(DeferToProdService), projectRoot, + container.get(AltimateRequest), ); }; }); From f9bcb776c7106fb62561c3eb7eeea3faa04a337c Mon Sep 17 00:00:00 2001 From: saravmajestic Date: Wed, 20 Nov 2024 07:45:41 +0530 Subject: [PATCH 07/17] fix: merge conflict --- webview_panels/src/lib/altimate/main.js | 69295 +++++++++++++--------- 1 file changed, 41179 insertions(+), 28116 deletions(-) diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 61997a6d3..2ea10f677 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 B5 = Object.defineProperty; -var V5 = (e, t, n) => t in e ? B5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var Zr = (e, t, n) => V5(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as $5, Button as Re, Spinner as Qs, Card as zt, CardTitle as Ro, CardBody as dn, Badge as W5, CloseButton as Z5, Popover as q0, PopoverBody as Y0, UncontrolledTooltip as U5, Input as Xt, Label as pa, Modal as G0, ModalBody as K0, FormGroup as Kn, FormFeedback as lr, Alert as Mr, CardFooter as X0, Offcanvas as q5, OffcanvasHeader as Y5, OffcanvasBody as G5, Collapse as Q0, Col as K5, CardImg as X5, CardSubtitle as Q5, CardText as J5, Row as e4, List as t4 } from "reactstrap"; +import "./main.css"; +var T5 = Object.defineProperty; +var O5 = (e, t, n) => + t in e + ? T5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) + : (e[t] = n); +var Hr = (e, t, n) => O5(e, typeof t != "symbol" ? t + "" : t, n); +import { + Tooltip as N5, + Button as Pe, + Spinner as H0, + Card as sn, + CardTitle as Er, + CardBody as Rn, + Badge as D5, + CloseButton as L5, + Popover as P0, + PopoverBody as B0, + UncontrolledTooltip as F5, + Input as Fn, + Label as Ea, + Modal as V0, + ModalBody as $0, + FormGroup as Jl, + FormFeedback as W0, + Alert as qs, + CardFooter as R5, + Collapse as Z0, + Col as j5, + CardImg as I5, + CardSubtitle as z5, + CardText as H5, + Row as P5, + List as B5, +} from "reactstrap"; import * as O from "react"; -import $, { createContext as Ht, Component as n4, createElement as E1, isValidElement as J0, useState as ce, useRef as he, forwardRef as Js, useEffect as ue, useReducer as ec, useCallback as Te, useMemo as Ve, useContext as tt, useLayoutEffect as o4, useId as ed, useInsertionEffect as r4, Children as ko, lazy as a4, memo as Ge } from "react"; -import { Prism as i4 } from "react-syntax-highlighter"; -import l4, { createPortal as zn } from "react-dom"; -import { useProChat as s4, ProChat as c4 } from "@ant-design/pro-chat"; -import { z as He } from "zod"; -import { useFormikContext as td, Form as nd, Field as os, Formik as od, useFormik as rd } from "formik"; -import { Select as rs, notification as u4, Popconfirm as ad } from "antd"; -var Xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function fn(e) { - return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; -} -var as = { exports: {} }, $o = {}; +import $, { + createContext as zt, + Component as V5, + createElement as m1, + isValidElement as U0, + useState as ue, + useRef as pe, + forwardRef as Ys, + useEffect as ce, + useReducer as Gs, + useCallback as Me, + useMemo as Be, + useContext as Je, + useLayoutEffect as $5, + useId as q0, + useInsertionEffect as W5, + Children as xo, + lazy as Z5, + memo as Ye, +} from "react"; +import { Prism as U5 } from "react-syntax-highlighter"; +import q5, { createPortal as jn } from "react-dom"; +import { useProChat as Y5, ProChat as G5 } from "@ant-design/pro-chat"; +import { + useFormikContext as K5, + Form as X5, + Field as Q5, + Formik as J5, + useFormik as e4, +} from "formik"; +import { z as ht } from "zod"; +import { Popconfirm as t4, Select as b1 } from "antd"; +var Yn = + typeof globalThis < "u" + ? globalThis + : typeof window < "u" + ? window + : typeof global < "u" + ? global + : typeof self < "u" + ? self + : {}; +function un(e) { + return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") + ? e.default + : e; +} +var es = { exports: {} }, + Ho = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -26,21 +94,39 @@ var as = { exports: {} }, $o = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var S1; -function d4() { - if (S1) return $o; - S1 = 1; - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; - function i(l, s, u) { - var c, d = {}, p = null, h = null; - u !== void 0 && (p = "" + u), s.key !== void 0 && (p = "" + s.key), s.ref !== void 0 && (h = 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: p, ref: h, props: d, _owner: r.current }; - } - return $o.Fragment = n, $o.jsx = i, $o.jsxs = i, $o; -} -var Wo = {}; +var y1; +function n4() { + if (y1) return Ho; + y1 = 1; + var e = $, + t = Symbol.for("react.element"), + n = Symbol.for("react.fragment"), + o = Object.prototype.hasOwnProperty, + r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, + i = { key: !0, ref: !0, __self: !0, __source: !0 }; + function a(l, s, u) { + var c, + d = {}, + h = null, + f = null; + u !== void 0 && (h = "" + u), + s.key !== void 0 && (h = "" + s.key), + s.ref !== void 0 && (f = s.ref); + for (c in s) o.call(s, c) && !i.hasOwnProperty(c) && (d[c] = s[c]); + if (l && l.defaultProps) + for (c in ((s = l.defaultProps), s)) d[c] === void 0 && (d[c] = s[c]); + return { + $$typeof: t, + type: l, + key: h, + ref: f, + props: d, + _owner: r.current, + }; + } + return (Ho.Fragment = n), (Ho.jsx = a), (Ho.jsxs = a), Ho; +} +var Po = {}; /** * @license React * react-jsx-runtime.development.js @@ -50,637 +136,887 @@ var Wo = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var k1; -function f4() { - return k1 || (k1 = 1, process.env.NODE_ENV !== "production" && function() { - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), 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"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; - function y(H) { - if (H === null || typeof H != "object") - return null; - var X = m && H[m] || H[b]; - return typeof X == "function" ? X : null; - } - var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function x(H) { - { - for (var X = arguments.length, re = new Array(X > 1 ? X - 1 : 0), fe = 1; fe < X; fe++) - re[fe - 1] = arguments[fe]; - C("error", H, re); - } - } - function C(H, X, re) { - { - var fe = g.ReactDebugCurrentFrame, Ae = fe.getStackAddendum(); - Ae !== "" && (X += "%s", re = re.concat([Ae])); - var Ie = re.map(function(we) { - return String(we); - }); - Ie.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Ie); - } - } - var S = !1, w = !1, E = !1, M = !1, _ = !1, L; - L = Symbol.for("react.module.reference"); - function R(H) { - return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || _ || H === r || H === u || H === c || M || H === h || S || w || E || typeof H == "object" && H !== null && (H.$$typeof === p || 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 === L || H.getModuleId !== void 0)); - } - function j(H, X, re) { - var fe = H.displayName; - if (fe) - return fe; - var Ae = X.displayName || X.name || ""; - return Ae !== "" ? re + "(" + Ae + ")" : re; - } - function P(H) { - return H.displayName || "Context"; - } - function V(H) { - if (H == null) - return null; - if (typeof H.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof H == "function") - return H.displayName || H.name || null; - if (typeof H == "string") - return H; - switch (H) { - case o: - return "Fragment"; - case n: - return "Portal"; - case 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 X = H; - return P(X) + ".Consumer"; - case i: - var re = H; - return P(re._context) + ".Provider"; - case s: - return j(H, H.render, "ForwardRef"); - case d: - var fe = H.displayName || null; - return fe !== null ? fe : V(H.type) || "Memo"; - case p: { - var Ae = H, Ie = Ae._payload, we = Ae._init; - try { - return V(we(Ie)); - } catch { - return null; +var C1; +function o4() { + return ( + C1 || + ((C1 = 1), + process.env.NODE_ENV !== "production" && + (function () { + var e = $, + t = Symbol.for("react.element"), + n = Symbol.for("react.portal"), + o = Symbol.for("react.fragment"), + r = Symbol.for("react.strict_mode"), + i = Symbol.for("react.profiler"), + a = Symbol.for("react.provider"), + l = Symbol.for("react.context"), + s = Symbol.for("react.forward_ref"), + u = Symbol.for("react.suspense"), + c = Symbol.for("react.suspense_list"), + d = Symbol.for("react.memo"), + h = Symbol.for("react.lazy"), + f = Symbol.for("react.offscreen"), + m = Symbol.iterator, + b = "@@iterator"; + function y(H) { + if (H === null || typeof H != "object") return null; + var X = (m && H[m]) || H[b]; + return typeof X == "function" ? X : null; + } + var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function x(H) { + { + for ( + var X = arguments.length, + re = new Array(X > 1 ? X - 1 : 0), + fe = 1; + fe < X; + fe++ + ) + re[fe - 1] = arguments[fe]; + C("error", H, re); } } - } - return null; - } - var k = Object.assign, N = 0, T, D, I, F, v, z, B; - function A() { - } - A.__reactDisabledLog = !0; - function W() { - { - if (N === 0) { - T = console.log, D = console.info, I = console.warn, F = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; - var H = { - configurable: !0, - enumerable: !0, - value: A, - writable: !0 - }; - Object.defineProperties(console, { - info: H, - log: H, - warn: H, - error: H, - group: H, - groupCollapsed: H, - groupEnd: H - }); - } - N++; - } - } - function Y() { - { - if (N--, N === 0) { - var H = { - configurable: !0, - enumerable: !0, - writable: !0 - }; - Object.defineProperties(console, { - log: k({}, H, { - value: T - }), - info: k({}, H, { - value: D - }), - warn: k({}, H, { - value: I - }), - error: k({}, H, { - value: F - }), - group: k({}, H, { - value: v - }), - groupCollapsed: k({}, H, { - value: z - }), - groupEnd: k({}, H, { - value: B - }) - }); - } - N < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - var K = g.ReactCurrentDispatcher, Q; - function ne(H, X, re) { - { - if (Q === void 0) - try { - throw Error(); - } catch (Ae) { - var fe = Ae.stack.trim().match(/\n( *(at )?)/); - Q = fe && fe[1] || ""; + function C(H, X, re) { + { + var fe = g.ReactDebugCurrentFrame, + Ae = fe.getStackAddendum(); + Ae !== "" && ((X += "%s"), (re = re.concat([Ae]))); + var Re = re.map(function (we) { + return String(we); + }); + Re.unshift("Warning: " + X), + Function.prototype.apply.call(console[H], console, Re); + } } - return ` -` + Q + H; - } - } - var oe = !1, U; - { - var ge = typeof WeakMap == "function" ? WeakMap : Map; - U = new ge(); - } - function J(H, X) { - if (!H || oe) - return ""; - { - var re = U.get(H); - if (re !== void 0) - return re; - } - var fe; - oe = !0; - var Ae = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var Ie; - Ie = K.current, K.current = null, W(); - try { - if (X) { - var we = function() { - throw Error(); - }; - if (Object.defineProperty(we.prototype, "props", { - set: function() { - throw Error(); + var E = !1, + w = !1, + S = !1, + _ = !1, + A = !1, + R; + R = Symbol.for("react.module.reference"); + function L(H) { + return !!( + typeof H == "string" || + typeof H == "function" || + H === o || + H === i || + A || + H === r || + H === u || + H === c || + _ || + H === f || + E || + w || + S || + (typeof H == "object" && + H !== null && + (H.$$typeof === h || + H.$$typeof === d || + H.$$typeof === a || + H.$$typeof === l || + H.$$typeof === s || // This needs to include all possible module reference object + // types supported by any Flight configuration anywhere since + // we don't know which Flight build this will end up being used + // with. + H.$$typeof === R || + H.getModuleId !== void 0)) + ); + } + function j(H, X, re) { + var fe = H.displayName; + if (fe) return fe; + var Ae = X.displayName || X.name || ""; + return Ae !== "" ? re + "(" + Ae + ")" : re; + } + function P(H) { + return H.displayName || "Context"; + } + function V(H) { + if (H == null) return null; + if ( + (typeof H.tag == "number" && + x( + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.", + ), + typeof H == "function") + ) + return H.displayName || H.name || null; + if (typeof H == "string") return H; + switch (H) { + case o: + return "Fragment"; + case n: + return "Portal"; + case i: + return "Profiler"; + case r: + return "StrictMode"; + case u: + return "Suspense"; + case c: + return "SuspenseList"; } - }), typeof Reflect == "object" && Reflect.construct) { - try { - Reflect.construct(we, []); - } catch (dt) { - fe = dt; + if (typeof H == "object") + switch (H.$$typeof) { + case l: + var X = H; + return P(X) + ".Consumer"; + case a: + var re = H; + return P(re._context) + ".Provider"; + case s: + return j(H, H.render, "ForwardRef"); + case d: + var fe = H.displayName || null; + return fe !== null ? fe : V(H.type) || "Memo"; + case h: { + var Ae = H, + Re = Ae._payload, + we = Ae._init; + try { + return V(we(Re)); + } catch { + return null; + } + } + } + return null; + } + var k = Object.assign, + N = 0, + T, + F, + I, + D, + v, + z, + B; + function M() {} + M.__reactDisabledLog = !0; + function W() { + { + if (N === 0) { + (T = console.log), + (F = console.info), + (I = console.warn), + (D = console.error), + (v = console.group), + (z = console.groupCollapsed), + (B = console.groupEnd); + var H = { + configurable: !0, + enumerable: !0, + value: M, + writable: !0, + }; + Object.defineProperties(console, { + info: H, + log: H, + warn: H, + error: H, + group: H, + groupCollapsed: H, + groupEnd: H, + }); + } + N++; } - Reflect.construct(H, [], we); - } else { + } + function G() { + { + if ((N--, N === 0)) { + var H = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: k({}, H, { + value: T, + }), + info: k({}, H, { + value: F, + }), + warn: k({}, H, { + value: I, + }), + error: k({}, H, { + value: D, + }), + group: k({}, H, { + value: v, + }), + groupCollapsed: k({}, H, { + value: z, + }), + groupEnd: k({}, H, { + value: B, + }), + }); + } + N < 0 && + x( + "disabledDepth fell below zero. This is a bug in React. Please file an issue.", + ); + } + } + var K = g.ReactCurrentDispatcher, + Q; + function ne(H, X, re) { + { + if (Q === void 0) + try { + throw Error(); + } catch (Ae) { + var fe = Ae.stack.trim().match(/\n( *(at )?)/); + Q = (fe && fe[1]) || ""; + } + return ( + ` +` + + Q + + H + ); + } + } + var oe = !1, + U; + { + var ge = typeof WeakMap == "function" ? WeakMap : Map; + U = new ge(); + } + function J(H, X) { + if (!H || oe) return ""; + { + var re = U.get(H); + if (re !== void 0) return re; + } + var fe; + oe = !0; + var Ae = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var Re; + (Re = K.current), (K.current = null), W(); try { - we.call(); - } catch (dt) { - fe = dt; + if (X) { + var we = function () { + throw Error(); + }; + if ( + (Object.defineProperty(we.prototype, "props", { + set: function () { + throw Error(); + }, + }), + typeof Reflect == "object" && Reflect.construct) + ) { + try { + Reflect.construct(we, []); + } catch (ct) { + fe = ct; + } + Reflect.construct(H, [], we); + } else { + try { + we.call(); + } catch (ct) { + fe = ct; + } + H.call(we.prototype); + } + } else { + try { + throw Error(); + } catch (ct) { + fe = ct; + } + H(); + } + } catch (ct) { + if (ct && fe && typeof ct.stack == "string") { + for ( + var ye = ct.stack.split(` +`), + at = fe.stack.split(` +`), + We = ye.length - 1, + Ue = at.length - 1; + We >= 1 && Ue >= 0 && ye[We] !== at[Ue]; + + ) + Ue--; + for (; We >= 1 && Ue >= 0; We--, Ue--) + if (ye[We] !== at[Ue]) { + if (We !== 1 || Ue !== 1) + do + if ((We--, Ue--, Ue < 0 || ye[We] !== at[Ue])) { + var pt = + ` +` + ye[We].replace(" at new ", " at "); + return ( + H.displayName && + pt.includes("") && + (pt = pt.replace("", H.displayName)), + typeof H == "function" && U.set(H, pt), + pt + ); + } + while (We >= 1 && Ue >= 0); + break; + } + } + } finally { + (oe = !1), (K.current = Re), G(), (Error.prepareStackTrace = Ae); } - H.call(we.prototype); + var Sn = H ? H.displayName || H.name : "", + pn = Sn ? ne(Sn) : ""; + return typeof H == "function" && U.set(H, pn), pn; } - } else { - try { - throw Error(); - } catch (dt) { - fe = dt; + function ke(H, X, re) { + return J(H, !1); } - H(); - } - } catch (dt) { - if (dt && fe && typeof dt.stack == "string") { - for (var ye = dt.stack.split(` -`), st = fe.stack.split(` -`), Ze = ye.length - 1, qe = st.length - 1; Ze >= 1 && qe >= 0 && ye[Ze] !== st[qe]; ) - qe--; - for (; Ze >= 1 && qe >= 0; Ze--, qe--) - if (ye[Ze] !== st[qe]) { - if (Ze !== 1 || qe !== 1) - do - if (Ze--, qe--, qe < 0 || ye[Ze] !== st[qe]) { - var pt = ` -` + ye[Ze].replace(" at new ", " at "); - return H.displayName && pt.includes("") && (pt = pt.replace("", H.displayName)), typeof H == "function" && U.set(H, pt), pt; + function ie(H) { + var X = H.prototype; + return !!(X && X.isReactComponent); + } + function _e(H, X, re) { + if (H == null) return ""; + if (typeof H == "function") return J(H, ie(H)); + if (typeof H == "string") return ne(H); + switch (H) { + case u: + return ne("Suspense"); + case c: + return ne("SuspenseList"); + } + if (typeof H == "object") + switch (H.$$typeof) { + case s: + return ke(H.render); + case d: + return _e(H.type, X, re); + case h: { + var fe = H, + Ae = fe._payload, + Re = fe._init; + try { + return _e(Re(Ae), X, re); + } catch {} + } + } + return ""; + } + var $e = Object.prototype.hasOwnProperty, + Ee = {}, + le = g.ReactDebugCurrentFrame; + function Ge(H) { + if (H) { + var X = H._owner, + re = _e(H.type, H._source, X ? X.type : null); + le.setExtraStackFrame(re); + } else le.setExtraStackFrame(null); + } + function Ot(H, X, re, fe, Ae) { + { + var Re = Function.call.bind($e); + for (var we in H) + if (Re(H, we)) { + var ye = void 0; + try { + if (typeof H[we] != "function") { + var at = Error( + (fe || "React class") + + ": " + + re + + " type `" + + we + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof H[we] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", + ); + throw ((at.name = "Invariant Violation"), at); + } + ye = H[we]( + X, + we, + fe, + re, + null, + "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", + ); + } catch (We) { + ye = We; } - while (Ze >= 1 && qe >= 0); - break; + ye && + !(ye instanceof Error) && + (Ge(Ae), + x( + "%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", + fe || "React class", + re, + we, + typeof ye, + ), + Ge(null)), + ye instanceof Error && + !(ye.message in Ee) && + ((Ee[ye.message] = !0), + Ge(Ae), + x("Failed %s type: %s", re, ye.message), + Ge(null)); + } } - } - } finally { - oe = !1, K.current = Ie, Y(), Error.prepareStackTrace = Ae; - } - var _n = H ? H.displayName || H.name : "", gn = _n ? ne(_n) : ""; - return typeof H == "function" && U.set(H, gn), gn; - } - function ke(H, X, re) { - return J(H, !1); - } - function ae(H) { - var X = H.prototype; - return !!(X && X.isReactComponent); - } - function _e(H, X, re) { - if (H == null) - return ""; - if (typeof H == "function") - return J(H, ae(H)); - if (typeof H == "string") - return ne(H); - switch (H) { - case u: - return ne("Suspense"); - case c: - return ne("SuspenseList"); - } - if (typeof H == "object") - switch (H.$$typeof) { - case s: - return ke(H.render); - case d: - return _e(H.type, X, re); - case p: { - var fe = H, Ae = fe._payload, Ie = fe._init; + } + var Jt = Array.isArray; + function Nt(H) { + return Jt(H); + } + function en(H) { + { + var X = typeof Symbol == "function" && Symbol.toStringTag, + re = + (X && H[Symbol.toStringTag]) || + H.constructor.name || + "Object"; + return re; + } + } + function St(H) { try { - return _e(Ie(Ae), X, re); + return Vt(H), !1; } catch { + return !0; } } - } - return ""; - } - var We = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; - function Xe(H) { - if (H) { - var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); - le.setExtraStackFrame(re); - } else - le.setExtraStackFrame(null); - } - function Ot(H, X, re, fe, Ae) { - { - var Ie = Function.call.bind(We); - for (var we in H) - if (Ie(H, we)) { - var ye = void 0; - try { - if (typeof H[we] != "function") { - var st = Error((fe || "React class") + ": " + re + " type `" + we + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof H[we] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - throw st.name = "Invariant Violation", st; + function Vt(H) { + return "" + H; + } + function Dt(H) { + if (St(H)) + return ( + x( + "The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", + en(H), + ), + Vt(H) + ); + } + var Z = g.ReactCurrentOwner, + ee = { + key: !0, + ref: !0, + __self: !0, + __source: !0, + }, + se, + xe, + de; + de = {}; + function Ve(H) { + if ($e.call(H, "ref")) { + var X = Object.getOwnPropertyDescriptor(H, "ref").get; + if (X && X.isReactWarning) return !1; + } + return H.ref !== void 0; + } + function et(H) { + if ($e.call(H, "key")) { + var X = Object.getOwnPropertyDescriptor(H, "key").get; + if (X && X.isReactWarning) return !1; + } + return H.key !== void 0; + } + function Qe(H, X) { + if ( + typeof H.ref == "string" && + Z.current && + X && + Z.current.stateNode !== X + ) { + var re = V(Z.current.type); + de[re] || + (x( + 'Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', + V(Z.current.type), + H.ref, + ), + (de[re] = !0)); + } + } + function ft(H, X) { + { + var re = function () { + se || + ((se = !0), + x( + "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", + X, + )); + }; + (re.isReactWarning = !0), + Object.defineProperty(H, "key", { + get: re, + configurable: !0, + }); + } + } + function rt(H, X) { + { + var re = function () { + xe || + ((xe = !0), + x( + "%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", + X, + )); + }; + (re.isReactWarning = !0), + Object.defineProperty(H, "ref", { + get: re, + configurable: !0, + }); + } + } + var Se = function (H, X, re, fe, Ae, Re, we) { + var ye = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: t, + // Built-in properties that belong on the element + type: H, + key: X, + ref: re, + props: we, + // Record the component responsible for creating this element. + _owner: Re, + }; + return ( + (ye._store = {}), + Object.defineProperty(ye._store, "validated", { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1, + }), + Object.defineProperty(ye, "_self", { + configurable: !1, + enumerable: !1, + writable: !1, + value: fe, + }), + Object.defineProperty(ye, "_source", { + configurable: !1, + enumerable: !1, + writable: !1, + value: Ae, + }), + Object.freeze && (Object.freeze(ye.props), Object.freeze(ye)), + ye + ); + }; + function $t(H, X, re, fe, Ae) { + { + var Re, + we = {}, + ye = null, + at = null; + re !== void 0 && (Dt(re), (ye = "" + re)), + et(X) && (Dt(X.key), (ye = "" + X.key)), + Ve(X) && ((at = X.ref), Qe(X, Ae)); + for (Re in X) + $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); + if (H && H.defaultProps) { + var We = H.defaultProps; + for (Re in We) we[Re] === void 0 && (we[Re] = We[Re]); } - ye = H[we](X, we, fe, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (Ze) { - ye = Ze; + if (ye || at) { + var Ue = + typeof H == "function" + ? H.displayName || H.name || "Unknown" + : H; + ye && ft(we, Ue), at && rt(we, Ue); + } + return Se(H, ye, at, Ae, fe, Z.current, we); } - ye && !(ye instanceof Error) && (Xe(Ae), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", fe || "React class", re, we, typeof ye), Xe(null)), ye instanceof Error && !(ye.message in Ee) && (Ee[ye.message] = !0, Xe(Ae), x("Failed %s type: %s", re, ye.message), Xe(null)); } - } - } - var tn = Array.isArray; - function Nt(H) { - return tn(H); - } - function nn(H) { - { - var X = typeof Symbol == "function" && Symbol.toStringTag, re = X && H[Symbol.toStringTag] || H.constructor.name || "Object"; - return re; - } - } - function St(H) { - try { - return $t(H), !1; - } catch { - return !0; - } - } - function $t(H) { - return "" + H; - } - function Dt(H) { - if (St(H)) - return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nn(H)), $t(H); - } - var Z = g.ReactCurrentOwner, ee = { - key: !0, - ref: !0, - __self: !0, - __source: !0 - }, se, xe, de; - de = {}; - function $e(H) { - if (We.call(H, "ref")) { - var X = Object.getOwnPropertyDescriptor(H, "ref").get; - if (X && X.isReactWarning) - return !1; - } - return H.ref !== void 0; - } - function nt(H) { - if (We.call(H, "key")) { - var X = Object.getOwnPropertyDescriptor(H, "key").get; - if (X && X.isReactWarning) - return !1; - } - return H.key !== void 0; - } - function et(H, X) { - if (typeof H.ref == "string" && Z.current && X && Z.current.stateNode !== X) { - var re = V(Z.current.type); - de[re] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Z.current.type), H.ref), de[re] = !0); - } - } - function ht(H, X) { - { - var re = function() { - se || (se = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); - }; - re.isReactWarning = !0, Object.defineProperty(H, "key", { - get: re, - configurable: !0 - }); - } - } - function it(H, X) { - { - var re = function() { - xe || (xe = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); - }; - re.isReactWarning = !0, Object.defineProperty(H, "ref", { - get: re, - configurable: !0 - }); - } - } - var Se = function(H, X, re, fe, Ae, Ie, we) { - var ye = { - // This tag allows us to uniquely identify this as a React Element - $$typeof: t, - // Built-in properties that belong on the element - type: H, - key: X, - ref: re, - props: we, - // Record the component responsible for creating this element. - _owner: Ie - }; - return ye._store = {}, Object.defineProperty(ye._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: !1 - }), Object.defineProperty(ye, "_self", { - configurable: !1, - enumerable: !1, - writable: !1, - value: fe - }), Object.defineProperty(ye, "_source", { - configurable: !1, - enumerable: !1, - writable: !1, - value: Ae - }), Object.freeze && (Object.freeze(ye.props), Object.freeze(ye)), ye; - }; - function Wt(H, X, re, fe, Ae) { - { - var Ie, we = {}, ye = null, st = null; - re !== void 0 && (Dt(re), ye = "" + re), nt(X) && (Dt(X.key), ye = "" + X.key), $e(X) && (st = X.ref, et(X, Ae)); - for (Ie in X) - We.call(X, Ie) && !ee.hasOwnProperty(Ie) && (we[Ie] = X[Ie]); - if (H && H.defaultProps) { - var Ze = H.defaultProps; - for (Ie in Ze) - we[Ie] === void 0 && (we[Ie] = Ze[Ie]); - } - if (ye || st) { - var qe = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; - ye && ht(we, qe), st && it(we, qe); - } - return Se(H, ye, st, Ae, fe, Z.current, we); - } - } - var lt = g.ReactCurrentOwner, kn = g.ReactDebugCurrentFrame; - function on(H) { - if (H) { - var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); - kn.setExtraStackFrame(re); - } else - kn.setExtraStackFrame(null); - } - var io; - io = !1; - function Zt(H) { - return typeof H == "object" && H !== null && H.$$typeof === t; - } - function Hr() { - { - if (lt.current) { - var H = V(lt.current.type); - if (H) - return ` + var it = g.ReactCurrentOwner, + En = g.ReactDebugCurrentFrame; + function tn(H) { + if (H) { + var X = H._owner, + re = _e(H.type, H._source, X ? X.type : null); + En.setExtraStackFrame(re); + } else En.setExtraStackFrame(null); + } + var no; + no = !1; + function Wt(H) { + return typeof H == "object" && H !== null && H.$$typeof === t; + } + function Lr() { + { + if (it.current) { + var H = V(it.current.type); + if (H) + return ( + ` -Check the render method of \`` + H + "`."; - } - return ""; - } - } - function bi(H) { - return ""; - } - var Pr = {}; - function yi(H) { - { - var X = Hr(); - if (!X) { - var re = typeof H == "string" ? H : H.displayName || H.name; - re && (X = ` +Check the render method of \`` + + H + + "`." + ); + } + return ""; + } + } + function fa(H) { + return ""; + } + var Fr = {}; + function pa(H) { + { + var X = Lr(); + if (!X) { + var re = typeof H == "string" ? H : H.displayName || H.name; + re && + (X = + ` -Check the top-level render call using <` + re + ">."); - } - return X; - } - } - function Br(H, X) { - { - if (!H._store || H._store.validated || H.key != null) - return; - H._store.validated = !0; - var re = yi(X); - if (Pr[re]) - return; - Pr[re] = !0; - var fe = ""; - H && H._owner && H._owner !== lt.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), on(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), on(null); - } - } - function Vr(H, X) { - { - if (typeof H != "object") - return; - if (Nt(H)) - for (var re = 0; re < H.length; re++) { - var fe = H[re]; - Zt(fe) && Br(fe, X); +Check the top-level render call using <` + + re + + ">."); + } + return X; + } } - else if (Zt(H)) - H._store && (H._store.validated = !0); - else if (H) { - var Ae = y(H); - if (typeof Ae == "function" && Ae !== H.entries) - for (var Ie = Ae.call(H), we; !(we = Ie.next()).done; ) - Zt(we.value) && Br(we.value, X); - } - } - } - function Ci(H) { - { - var X = H.type; - if (X == null || typeof X == "string") - return; - var re; - if (typeof X == "function") - re = X.propTypes; - else if (typeof X == "object" && (X.$$typeof === s || // Note: Memo only checks outer props here. - // Inner props are checked in the reconciler. - X.$$typeof === d)) - re = X.propTypes; - else - return; - if (re) { - var fe = V(X); - Ot(re, H.props, "prop", fe, H); - } else if (X.PropTypes !== void 0 && !io) { - io = !0; - var Ae = V(X); - x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown"); - } - typeof X.getDefaultProps == "function" && !X.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); - } - } - function vi(H) { - { - for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { - var fe = X[re]; - if (fe !== "children" && fe !== "key") { - on(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), on(null); - break; + function Rr(H, X) { + { + if (!H._store || H._store.validated || H.key != null) return; + H._store.validated = !0; + var re = pa(X); + if (Fr[re]) return; + Fr[re] = !0; + var fe = ""; + H && + H._owner && + H._owner !== it.current && + (fe = " It was passed a child from " + V(H._owner.type) + "."), + tn(H), + x( + 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', + re, + fe, + ), + tn(null); + } } - } - H.ref !== null && (on(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), on(null)); - } - } - var $r = {}; - function Wr(H, X, re, fe, Ae, Ie) { - { - var we = R(H); - if (!we) { - var ye = ""; - (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var st = bi(); - st ? ye += st : ye += Hr(); - var Ze; - H === null ? Ze = "null" : Nt(H) ? Ze = "array" : H !== void 0 && H.$$typeof === t ? (Ze = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : Ze = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ze, ye); - } - var qe = Wt(H, X, re, Ae, Ie); - if (qe == null) - return qe; - if (we) { - var pt = X.children; - if (pt !== void 0) - if (fe) - if (Nt(pt)) { - for (var _n = 0; _n < pt.length; _n++) - Vr(pt[_n], H); - Object.freeze && Object.freeze(pt); - } else - x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); - else - Vr(pt, H); - } - if (We.call(X, "key")) { - var gn = V(H), dt = Object.keys(X).filter(function(_i) { - return _i !== "key"; - }), Vo = dt.length > 0 ? "{key: someKey, " + dt.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!$r[gn + Vo]) { - var ki = dt.length > 0 ? "{" + dt.join(": ..., ") + ": ...}" : "{}"; - x(`A props object containing a "key" prop is being spread into JSX: + function jr(H, X) { + { + if (typeof H != "object") return; + if (Nt(H)) + for (var re = 0; re < H.length; re++) { + var fe = H[re]; + Wt(fe) && Rr(fe, X); + } + else if (Wt(H)) H._store && (H._store.validated = !0); + else if (H) { + var Ae = y(H); + if (typeof Ae == "function" && Ae !== H.entries) + for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) + Wt(we.value) && Rr(we.value, X); + } + } + } + function ha(H) { + { + var X = H.type; + if (X == null || typeof X == "string") return; + var re; + if (typeof X == "function") re = X.propTypes; + else if ( + typeof X == "object" && + (X.$$typeof === s || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + X.$$typeof === d) + ) + re = X.propTypes; + else return; + if (re) { + var fe = V(X); + Ot(re, H.props, "prop", fe, H); + } else if (X.PropTypes !== void 0 && !no) { + no = !0; + var Ae = V(X); + x( + "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", + Ae || "Unknown", + ); + } + typeof X.getDefaultProps == "function" && + !X.getDefaultProps.isReactClassApproved && + x( + "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.", + ); + } + } + function ga(H) { + { + for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { + var fe = X[re]; + if (fe !== "children" && fe !== "key") { + tn(H), + x( + "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", + fe, + ), + tn(null); + break; + } + } + H.ref !== null && + (tn(H), + x("Invalid attribute `ref` supplied to `React.Fragment`."), + tn(null)); + } + } + var Ir = {}; + function zr(H, X, re, fe, Ae, Re) { + { + var we = L(H); + if (!we) { + var ye = ""; + (H === void 0 || + (typeof H == "object" && + H !== null && + Object.keys(H).length === 0)) && + (ye += + " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); + var at = fa(); + at ? (ye += at) : (ye += Lr()); + var We; + H === null + ? (We = "null") + : Nt(H) + ? (We = "array") + : H !== void 0 && H.$$typeof === t + ? ((We = "<" + (V(H.type) || "Unknown") + " />"), + (ye = + " Did you accidentally export a JSX literal instead of a component?")) + : (We = typeof H), + x( + "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", + We, + ye, + ); + } + var Ue = $t(H, X, re, Ae, Re); + if (Ue == null) return Ue; + if (we) { + var pt = X.children; + if (pt !== void 0) + if (fe) + if (Nt(pt)) { + for (var Sn = 0; Sn < pt.length; Sn++) jr(pt[Sn], H); + Object.freeze && Object.freeze(pt); + } else + x( + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.", + ); + else jr(pt, H); + } + if ($e.call(X, "key")) { + var pn = V(H), + ct = Object.keys(X).filter(function (xa) { + return xa !== "key"; + }), + zo = + ct.length > 0 + ? "{key: someKey, " + ct.join(": ..., ") + ": ...}" + : "{key: someKey}"; + if (!Ir[pn + zo]) { + var va = + ct.length > 0 ? "{" + ct.join(": ..., ") + ": ...}" : "{}"; + x( + `A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, Vo, gn, ki, gn), $r[gn + Vo] = !0; + <%s key={someKey} {...props} />`, + zo, + pn, + va, + pn, + ), + (Ir[pn + zo] = !0); + } + } + return H === o ? ga(Ue) : ha(Ue), Ue; + } } - } - return H === o ? vi(qe) : Ci(qe), qe; - } - } - function xi(H, X, re) { - return Wr(H, X, re, !0); - } - function wi(H, X, re) { - return Wr(H, X, re, !1); - } - var Ei = wi, Si = xi; - Wo.Fragment = o, Wo.jsx = Ei, Wo.jsxs = Si; - }()), Wo; -} -process.env.NODE_ENV === "production" ? as.exports = d4() : as.exports = f4(); -var f = as.exports; -const h4 = "_iconButton_eti7u_1", p4 = { - iconButton: h4 -}, jn = (e) => /* @__PURE__ */ f.jsx(Sn, { title: e.title, children: /* @__PURE__ */ f.jsx( - "button", - { - ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${p4.iconButton}`, - type: e.type ?? "button", - children: e.children - } -) }), g4 = Ht(null), Mi = { - didCatch: !1, - error: null -}; -class m4 extends n4 { + function ma(H, X, re) { + return zr(H, X, re, !0); + } + function ba(H, X, re) { + return zr(H, X, re, !1); + } + var ya = ba, + Ca = ma; + (Po.Fragment = o), (Po.jsx = ya), (Po.jsxs = Ca); + })()), + Po + ); +} +process.env.NODE_ENV === "production" + ? (es.exports = n4()) + : (es.exports = o4()); +var p = es.exports; +const r4 = "_iconButton_eti7u_1", + i4 = { + iconButton: r4, + }, + Zn = (e) => + /* @__PURE__ */ p.jsx(wn, { + title: e.title, + children: /* @__PURE__ */ p.jsx("button", { + ...e, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${i4.iconButton}`, + type: e.type ?? "button", + children: e.children, + }), + }), + a4 = zt(null), + Sa = { + didCatch: !1, + error: null, + }; +class l4 extends V5 { constructor(t) { - super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Mi; + super(t), + (this.resetErrorBoundary = this.resetErrorBoundary.bind(this)), + (this.state = Sa); } static getDerivedStateFromError(t) { return { didCatch: !0, - error: t + error: t, }; } resetErrorBoundary() { - const { - error: t - } = this.state; + const { error: t } = this.state; if (t !== null) { - for (var n, o, r = arguments.length, 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(Mi); + for (var n, o, r = arguments.length, i = new Array(r), a = 0; a < r; a++) + i[a] = arguments[a]; + (n = (o = this.props).onReset) === null || + n === void 0 || + n.call(o, { + args: i, + reason: "imperative-api", + }), + this.setState(Sa); } } componentDidCatch(t, n) { @@ -688,11124 +1024,12695 @@ class m4 extends n4 { (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; - if (o && n.error !== null && b4(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(Mi); + const { didCatch: o } = this.state, + { resetKeys: r } = this.props; + if (o && n.error !== null && s4(t.resetKeys, r)) { + var i, a; + (i = (a = this.props).onReset) === null || + i === void 0 || + i.call(a, { + next: r, + prev: t.resetKeys, + reason: "keys", + }), + this.setState(Sa); } } 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: i, error: a } = this.state; let l = t; - if (a) { + if (i) { const s = { - error: i, - resetErrorBoundary: this.resetErrorBoundary + error: a, + resetErrorBoundary: this.resetErrorBoundary, }; - if (typeof n == "function") - l = n(s); - else if (o) - l = E1(o, s); - else if (r === null || J0(r)) - l = r; - else - throw i; + if (typeof n == "function") l = n(s); + else if (o) l = m1(o, s); + else if (r === null || U0(r)) l = r; + else throw a; } - return E1(g4.Provider, { - value: { - didCatch: a, - error: i, - resetErrorBoundary: this.resetErrorBoundary - } - }, l); + return m1( + a4.Provider, + { + value: { + didCatch: i, + error: a, + resetErrorBoundary: this.resetErrorBoundary, + }, + }, + l, + ); } } -function b4() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; +function s4() { + 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 Sn = (e) => { - const [t, n] = ce(!1), o = () => n(!t), r = he( - (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") - ); - return /* @__PURE__ */ f.jsxs(m4, { 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( - $5, - { - isOpen: t, - target: r.current, - toggle: o, - className: e.className, - placement: "top", - children: e.title - } - ) : null - ] }); -}, y4 = "_loadingBtn_gadec_1", C4 = { - loadingBtn: y4 -}, In = ({ loading: e, ...t }) => /* @__PURE__ */ f.jsx( - Re, - { - ...t, - disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${C4.loadingBtn}`, - children: e ? /* @__PURE__ */ f.jsx(Qs, {}) : t.children - } -); -var Qo = {}, id = { exports: {} }; -(function(e) { +const wn = (e) => { + const [t, n] = ue(!1), + o = () => n(!t), + r = pe( + ( + e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}` + ).replace(/\s/g, "-"), + ); + return /* @__PURE__ */ p.jsxs(l4, { + fallback: /* @__PURE__ */ p.jsx("span", { + id: r.current, + children: e.children, + }), + children: [ + /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), + e.title + ? /* @__PURE__ */ p.jsx(N5, { + isOpen: t, + target: r.current, + toggle: o, + className: e.className, + placement: "top", + children: e.title, + }) + : null, + ], + }); + }, + c4 = "_loadingBtn_gadec_1", + u4 = { + loadingBtn: c4, + }, + Wi = ({ loading: e, ...t }) => + /* @__PURE__ */ p.jsx(Pe, { + ...t, + disabled: t.disabled ?? e, + className: `${t.className ?? ""} ${u4.loadingBtn}`, + children: e ? /* @__PURE__ */ p.jsx(H0, {}) : t.children, + }); +var Yo = {}, + Y0 = { exports: {} }; +(function (e) { 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; -})(id); -var v4 = id.exports, Ti = {}, _1; -function x4() { - return _1 || (_1 = 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; - }(Ti)), Ti; -} -var Oi = {}, A1; -function w4() { - return A1 || (A1 = 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; - }(Oi)), Oi; + (e.exports = t), (e.exports.__esModule = !0), (e.exports.default = e.exports); +})(Y0); +var d4 = Y0.exports, + ka = {}, + v1; +function f4() { + return ( + v1 || + ((v1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + maxHeight: "inherit", + height: "inherit", + padding: "0 1em", + display: "block", + overflow: "auto", + }, + 'pre[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + position: "relative", + margin: ".5em 0", + overflow: "visible", + padding: "1px", + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + marginBottom: "1em", + }, + 'pre[class*="language-"] > code': { + position: "relative", + zIndex: "1", + borderLeft: "10px solid #358ccb", + boxShadow: "-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf", + backgroundColor: "#fdfdfd", + backgroundImage: + "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", + backgroundSize: "3em 3em", + backgroundOrigin: "content-box", + backgroundAttachment: "local", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + marginBottom: "1em", + position: "relative", + padding: ".2em", + borderRadius: "0.3em", + color: "#c92c2c", + border: "1px solid rgba(0, 0, 0, 0.1)", + display: "inline", + whiteSpace: "normal", + }, + 'pre[class*="language-"]:before': { + content: "''", + display: "block", + position: "absolute", + bottom: "0.75em", + left: "0.18em", + width: "40%", + height: "20%", + maxHeight: "13em", + boxShadow: "0px 13px 8px #979797", + WebkitTransform: "rotate(-2deg)", + MozTransform: "rotate(-2deg)", + msTransform: "rotate(-2deg)", + OTransform: "rotate(-2deg)", + transform: "rotate(-2deg)", + }, + 'pre[class*="language-"]:after': { + content: "''", + display: "block", + position: "absolute", + bottom: "0.75em", + left: "auto", + width: "40%", + height: "20%", + maxHeight: "13em", + boxShadow: "0px 13px 8px #979797", + WebkitTransform: "rotate(2deg)", + MozTransform: "rotate(2deg)", + msTransform: "rotate(2deg)", + OTransform: "rotate(2deg)", + transform: "rotate(2deg)", + right: "0.75em", + }, + comment: { + color: "#7D8B99", + }, + "block-comment": { + color: "#7D8B99", + }, + prolog: { + color: "#7D8B99", + }, + doctype: { + color: "#7D8B99", + }, + cdata: { + color: "#7D8B99", + }, + punctuation: { + color: "#5F6364", + }, + property: { + color: "#c92c2c", + }, + tag: { + color: "#c92c2c", + }, + boolean: { + color: "#c92c2c", + }, + number: { + color: "#c92c2c", + }, + "function-name": { + color: "#c92c2c", + }, + constant: { + color: "#c92c2c", + }, + symbol: { + color: "#c92c2c", + }, + deleted: { + color: "#c92c2c", + }, + selector: { + color: "#2f9c0a", + }, + "attr-name": { + color: "#2f9c0a", + }, + string: { + color: "#2f9c0a", + }, + char: { + color: "#2f9c0a", + }, + function: { + color: "#2f9c0a", + }, + builtin: { + color: "#2f9c0a", + }, + inserted: { + color: "#2f9c0a", + }, + operator: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + entity: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + cursor: "help", + }, + url: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + variable: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + atrule: { + color: "#1990b8", + }, + "attr-value": { + color: "#1990b8", + }, + keyword: { + color: "#1990b8", + }, + "class-name": { + color: "#1990b8", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "normal", + }, + ".language-css .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + ".style .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + 'pre[class*="language-"].line-numbers.line-numbers': { + paddingLeft: "0", + }, + 'pre[class*="language-"].line-numbers.line-numbers code': { + paddingLeft: "3.8em", + }, + 'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows': + { + left: "0", + }, + 'pre[class*="language-"][data-line]': { + paddingTop: "0", + paddingBottom: "0", + paddingLeft: "0", + }, + "pre[data-line] code": { + position: "relative", + paddingLeft: "4em", + }, + "pre .line-highlight": { + marginTop: "0", + }, + }; + e.default = t; + })(ka)), + ka + ); } -var Ni = {}, M1; -function E4() { - return M1 || (M1 = 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; - }(Ni)), Ni; +var _a = {}, + x1; +function p4() { + return ( + x1 || + ((x1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "white", + background: "none", + textShadow: "0 -.1em .2em black", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + background: "hsl(30, 20%, 25%)", + textShadow: "0 -.1em .2em black", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: ".3em solid hsl(30, 20%, 40%)", + borderRadius: ".5em", + boxShadow: "1px 1px .5em black inset", + }, + ':not(pre) > code[class*="language-"]': { + background: "hsl(30, 20%, 25%)", + padding: ".15em .2em .05em", + borderRadius: ".3em", + border: ".13em solid hsl(30, 20%, 40%)", + boxShadow: "1px 1px .3em -.1em black inset", + whiteSpace: "normal", + }, + comment: { + color: "hsl(30, 20%, 50%)", + }, + prolog: { + color: "hsl(30, 20%, 50%)", + }, + doctype: { + color: "hsl(30, 20%, 50%)", + }, + cdata: { + color: "hsl(30, 20%, 50%)", + }, + punctuation: { + Opacity: ".7", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "hsl(350, 40%, 70%)", + }, + tag: { + color: "hsl(350, 40%, 70%)", + }, + boolean: { + color: "hsl(350, 40%, 70%)", + }, + number: { + color: "hsl(350, 40%, 70%)", + }, + constant: { + color: "hsl(350, 40%, 70%)", + }, + symbol: { + color: "hsl(350, 40%, 70%)", + }, + selector: { + color: "hsl(75, 70%, 60%)", + }, + "attr-name": { + color: "hsl(75, 70%, 60%)", + }, + string: { + color: "hsl(75, 70%, 60%)", + }, + char: { + color: "hsl(75, 70%, 60%)", + }, + builtin: { + color: "hsl(75, 70%, 60%)", + }, + inserted: { + color: "hsl(75, 70%, 60%)", + }, + operator: { + color: "hsl(40, 90%, 60%)", + }, + entity: { + color: "hsl(40, 90%, 60%)", + cursor: "help", + }, + url: { + color: "hsl(40, 90%, 60%)", + }, + ".language-css .token.string": { + color: "hsl(40, 90%, 60%)", + }, + ".style .token.string": { + color: "hsl(40, 90%, 60%)", + }, + variable: { + color: "hsl(40, 90%, 60%)", + }, + atrule: { + color: "hsl(350, 40%, 70%)", + }, + "attr-value": { + color: "hsl(350, 40%, 70%)", + }, + keyword: { + color: "hsl(350, 40%, 70%)", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + deleted: { + color: "red", + }, + }; + e.default = t; + })(_a)), + _a + ); } -var Di = {}, T1; -function S4() { - return T1 || (T1 = 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; - }(Di)), Di; +var Aa = {}, + w1; +function h4() { + return ( + w1 || + ((w1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "black", + color: "white", + boxShadow: "-.3em 0 0 .3em black, .3em 0 0 .3em black", + }, + 'pre[class*="language-"]': { + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: ".4em .8em", + margin: ".5em 0", + overflow: "auto", + background: `url('data:image/svg+xml;charset=utf-8,%0D%0A%0D%0A%0D%0A<%2Fsvg>')`, + backgroundSize: "1em 1em", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + borderRadius: ".3em", + boxShadow: "none", + whiteSpace: "normal", + }, + comment: { + color: "#aaa", + }, + prolog: { + color: "#aaa", + }, + doctype: { + color: "#aaa", + }, + cdata: { + color: "#aaa", + }, + punctuation: { + color: "#999", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#0cf", + }, + tag: { + color: "#0cf", + }, + boolean: { + color: "#0cf", + }, + number: { + color: "#0cf", + }, + constant: { + color: "#0cf", + }, + symbol: { + color: "#0cf", + }, + selector: { + color: "yellow", + }, + "attr-name": { + color: "yellow", + }, + string: { + color: "yellow", + }, + char: { + color: "yellow", + }, + builtin: { + color: "yellow", + }, + operator: { + color: "yellowgreen", + }, + entity: { + color: "yellowgreen", + cursor: "help", + }, + url: { + color: "yellowgreen", + }, + ".language-css .token.string": { + color: "yellowgreen", + }, + variable: { + color: "yellowgreen", + }, + inserted: { + color: "yellowgreen", + }, + atrule: { + color: "deeppink", + }, + "attr-value": { + color: "deeppink", + }, + keyword: { + color: "deeppink", + }, + regex: { + color: "orange", + }, + important: { + color: "orange", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + deleted: { + color: "red", + }, + "pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)": + { + backgroundColor: "rgba(255, 0, 0, .3)", + display: "inline", + }, + "pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)": + { + backgroundColor: "rgba(255, 0, 0, .3)", + display: "inline", + }, + "pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)": + { + backgroundColor: "rgba(0, 255, 128, .3)", + display: "inline", + }, + "pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)": + { + backgroundColor: "rgba(0, 255, 128, .3)", + display: "inline", + }, + }; + e.default = t; + })(Aa)), + Aa + ); } -var Li = {}, O1; -function k4() { - return O1 || (O1 = 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; - }(Li)), Li; +var Ma = {}, + E1; +function g4() { + return ( + E1 || + ((E1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#272822", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#272822", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#8292a2", + }, + prolog: { + color: "#8292a2", + }, + doctype: { + color: "#8292a2", + }, + cdata: { + color: "#8292a2", + }, + punctuation: { + color: "#f8f8f2", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#f92672", + }, + tag: { + color: "#f92672", + }, + constant: { + color: "#f92672", + }, + symbol: { + color: "#f92672", + }, + deleted: { + color: "#f92672", + }, + boolean: { + color: "#ae81ff", + }, + number: { + color: "#ae81ff", + }, + selector: { + color: "#a6e22e", + }, + "attr-name": { + color: "#a6e22e", + }, + string: { + color: "#a6e22e", + }, + char: { + color: "#a6e22e", + }, + builtin: { + color: "#a6e22e", + }, + inserted: { + color: "#a6e22e", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#e6db74", + }, + "attr-value": { + color: "#e6db74", + }, + function: { + color: "#e6db74", + }, + "class-name": { + color: "#e6db74", + }, + keyword: { + color: "#66d9ef", + }, + regex: { + color: "#fd971f", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ma)), + Ma + ); } -var ji = {}, N1; -function _4() { - return N1 || (N1 = 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; - }(ji)), ji; +var Ta = {}, + S1; +function m4() { + return ( + S1 || + ((S1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#657b83", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#657b83", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + backgroundColor: "#fdf6e3", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#073642", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#073642", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#073642", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#073642", + }, + 'pre[class*="language-"]::selection': { + background: "#073642", + }, + 'pre[class*="language-"] ::selection': { + background: "#073642", + }, + 'code[class*="language-"]::selection': { + background: "#073642", + }, + 'code[class*="language-"] ::selection': { + background: "#073642", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "#fdf6e3", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#93a1a1", + }, + prolog: { + color: "#93a1a1", + }, + doctype: { + color: "#93a1a1", + }, + cdata: { + color: "#93a1a1", + }, + punctuation: { + color: "#586e75", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#268bd2", + }, + tag: { + color: "#268bd2", + }, + boolean: { + color: "#268bd2", + }, + number: { + color: "#268bd2", + }, + constant: { + color: "#268bd2", + }, + symbol: { + color: "#268bd2", + }, + deleted: { + color: "#268bd2", + }, + selector: { + color: "#2aa198", + }, + "attr-name": { + color: "#2aa198", + }, + string: { + color: "#2aa198", + }, + char: { + color: "#2aa198", + }, + builtin: { + color: "#2aa198", + }, + url: { + color: "#2aa198", + }, + inserted: { + color: "#2aa198", + }, + entity: { + color: "#657b83", + background: "#eee8d5", + cursor: "help", + }, + atrule: { + color: "#859900", + }, + "attr-value": { + color: "#859900", + }, + keyword: { + color: "#859900", + }, + function: { + color: "#b58900", + }, + "class-name": { + color: "#b58900", + }, + regex: { + color: "#cb4b16", + }, + important: { + color: "#cb4b16", + fontWeight: "bold", + }, + variable: { + color: "#cb4b16", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ta)), + Ta + ); } -var Fi = {}, D1; -function A4() { - return D1 || (D1 = 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; - }(Fi)), Fi; +var Oa = {}, + k1; +function b4() { + return ( + k1 || + ((k1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#ccc", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#ccc", + background: "#2d2d2d", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2d2d2d", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#999", + }, + "block-comment": { + color: "#999", + }, + prolog: { + color: "#999", + }, + doctype: { + color: "#999", + }, + cdata: { + color: "#999", + }, + punctuation: { + color: "#ccc", + }, + tag: { + color: "#e2777a", + }, + "attr-name": { + color: "#e2777a", + }, + namespace: { + color: "#e2777a", + }, + deleted: { + color: "#e2777a", + }, + "function-name": { + color: "#6196cc", + }, + boolean: { + color: "#f08d49", + }, + number: { + color: "#f08d49", + }, + function: { + color: "#f08d49", + }, + property: { + color: "#f8c555", + }, + "class-name": { + color: "#f8c555", + }, + constant: { + color: "#f8c555", + }, + symbol: { + color: "#f8c555", + }, + selector: { + color: "#cc99cd", + }, + important: { + color: "#cc99cd", + fontWeight: "bold", + }, + atrule: { + color: "#cc99cd", + }, + keyword: { + color: "#cc99cd", + }, + builtin: { + color: "#cc99cd", + }, + string: { + color: "#7ec699", + }, + char: { + color: "#7ec699", + }, + "attr-value": { + color: "#7ec699", + }, + regex: { + color: "#7ec699", + }, + variable: { + color: "#7ec699", + }, + operator: { + color: "#67cdcc", + }, + entity: { + color: "#67cdcc", + cursor: "help", + }, + url: { + color: "#67cdcc", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + color: "green", + }, + }; + e.default = t; + })(Oa)), + Oa + ); } -var Ri = {}, L1; -function M4() { - return L1 || (L1 = 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; - }(Ri)), Ri; +var Na = {}, + _1; +function y4() { + return ( + _1 || + ((_1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "white", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + textShadow: "0 -.1em .2em black", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + background: "hsl(0, 0%, 8%)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + textShadow: "0 -.1em .2em black", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + borderRadius: ".5em", + border: ".3em solid hsl(0, 0%, 33%)", + boxShadow: "1px 1px .5em black inset", + margin: ".5em 0", + overflow: "auto", + padding: "1em", + }, + ':not(pre) > code[class*="language-"]': { + background: "hsl(0, 0%, 8%)", + borderRadius: ".3em", + border: ".13em solid hsl(0, 0%, 33%)", + boxShadow: "1px 1px .3em -.1em black inset", + padding: ".15em .2em .05em", + whiteSpace: "normal", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "hsla(0, 0%, 93%, 0.15)", + textShadow: "none", + }, + 'pre[class*="language-"]::selection': { + background: "hsla(0, 0%, 93%, 0.15)", + textShadow: "none", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + comment: { + color: "hsl(0, 0%, 47%)", + }, + prolog: { + color: "hsl(0, 0%, 47%)", + }, + doctype: { + color: "hsl(0, 0%, 47%)", + }, + cdata: { + color: "hsl(0, 0%, 47%)", + }, + punctuation: { + Opacity: ".7", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "hsl(14, 58%, 55%)", + }, + boolean: { + color: "hsl(14, 58%, 55%)", + }, + number: { + color: "hsl(14, 58%, 55%)", + }, + deleted: { + color: "hsl(14, 58%, 55%)", + }, + keyword: { + color: "hsl(53, 89%, 79%)", + }, + property: { + color: "hsl(53, 89%, 79%)", + }, + selector: { + color: "hsl(53, 89%, 79%)", + }, + constant: { + color: "hsl(53, 89%, 79%)", + }, + symbol: { + color: "hsl(53, 89%, 79%)", + }, + builtin: { + color: "hsl(53, 89%, 79%)", + }, + "attr-name": { + color: "hsl(76, 21%, 52%)", + }, + "attr-value": { + color: "hsl(76, 21%, 52%)", + }, + string: { + color: "hsl(76, 21%, 52%)", + }, + char: { + color: "hsl(76, 21%, 52%)", + }, + operator: { + color: "hsl(76, 21%, 52%)", + }, + entity: { + color: "hsl(76, 21%, 52%)", + cursor: "help", + }, + url: { + color: "hsl(76, 21%, 52%)", + }, + ".language-css .token.string": { + color: "hsl(76, 21%, 52%)", + }, + ".style .token.string": { + color: "hsl(76, 21%, 52%)", + }, + variable: { + color: "hsl(76, 21%, 52%)", + }, + inserted: { + color: "hsl(76, 21%, 52%)", + }, + atrule: { + color: "hsl(218, 22%, 55%)", + }, + regex: { + color: "hsl(42, 75%, 65%)", + }, + important: { + color: "hsl(42, 75%, 65%)", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + ".language-markup .token.tag": { + color: "hsl(33, 33%, 52%)", + }, + ".language-markup .token.attr-name": { + color: "hsl(33, 33%, 52%)", + }, + ".language-markup .token.punctuation": { + color: "hsl(33, 33%, 52%)", + }, + "": { + position: "relative", + zIndex: "1", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))", + borderBottom: "1px dashed hsl(0, 0%, 33%)", + borderTop: "1px dashed hsl(0, 0%, 33%)", + marginTop: "0.75em", + zIndex: "0", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "hsl(215, 15%, 59%)", + color: "hsl(24, 20%, 95%)", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "hsl(215, 15%, 59%)", + color: "hsl(24, 20%, 95%)", + }, + }; + e.default = t; + })(Na)), + Na + ); } -var Ii = {}, j1; -function T4() { - return j1 || (j1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - fontFamily: "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; - }(Ii)), Ii; +var Da = {}, + A1; +function C4() { + return ( + A1 || + ((A1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + textShadow: "0 1px white", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "black", + background: "#f5f2f0", + textShadow: "0 1px white", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + ':not(pre) > code[class*="language-"]': { + background: "#f5f2f0", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "slategray", + }, + prolog: { + color: "slategray", + }, + doctype: { + color: "slategray", + }, + cdata: { + color: "slategray", + }, + punctuation: { + color: "#999", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#905", + }, + tag: { + color: "#905", + }, + boolean: { + color: "#905", + }, + number: { + color: "#905", + }, + constant: { + color: "#905", + }, + symbol: { + color: "#905", + }, + deleted: { + color: "#905", + }, + selector: { + color: "#690", + }, + "attr-name": { + color: "#690", + }, + string: { + color: "#690", + }, + char: { + color: "#690", + }, + builtin: { + color: "#690", + }, + inserted: { + color: "#690", + }, + operator: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + entity: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + cursor: "help", + }, + url: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + ".language-css .token.string": { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + ".style .token.string": { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + atrule: { + color: "#07a", + }, + "attr-value": { + color: "#07a", + }, + keyword: { + color: "#07a", + }, + function: { + color: "#DD4A68", + }, + "class-name": { + color: "#DD4A68", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + variable: { + color: "#e90", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Da)), + Da + ); } -var zi = {}, F1; -function O4() { - return F1 || (F1 = 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; - }(zi)), zi; +var La = {}, + M1; +function v4() { + return ( + M1 || + ((M1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#2b2b2b", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2b2b2b", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#d4d0ab", + }, + prolog: { + color: "#d4d0ab", + }, + doctype: { + color: "#d4d0ab", + }, + cdata: { + color: "#d4d0ab", + }, + punctuation: { + color: "#fefefe", + }, + property: { + color: "#ffa07a", + }, + tag: { + color: "#ffa07a", + }, + constant: { + color: "#ffa07a", + }, + symbol: { + color: "#ffa07a", + }, + deleted: { + color: "#ffa07a", + }, + boolean: { + color: "#00e0e0", + }, + number: { + color: "#00e0e0", + }, + selector: { + color: "#abe338", + }, + "attr-name": { + color: "#abe338", + }, + string: { + color: "#abe338", + }, + char: { + color: "#abe338", + }, + builtin: { + color: "#abe338", + }, + inserted: { + color: "#abe338", + }, + operator: { + color: "#00e0e0", + }, + entity: { + color: "#00e0e0", + cursor: "help", + }, + url: { + color: "#00e0e0", + }, + ".language-css .token.string": { + color: "#00e0e0", + }, + ".style .token.string": { + color: "#00e0e0", + }, + variable: { + color: "#00e0e0", + }, + atrule: { + color: "#ffd700", + }, + "attr-value": { + color: "#ffd700", + }, + function: { + color: "#ffd700", + }, + keyword: { + color: "#00e0e0", + }, + regex: { + color: "#ffd700", + }, + important: { + color: "#ffd700", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(La)), + La + ); } -var Hi = {}, R1; -function N4() { - return R1 || (R1 = 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; - }(Hi)), Hi; +var Fa = {}, + T1; +function x4() { + return ( + T1 || + ((T1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#c5c8c6", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#c5c8c6", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + background: "#1d1f21", + }, + ':not(pre) > code[class*="language-"]': { + background: "#1d1f21", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#7C7C7C", + }, + prolog: { + color: "#7C7C7C", + }, + doctype: { + color: "#7C7C7C", + }, + cdata: { + color: "#7C7C7C", + }, + punctuation: { + color: "#c5c8c6", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#96CBFE", + }, + keyword: { + color: "#96CBFE", + }, + tag: { + color: "#96CBFE", + }, + "class-name": { + color: "#FFFFB6", + textDecoration: "underline", + }, + boolean: { + color: "#99CC99", + }, + constant: { + color: "#99CC99", + }, + symbol: { + color: "#f92672", + }, + deleted: { + color: "#f92672", + }, + number: { + color: "#FF73FD", + }, + selector: { + color: "#A8FF60", + }, + "attr-name": { + color: "#A8FF60", + }, + string: { + color: "#A8FF60", + }, + char: { + color: "#A8FF60", + }, + builtin: { + color: "#A8FF60", + }, + inserted: { + color: "#A8FF60", + }, + variable: { + color: "#C6C5FE", + }, + operator: { + color: "#EDEDED", + }, + entity: { + color: "#FFFFB6", + cursor: "help", + }, + url: { + color: "#96CBFE", + }, + ".language-css .token.string": { + color: "#87C38A", + }, + ".style .token.string": { + color: "#87C38A", + }, + atrule: { + color: "#F9EE98", + }, + "attr-value": { + color: "#F9EE98", + }, + function: { + color: "#DAD085", + }, + regex: { + color: "#E9C062", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Fa)), + Fa + ); } -var Pi = {}, I1; -function D4() { - return I1 || (I1 = 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; - }(Pi)), Pi; +var Ra = {}, + O1; +function w4() { + return ( + O1 || + ((O1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#f5f7ff", + color: "#5e6687", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#f5f7ff", + color: "#5e6687", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#898ea4", + }, + prolog: { + color: "#898ea4", + }, + doctype: { + color: "#898ea4", + }, + cdata: { + color: "#898ea4", + }, + punctuation: { + color: "#5e6687", + }, + namespace: { + Opacity: ".7", + }, + operator: { + color: "#c76b29", + }, + boolean: { + color: "#c76b29", + }, + number: { + color: "#c76b29", + }, + property: { + color: "#c08b30", + }, + tag: { + color: "#3d8fd1", + }, + string: { + color: "#22a2c9", + }, + selector: { + color: "#6679cc", + }, + "attr-name": { + color: "#c76b29", + }, + entity: { + color: "#22a2c9", + cursor: "help", + }, + url: { + color: "#22a2c9", + }, + ".language-css .token.string": { + color: "#22a2c9", + }, + ".style .token.string": { + color: "#22a2c9", + }, + "attr-value": { + color: "#ac9739", + }, + keyword: { + color: "#ac9739", + }, + control: { + color: "#ac9739", + }, + directive: { + color: "#ac9739", + }, + unit: { + color: "#ac9739", + }, + statement: { + color: "#22a2c9", + }, + regex: { + color: "#22a2c9", + }, + atrule: { + color: "#22a2c9", + }, + placeholder: { + color: "#3d8fd1", + }, + variable: { + color: "#3d8fd1", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #202746", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#c94922", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: "0.4em solid #c94922", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#dfe2f1", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#979db4", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))", + }, + }; + e.default = t; + })(Ra)), + Ra + ); } -var Bi = {}, z1; -function L4() { - return z1 || (z1 = 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; - }(Bi)), Bi; +var ja = {}, + N1; +function E4() { + return ( + N1 || + ((N1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#fff", + textShadow: "0 1px 1px #000", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + whiteSpace: "pre", + wordWrap: "normal", + lineHeight: "1.4", + background: "none", + border: "0", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#fff", + textShadow: "0 1px 1px #000", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + whiteSpace: "pre", + wordWrap: "normal", + lineHeight: "1.4", + background: "#222", + border: "0", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "15px", + margin: "1em 0", + overflow: "auto", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + 'pre[class*="language-"] code': { + float: "left", + padding: "0 15px 0 0", + }, + ':not(pre) > code[class*="language-"]': { + background: "#222", + padding: "5px 10px", + lineHeight: "1", + MozBorderRadius: "3px", + WebkitBorderRadius: "3px", + borderRadius: "3px", + }, + comment: { + color: "#797979", + }, + prolog: { + color: "#797979", + }, + doctype: { + color: "#797979", + }, + cdata: { + color: "#797979", + }, + selector: { + color: "#fff", + }, + operator: { + color: "#fff", + }, + punctuation: { + color: "#fff", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#ffd893", + }, + boolean: { + color: "#ffd893", + }, + atrule: { + color: "#B0C975", + }, + "attr-value": { + color: "#B0C975", + }, + hex: { + color: "#B0C975", + }, + string: { + color: "#B0C975", + }, + property: { + color: "#c27628", + }, + entity: { + color: "#c27628", + cursor: "help", + }, + url: { + color: "#c27628", + }, + "attr-name": { + color: "#c27628", + }, + keyword: { + color: "#c27628", + }, + regex: { + color: "#9B71C6", + }, + function: { + color: "#e5a638", + }, + constant: { + color: "#e5a638", + }, + variable: { + color: "#fdfba8", + }, + number: { + color: "#8799B0", + }, + important: { + color: "#E45734", + }, + deliminator: { + color: "#E45734", + }, + ".line-highlight.line-highlight": { + background: "rgba(255, 255, 255, .2)", + }, + ".line-highlight.line-highlight:before": { + top: ".3em", + backgroundColor: "rgba(255, 255, 255, .3)", + color: "#fff", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + ".line-highlight.line-highlight[data-end]:after": { + top: ".3em", + backgroundColor: "rgba(255, 255, 255, .3)", + color: "#fff", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + ".line-numbers .line-numbers-rows > span": { + borderRight: "3px #d9d336 solid", + }, + }; + e.default = t; + })(ja)), + ja + ); } -var Vi = {}, H1; -function j4() { - return H1 || (H1 = 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; - }(Vi)), Vi; -} -var $i = {}, P1; -function F4() { - return P1 || (P1 = 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; - }($i)), $i; +var Ia = {}, + D1; +function S4() { + return ( + D1 || + ((D1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#111b27", + background: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#111b27", + background: "#e3eaf2", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#8da1b9", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#8da1b9", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"]::selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"] ::selection': { + background: "#8da1b9", + }, + 'code[class*="language-"]::selection': { + background: "#8da1b9", + }, + 'code[class*="language-"] ::selection': { + background: "#8da1b9", + }, + ':not(pre) > code[class*="language-"]': { + background: "#e3eaf2", + padding: "0.1em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#3c526d", + }, + prolog: { + color: "#3c526d", + }, + doctype: { + color: "#3c526d", + }, + cdata: { + color: "#3c526d", + }, + punctuation: { + color: "#111b27", + }, + "delimiter.important": { + color: "#006d6d", + fontWeight: "inherit", + }, + "selector.parent": { + color: "#006d6d", + }, + tag: { + color: "#006d6d", + }, + "tag.punctuation": { + color: "#006d6d", + }, + "attr-name": { + color: "#755f00", + }, + boolean: { + color: "#755f00", + }, + "boolean.important": { + color: "#755f00", + }, + number: { + color: "#755f00", + }, + constant: { + color: "#755f00", + }, + "selector.attribute": { + color: "#755f00", + }, + "class-name": { + color: "#005a8e", + }, + key: { + color: "#005a8e", + }, + parameter: { + color: "#005a8e", + }, + property: { + color: "#005a8e", + }, + "property-access": { + color: "#005a8e", + }, + variable: { + color: "#005a8e", + }, + "attr-value": { + color: "#116b00", + }, + inserted: { + color: "#116b00", + }, + color: { + color: "#116b00", + }, + "selector.value": { + color: "#116b00", + }, + string: { + color: "#116b00", + }, + "string.url-link": { + color: "#116b00", + }, + builtin: { + color: "#af00af", + }, + "keyword-array": { + color: "#af00af", + }, + package: { + color: "#af00af", + }, + regex: { + color: "#af00af", + }, + function: { + color: "#7c00aa", + }, + "selector.class": { + color: "#7c00aa", + }, + "selector.id": { + color: "#7c00aa", + }, + "atrule.rule": { + color: "#a04900", + }, + combinator: { + color: "#a04900", + }, + keyword: { + color: "#a04900", + }, + operator: { + color: "#a04900", + }, + "pseudo-class": { + color: "#a04900", + }, + "pseudo-element": { + color: "#a04900", + }, + selector: { + color: "#a04900", + }, + unit: { + color: "#a04900", + }, + deleted: { + color: "#c22f2e", + }, + important: { + color: "#c22f2e", + fontWeight: "bold", + }, + "keyword-this": { + color: "#005a8e", + fontWeight: "bold", + }, + this: { + color: "#005a8e", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + entity: { + cursor: "help", + }, + ".language-markdown .token.title": { + color: "#005a8e", + fontWeight: "bold", + }, + ".language-markdown .token.title .token.punctuation": { + color: "#005a8e", + fontWeight: "bold", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "#af00af", + }, + ".language-markdown .token.code": { + color: "#006d6d", + }, + ".language-markdown .token.hr.punctuation": { + color: "#005a8e", + }, + ".language-markdown .token.url > .token.content": { + color: "#116b00", + }, + ".language-markdown .token.url-link": { + color: "#755f00", + }, + ".language-markdown .token.list.punctuation": { + color: "#af00af", + }, + ".language-markdown .token.table-header": { + color: "#111b27", + }, + ".language-json .token.operator": { + color: "#111b27", + }, + ".language-scss .token.variable": { + color: "#006d6d", + }, + "token.tab:not(:empty):before": { + color: "#3c526d", + }, + "token.cr:before": { + color: "#3c526d", + }, + "token.lf:before": { + color: "#3c526d", + }, + "token.space:before": { + color: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + color: "#e3eaf2", + background: "#005a8e", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + color: "#e3eaf2", + background: "#005a8e", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + color: "#e3eaf2", + background: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + color: "#e3eaf2", + background: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + color: "#e3eaf2", + background: "#3c526d", + }, + ".line-highlight.line-highlight": { + background: "linear-gradient(to right, #8da1b92f 70%, #8da1b925)", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "#3c526d", + color: "#e3eaf2", + boxShadow: "0 1px #8da1b9", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "#3c526d", + color: "#e3eaf2", + boxShadow: "0 1px #8da1b9", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "#3c526d1f", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRight: "1px solid #8da1b97a", + background: "#d0dae77a", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3c526dda", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "#7c00aa", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "#7c00aa", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "#7c00aa", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "#c22f2e1f", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "#c22f2e1f", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "#116b001f", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "#116b001f", + }, + ".command-line .command-line-prompt": { + borderRight: "1px solid #8da1b97a", + }, + ".command-line .command-line-prompt > span:before": { + color: "#3c526dda", + }, + }; + e.default = t; + })(Ia)), + Ia + ); } -var Wi = {}, B1; -function R4() { - return B1 || (B1 = 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; - }(Wi)), Wi; +var za = {}, + L1; +function k4() { + return ( + L1 || + ((L1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#e3eaf2", + background: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#e3eaf2", + background: "#111b27", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#3c526d", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#3c526d", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#3c526d", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#3c526d", + }, + 'pre[class*="language-"]::selection': { + background: "#3c526d", + }, + 'pre[class*="language-"] ::selection': { + background: "#3c526d", + }, + 'code[class*="language-"]::selection': { + background: "#3c526d", + }, + 'code[class*="language-"] ::selection': { + background: "#3c526d", + }, + ':not(pre) > code[class*="language-"]': { + background: "#111b27", + padding: "0.1em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#8da1b9", + }, + prolog: { + color: "#8da1b9", + }, + doctype: { + color: "#8da1b9", + }, + cdata: { + color: "#8da1b9", + }, + punctuation: { + color: "#e3eaf2", + }, + "delimiter.important": { + color: "#66cccc", + fontWeight: "inherit", + }, + "selector.parent": { + color: "#66cccc", + }, + tag: { + color: "#66cccc", + }, + "tag.punctuation": { + color: "#66cccc", + }, + "attr-name": { + color: "#e6d37a", + }, + boolean: { + color: "#e6d37a", + }, + "boolean.important": { + color: "#e6d37a", + }, + number: { + color: "#e6d37a", + }, + constant: { + color: "#e6d37a", + }, + "selector.attribute": { + color: "#e6d37a", + }, + "class-name": { + color: "#6cb8e6", + }, + key: { + color: "#6cb8e6", + }, + parameter: { + color: "#6cb8e6", + }, + property: { + color: "#6cb8e6", + }, + "property-access": { + color: "#6cb8e6", + }, + variable: { + color: "#6cb8e6", + }, + "attr-value": { + color: "#91d076", + }, + inserted: { + color: "#91d076", + }, + color: { + color: "#91d076", + }, + "selector.value": { + color: "#91d076", + }, + string: { + color: "#91d076", + }, + "string.url-link": { + color: "#91d076", + }, + builtin: { + color: "#f4adf4", + }, + "keyword-array": { + color: "#f4adf4", + }, + package: { + color: "#f4adf4", + }, + regex: { + color: "#f4adf4", + }, + function: { + color: "#c699e3", + }, + "selector.class": { + color: "#c699e3", + }, + "selector.id": { + color: "#c699e3", + }, + "atrule.rule": { + color: "#e9ae7e", + }, + combinator: { + color: "#e9ae7e", + }, + keyword: { + color: "#e9ae7e", + }, + operator: { + color: "#e9ae7e", + }, + "pseudo-class": { + color: "#e9ae7e", + }, + "pseudo-element": { + color: "#e9ae7e", + }, + selector: { + color: "#e9ae7e", + }, + unit: { + color: "#e9ae7e", + }, + deleted: { + color: "#cd6660", + }, + important: { + color: "#cd6660", + fontWeight: "bold", + }, + "keyword-this": { + color: "#6cb8e6", + fontWeight: "bold", + }, + this: { + color: "#6cb8e6", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + entity: { + cursor: "help", + }, + ".language-markdown .token.title": { + color: "#6cb8e6", + fontWeight: "bold", + }, + ".language-markdown .token.title .token.punctuation": { + color: "#6cb8e6", + fontWeight: "bold", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "#f4adf4", + }, + ".language-markdown .token.code": { + color: "#66cccc", + }, + ".language-markdown .token.hr.punctuation": { + color: "#6cb8e6", + }, + ".language-markdown .token.url .token.content": { + color: "#91d076", + }, + ".language-markdown .token.url-link": { + color: "#e6d37a", + }, + ".language-markdown .token.list.punctuation": { + color: "#f4adf4", + }, + ".language-markdown .token.table-header": { + color: "#e3eaf2", + }, + ".language-json .token.operator": { + color: "#e3eaf2", + }, + ".language-scss .token.variable": { + color: "#66cccc", + }, + "token.tab:not(:empty):before": { + color: "#8da1b9", + }, + "token.cr:before": { + color: "#8da1b9", + }, + "token.lf:before": { + color: "#8da1b9", + }, + "token.space:before": { + color: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + color: "#111b27", + background: "#6cb8e6", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + color: "#111b27", + background: "#6cb8e6", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + color: "#111b27", + background: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + color: "#111b27", + background: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + color: "#111b27", + background: "#8da1b9", + }, + ".line-highlight.line-highlight": { + background: "linear-gradient(to right, #3c526d5f 70%, #3c526d55)", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "#8da1b9", + color: "#111b27", + boxShadow: "0 1px #3c526d", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "#8da1b9", + color: "#111b27", + boxShadow: "0 1px #3c526d", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "#8da1b918", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRight: "1px solid #0b121b", + background: "#0b121b7a", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#8da1b9da", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "#c699e3", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "#c699e3", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "#c699e3", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "#cd66601f", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "#cd66601f", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "#91d0761f", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "#91d0761f", + }, + ".command-line .command-line-prompt": { + borderRight: "1px solid #0b121b", + }, + ".command-line .command-line-prompt > span:before": { + color: "#8da1b9da", + }, + }; + e.default = t; + })(za)), + za + ); } -var Zi = {}, V1; -function I4() { - return V1 || (V1 = 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; - }(Zi)), Zi; +var Ha = {}, + F1; +function _4() { + return ( + F1 || + ((F1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + position: "relative", + borderLeft: "10px solid #358ccb", + boxShadow: "-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf", + backgroundColor: "#fdfdfd", + backgroundImage: + "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", + backgroundSize: "3em 3em", + backgroundOrigin: "content-box", + backgroundAttachment: "local", + margin: ".5em 0", + padding: "0 1em", + }, + 'pre[class*="language-"] > code': { + display: "block", + }, + ':not(pre) > code[class*="language-"]': { + position: "relative", + padding: ".2em", + borderRadius: "0.3em", + color: "#c92c2c", + border: "1px solid rgba(0, 0, 0, 0.1)", + display: "inline", + whiteSpace: "normal", + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + }, + comment: { + color: "#7D8B99", + }, + "block-comment": { + color: "#7D8B99", + }, + prolog: { + color: "#7D8B99", + }, + doctype: { + color: "#7D8B99", + }, + cdata: { + color: "#7D8B99", + }, + punctuation: { + color: "#5F6364", + }, + property: { + color: "#c92c2c", + }, + tag: { + color: "#c92c2c", + }, + boolean: { + color: "#c92c2c", + }, + number: { + color: "#c92c2c", + }, + "function-name": { + color: "#c92c2c", + }, + constant: { + color: "#c92c2c", + }, + symbol: { + color: "#c92c2c", + }, + deleted: { + color: "#c92c2c", + }, + selector: { + color: "#2f9c0a", + }, + "attr-name": { + color: "#2f9c0a", + }, + string: { + color: "#2f9c0a", + }, + char: { + color: "#2f9c0a", + }, + function: { + color: "#2f9c0a", + }, + builtin: { + color: "#2f9c0a", + }, + inserted: { + color: "#2f9c0a", + }, + operator: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + entity: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + cursor: "help", + }, + url: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + variable: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + atrule: { + color: "#1990b8", + }, + "attr-value": { + color: "#1990b8", + }, + keyword: { + color: "#1990b8", + }, + "class-name": { + color: "#1990b8", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "normal", + }, + ".language-css .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + ".style .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + }; + e.default = t; + })(Ha)), + Ha + ); } -var Ui = {}, $1; -function z4() { - return $1 || ($1 = 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; - }(Ui)), Ui; +var Pa = {}, + R1; +function A4() { + return ( + R1 || + ((R1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#a9b7c6", + fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#a9b7c6", + fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + background: "#2b2b2b", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"]::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"]::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"] ::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"]::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"] ::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2b2b2b", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#808080", + }, + prolog: { + color: "#808080", + }, + cdata: { + color: "#808080", + }, + delimiter: { + color: "#cc7832", + }, + boolean: { + color: "#cc7832", + }, + keyword: { + color: "#cc7832", + }, + selector: { + color: "#cc7832", + }, + important: { + color: "#cc7832", + }, + atrule: { + color: "#cc7832", + }, + operator: { + color: "#a9b7c6", + }, + punctuation: { + color: "#a9b7c6", + }, + "attr-name": { + color: "#a9b7c6", + }, + tag: { + color: "#e8bf6a", + }, + "tag.punctuation": { + color: "#e8bf6a", + }, + doctype: { + color: "#e8bf6a", + }, + builtin: { + color: "#e8bf6a", + }, + entity: { + color: "#6897bb", + }, + number: { + color: "#6897bb", + }, + symbol: { + color: "#6897bb", + }, + property: { + color: "#9876aa", + }, + constant: { + color: "#9876aa", + }, + variable: { + color: "#9876aa", + }, + string: { + color: "#6a8759", + }, + char: { + color: "#6a8759", + }, + "attr-value": { + color: "#a5c261", + }, + "attr-value.punctuation": { + color: "#a5c261", + }, + "attr-value.punctuation:first-child": { + color: "#a9b7c6", + }, + url: { + color: "#287bde", + textDecoration: "underline", + }, + function: { + color: "#ffc66d", + }, + regex: { + background: "#364135", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#294436", + }, + deleted: { + background: "#484a4a", + }, + "code.language-css .token.property": { + color: "#a9b7c6", + }, + "code.language-css .token.property + .token.punctuation": { + color: "#a9b7c6", + }, + "code.language-css .token.id": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.attribute": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-element": { + color: "#ffc66d", + }, + }; + e.default = t; + })(Pa)), + Pa + ); } -var qi = {}, W1; -function H4() { - return W1 || (W1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, 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; - }(qi)), qi; +var Ba = {}, + j1; +function M4() { + return ( + j1 || + ((j1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#282a36", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#282a36", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#6272a4", + }, + prolog: { + color: "#6272a4", + }, + doctype: { + color: "#6272a4", + }, + cdata: { + color: "#6272a4", + }, + punctuation: { + color: "#f8f8f2", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#ff79c6", + }, + tag: { + color: "#ff79c6", + }, + constant: { + color: "#ff79c6", + }, + symbol: { + color: "#ff79c6", + }, + deleted: { + color: "#ff79c6", + }, + boolean: { + color: "#bd93f9", + }, + number: { + color: "#bd93f9", + }, + selector: { + color: "#50fa7b", + }, + "attr-name": { + color: "#50fa7b", + }, + string: { + color: "#50fa7b", + }, + char: { + color: "#50fa7b", + }, + builtin: { + color: "#50fa7b", + }, + inserted: { + color: "#50fa7b", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#f1fa8c", + }, + "attr-value": { + color: "#f1fa8c", + }, + function: { + color: "#f1fa8c", + }, + "class-name": { + color: "#f1fa8c", + }, + keyword: { + color: "#8be9fd", + }, + regex: { + color: "#ffb86c", + }, + important: { + color: "#ffb86c", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ba)), + Ba + ); } -var Yi = {}, Z1; -function P4() { - return Z1 || (Z1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#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; - }(Yi)), Yi; -} -var Gi = {}, U1; -function B4() { - return U1 || (U1 = 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; - }(Gi)), Gi; +var Va = {}, + I1; +function T4() { + return ( + I1 || + ((I1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2734", + color: "#9a86fd", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2734", + color: "#9a86fd", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#6a51e6", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#6c6783", + }, + prolog: { + color: "#6c6783", + }, + doctype: { + color: "#6c6783", + }, + cdata: { + color: "#6c6783", + }, + punctuation: { + color: "#6c6783", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#e09142", + }, + operator: { + color: "#e09142", + }, + number: { + color: "#e09142", + }, + property: { + color: "#9a86fd", + }, + function: { + color: "#9a86fd", + }, + "tag-id": { + color: "#eeebff", + }, + selector: { + color: "#eeebff", + }, + "atrule-id": { + color: "#eeebff", + }, + "code.language-javascript": { + color: "#c4b9fe", + }, + "attr-name": { + color: "#c4b9fe", + }, + "code.language-css": { + color: "#ffcc99", + }, + "code.language-scss": { + color: "#ffcc99", + }, + boolean: { + color: "#ffcc99", + }, + string: { + color: "#ffcc99", + }, + entity: { + color: "#ffcc99", + cursor: "help", + }, + url: { + color: "#ffcc99", + }, + ".language-css .token.string": { + color: "#ffcc99", + }, + ".language-scss .token.string": { + color: "#ffcc99", + }, + ".style .token.string": { + color: "#ffcc99", + }, + "attr-value": { + color: "#ffcc99", + }, + keyword: { + color: "#ffcc99", + }, + control: { + color: "#ffcc99", + }, + directive: { + color: "#ffcc99", + }, + unit: { + color: "#ffcc99", + }, + statement: { + color: "#ffcc99", + }, + regex: { + color: "#ffcc99", + }, + atrule: { + color: "#ffcc99", + }, + placeholder: { + color: "#ffcc99", + }, + variable: { + color: "#ffcc99", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #eeebff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#c4b9fe", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #8a75f5", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#2c2937", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3c3949", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))", + }, + }; + e.default = t; + })(Va)), + Va + ); } -var Ki = {}, q1; -function V4() { - return q1 || (q1 = 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; - }(Ki)), Ki; +var $a = {}, + z1; +function O4() { + return ( + z1 || + ((z1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#322d29", + color: "#88786d", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#322d29", + color: "#88786d", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#6f5849", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#6a5f58", + }, + prolog: { + color: "#6a5f58", + }, + doctype: { + color: "#6a5f58", + }, + cdata: { + color: "#6a5f58", + }, + punctuation: { + color: "#6a5f58", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#bfa05a", + }, + operator: { + color: "#bfa05a", + }, + number: { + color: "#bfa05a", + }, + property: { + color: "#88786d", + }, + function: { + color: "#88786d", + }, + "tag-id": { + color: "#fff3eb", + }, + selector: { + color: "#fff3eb", + }, + "atrule-id": { + color: "#fff3eb", + }, + "code.language-javascript": { + color: "#a48774", + }, + "attr-name": { + color: "#a48774", + }, + "code.language-css": { + color: "#fcc440", + }, + "code.language-scss": { + color: "#fcc440", + }, + boolean: { + color: "#fcc440", + }, + string: { + color: "#fcc440", + }, + entity: { + color: "#fcc440", + cursor: "help", + }, + url: { + color: "#fcc440", + }, + ".language-css .token.string": { + color: "#fcc440", + }, + ".language-scss .token.string": { + color: "#fcc440", + }, + ".style .token.string": { + color: "#fcc440", + }, + "attr-value": { + color: "#fcc440", + }, + keyword: { + color: "#fcc440", + }, + control: { + color: "#fcc440", + }, + directive: { + color: "#fcc440", + }, + unit: { + color: "#fcc440", + }, + statement: { + color: "#fcc440", + }, + regex: { + color: "#fcc440", + }, + atrule: { + color: "#fcc440", + }, + placeholder: { + color: "#fcc440", + }, + variable: { + color: "#fcc440", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #fff3eb", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#a48774", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #816d5f", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#35302b", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#46403d", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))", + }, + }; + e.default = t; + })($a)), + $a + ); } -var Xi = {}, Y1; -function $4() { - return Y1 || (Y1 = 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; - }(Xi)), Xi; +var Wa = {}, + H1; +function N4() { + return ( + H1 || + ((H1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2d2a", + color: "#687d68", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2d2a", + color: "#687d68", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#435643", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#535f53", + }, + prolog: { + color: "#535f53", + }, + doctype: { + color: "#535f53", + }, + cdata: { + color: "#535f53", + }, + punctuation: { + color: "#535f53", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#a2b34d", + }, + operator: { + color: "#a2b34d", + }, + number: { + color: "#a2b34d", + }, + property: { + color: "#687d68", + }, + function: { + color: "#687d68", + }, + "tag-id": { + color: "#f0fff0", + }, + selector: { + color: "#f0fff0", + }, + "atrule-id": { + color: "#f0fff0", + }, + "code.language-javascript": { + color: "#b3d6b3", + }, + "attr-name": { + color: "#b3d6b3", + }, + "code.language-css": { + color: "#e5fb79", + }, + "code.language-scss": { + color: "#e5fb79", + }, + boolean: { + color: "#e5fb79", + }, + string: { + color: "#e5fb79", + }, + entity: { + color: "#e5fb79", + cursor: "help", + }, + url: { + color: "#e5fb79", + }, + ".language-css .token.string": { + color: "#e5fb79", + }, + ".language-scss .token.string": { + color: "#e5fb79", + }, + ".style .token.string": { + color: "#e5fb79", + }, + "attr-value": { + color: "#e5fb79", + }, + keyword: { + color: "#e5fb79", + }, + control: { + color: "#e5fb79", + }, + directive: { + color: "#e5fb79", + }, + unit: { + color: "#e5fb79", + }, + statement: { + color: "#e5fb79", + }, + regex: { + color: "#e5fb79", + }, + atrule: { + color: "#e5fb79", + }, + placeholder: { + color: "#e5fb79", + }, + variable: { + color: "#e5fb79", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #f0fff0", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#b3d6b3", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #5c705c", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#2c302c", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3b423b", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))", + }, + }; + e.default = t; + })(Wa)), + Wa + ); } -var Qi = {}, G1; -function W4() { - return G1 || (G1 = 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; - }(Qi)), Qi; +var Za = {}, + P1; +function D4() { + return ( + P1 || + ((P1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#faf8f5", + color: "#728fcb", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#faf8f5", + color: "#728fcb", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#faf8f5", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#b6ad9a", + }, + prolog: { + color: "#b6ad9a", + }, + doctype: { + color: "#b6ad9a", + }, + cdata: { + color: "#b6ad9a", + }, + punctuation: { + color: "#b6ad9a", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#063289", + }, + operator: { + color: "#063289", + }, + number: { + color: "#063289", + }, + property: { + color: "#b29762", + }, + function: { + color: "#b29762", + }, + "tag-id": { + color: "#2d2006", + }, + selector: { + color: "#2d2006", + }, + "atrule-id": { + color: "#2d2006", + }, + "code.language-javascript": { + color: "#896724", + }, + "attr-name": { + color: "#896724", + }, + "code.language-css": { + color: "#728fcb", + }, + "code.language-scss": { + color: "#728fcb", + }, + boolean: { + color: "#728fcb", + }, + string: { + color: "#728fcb", + }, + entity: { + color: "#728fcb", + cursor: "help", + }, + url: { + color: "#728fcb", + }, + ".language-css .token.string": { + color: "#728fcb", + }, + ".language-scss .token.string": { + color: "#728fcb", + }, + ".style .token.string": { + color: "#728fcb", + }, + "attr-value": { + color: "#728fcb", + }, + keyword: { + color: "#728fcb", + }, + control: { + color: "#728fcb", + }, + directive: { + color: "#728fcb", + }, + unit: { + color: "#728fcb", + }, + statement: { + color: "#728fcb", + }, + regex: { + color: "#728fcb", + }, + atrule: { + color: "#728fcb", + }, + placeholder: { + color: "#93abdc", + }, + variable: { + color: "#93abdc", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #2d2006", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#896724", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #896724", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#ece8de", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#cdc4b1", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))", + }, + }; + e.default = t; + })(Za)), + Za + ); } -var Ji = {}, K1; -function Z4() { - return K1 || (K1 = 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; - }(Ji)), Ji; -} -var el = {}, X1; -function U4() { - return X1 || (X1 = 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; - }(el)), el; -} -var tl = {}, Q1; -function q4() { - return Q1 || (Q1 = 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; - }(tl)), tl; +var Ua = {}, + B1; +function L4() { + return ( + B1 || + ((B1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#1d262f", + color: "#57718e", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#1d262f", + color: "#57718e", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#004a9e", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#4a5f78", + }, + prolog: { + color: "#4a5f78", + }, + doctype: { + color: "#4a5f78", + }, + cdata: { + color: "#4a5f78", + }, + punctuation: { + color: "#4a5f78", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#0aa370", + }, + operator: { + color: "#0aa370", + }, + number: { + color: "#0aa370", + }, + property: { + color: "#57718e", + }, + function: { + color: "#57718e", + }, + "tag-id": { + color: "#ebf4ff", + }, + selector: { + color: "#ebf4ff", + }, + "atrule-id": { + color: "#ebf4ff", + }, + "code.language-javascript": { + color: "#7eb6f6", + }, + "attr-name": { + color: "#7eb6f6", + }, + "code.language-css": { + color: "#47ebb4", + }, + "code.language-scss": { + color: "#47ebb4", + }, + boolean: { + color: "#47ebb4", + }, + string: { + color: "#47ebb4", + }, + entity: { + color: "#47ebb4", + cursor: "help", + }, + url: { + color: "#47ebb4", + }, + ".language-css .token.string": { + color: "#47ebb4", + }, + ".language-scss .token.string": { + color: "#47ebb4", + }, + ".style .token.string": { + color: "#47ebb4", + }, + "attr-value": { + color: "#47ebb4", + }, + keyword: { + color: "#47ebb4", + }, + control: { + color: "#47ebb4", + }, + directive: { + color: "#47ebb4", + }, + unit: { + color: "#47ebb4", + }, + statement: { + color: "#47ebb4", + }, + regex: { + color: "#47ebb4", + }, + atrule: { + color: "#47ebb4", + }, + placeholder: { + color: "#47ebb4", + }, + variable: { + color: "#47ebb4", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #ebf4ff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#7eb6f6", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #34659d", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#1f2932", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#2c3847", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))", + }, + }; + e.default = t; + })(Ua)), + Ua + ); } -var nl = {}, J1; -function Y4() { - return J1 || (J1 = 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; - }(nl)), nl; +var qa = {}, + V1; +function F4() { + return ( + V1 || + ((V1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#24242e", + color: "#767693", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#24242e", + color: "#767693", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#5151e6", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#5b5b76", + }, + prolog: { + color: "#5b5b76", + }, + doctype: { + color: "#5b5b76", + }, + cdata: { + color: "#5b5b76", + }, + punctuation: { + color: "#5b5b76", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#dd672c", + }, + operator: { + color: "#dd672c", + }, + number: { + color: "#dd672c", + }, + property: { + color: "#767693", + }, + function: { + color: "#767693", + }, + "tag-id": { + color: "#ebebff", + }, + selector: { + color: "#ebebff", + }, + "atrule-id": { + color: "#ebebff", + }, + "code.language-javascript": { + color: "#aaaaca", + }, + "attr-name": { + color: "#aaaaca", + }, + "code.language-css": { + color: "#fe8c52", + }, + "code.language-scss": { + color: "#fe8c52", + }, + boolean: { + color: "#fe8c52", + }, + string: { + color: "#fe8c52", + }, + entity: { + color: "#fe8c52", + cursor: "help", + }, + url: { + color: "#fe8c52", + }, + ".language-css .token.string": { + color: "#fe8c52", + }, + ".language-scss .token.string": { + color: "#fe8c52", + }, + ".style .token.string": { + color: "#fe8c52", + }, + "attr-value": { + color: "#fe8c52", + }, + keyword: { + color: "#fe8c52", + }, + control: { + color: "#fe8c52", + }, + directive: { + color: "#fe8c52", + }, + unit: { + color: "#fe8c52", + }, + statement: { + color: "#fe8c52", + }, + regex: { + color: "#fe8c52", + }, + atrule: { + color: "#fe8c52", + }, + placeholder: { + color: "#fe8c52", + }, + variable: { + color: "#fe8c52", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #ebebff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#aaaaca", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #7676f4", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#262631", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#393949", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))", + }, + }; + e.default = t; + })(qa)), + qa + ); } -var ol = {}, e2; -function G4() { - return e2 || (e2 = 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; - }(ol)), ol; -} -var rl = {}, t2; -function K4() { - return t2 || (t2 = 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; - }(rl)), rl; +var Ya = {}, + $1; +function R4() { + return ( + $1 || + (($1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: "1px solid #dddddd", + backgroundColor: "white", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"]::selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"]::selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"] ::selection': { + background: "#b3d4fc", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + paddingTop: "1px", + paddingBottom: "1px", + background: "#f8f8f8", + border: "1px solid #dddddd", + }, + comment: { + color: "#999988", + fontStyle: "italic", + }, + prolog: { + color: "#999988", + fontStyle: "italic", + }, + doctype: { + color: "#999988", + fontStyle: "italic", + }, + cdata: { + color: "#999988", + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + string: { + color: "#e3116c", + }, + "attr-value": { + color: "#e3116c", + }, + punctuation: { + color: "#393A34", + }, + operator: { + color: "#393A34", + }, + entity: { + color: "#36acaa", + }, + url: { + color: "#36acaa", + }, + symbol: { + color: "#36acaa", + }, + number: { + color: "#36acaa", + }, + boolean: { + color: "#36acaa", + }, + variable: { + color: "#36acaa", + }, + constant: { + color: "#36acaa", + }, + property: { + color: "#36acaa", + }, + regex: { + color: "#36acaa", + }, + inserted: { + color: "#36acaa", + }, + atrule: { + color: "#00a4db", + }, + keyword: { + color: "#00a4db", + }, + "attr-name": { + color: "#00a4db", + }, + ".language-autohotkey .token.selector": { + color: "#00a4db", + }, + function: { + color: "#9a050f", + fontWeight: "bold", + }, + deleted: { + color: "#9a050f", + }, + ".language-autohotkey .token.tag": { + color: "#9a050f", + }, + tag: { + color: "#00009f", + }, + selector: { + color: "#00009f", + }, + ".language-autohotkey .token.keyword": { + color: "#00009f", + }, + important: { + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ya)), + Ya + ); } -var al = {}, n2; -function X4() { - return n2 || (n2 = 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; - }(al)), al; +var Ga = {}, + W1; +function j4() { + return ( + W1 || + ((W1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#ebdbb2", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#ebdbb2", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#1d2021", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"]::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"]::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"] ::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"]::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"] ::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + ':not(pre) > code[class*="language-"]': { + background: "#1d2021", + padding: "0.1em", + borderRadius: "0.3em", + }, + comment: { + color: "#a89984", + }, + prolog: { + color: "#a89984", + }, + cdata: { + color: "#a89984", + }, + delimiter: { + color: "#fb4934", + }, + boolean: { + color: "#fb4934", + }, + keyword: { + color: "#fb4934", + }, + selector: { + color: "#fb4934", + }, + important: { + color: "#fb4934", + }, + atrule: { + color: "#fb4934", + }, + operator: { + color: "#a89984", + }, + punctuation: { + color: "#a89984", + }, + "attr-name": { + color: "#a89984", + }, + tag: { + color: "#fabd2f", + }, + "tag.punctuation": { + color: "#fabd2f", + }, + doctype: { + color: "#fabd2f", + }, + builtin: { + color: "#fabd2f", + }, + entity: { + color: "#d3869b", + }, + number: { + color: "#d3869b", + }, + symbol: { + color: "#d3869b", + }, + property: { + color: "#fb4934", + }, + constant: { + color: "#fb4934", + }, + variable: { + color: "#fb4934", + }, + string: { + color: "#b8bb26", + }, + char: { + color: "#b8bb26", + }, + "attr-value": { + color: "#a89984", + }, + "attr-value.punctuation": { + color: "#a89984", + }, + url: { + color: "#b8bb26", + textDecoration: "underline", + }, + function: { + color: "#fabd2f", + }, + regex: { + background: "#b8bb26", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#a89984", + }, + deleted: { + background: "#fb4934", + }, + }; + e.default = t; + })(Ga)), + Ga + ); } -var il = {}, o2; -function Q4() { - return o2 || (o2 = 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; - }(il)), il; +var Ka = {}, + Z1; +function I4() { + return ( + Z1 || + ((Z1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#3c3836", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#3c3836", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#f9f5d7", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"]::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"]::selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"] ::selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"]::selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"] ::selection': { + color: "#282828", + background: "#a89984", + }, + ':not(pre) > code[class*="language-"]': { + background: "#f9f5d7", + padding: "0.1em", + borderRadius: "0.3em", + }, + comment: { + color: "#7c6f64", + }, + prolog: { + color: "#7c6f64", + }, + cdata: { + color: "#7c6f64", + }, + delimiter: { + color: "#9d0006", + }, + boolean: { + color: "#9d0006", + }, + keyword: { + color: "#9d0006", + }, + selector: { + color: "#9d0006", + }, + important: { + color: "#9d0006", + }, + atrule: { + color: "#9d0006", + }, + operator: { + color: "#7c6f64", + }, + punctuation: { + color: "#7c6f64", + }, + "attr-name": { + color: "#7c6f64", + }, + tag: { + color: "#b57614", + }, + "tag.punctuation": { + color: "#b57614", + }, + doctype: { + color: "#b57614", + }, + builtin: { + color: "#b57614", + }, + entity: { + color: "#8f3f71", + }, + number: { + color: "#8f3f71", + }, + symbol: { + color: "#8f3f71", + }, + property: { + color: "#9d0006", + }, + constant: { + color: "#9d0006", + }, + variable: { + color: "#9d0006", + }, + string: { + color: "#797403", + }, + char: { + color: "#797403", + }, + "attr-value": { + color: "#7c6f64", + }, + "attr-value.punctuation": { + color: "#7c6f64", + }, + url: { + color: "#797403", + textDecoration: "underline", + }, + function: { + color: "#b57614", + }, + regex: { + background: "#797403", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#7c6f64", + }, + deleted: { + background: "#9d0006", + }, + }; + e.default = t; + })(Ka)), + Ka + ); } -var ll = {}, r2; -function J4() { - return r2 || (r2 = 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; - }(ll)), ll; +var Xa = {}, + U1; +function z4() { + return ( + U1 || + ((U1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + "code[class*='language-']": { + color: "#d6e7ff", + background: "#030314", + textShadow: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + fontSize: "1em", + lineHeight: "1.5", + letterSpacing: ".2px", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + textAlign: "left", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + "pre[class*='language-']": { + color: "#d6e7ff", + background: "#030314", + textShadow: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + fontSize: "1em", + lineHeight: "1.5", + letterSpacing: ".2px", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + textAlign: "left", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + border: "1px solid #2a4555", + borderRadius: "5px", + padding: "1.5em 1em", + margin: "1em 0", + overflow: "auto", + }, + "pre[class*='language-']::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-']::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-']::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-'] ::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-']::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-'] ::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + ":not(pre) > code[class*='language-']": { + color: "#f0f6f6", + background: "#2a4555", + padding: "0.2em 0.3em", + borderRadius: "0.2em", + boxDecorationBreak: "clone", + }, + comment: { + color: "#446e69", + }, + prolog: { + color: "#446e69", + }, + doctype: { + color: "#446e69", + }, + cdata: { + color: "#446e69", + }, + punctuation: { + color: "#d6b007", + }, + property: { + color: "#d6e7ff", + }, + tag: { + color: "#d6e7ff", + }, + boolean: { + color: "#d6e7ff", + }, + number: { + color: "#d6e7ff", + }, + constant: { + color: "#d6e7ff", + }, + symbol: { + color: "#d6e7ff", + }, + deleted: { + color: "#d6e7ff", + }, + selector: { + color: "#e60067", + }, + "attr-name": { + color: "#e60067", + }, + builtin: { + color: "#e60067", + }, + inserted: { + color: "#e60067", + }, + string: { + color: "#49c6ec", + }, + char: { + color: "#49c6ec", + }, + operator: { + color: "#ec8e01", + background: "transparent", + }, + entity: { + color: "#ec8e01", + background: "transparent", + }, + url: { + color: "#ec8e01", + background: "transparent", + }, + ".language-css .token.string": { + color: "#ec8e01", + background: "transparent", + }, + ".style .token.string": { + color: "#ec8e01", + background: "transparent", + }, + atrule: { + color: "#0fe468", + }, + "attr-value": { + color: "#0fe468", + }, + keyword: { + color: "#0fe468", + }, + function: { + color: "#78f3e9", + }, + "class-name": { + color: "#78f3e9", + }, + regex: { + color: "#d6e7ff", + }, + important: { + color: "#d6e7ff", + }, + variable: { + color: "#d6e7ff", + }, + }; + e.default = t; + })(Xa)), + Xa + ); } -var sl = {}, a2; -function e6() { - return a2 || (a2 = 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; - }(sl)), sl; +var Qa = {}, + q1; +function H4() { + return ( + q1 || + ((q1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', + fontSize: "16px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + background: "#322931", + color: "#b9b5b8", + }, + 'pre[class*="language-"]': { + fontFamily: + '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', + fontSize: "16px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + background: "#322931", + color: "#b9b5b8", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#797379", + }, + prolog: { + color: "#797379", + }, + doctype: { + color: "#797379", + }, + cdata: { + color: "#797379", + }, + punctuation: { + color: "#b9b5b8", + }, + ".namespace": { + Opacity: ".7", + }, + null: { + color: "#fd8b19", + }, + operator: { + color: "#fd8b19", + }, + boolean: { + color: "#fd8b19", + }, + number: { + color: "#fd8b19", + }, + property: { + color: "#fdcc59", + }, + tag: { + color: "#1290bf", + }, + string: { + color: "#149b93", + }, + selector: { + color: "#c85e7c", + }, + "attr-name": { + color: "#fd8b19", + }, + entity: { + color: "#149b93", + cursor: "help", + }, + url: { + color: "#149b93", + }, + ".language-css .token.string": { + color: "#149b93", + }, + ".style .token.string": { + color: "#149b93", + }, + "attr-value": { + color: "#8fc13e", + }, + keyword: { + color: "#8fc13e", + }, + control: { + color: "#8fc13e", + }, + directive: { + color: "#8fc13e", + }, + unit: { + color: "#8fc13e", + }, + statement: { + color: "#149b93", + }, + regex: { + color: "#149b93", + }, + atrule: { + color: "#149b93", + }, + placeholder: { + color: "#1290bf", + }, + variable: { + color: "#1290bf", + }, + important: { + color: "#dd464c", + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid red", + OutlineOffset: ".4em", + }, + }; + e.default = t; + })(Qa)), + Qa + ); } -var cl = {}, i2; -function t6() { - return i2 || (i2 = 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; - }(cl)), cl; -} -var ul = {}, l2; -function n6() { - return l2 || (l2 = 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; - }(ul)), ul; -} -var dl = {}, s2; -function o6() { - return s2 || (s2 = 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; - }(dl)), dl; -} -var fl = {}, c2; -function r6() { - return c2 || (c2 = 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; - }(fl)), fl; -} -var hl = {}, u2; -function a6() { - return u2 || (u2 = 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; - }(hl)), hl; -} -var pl = {}, d2; -function i6() { - return d2 || (d2 = 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; - }(pl)), pl; -} -var gl = {}, f2; -function l6() { - return f2 || (f2 = 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; - }(gl)), gl; -} -var ml = {}, h2; -function s6() { - return h2 || (h2 = 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; - }(ml)), ml; -} -var bl = {}, p2; -function c6() { - return p2 || (p2 = 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)" +var Ja = {}, + Y1; +function P4() { + return ( + Y1 || + ((Y1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#263E52", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#263E52", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#5c98cd", + }, + prolog: { + color: "#5c98cd", + }, + doctype: { + color: "#5c98cd", + }, + cdata: { + color: "#5c98cd", + }, + punctuation: { + color: "#f8f8f2", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#F05E5D", + }, + tag: { + color: "#F05E5D", + }, + constant: { + color: "#F05E5D", + }, + symbol: { + color: "#F05E5D", + }, + deleted: { + color: "#F05E5D", + }, + boolean: { + color: "#BC94F9", + }, + number: { + color: "#BC94F9", + }, + selector: { + color: "#FCFCD6", + }, + "attr-name": { + color: "#FCFCD6", + }, + string: { + color: "#FCFCD6", + }, + char: { + color: "#FCFCD6", + }, + builtin: { + color: "#FCFCD6", + }, + inserted: { + color: "#FCFCD6", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#66D8EF", + }, + "attr-value": { + color: "#66D8EF", + }, + function: { + color: "#66D8EF", + }, + "class-name": { + color: "#66D8EF", + }, + keyword: { + color: "#6EB26E", + }, + regex: { + color: "#F05E5D", + }, + important: { + color: "#F05E5D", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ja)), + Ja + ); +} +var el = {}, + G1; +function B4() { + return ( + G1 || + ((G1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#eee", + background: "#2f2f2f", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#eee", + background: "#2f2f2f", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"]::selection': { + background: "#363636", + }, + 'pre[class*="language-"]::selection': { + background: "#363636", + }, + 'code[class*="language-"] ::selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::selection': { + background: "#363636", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#fd9170", + }, + ".language-sass > code": { + color: "#fd9170", + }, + ".language-scss > code": { + color: "#fd9170", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#c792ea", + }, + "attr-name": { + color: "#ffcb6b", + }, + "attr-value": { + color: "#a5e844", + }, + attribute: { + color: "#a5e844", + }, + boolean: { + color: "#c792ea", + }, + builtin: { + color: "#ffcb6b", + }, + cdata: { + color: "#80cbc4", + }, + char: { + color: "#80cbc4", + }, + class: { + color: "#ffcb6b", + }, + "class-name": { + color: "#f2ff00", + }, + comment: { + color: "#616161", + }, + constant: { + color: "#c792ea", + }, + deleted: { + color: "#ff6666", + }, + doctype: { + color: "#616161", + }, + entity: { + color: "#ff6666", + }, + function: { + color: "#c792ea", + }, + hexcode: { + color: "#f2ff00", + }, + id: { + color: "#c792ea", + fontWeight: "bold", + }, + important: { + color: "#c792ea", + fontWeight: "bold", + }, + inserted: { + color: "#80cbc4", + }, + keyword: { + color: "#c792ea", + }, + number: { + color: "#fd9170", + }, + operator: { + color: "#89ddff", + }, + prolog: { + color: "#616161", + }, + property: { + color: "#80cbc4", + }, + "pseudo-class": { + color: "#a5e844", + }, + "pseudo-element": { + color: "#a5e844", + }, + punctuation: { + color: "#89ddff", + }, + regex: { + color: "#f2ff00", + }, + selector: { + color: "#ff6666", + }, + string: { + color: "#a5e844", + }, + symbol: { + color: "#c792ea", + }, + tag: { + color: "#ff6666", + }, + unit: { + color: "#fd9170", + }, + url: { + color: "#ff6666", + }, + variable: { + color: "#ff6666", + }, + }; + e.default = t; + })(el)), + el + ); +} +var tl = {}, + K1; +function V4() { + return ( + K1 || + ((K1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#90a4ae", + background: "#fafafa", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#90a4ae", + background: "#fafafa", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"]::selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"]::selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"] ::selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"] ::selection': { + background: "#cceae7", + color: "#263238", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#f76d47", + }, + ".language-sass > code": { + color: "#f76d47", + }, + ".language-scss > code": { + color: "#f76d47", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#7c4dff", + }, + "attr-name": { + color: "#39adb5", + }, + "attr-value": { + color: "#f6a434", + }, + attribute: { + color: "#f6a434", + }, + boolean: { + color: "#7c4dff", + }, + builtin: { + color: "#39adb5", + }, + cdata: { + color: "#39adb5", + }, + char: { + color: "#39adb5", + }, + class: { + color: "#39adb5", + }, + "class-name": { + color: "#6182b8", + }, + comment: { + color: "#aabfc9", + }, + constant: { + color: "#7c4dff", + }, + deleted: { + color: "#e53935", + }, + doctype: { + color: "#aabfc9", + }, + entity: { + color: "#e53935", + }, + function: { + color: "#7c4dff", + }, + hexcode: { + color: "#f76d47", + }, + id: { + color: "#7c4dff", + fontWeight: "bold", + }, + important: { + color: "#7c4dff", + fontWeight: "bold", + }, + inserted: { + color: "#39adb5", + }, + keyword: { + color: "#7c4dff", + }, + number: { + color: "#f76d47", + }, + operator: { + color: "#39adb5", + }, + prolog: { + color: "#aabfc9", + }, + property: { + color: "#39adb5", + }, + "pseudo-class": { + color: "#f6a434", + }, + "pseudo-element": { + color: "#f6a434", + }, + punctuation: { + color: "#39adb5", + }, + regex: { + color: "#6182b8", + }, + selector: { + color: "#e53935", + }, + string: { + color: "#f6a434", + }, + symbol: { + color: "#7c4dff", + }, + tag: { + color: "#e53935", + }, + unit: { + color: "#f76d47", + }, + url: { + color: "#e53935", + }, + variable: { + color: "#e53935", + }, + }; + e.default = t; + })(tl)), + tl + ); +} +var nl = {}, + X1; +function $4() { + return ( + X1 || + ((X1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#c3cee3", + background: "#263238", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#c3cee3", + background: "#263238", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"]::selection': { + background: "#363636", + }, + 'pre[class*="language-"]::selection': { + background: "#363636", + }, + 'code[class*="language-"] ::selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::selection': { + background: "#363636", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#fd9170", + }, + ".language-sass > code": { + color: "#fd9170", + }, + ".language-scss > code": { + color: "#fd9170", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#c792ea", + }, + "attr-name": { + color: "#ffcb6b", + }, + "attr-value": { + color: "#c3e88d", + }, + attribute: { + color: "#c3e88d", + }, + boolean: { + color: "#c792ea", + }, + builtin: { + color: "#ffcb6b", + }, + cdata: { + color: "#80cbc4", + }, + char: { + color: "#80cbc4", + }, + class: { + color: "#ffcb6b", + }, + "class-name": { + color: "#f2ff00", + }, + color: { + color: "#f2ff00", + }, + comment: { + color: "#546e7a", + }, + constant: { + color: "#c792ea", + }, + deleted: { + color: "#f07178", + }, + doctype: { + color: "#546e7a", + }, + entity: { + color: "#f07178", + }, + function: { + color: "#c792ea", + }, + hexcode: { + color: "#f2ff00", + }, + id: { + color: "#c792ea", + fontWeight: "bold", + }, + important: { + color: "#c792ea", + fontWeight: "bold", + }, + inserted: { + color: "#80cbc4", + }, + keyword: { + color: "#c792ea", + fontStyle: "italic", + }, + number: { + color: "#fd9170", + }, + operator: { + color: "#89ddff", + }, + prolog: { + color: "#546e7a", + }, + property: { + color: "#80cbc4", + }, + "pseudo-class": { + color: "#c3e88d", + }, + "pseudo-element": { + color: "#c3e88d", + }, + punctuation: { + color: "#89ddff", + }, + regex: { + color: "#f2ff00", + }, + selector: { + color: "#f07178", + }, + string: { + color: "#c3e88d", + }, + symbol: { + color: "#c792ea", + }, + tag: { + color: "#f07178", + }, + unit: { + color: "#f07178", + }, + url: { + color: "#fd9170", + }, + variable: { + color: "#f07178", + }, + }; + e.default = t; + })(nl)), + nl + ); +} +var ol = {}, + Q1; +function W4() { + return ( + Q1 || + ((Q1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#d6deeb", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + fontSize: "1em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + fontSize: "1em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#011627", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + ':not(pre) > code[class*="language-"]': { + color: "white", + background: "#011627", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + prolog: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + cdata: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + punctuation: { + color: "rgb(199, 146, 234)", + }, + ".namespace": { + color: "rgb(178, 204, 214)", + }, + deleted: { + color: "rgba(239, 83, 80, 0.56)", + fontStyle: "italic", + }, + symbol: { + color: "rgb(128, 203, 196)", + }, + property: { + color: "rgb(128, 203, 196)", + }, + tag: { + color: "rgb(127, 219, 202)", + }, + operator: { + color: "rgb(127, 219, 202)", + }, + keyword: { + color: "rgb(127, 219, 202)", + }, + boolean: { + color: "rgb(255, 88, 116)", + }, + number: { + color: "rgb(247, 140, 108)", + }, + constant: { + color: "rgb(130, 170, 255)", + }, + function: { + color: "rgb(130, 170, 255)", + }, + builtin: { + color: "rgb(130, 170, 255)", + }, + char: { + color: "rgb(130, 170, 255)", + }, + selector: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + doctype: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + "attr-name": { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + inserted: { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + string: { + color: "rgb(173, 219, 103)", + }, + url: { + color: "rgb(173, 219, 103)", + }, + entity: { + color: "rgb(173, 219, 103)", + }, + ".language-css .token.string": { + color: "rgb(173, 219, 103)", + }, + ".style .token.string": { + color: "rgb(173, 219, 103)", + }, + "class-name": { + color: "rgb(255, 203, 139)", + }, + atrule: { + color: "rgb(255, 203, 139)", + }, + "attr-value": { + color: "rgb(255, 203, 139)", + }, + regex: { + color: "rgb(214, 222, 235)", + }, + important: { + color: "rgb(214, 222, 235)", + fontWeight: "bold", + }, + variable: { + color: "rgb(214, 222, 235)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(ol)), + ol + ); +} +var rl = {}, + J1; +function Z4() { + return ( + J1 || + ((J1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#2E3440", + fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2E3440", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#636f88", + }, + prolog: { + color: "#636f88", + }, + doctype: { + color: "#636f88", + }, + cdata: { + color: "#636f88", + }, + punctuation: { + color: "#81A1C1", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#81A1C1", + }, + tag: { + color: "#81A1C1", + }, + constant: { + color: "#81A1C1", + }, + symbol: { + color: "#81A1C1", + }, + deleted: { + color: "#81A1C1", + }, + number: { + color: "#B48EAD", + }, + boolean: { + color: "#81A1C1", + }, + selector: { + color: "#A3BE8C", + }, + "attr-name": { + color: "#A3BE8C", + }, + string: { + color: "#A3BE8C", + }, + char: { + color: "#A3BE8C", + }, + builtin: { + color: "#A3BE8C", + }, + inserted: { + color: "#A3BE8C", + }, + operator: { + color: "#81A1C1", + }, + entity: { + color: "#81A1C1", + cursor: "help", + }, + url: { + color: "#81A1C1", + }, + ".language-css .token.string": { + color: "#81A1C1", + }, + ".style .token.string": { + color: "#81A1C1", + }, + variable: { + color: "#81A1C1", + }, + atrule: { + color: "#88C0D0", + }, + "attr-value": { + color: "#88C0D0", + }, + function: { + color: "#88C0D0", + }, + "class-name": { + color: "#88C0D0", + }, + keyword: { + color: "#81A1C1", + }, + regex: { + color: "#EBCB8B", + }, + important: { + color: "#EBCB8B", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(rl)), + rl + ); +} +var il = {}, + e2; +function U4() { + return ( + e2 || + ((e2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + background: "hsl(220, 13%, 18%)", + color: "hsl(220, 14%, 71%)", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + background: "hsl(220, 13%, 18%)", + color: "hsl(220, 14%, 71%)", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"] *::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'pre[class*="language-"] *::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"]::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"] *::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'pre[class*="language-"] *::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + ':not(pre) > code[class*="language-"]': { + padding: "0.2em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + prolog: { + color: "hsl(220, 10%, 40%)", + }, + cdata: { + color: "hsl(220, 10%, 40%)", + }, + doctype: { + color: "hsl(220, 14%, 71%)", + }, + punctuation: { + color: "hsl(220, 14%, 71%)", + }, + entity: { + color: "hsl(220, 14%, 71%)", + cursor: "help", + }, + "attr-name": { + color: "hsl(29, 54%, 61%)", + }, + "class-name": { + color: "hsl(29, 54%, 61%)", + }, + boolean: { + color: "hsl(29, 54%, 61%)", + }, + constant: { + color: "hsl(29, 54%, 61%)", + }, + number: { + color: "hsl(29, 54%, 61%)", + }, + atrule: { + color: "hsl(29, 54%, 61%)", + }, + keyword: { + color: "hsl(286, 60%, 67%)", + }, + property: { + color: "hsl(355, 65%, 65%)", + }, + tag: { + color: "hsl(355, 65%, 65%)", + }, + symbol: { + color: "hsl(355, 65%, 65%)", + }, + deleted: { + color: "hsl(355, 65%, 65%)", + }, + important: { + color: "hsl(355, 65%, 65%)", + }, + selector: { + color: "hsl(95, 38%, 62%)", + }, + string: { + color: "hsl(95, 38%, 62%)", + }, + char: { + color: "hsl(95, 38%, 62%)", + }, + builtin: { + color: "hsl(95, 38%, 62%)", + }, + inserted: { + color: "hsl(95, 38%, 62%)", + }, + regex: { + color: "hsl(95, 38%, 62%)", + }, + "attr-value": { + color: "hsl(95, 38%, 62%)", + }, + "attr-value > .token.punctuation": { + color: "hsl(95, 38%, 62%)", + }, + variable: { + color: "hsl(207, 82%, 66%)", + }, + operator: { + color: "hsl(207, 82%, 66%)", + }, + function: { + color: "hsl(207, 82%, 66%)", + }, + url: { + color: "hsl(187, 47%, 55%)", + }, + "attr-value > .token.punctuation.attr-equals": { + color: "hsl(220, 14%, 71%)", + }, + "special-attr > .token.attr-value > .token.value.css": { + color: "hsl(220, 14%, 71%)", + }, + ".language-css .token.selector": { + color: "hsl(355, 65%, 65%)", + }, + ".language-css .token.property": { + color: "hsl(220, 14%, 71%)", + }, + ".language-css .token.function": { + color: "hsl(187, 47%, 55%)", + }, + ".language-css .token.url > .token.function": { + color: "hsl(187, 47%, 55%)", + }, + ".language-css .token.url > .token.string.url": { + color: "hsl(95, 38%, 62%)", + }, + ".language-css .token.important": { + color: "hsl(286, 60%, 67%)", + }, + ".language-css .token.atrule .token.rule": { + color: "hsl(286, 60%, 67%)", + }, + ".language-javascript .token.operator": { + color: "hsl(286, 60%, 67%)", + }, + ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": + { + color: "hsl(5, 48%, 51%)", + }, + ".language-json .token.operator": { + color: "hsl(220, 14%, 71%)", + }, + ".language-json .token.null.keyword": { + color: "hsl(29, 54%, 61%)", + }, + ".language-markdown .token.url": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url > .token.operator": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url-reference.url > .token.string": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url > .token.content": { + color: "hsl(207, 82%, 66%)", + }, + ".language-markdown .token.url > .token.url": { + color: "hsl(187, 47%, 55%)", + }, + ".language-markdown .token.url-reference.url": { + color: "hsl(187, 47%, 55%)", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + ".language-markdown .token.hr.punctuation": { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + ".language-markdown .token.code-snippet": { + color: "hsl(95, 38%, 62%)", + }, + ".language-markdown .token.bold .token.content": { + color: "hsl(29, 54%, 61%)", + }, + ".language-markdown .token.italic .token.content": { + color: "hsl(286, 60%, 67%)", + }, + ".language-markdown .token.strike .token.content": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.strike .token.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.list.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.title.important > .token.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: "0.8", + }, + "token.tab:not(:empty):before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.cr:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.lf:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.space:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { + marginRight: "0.4em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + ".line-highlight.line-highlight": { + background: "hsla(220, 100%, 80%, 0.04)", + }, + ".line-highlight.line-highlight:before": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 14%, 71%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + ".line-highlight.line-highlight[data-end]:after": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 14%, 71%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "hsla(220, 100%, 80%, 0.04)", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "hsla(220, 14%, 71%, 0.15)", + }, + ".command-line .command-line-prompt": { + borderRightColor: "hsla(220, 14%, 71%, 0.15)", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "hsl(220, 14%, 45%)", + }, + ".command-line .command-line-prompt > span:before": { + color: "hsl(220, 14%, 45%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "hsl(286, 60%, 67%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "hsl(286, 60%, 67%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "hsl(286, 60%, 67%)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + ".prism-previewer.prism-previewer:before": { + borderColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-gradient.prism-previewer-gradient div": { + borderColor: "hsl(224, 13%, 17%)", + borderRadius: "0.3em", + }, + ".prism-previewer-color.prism-previewer-color:before": { + borderRadius: "0.3em", + }, + ".prism-previewer-easing.prism-previewer-easing:before": { + borderRadius: "0.3em", + }, + ".prism-previewer.prism-previewer:after": { + borderTopColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-flipped.prism-previewer-flipped.after": { + borderBottomColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-angle.prism-previewer-angle:before": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-time.prism-previewer-time:before": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-easing.prism-previewer-easing": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-angle.prism-previewer-angle circle": { + stroke: "hsl(220, 14%, 71%)", + strokeOpacity: "1", + }, + ".prism-previewer-time.prism-previewer-time circle": { + stroke: "hsl(220, 14%, 71%)", + strokeOpacity: "1", + }, + ".prism-previewer-easing.prism-previewer-easing circle": { + stroke: "hsl(220, 14%, 71%)", + fill: "transparent", + }, + ".prism-previewer-easing.prism-previewer-easing path": { + stroke: "hsl(220, 14%, 71%)", + }, + ".prism-previewer-easing.prism-previewer-easing line": { + stroke: "hsl(220, 14%, 71%)", + }, + }; + e.default = t; + })(il)), + il + ); +} +var al = {}, + t2; +function q4() { + return ( + t2 || + ((t2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + background: "hsl(230, 1%, 98%)", + color: "hsl(230, 8%, 24%)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + background: "hsl(230, 1%, 98%)", + color: "hsl(230, 8%, 24%)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"] *::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'pre[class*="language-"] *::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"]::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"] *::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'pre[class*="language-"] *::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + ':not(pre) > code[class*="language-"]': { + padding: "0.2em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + prolog: { + color: "hsl(230, 4%, 64%)", + }, + cdata: { + color: "hsl(230, 4%, 64%)", + }, + doctype: { + color: "hsl(230, 8%, 24%)", + }, + punctuation: { + color: "hsl(230, 8%, 24%)", + }, + entity: { + color: "hsl(230, 8%, 24%)", + cursor: "help", + }, + "attr-name": { + color: "hsl(35, 99%, 36%)", + }, + "class-name": { + color: "hsl(35, 99%, 36%)", + }, + boolean: { + color: "hsl(35, 99%, 36%)", + }, + constant: { + color: "hsl(35, 99%, 36%)", + }, + number: { + color: "hsl(35, 99%, 36%)", + }, + atrule: { + color: "hsl(35, 99%, 36%)", + }, + keyword: { + color: "hsl(301, 63%, 40%)", + }, + property: { + color: "hsl(5, 74%, 59%)", + }, + tag: { + color: "hsl(5, 74%, 59%)", + }, + symbol: { + color: "hsl(5, 74%, 59%)", + }, + deleted: { + color: "hsl(5, 74%, 59%)", + }, + important: { + color: "hsl(5, 74%, 59%)", + }, + selector: { + color: "hsl(119, 34%, 47%)", + }, + string: { + color: "hsl(119, 34%, 47%)", + }, + char: { + color: "hsl(119, 34%, 47%)", + }, + builtin: { + color: "hsl(119, 34%, 47%)", + }, + inserted: { + color: "hsl(119, 34%, 47%)", + }, + regex: { + color: "hsl(119, 34%, 47%)", + }, + "attr-value": { + color: "hsl(119, 34%, 47%)", + }, + "attr-value > .token.punctuation": { + color: "hsl(119, 34%, 47%)", + }, + variable: { + color: "hsl(221, 87%, 60%)", + }, + operator: { + color: "hsl(221, 87%, 60%)", + }, + function: { + color: "hsl(221, 87%, 60%)", + }, + url: { + color: "hsl(198, 99%, 37%)", + }, + "attr-value > .token.punctuation.attr-equals": { + color: "hsl(230, 8%, 24%)", + }, + "special-attr > .token.attr-value > .token.value.css": { + color: "hsl(230, 8%, 24%)", + }, + ".language-css .token.selector": { + color: "hsl(5, 74%, 59%)", + }, + ".language-css .token.property": { + color: "hsl(230, 8%, 24%)", + }, + ".language-css .token.function": { + color: "hsl(198, 99%, 37%)", + }, + ".language-css .token.url > .token.function": { + color: "hsl(198, 99%, 37%)", + }, + ".language-css .token.url > .token.string.url": { + color: "hsl(119, 34%, 47%)", + }, + ".language-css .token.important": { + color: "hsl(301, 63%, 40%)", + }, + ".language-css .token.atrule .token.rule": { + color: "hsl(301, 63%, 40%)", + }, + ".language-javascript .token.operator": { + color: "hsl(301, 63%, 40%)", + }, + ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": + { + color: "hsl(344, 84%, 43%)", + }, + ".language-json .token.operator": { + color: "hsl(230, 8%, 24%)", + }, + ".language-json .token.null.keyword": { + color: "hsl(35, 99%, 36%)", + }, + ".language-markdown .token.url": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url > .token.operator": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url-reference.url > .token.string": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url > .token.content": { + color: "hsl(221, 87%, 60%)", + }, + ".language-markdown .token.url > .token.url": { + color: "hsl(198, 99%, 37%)", + }, + ".language-markdown .token.url-reference.url": { + color: "hsl(198, 99%, 37%)", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + ".language-markdown .token.hr.punctuation": { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + ".language-markdown .token.code-snippet": { + color: "hsl(119, 34%, 47%)", + }, + ".language-markdown .token.bold .token.content": { + color: "hsl(35, 99%, 36%)", + }, + ".language-markdown .token.italic .token.content": { + color: "hsl(301, 63%, 40%)", + }, + ".language-markdown .token.strike .token.content": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.strike .token.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.list.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.title.important > .token.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: "0.8", + }, + "token.tab:not(:empty):before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.cr:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.lf:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.space:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { + marginRight: "0.4em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + ".line-highlight.line-highlight": { + background: "hsla(230, 8%, 24%, 0.05)", + }, + ".line-highlight.line-highlight:before": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 8%, 24%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + ".line-highlight.line-highlight[data-end]:after": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 8%, 24%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "hsla(230, 8%, 24%, 0.05)", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "hsla(230, 8%, 24%, 0.2)", + }, + ".command-line .command-line-prompt": { + borderRightColor: "hsla(230, 8%, 24%, 0.2)", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "hsl(230, 1%, 62%)", + }, + ".command-line .command-line-prompt > span:before": { + color: "hsl(230, 1%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "hsl(301, 63%, 40%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "hsl(301, 63%, 40%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "hsl(301, 63%, 40%)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + ".prism-previewer.prism-previewer:before": { + borderColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-gradient.prism-previewer-gradient div": { + borderColor: "hsl(0, 0, 95%)", + borderRadius: "0.3em", + }, + ".prism-previewer-color.prism-previewer-color:before": { + borderRadius: "0.3em", + }, + ".prism-previewer-easing.prism-previewer-easing:before": { + borderRadius: "0.3em", + }, + ".prism-previewer.prism-previewer:after": { + borderTopColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-flipped.prism-previewer-flipped.after": { + borderBottomColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-angle.prism-previewer-angle:before": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-time.prism-previewer-time:before": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-easing.prism-previewer-easing": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-angle.prism-previewer-angle circle": { + stroke: "hsl(230, 8%, 24%)", + strokeOpacity: "1", + }, + ".prism-previewer-time.prism-previewer-time circle": { + stroke: "hsl(230, 8%, 24%)", + strokeOpacity: "1", + }, + ".prism-previewer-easing.prism-previewer-easing circle": { + stroke: "hsl(230, 8%, 24%)", + fill: "transparent", + }, + ".prism-previewer-easing.prism-previewer-easing path": { + stroke: "hsl(230, 8%, 24%)", + }, + ".prism-previewer-easing.prism-previewer-easing line": { + stroke: "hsl(230, 8%, 24%)", + }, + }; + e.default = t; + })(al)), + al + ); +} +var ll = {}, + n2; +function Y4() { + return ( + n2 || + ((n2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "15px", + lineHeight: "1.5", + color: "#dccf8f", + textShadow: "0", + }, + 'pre[class*="language-"]': { + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "15px", + lineHeight: "1.5", + color: "#DCCF8F", + textShadow: "0", + borderRadius: "5px", + border: "1px solid #000", + background: + "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", + padding: "12px", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + borderRadius: "5px", + border: "1px solid #000", + color: "#DCCF8F", + background: + "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", + padding: "2px 6px", + }, + namespace: { + Opacity: ".7", + }, + comment: { + color: "#586e75", + fontStyle: "italic", + }, + prolog: { + color: "#586e75", + fontStyle: "italic", + }, + doctype: { + color: "#586e75", + fontStyle: "italic", + }, + cdata: { + color: "#586e75", + fontStyle: "italic", + }, + number: { + color: "#b89859", + }, + string: { + color: "#468966", + }, + char: { + color: "#468966", + }, + builtin: { + color: "#468966", + }, + inserted: { + color: "#468966", + }, + "attr-name": { + color: "#b89859", + }, + operator: { + color: "#dccf8f", + }, + entity: { + color: "#dccf8f", + cursor: "help", + }, + url: { + color: "#dccf8f", + }, + ".language-css .token.string": { + color: "#dccf8f", + }, + ".style .token.string": { + color: "#dccf8f", + }, + selector: { + color: "#859900", + }, + regex: { + color: "#859900", + }, + atrule: { + color: "#cb4b16", + }, + keyword: { + color: "#cb4b16", + }, + "attr-value": { + color: "#468966", + }, + function: { + color: "#b58900", + }, + variable: { + color: "#b58900", + }, + placeholder: { + color: "#b58900", + }, + property: { + color: "#b89859", + }, + tag: { + color: "#ffb03b", + }, + boolean: { + color: "#b89859", + }, + constant: { + color: "#b89859", + }, + symbol: { + color: "#b89859", + }, + important: { + color: "#dc322f", + }, + statement: { + color: "#dc322f", + }, + deleted: { + color: "#dc322f", + }, + punctuation: { + color: "#dccf8f", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(ll)), + ll + ); +} +var sl = {}, + o2; +function G4() { + return ( + o2 || + ((o2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + "code[class*='language-']": { + color: "#9efeff", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + fontFamily: + "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontWeight: "400", + fontSize: "17px", + lineHeight: "25px", + letterSpacing: "0.5px", + textShadow: "0 1px #222245", + }, + "pre[class*='language-']": { + color: "#9efeff", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + fontFamily: + "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontWeight: "400", + fontSize: "17px", + lineHeight: "25px", + letterSpacing: "0.5px", + textShadow: "0 1px #222245", + padding: "2em", + margin: "0.5em 0", + overflow: "auto", + background: "#1e1e3f", + }, + "pre[class*='language-']::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-']::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-']::selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-'] ::selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-']::selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-'] ::selection": { + color: "inherit", + background: "#a599e9", + }, + ":not(pre) > code[class*='language-']": { + background: "#1e1e3f", + padding: "0.1em", + borderRadius: "0.3em", + }, + "": { + fontWeight: "400", + }, + comment: { + color: "#b362ff", + }, + prolog: { + color: "#b362ff", + }, + cdata: { + color: "#b362ff", + }, + delimiter: { + color: "#ff9d00", + }, + keyword: { + color: "#ff9d00", + }, + selector: { + color: "#ff9d00", + }, + important: { + color: "#ff9d00", + }, + atrule: { + color: "#ff9d00", + }, + operator: { + color: "rgb(255, 180, 84)", + background: "none", + }, + "attr-name": { + color: "rgb(255, 180, 84)", + }, + punctuation: { + color: "#ffffff", + }, + boolean: { + color: "rgb(255, 98, 140)", + }, + tag: { + color: "rgb(255, 157, 0)", + }, + "tag.punctuation": { + color: "rgb(255, 157, 0)", + }, + doctype: { + color: "rgb(255, 157, 0)", + }, + builtin: { + color: "rgb(255, 157, 0)", + }, + entity: { + color: "#6897bb", + background: "none", + }, + symbol: { + color: "#6897bb", + }, + number: { + color: "#ff628c", + }, + property: { + color: "#ff628c", + }, + constant: { + color: "#ff628c", + }, + variable: { + color: "#ff628c", + }, + string: { + color: "#a5ff90", + }, + char: { + color: "#a5ff90", + }, + "attr-value": { + color: "#a5c261", + }, + "attr-value.punctuation": { + color: "#a5c261", + }, + "attr-value.punctuation:first-child": { + color: "#a9b7c6", + }, + url: { + color: "#287bde", + textDecoration: "underline", + background: "none", + }, + function: { + color: "rgb(250, 208, 0)", + }, + regex: { + background: "#364135", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#00ff00", + }, + deleted: { + background: "#ff000d", + }, + "code.language-css .token.property": { + color: "#a9b7c6", + }, + "code.language-css .token.property + .token.punctuation": { + color: "#a9b7c6", + }, + "code.language-css .token.id": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.attribute": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-element": { + color: "#ffc66d", + }, + "class-name": { + color: "#fb94ff", + }, + ".language-css .token.string": { + background: "none", + }, + ".style .token.string": { + background: "none", + }, + ".line-highlight.line-highlight": { + marginTop: "36px", + background: + "linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)", + }, + ".line-highlight.line-highlight:before": { + content: "''", + }, + ".line-highlight.line-highlight[data-end]:after": { + content: "''", + }, + }; + e.default = t; + })(sl)), + sl + ); +} +var cl = {}, + r2; +function K4() { + return ( + r2 || + ((r2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#839496", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#839496", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + background: "#002b36", + }, + ':not(pre) > code[class*="language-"]': { + background: "#002b36", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#586e75", + }, + prolog: { + color: "#586e75", + }, + doctype: { + color: "#586e75", + }, + cdata: { + color: "#586e75", + }, + punctuation: { + color: "#93a1a1", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#268bd2", + }, + keyword: { + color: "#268bd2", + }, + tag: { + color: "#268bd2", + }, + "class-name": { + color: "#FFFFB6", + textDecoration: "underline", + }, + boolean: { + color: "#b58900", + }, + constant: { + color: "#b58900", + }, + symbol: { + color: "#dc322f", + }, + deleted: { + color: "#dc322f", + }, + number: { + color: "#859900", + }, + selector: { + color: "#859900", + }, + "attr-name": { + color: "#859900", + }, + string: { + color: "#859900", + }, + char: { + color: "#859900", + }, + builtin: { + color: "#859900", + }, + inserted: { + color: "#859900", + }, + variable: { + color: "#268bd2", + }, + operator: { + color: "#EDEDED", + }, + function: { + color: "#268bd2", + }, + regex: { + color: "#E9C062", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + entity: { + color: "#FFFFB6", + cursor: "help", + }, + url: { + color: "#96CBFE", + }, + ".language-css .token.string": { + color: "#87C38A", + }, + ".style .token.string": { + color: "#87C38A", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + atrule: { + color: "#F9EE98", + }, + "attr-value": { + color: "#F9EE98", + }, + }; + e.default = t; + })(cl)), + cl + ); +} +var ul = {}, + i2; +function X4() { + return ( + i2 || + ((i2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + backgroundColor: "transparent !important", + backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "transparent !important", + backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#8e8e8e", + }, + "block-comment": { + color: "#8e8e8e", + }, + prolog: { + color: "#8e8e8e", + }, + doctype: { + color: "#8e8e8e", + }, + cdata: { + color: "#8e8e8e", + }, + punctuation: { + color: "#ccc", + }, + tag: { + color: "#e2777a", + }, + "attr-name": { + color: "#e2777a", + }, + namespace: { + color: "#e2777a", + }, + number: { + color: "#e2777a", + }, + unit: { + color: "#e2777a", + }, + hexcode: { + color: "#e2777a", + }, + deleted: { + color: "#e2777a", + }, + property: { + color: "#72f1b8", + textShadow: + "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475", + }, + selector: { + color: "#72f1b8", + textShadow: + "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475", + }, + "function-name": { + color: "#6196cc", + }, + boolean: { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + "selector.id": { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + function: { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + "class-name": { + color: "#fff5f6", + textShadow: + "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75", + }, + constant: { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + }, + symbol: { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + }, + important: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + fontWeight: "bold", + }, + atrule: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + keyword: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + "selector.class": { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + builtin: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + string: { + color: "#f87c32", + }, + char: { + color: "#f87c32", + }, + "attr-value": { + color: "#f87c32", + }, + regex: { + color: "#f87c32", + }, + variable: { + color: "#f87c32", + }, + operator: { + color: "#67cdcc", + }, + entity: { + color: "#67cdcc", + cursor: "help", + }, + url: { + color: "#67cdcc", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + color: "green", + }, + }; + e.default = t; + })(ul)), + ul + ); +} +var dl = {}, + a2; +function Q4() { + return ( + a2 || + ((a2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: "1px solid #dddddd", + backgroundColor: "white", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"]::selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"] ::selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"]::selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"] ::selection': { + background: "#C1DEF1", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + paddingTop: "1px", + paddingBottom: "1px", + background: "#f8f8f8", + border: "1px solid #dddddd", + }, + comment: { + color: "#008000", + fontStyle: "italic", + }, + prolog: { + color: "#008000", + fontStyle: "italic", + }, + doctype: { + color: "#008000", + fontStyle: "italic", + }, + cdata: { + color: "#008000", + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + string: { + color: "#A31515", + }, + punctuation: { + color: "#393A34", + }, + operator: { + color: "#393A34", + }, + url: { + color: "#36acaa", + }, + symbol: { + color: "#36acaa", + }, + number: { + color: "#36acaa", + }, + boolean: { + color: "#36acaa", + }, + variable: { + color: "#36acaa", + }, + constant: { + color: "#36acaa", + }, + inserted: { + color: "#36acaa", + }, + atrule: { + color: "#0000ff", + }, + keyword: { + color: "#0000ff", + }, + "attr-value": { + color: "#0000ff", + }, + ".language-autohotkey .token.selector": { + color: "#0000ff", + }, + ".language-json .token.boolean": { + color: "#0000ff", + }, + ".language-json .token.number": { + color: "#0000ff", + }, + 'code[class*="language-css"]': { + color: "#0000ff", + }, + function: { + color: "#393A34", + }, + deleted: { + color: "#9a050f", + }, + ".language-autohotkey .token.tag": { + color: "#9a050f", + }, + selector: { + color: "#800000", + }, + ".language-autohotkey .token.keyword": { + color: "#00009f", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + "class-name": { + color: "#2B91AF", + }, + ".language-json .token.property": { + color: "#2B91AF", + }, + tag: { + color: "#800000", + }, + "attr-name": { + color: "#ff0000", + }, + property: { + color: "#ff0000", + }, + regex: { + color: "#ff0000", + }, + entity: { + color: "#ff0000", + }, + "directive.tag.tag": { + background: "#ffff00", + color: "#393A34", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#a5a5a5", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#2B91AF", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))", + }, + }; + e.default = t; + })(dl)), + dl + ); +} +var fl = {}, + l2; +function J4() { + return ( + l2 || + ((l2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'pre[class*="language-"]': { + color: "#d4d4d4", + fontSize: "13px", + textShadow: "none", + fontFamily: + 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + background: "#1e1e1e", + }, + 'code[class*="language-"]': { + color: "#d4d4d4", + fontSize: "13px", + textShadow: "none", + fontFamily: + 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#264F78", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#264F78", + }, + 'pre[class*="language-"] *::selection': { + textShadow: "none", + background: "#264F78", + }, + 'code[class*="language-"] *::selection': { + textShadow: "none", + background: "#264F78", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em .3em", + borderRadius: ".3em", + color: "#db4c69", + background: "#1e1e1e", + }, + ".namespace": { + Opacity: ".7", + }, + "doctype.doctype-tag": { + color: "#569CD6", + }, + "doctype.name": { + color: "#9cdcfe", + }, + comment: { + color: "#6a9955", + }, + prolog: { + color: "#6a9955", + }, + punctuation: { + color: "#d4d4d4", + }, + ".language-html .language-css .token.punctuation": { + color: "#d4d4d4", + }, + ".language-html .language-javascript .token.punctuation": { + color: "#d4d4d4", + }, + property: { + color: "#9cdcfe", + }, + tag: { + color: "#569cd6", + }, + boolean: { + color: "#569cd6", + }, + number: { + color: "#b5cea8", + }, + constant: { + color: "#9cdcfe", + }, + symbol: { + color: "#b5cea8", + }, + inserted: { + color: "#b5cea8", + }, + unit: { + color: "#b5cea8", + }, + selector: { + color: "#d7ba7d", + }, + "attr-name": { + color: "#9cdcfe", + }, + string: { + color: "#ce9178", + }, + char: { + color: "#ce9178", + }, + builtin: { + color: "#ce9178", + }, + deleted: { + color: "#ce9178", + }, + ".language-css .token.string.url": { + textDecoration: "underline", + }, + operator: { + color: "#d4d4d4", + }, + entity: { + color: "#569cd6", + }, + "operator.arrow": { + color: "#569CD6", + }, + atrule: { + color: "#ce9178", + }, + "atrule.rule": { + color: "#c586c0", + }, + "atrule.url": { + color: "#9cdcfe", + }, + "atrule.url.function": { + color: "#dcdcaa", + }, + "atrule.url.punctuation": { + color: "#d4d4d4", + }, + keyword: { + color: "#569CD6", + }, + "keyword.module": { + color: "#c586c0", + }, + "keyword.control-flow": { + color: "#c586c0", + }, + function: { + color: "#dcdcaa", + }, + "function.maybe-class-name": { + color: "#dcdcaa", + }, + regex: { + color: "#d16969", + }, + important: { + color: "#569cd6", + }, + italic: { + fontStyle: "italic", + }, + "class-name": { + color: "#4ec9b0", + }, + "maybe-class-name": { + color: "#4ec9b0", + }, + console: { + color: "#9cdcfe", + }, + parameter: { + color: "#9cdcfe", + }, + interpolation: { + color: "#9cdcfe", + }, + "punctuation.interpolation-punctuation": { + color: "#569cd6", + }, + variable: { + color: "#9cdcfe", + }, + "imports.maybe-class-name": { + color: "#9cdcfe", + }, + "exports.maybe-class-name": { + color: "#9cdcfe", + }, + escape: { + color: "#d7ba7d", + }, + "tag.punctuation": { + color: "#808080", + }, + cdata: { + color: "#808080", + }, + "attr-value": { + color: "#ce9178", + }, + "attr-value.punctuation": { + color: "#ce9178", + }, + "attr-value.punctuation.attr-equals": { + color: "#d4d4d4", + }, + namespace: { + color: "#4ec9b0", + }, + 'pre[class*="language-javascript"]': { + color: "#9cdcfe", + }, + 'code[class*="language-javascript"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-jsx"]': { + color: "#9cdcfe", + }, + 'code[class*="language-jsx"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-typescript"]': { + color: "#9cdcfe", + }, + 'code[class*="language-typescript"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-tsx"]': { + color: "#9cdcfe", + }, + 'code[class*="language-tsx"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-css"]': { + color: "#ce9178", + }, + 'code[class*="language-css"]': { + color: "#ce9178", + }, + 'pre[class*="language-html"]': { + color: "#d4d4d4", + }, + 'code[class*="language-html"]': { + color: "#d4d4d4", + }, + ".language-regex .token.anchor": { + color: "#dcdcaa", + }, + ".language-html .token.punctuation": { + color: "#808080", + }, + 'pre[class*="language-"] > code[class*="language-"]': { + position: "relative", + zIndex: "1", + }, + ".line-highlight.line-highlight": { + background: "#f7ebc6", + boxShadow: "inset 5px 0 0 #f7d87c", + zIndex: "0", + }, + }; + e.default = t; + })(fl)), + fl + ); +} +var pl = {}, + s2; +function e6() { + return ( + s2 || + ((s2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordWrap: "normal", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "14px", + color: "#76d9e6", + textShadow: "none", + }, + 'pre[class*="language-"]': { + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordWrap: "normal", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "14px", + color: "#76d9e6", + textShadow: "none", + background: "#2a2a2a", + padding: "15px", + borderRadius: "4px", + border: "1px solid #e1e1e8", + overflow: "auto", + position: "relative", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2a2a2a", + padding: "0.15em 0.2em 0.05em", + borderRadius: ".3em", + border: "0.13em solid #7a6652", + boxShadow: "1px 1px 0.3em -0.1em #000 inset", + }, + 'pre[class*="language-"] code': { + whiteSpace: "pre", + display: "block", + }, + namespace: { + Opacity: ".7", + }, + comment: { + color: "#6f705e", + }, + prolog: { + color: "#6f705e", + }, + doctype: { + color: "#6f705e", + }, + cdata: { + color: "#6f705e", + }, + operator: { + color: "#a77afe", + }, + boolean: { + color: "#a77afe", + }, + number: { + color: "#a77afe", + }, + "attr-name": { + color: "#e6d06c", + }, + string: { + color: "#e6d06c", + }, + entity: { + color: "#e6d06c", + cursor: "help", + }, + url: { + color: "#e6d06c", + }, + ".language-css .token.string": { + color: "#e6d06c", + }, + ".style .token.string": { + color: "#e6d06c", + }, + selector: { + color: "#a6e22d", + }, + inserted: { + color: "#a6e22d", + }, + atrule: { + color: "#ef3b7d", + }, + "attr-value": { + color: "#ef3b7d", + }, + keyword: { + color: "#ef3b7d", + }, + important: { + color: "#ef3b7d", + fontWeight: "bold", + }, + deleted: { + color: "#ef3b7d", + }, + regex: { + color: "#76d9e6", + }, + statement: { + color: "#76d9e6", + fontWeight: "bold", + }, + placeholder: { + color: "#fff", + }, + variable: { + color: "#fff", + }, + bold: { + fontWeight: "bold", + }, + punctuation: { + color: "#bebec5", + }, + italic: { + fontStyle: "italic", + }, + "code.language-markup": { + color: "#f9f9f9", + }, + "code.language-markup .token.tag": { + color: "#ef3b7d", + }, + "code.language-markup .token.attr-name": { + color: "#a6e22d", + }, + "code.language-markup .token.attr-value": { + color: "#e6d06c", + }, + "code.language-markup .token.style": { + color: "#76d9e6", + }, + "code.language-markup .token.script": { + color: "#76d9e6", + }, + "code.language-markup .token.script .token.keyword": { + color: "#76d9e6", + }, + ".line-highlight.line-highlight": { + padding: "0", + background: "rgba(255, 255, 255, 0.08)", + }, + ".line-highlight.line-highlight:before": { + padding: "0.2em 0.5em", + backgroundColor: "rgba(255, 255, 255, 0.4)", + color: "black", + height: "1em", + lineHeight: "1em", + boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)", + }, + ".line-highlight.line-highlight[data-end]:after": { + padding: "0.2em 0.5em", + backgroundColor: "rgba(255, 255, 255, 0.4)", + color: "black", + height: "1em", + lineHeight: "1em", + boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)", + }, + }; + e.default = t; + })(pl)), + pl + ); +} +var hl = {}, + c2; +function t6() { + return ( + c2 || + ((c2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#22da17", + fontFamily: "monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + lineHeight: "25px", + fontSize: "18px", + margin: "5px 0", + }, + 'pre[class*="language-"]': { + color: "white", + fontFamily: "monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + lineHeight: "25px", + fontSize: "18px", + margin: "0.5em 0", + background: "#0a143c", + padding: "1em", + overflow: "auto", + }, + 'pre[class*="language-"] *': { + fontFamily: "monospace", + }, + ':not(pre) > code[class*="language-"]': { + color: "white", + background: "#0a143c", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + comment: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + prolog: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + cdata: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + punctuation: { + color: "rgb(199, 146, 234)", + }, + ".namespace": { + color: "rgb(178, 204, 214)", + }, + deleted: { + color: "rgba(239, 83, 80, 0.56)", + fontStyle: "italic", + }, + symbol: { + color: "rgb(128, 203, 196)", + }, + property: { + color: "rgb(128, 203, 196)", + }, + tag: { + color: "rgb(127, 219, 202)", + }, + operator: { + color: "rgb(127, 219, 202)", + }, + keyword: { + color: "rgb(127, 219, 202)", + }, + boolean: { + color: "rgb(255, 88, 116)", + }, + number: { + color: "rgb(247, 140, 108)", + }, + constant: { + color: "rgb(34 183 199)", + }, + function: { + color: "rgb(34 183 199)", + }, + builtin: { + color: "rgb(34 183 199)", + }, + char: { + color: "rgb(34 183 199)", + }, + selector: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + doctype: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + "attr-name": { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + inserted: { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + string: { + color: "rgb(173, 219, 103)", + }, + url: { + color: "rgb(173, 219, 103)", + }, + entity: { + color: "rgb(173, 219, 103)", + }, + ".language-css .token.string": { + color: "rgb(173, 219, 103)", + }, + ".style .token.string": { + color: "rgb(173, 219, 103)", + }, + "class-name": { + color: "rgb(255, 203, 139)", + }, + atrule: { + color: "rgb(255, 203, 139)", + }, + "attr-value": { + color: "rgb(255, 203, 139)", + }, + regex: { + color: "rgb(214, 222, 235)", + }, + important: { + color: "rgb(214, 222, 235)", + fontWeight: "bold", + }, + variable: { + color: "rgb(214, 222, 235)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(hl)), + hl + ); +} +(function (e) { + var t = d4; + Object.defineProperty(e, "__esModule", { + value: !0, + }), + Object.defineProperty(e, "a11yDark", { + enumerable: !0, + get: function () { + return c.default; }, - ".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)" + }), + Object.defineProperty(e, "atomDark", { + enumerable: !0, + get: function () { + return d.default; }, - ".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; - }(bl)), bl; -} -var yl = {}, g2; -function u6() { - return g2 || (g2 = 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" + }), + 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 f.default; }, - 'pre[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; }, - 'code[class*="language-"] ::-moz-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 y.default; }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "darcula", { + enumerable: !0, + get: function () { + return g.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; }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "dracula", { + enumerable: !0, + get: function () { + return x.default; }, - comment: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneDark", { + enumerable: !0, + get: function () { + return C.default; }, - prolog: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneEarth", { + enumerable: !0, + get: function () { + return E.default; }, - cdata: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneForest", { + enumerable: !0, + get: function () { + return w.default; }, - punctuation: { - color: "rgb(199, 146, 234)" + }), + Object.defineProperty(e, "duotoneLight", { + enumerable: !0, + get: function () { + return S.default; }, - ".namespace": { - color: "rgb(178, 204, 214)" + }), + Object.defineProperty(e, "duotoneSea", { + enumerable: !0, + get: function () { + return _.default; }, - deleted: { - color: "rgba(239, 83, 80, 0.56)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneSpace", { + enumerable: !0, + get: function () { + return A.default; }, - symbol: { - color: "rgb(128, 203, 196)" + }), + Object.defineProperty(e, "funky", { + enumerable: !0, + get: function () { + return r.default; }, - property: { - color: "rgb(128, 203, 196)" + }), + Object.defineProperty(e, "ghcolors", { + enumerable: !0, + get: function () { + return R.default; }, - tag: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "gruvboxDark", { + enumerable: !0, + get: function () { + return L.default; }, - operator: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "gruvboxLight", { + enumerable: !0, + get: function () { + return j.default; }, - keyword: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "holiTheme", { + enumerable: !0, + get: function () { + return P.default; }, - boolean: { - color: "rgb(255, 88, 116)" + }), + Object.defineProperty(e, "hopscotch", { + enumerable: !0, + get: function () { + return V.default; }, - number: { - color: "rgb(247, 140, 108)" + }), + Object.defineProperty(e, "lucario", { + enumerable: !0, + get: function () { + return k.default; }, - constant: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialDark", { + enumerable: !0, + get: function () { + return N.default; }, - function: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialLight", { + enumerable: !0, + get: function () { + return T.default; }, - builtin: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialOceanic", { + enumerable: !0, + get: function () { + return F.default; }, - char: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "nightOwl", { + enumerable: !0, + get: function () { + return I.default; }, - selector: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" + }), + Object.defineProperty(e, "nord", { + enumerable: !0, + get: function () { + return D.default; }, - doctype: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" + }), + Object.defineProperty(e, "okaidia", { + enumerable: !0, + get: function () { + return i.default; }, - "attr-name": { - color: "rgb(173, 219, 103)", - fontStyle: "italic" + }), + Object.defineProperty(e, "oneDark", { + enumerable: !0, + get: function () { + return v.default; }, - inserted: { - color: "rgb(173, 219, 103)", - fontStyle: "italic" + }), + Object.defineProperty(e, "oneLight", { + enumerable: !0, + get: function () { + return z.default; }, - string: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "pojoaque", { + enumerable: !0, + get: function () { + return B.default; }, - url: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "prism", { + enumerable: !0, + get: function () { + return u.default; }, - entity: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "shadesOfPurple", { + enumerable: !0, + get: function () { + return M.default; }, - ".language-css .token.string": { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "solarizedDarkAtom", { + enumerable: !0, + get: function () { + return W.default; }, - ".style .token.string": { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "solarizedlight", { + enumerable: !0, + get: function () { + return a.default; }, - "class-name": { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "synthwave84", { + enumerable: !0, + get: function () { + return G.default; }, - atrule: { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "tomorrow", { + enumerable: !0, + get: function () { + return l.default; }, - "attr-value": { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "twilight", { + enumerable: !0, + get: function () { + return s.default; }, - regex: { - color: "rgb(214, 222, 235)" + }), + Object.defineProperty(e, "vs", { + enumerable: !0, + get: function () { + return K.default; }, - important: { - color: "rgb(214, 222, 235)", - fontWeight: "bold" + }), + Object.defineProperty(e, "vscDarkPlus", { + enumerable: !0, + get: function () { + return Q.default; }, - variable: { - color: "rgb(214, 222, 235)" + }), + Object.defineProperty(e, "xonokai", { + enumerable: !0, + get: function () { + return ne.default; }, - bold: { - fontWeight: "bold" + }), + Object.defineProperty(e, "zTouch", { + enumerable: !0, + get: function () { + return oe.default; }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(yl)), yl; -} -(function(e) { - var t = v4; - 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 p.default; - } - }), Object.defineProperty(e, "cb", { - enumerable: !0, - get: function() { - return h.default; - } - }), Object.defineProperty(e, "coldarkCold", { - enumerable: !0, - get: function() { - return m.default; - } - }), Object.defineProperty(e, "coldarkDark", { - enumerable: !0, - get: function() { - return b.default; - } - }), Object.defineProperty(e, "coy", { - enumerable: !0, - get: function() { - return n.default; - } - }), Object.defineProperty(e, "coyWithoutShadows", { - enumerable: !0, - get: function() { - return y.default; - } - }), Object.defineProperty(e, "darcula", { - enumerable: !0, - get: function() { - return g.default; - } - }), Object.defineProperty(e, "dark", { - enumerable: !0, - get: function() { - return o.default; - } - }), Object.defineProperty(e, "dracula", { - enumerable: !0, - get: function() { - return x.default; - } - }), Object.defineProperty(e, "duotoneDark", { - enumerable: !0, - get: function() { - return C.default; - } - }), Object.defineProperty(e, "duotoneEarth", { - enumerable: !0, - get: function() { - return S.default; - } - }), Object.defineProperty(e, "duotoneForest", { - enumerable: !0, - get: function() { - return w.default; - } - }), Object.defineProperty(e, "duotoneLight", { - enumerable: !0, - get: function() { - return E.default; - } - }), Object.defineProperty(e, "duotoneSea", { - enumerable: !0, - get: function() { - return M.default; - } - }), Object.defineProperty(e, "duotoneSpace", { - enumerable: !0, - get: function() { - return _.default; - } - }), Object.defineProperty(e, "funky", { - enumerable: !0, - get: function() { - return r.default; - } - }), Object.defineProperty(e, "ghcolors", { - enumerable: !0, - get: function() { - return L.default; - } - }), Object.defineProperty(e, "gruvboxDark", { - enumerable: !0, - get: function() { - return R.default; - } - }), Object.defineProperty(e, "gruvboxLight", { - enumerable: !0, - get: function() { - return j.default; - } - }), Object.defineProperty(e, "holiTheme", { - enumerable: !0, - get: function() { - return P.default; - } - }), Object.defineProperty(e, "hopscotch", { - enumerable: !0, - get: function() { - return V.default; - } - }), Object.defineProperty(e, "lucario", { - enumerable: !0, - get: function() { - return k.default; - } - }), Object.defineProperty(e, "materialDark", { - enumerable: !0, - get: function() { - return N.default; - } - }), Object.defineProperty(e, "materialLight", { - enumerable: !0, - get: function() { - return T.default; - } - }), Object.defineProperty(e, "materialOceanic", { - enumerable: !0, - get: function() { - return D.default; - } - }), Object.defineProperty(e, "nightOwl", { - enumerable: !0, - get: function() { - return I.default; - } - }), Object.defineProperty(e, "nord", { - enumerable: !0, - get: function() { - return F.default; - } - }), Object.defineProperty(e, "okaidia", { - enumerable: !0, - get: function() { - return a.default; - } - }), Object.defineProperty(e, "oneDark", { - enumerable: !0, - get: function() { - return v.default; - } - }), Object.defineProperty(e, "oneLight", { - enumerable: !0, - get: function() { - return z.default; - } - }), Object.defineProperty(e, "pojoaque", { - enumerable: !0, - get: function() { - return B.default; - } - }), Object.defineProperty(e, "prism", { - enumerable: !0, - get: function() { - return u.default; - } - }), Object.defineProperty(e, "shadesOfPurple", { - enumerable: !0, - get: function() { - return A.default; - } - }), Object.defineProperty(e, "solarizedDarkAtom", { - enumerable: !0, - get: function() { - return W.default; - } - }), Object.defineProperty(e, "solarizedlight", { - enumerable: !0, - get: function() { - return i.default; - } - }), Object.defineProperty(e, "synthwave84", { - enumerable: !0, - get: function() { - return Y.default; - } - }), Object.defineProperty(e, "tomorrow", { - enumerable: !0, - get: function() { - return l.default; - } - }), Object.defineProperty(e, "twilight", { - enumerable: !0, - get: function() { - return s.default; - } - }), Object.defineProperty(e, "vs", { - enumerable: !0, - get: function() { - return K.default; - } - }), Object.defineProperty(e, "vscDarkPlus", { - enumerable: !0, - get: function() { - return Q.default; - } - }), Object.defineProperty(e, "xonokai", { - enumerable: !0, - get: function() { - return ne.default; - } - }), Object.defineProperty(e, "zTouch", { - enumerable: !0, - get: function() { - return oe.default; - } - }); - var n = t(x4()), o = t(w4()), r = t(E4()), a = t(S4()), i = t(k4()), l = t(_4()), s = t(A4()), u = t(M4()), c = t(T4()), d = t(O4()), p = t(N4()), h = t(D4()), m = t(L4()), b = t(j4()), y = t(F4()), g = t(R4()), x = t(I4()), C = t(z4()), S = t(H4()), w = t(P4()), E = t(B4()), M = t(V4()), _ = t($4()), L = t(W4()), R = t(Z4()), j = t(U4()), P = t(q4()), V = t(Y4()), k = t(G4()), N = t(K4()), T = t(X4()), D = t(Q4()), I = t(J4()), F = t(e6()), v = t(t6()), z = t(n6()), B = t(o6()), A = t(r6()), W = t(a6()), Y = t(i6()), K = t(l6()), Q = t(s6()), ne = t(c6()), oe = t(u6()); -})(Qo); -const d6 = "_codeblock_19tsp_1", f6 = "_dark_19tsp_1", m2 = { - codeblock: d6, - dark: f6 -}, h6 = { vs: Qo.vs, "vsc-dark-plus": Qo.vscDarkPlus, solarizedLight: Qo.solarizedlight, tomorrow: Qo.tomorrow }, Tr = ({ - code: e, - language: t, - fileName: n, - editorTheme: o = "vs", - theme: r, - showLineNumbers: a, - className: i, - titleActions: l -}) => /* @__PURE__ */ f.jsxs( - zt, - { - className: `${m2.codeblock} ${i || ""} ${r === "dark" ? m2.dark : ""}`, - children: [ - n ? /* @__PURE__ */ f.jsxs(Ro, { className: "d-flex justify-content-between", children: [ - n, - " ", - l - ] }) : null, - /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsx( - i4, - { - showLineNumbers: a, - language: t, - style: h6[o], - children: e - } - ) }) - ] - } -), p6 = "_stack_73h55_1", g6 = { - stack: p6 -}, Ke = Js(function({ - children: t, - direction: n = "row", - ...o -}, r) { - return /* @__PURE__ */ f.jsx( - "div", - { + }); + var n = t(f4()), + o = t(p4()), + r = t(h4()), + i = t(g4()), + a = t(m4()), + l = t(b4()), + s = t(y4()), + u = t(C4()), + c = t(v4()), + d = t(x4()), + h = t(w4()), + f = t(E4()), + m = t(S4()), + b = t(k4()), + y = t(_4()), + g = t(A4()), + x = t(M4()), + C = t(T4()), + E = t(O4()), + w = t(N4()), + S = t(D4()), + _ = t(L4()), + A = t(F4()), + R = t(R4()), + L = t(j4()), + j = t(I4()), + P = t(z4()), + V = t(H4()), + k = t(P4()), + N = t(B4()), + T = t(V4()), + F = t($4()), + I = t(W4()), + D = t(Z4()), + v = t(U4()), + z = t(q4()), + B = t(Y4()), + M = t(G4()), + W = t(K4()), + G = t(X4()), + K = t(Q4()), + Q = t(J4()), + ne = t(e6()), + oe = t(t6()); +})(Yo); +const n6 = "_codeblock_19tsp_1", + o6 = "_dark_19tsp_1", + u2 = { + codeblock: n6, + dark: o6, + }, + r6 = { + vs: Yo.vs, + "vsc-dark-plus": Yo.vscDarkPlus, + solarizedLight: Yo.solarizedlight, + tomorrow: Yo.tomorrow, + }, + Sr = ({ + code: e, + language: t, + fileName: n, + editorTheme: o = "vs", + theme: r, + showLineNumbers: i, + className: a, + titleActions: l, + }) => + /* @__PURE__ */ p.jsxs(sn, { + className: `${u2.codeblock} ${a || ""} ${r === "dark" ? u2.dark : ""}`, + children: [ + n + ? /* @__PURE__ */ p.jsxs(Er, { + className: "d-flex justify-content-between", + children: [n, " ", l], + }) + : null, + /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsx(U5, { + showLineNumbers: i, + language: t, + style: r6[o], + children: e, + }), + }), + ], + }), + i6 = "_stack_73h55_1", + a6 = { + stack: i6, + }, + ut = Ys(function ({ children: t, direction: n = "row", ...o }, r) { + return /* @__PURE__ */ p.jsx("div", { ...o, - className: `${o.className} ${g6.stack} stack-${n}`, + className: `${o.className} ${a6.stack} stack-${n}`, ref: r, - children: t - } - ); -}), ld = ({ tooltip: e, ...t }) => /* @__PURE__ */ f.jsx(Sn, { title: e, children: /* @__PURE__ */ f.jsx(W5, { ...t }) }), tc = ({ queryFn: e }) => { - const [t, n] = ce(), [o, r] = ce(!1), [a, i] = ce(), l = async () => { - r(!0); - try { - const u = await e(); - i(u); - } catch (u) { - n(u); - } finally { - r(!1); - } - }; - return ue(() => { - l(); - }, []), { - error: t, - data: a, - loading: o, - refetch: () => { - l(); - } - }; -}, oo = ({ queryFn: e, onSuccess: t }) => { - const [n, o] = ce(), [r, a] = ce(!1), [i, l] = ce(); - 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, + }); + }), + G0 = ({ tooltip: e, ...t }) => + /* @__PURE__ */ p.jsx(wn, { + title: e, + children: /* @__PURE__ */ p.jsx(D5, { ...t }), + }), + K0 = ({ queryFn: e }) => { + const [t, n] = ue(), + [o, r] = ue(!1), + [i, a] = ue(), + l = async () => { + r(!0); + try { + const u = await e(); + a(u); + } catch (u) { + n(u); + } finally { + r(!1); + } + }; + return ( + ce(() => { + l(); + }, []), + { + error: t, + data: i, + loading: o, + refetch: () => { + l(); + }, } - } + ); + }, + Zi = ({ queryFn: e, onSuccess: t }) => { + const [n, o] = ue(), + [r, i] = ue(!1), + [a, l] = ue(); + return { + error: n, + data: a, + loading: r, + mutate: async (u) => { + i(!0); + try { + const c = await e(u); + l(c), t == null || t(c); + } catch (c) { + o(c); + } finally { + i(!1); + } + }, + }; + }, + Ie = { + get: async (e, t, n) => ({}), + post: async (e, t, n) => ({}), }; -}, Me = { - get: async (e, t, n) => ({}), - post: async (e, t, n) => ({}) -}; -var nc = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(nc || {}); -const m6 = () => { +var Ks = /* @__PURE__ */ ((e) => ( + (e.DBT_DOCS = "dbt-docs"), + (e.DOCUMENTATION_EDITOR = "documentation-editor"), + (e.SAAS = "saas"), + e +))(Ks || {}); +const l6 = () => { var t, n, o; - const e = (o = (n = (t = window.location.hash) == null ? void 0 : t.split("#")[1]) == null ? void 0 : n.replace("!/", "")) == null ? void 0 : o.split("/"); - return { name: e == null ? void 0 : e[1], resourceType: e == null ? void 0 : e[0] }; + 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 sd = { exports: {} }; +var X0 = { 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; + function r(i) { + if (o[i]) return o[i].exports; + var a = (o[i] = { i, l: !1, exports: {} }); + return n[i].call(a.exports, a, a.exports, r), (a.l = !0), a.exports; } - return r.m = n, r.c = o, r.d = function(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, p) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, m) { - h.__proto__ = m; - } || function(h, m) { - for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (h[b] = m[b]); - })(d, p); - }, function(d, p) { - function h() { - this.constructor = d; - } - a(d, p), d.prototype = p === null ? Object.create(p) : (h.prototype = p.prototype, new h()); - }), 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 (i, a, l) { + r.o(i, a) || Object.defineProperty(i, a, { enumerable: !0, get: l }); + }), + (r.r = function (i) { + typeof Symbol < "u" && + Symbol.toStringTag && + Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(i, "__esModule", { value: !0 }); + }), + (r.t = function (i, a) { + if ( + (1 & a && (i = r(i)), + 8 & a || (4 & a && typeof i == "object" && i && i.__esModule)) + ) + return i; + var l = /* @__PURE__ */ Object.create(null); + if ( + (r.r(l), + Object.defineProperty(l, "default", { enumerable: !0, value: i }), + 2 & a && typeof i != "string") + ) + for (var s in i) + r.d( + l, + s, + function (u) { + return i[u]; + }.bind(null, s), + ); + return l; + }), + (r.n = function (i) { + var a = + i && i.__esModule + ? function () { + return i.default; + } + : function () { + return i; + }; + return r.d(a, "a", a), a; + }), + (r.o = function (i, a) { + return Object.prototype.hasOwnProperty.call(i, a); + }), + (r.p = ""), + r((r.s = 7)) + ); + })([ + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (d, h) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (f, m) { + f.__proto__ = m; + }) || + function (f, m) { + for (var b in m) + Object.prototype.hasOwnProperty.call(m, b) && (f[b] = m[b]); + })(d, h); + }), + function (d, h) { + function f() { + this.constructor = d; + } + i(d, h), + (d.prototype = + h === null + ? Object.create(h) + : ((f.prototype = h.prototype), new f())); + }), + l = + (this && this.__importDefault) || + function (d) { + return d && d.__esModule ? d : { default: d }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.eventEmitter = + o.INTERNAL_ERROR_EVENT = + o.UNKNOWN_IDX = + o.ROOT_IDX = + o.getStylesheet = + o.getDefaultOptions = + o.CAMEL_DATASET_SPLIT_TYPE = + o.CAMEL_DATASET_IDENTIFIER_EXTRA = + o.CAMEL_DATASET_IDENTIFIER = + o.DATASET_SPLIT_TYPE = + o.DATASET_IDENTIFIER_EXTRA = + o.DATASET_IDENTIFIER = + o.STYLESHEET_ID = + o.LOCAL_STORE_KEY = + o.ID_DIVISION = + void 0); + var s = l(r(10)), + u = l(r(2)); + (o.ID_DIVISION = ";"), + (o.LOCAL_STORE_KEY = "highlight-mengshou"), + (o.STYLESHEET_ID = "highlight-mengshou-style"), + (o.DATASET_IDENTIFIER = "highlight-id"), + (o.DATASET_IDENTIFIER_EXTRA = "highlight-id-extra"), + (o.DATASET_SPLIT_TYPE = "highlight-split-type"), + (o.CAMEL_DATASET_IDENTIFIER = s.default(o.DATASET_IDENTIFIER)), + (o.CAMEL_DATASET_IDENTIFIER_EXTRA = s.default( + o.DATASET_IDENTIFIER_EXTRA, + )), + (o.CAMEL_DATASET_SPLIT_TYPE = s.default(o.DATASET_SPLIT_TYPE)), + (o.getDefaultOptions = function () { + return { + $root: document || document.documentElement, + exceptSelectors: null, + wrapTag: "span", + verbose: !1, + style: { className: "highlight-mengshou-wrap" }, + }; + }), + (o.getStylesheet = function () { + return ( + ` + .` + + o.getDefaultOptions().style.className + + ` { background: #ff9; cursor: pointer; - } - .` + 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 p() { - return d !== null && d.apply(this, arguments) || this; - } - return i(p, d), p; - }(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, p, h = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = h.next()).done; ) m.push(d.value); - } catch (b) { - p = { error: b }; - } finally { - try { - d && !d.done && (c = h.return) && c.call(h); - } finally { - if (p) throw p.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(p) { - p.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, p, h, m) { - this.startMeta = c, this.endMeta = d, this.text = p, this.id = h, this.__isHighlightSource = {}, m && (this.extra = m); - } - return u.prototype.deSerialize = function(c, d) { - var p = l.queryElementNode(this, c), h = p.start, m = p.end, b = l.getTextChildByOffset(h, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); - if (!d.Serialize.Restore.isEmpty()) { - var g = d.Serialize.Restore.call(this, b, y) || []; - b = g[0] || b, y = g[1] || y; - } - return new i.default(b, y, 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, p = d && c[d], h = 0; - if (p) return p.call(c); - if (c && typeof c.length == "number") return { next: function() { - return c && h >= c.length && (c = void 0), { value: c && c[h++], done: !c }; - } }; - throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, i = this && this.__read || function(c, d) { - var p = typeof Symbol == "function" && c[Symbol.iterator]; - if (!p) return c; - var h, m, b = p.call(c), y = []; - try { - for (; (d === void 0 || d-- > 0) && !(h = b.next()).done; ) y.push(h.value); - } catch (g) { - m = { error: g }; - } finally { - try { - h && !h.done && (p = b.return) && p.call(b); - } finally { - if (m) throw m.error; - } - } - return y; - }, l = this && this.__spread || function() { - for (var c = [], d = 0; d < arguments.length; d++) c = c.concat(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 p = !1, h = null; c; ) { - if (o.isHighlightWrapNode(c) && (h = c), c === d) { - p = !0; - break; - } - c = c.parentNode; - } - return p ? h : 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(p) { - return p; - }) : []; - }, o.getHighlightsByRoot = function(c, d) { - var p, h; - Array.isArray(c) || (c = [c]); - var m = []; - try { - for (var b = a(c), y = b.next(); !y.done; y = b.next()) { - var g = y.value.querySelectorAll(d + "[data-" + s.DATASET_IDENTIFIER + "]"); - m.push.apply(m, g); - } - } catch (x) { - p = { error: x }; - } finally { - try { - y && !y.done && (h = b.return) && h.call(b); - } finally { - if (p) throw p.error; - } - } - return m; - }, o.getHighlightById = function(c, d, p) { - var h, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(p + "[data-" + s.DATASET_IDENTIFIER + "]"); - try { - for (var x = a(g), C = x.next(); !C.done; C = x.next()) { - var S = C.value; - if (S.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { - var w = S.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; - y.test(w) && b.push(S); - } else b.push(S); - } - } catch (E) { - h = { error: E }; - } finally { - try { - C && !C.done && (m = x.return) && m.call(x); - } finally { - if (h) throw h.error; - } - } - return b; - }, o.forEach = function(c, d) { - for (var p = 0; p < c.length; p++) d(c[p], p, c); - }, o.removeEventListener = function(c, d, p) { - c.removeEventListener(d, p); - }, o.addEventListener = function(c, d, p) { - return c.addEventListener(d, p), function() { - o.removeEventListener(c, d, p); - }; - }, o.addClass = function(c, d) { - var p; - Array.isArray(d) || (d = [d]), (p = c.classList).add.apply(p, 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(h) { - return h && h.__esModule ? h : { default: h }; - }; - 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), p = function() { - function h(m, b, y, g, x) { - x === void 0 && (x = !1), m.$node.nodeType === 3 && b.$node.nodeType === 3 || d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { type: l.ERROR.RANGE_NODE_INVALID }), this.start = c.formatDomNode(m), this.end = c.formatDomNode(b), this.text = y, this.frozen = x, this.id = g; - } - return h.fromSelection = function(m) { - var b = s.getDomRange(); - if (!b) return null; - var y = { $node: b.startContainer, offset: b.startOffset }, g = { $node: b.endContainer, offset: b.endOffset }, x = b.toString(), C = m.call(y, g, x); - return new h(y, g, x, C = C ?? u.default()); - }, h.prototype.serialize = function(m, b) { - var y, g = c.getDomMeta(this.start.$node, this.start.offset, m), x = c.getDomMeta(this.end.$node, this.end.offset, m); - return b.Serialize.RecordInfo.isEmpty() || (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), this.frozen = !0, new i.default(g, x, this.text, this.id, y); - }, h.removeDomRange = s.removeSelection, h; - }(); - o.default = p; - }, 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(w, E) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(M, _) { - M.__proto__ = _; - } || function(M, _) { - for (var L in _) Object.prototype.hasOwnProperty.call(_, L) && (M[L] = _[L]); - })(w, E); - }, function(w, E) { - function M() { - this.constructor = w; - } - a(w, E), w.prototype = E === null ? Object.create(E) : (M.prototype = E.prototype, new M()); - }), l = this && this.__assign || function() { - return (l = Object.assign || function(w) { - for (var E, M = 1, _ = arguments.length; M < _; M++) for (var L in E = arguments[M]) Object.prototype.hasOwnProperty.call(E, L) && (w[L] = E[L]); - return w; - }).apply(this, arguments); - }, s = this && this.__importDefault || function(w) { - return w && w.__esModule ? w : { default: w }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = s(r(5)), d = s(r(3)), p = s(r(6)), h = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), S = function(w) { - function E(M) { - var _ = w.call(this) || this; - _.event = m.default(), _.run = function() { - return C.addEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); - }, _.stop = function() { - C.removeEventListener(_.options.$root, _.event.PointerEnd, _._handleSelection); - }, _.addClass = function(R, j) { - _.getDoms(j).forEach(function(P) { - C.addClass(P, R); - }); - }, _.removeClass = function(R, j) { - _.getDoms(j).forEach(function(P) { - C.removeClass(P, R); - }); - }, _.getIdByDom = function(R) { - return C.getHighlightId(R, _.options.$root); - }, _.getExtraIdByDom = function(R) { - return C.getExtraHighlightId(R, _.options.$root); - }, _.getDoms = function(R) { - return R ? C.getHighlightById(_.options.$root, R, _.options.wrapTag) : C.getHighlightsByRoot(_.options.$root, _.options.wrapTag); - }, _.dispose = function() { - var R = _.options.$root; - C.removeEventListener(R, _.event.PointerOver, _._handleHighlightHover), C.removeEventListener(R, _.event.PointerEnd, _._handleSelection), C.removeEventListener(R, _.event.PointerTap, _._handleHighlightClick), _.removeAll(); - }, _.setOption = function(R) { - _.options = l(l({}, _.options), R), _.painter = new y.default({ $root: _.options.$root, wrapTag: _.options.wrapTag, className: _.options.style.className, exceptSelectors: _.options.exceptSelectors }, _.hooks); - }, _.fromRange = function(R) { - var j = { $node: R.startContainer, offset: R.startOffset }, P = { $node: R.endContainer, offset: R.endOffset }, V = R.toString(), k = _.hooks.Render.UUID.call(j, P, V); - k = k ?? p.default(); - var N = new c.default(j, P, V, k); - return N ? _._highlightFromHRange(N) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID }), null); - }, _.fromStore = function(R, j, P, V, k) { - var N = new d.default(R, j, P, V, k); - try { - return _._highlightFromHSource(N), N; - } catch (T) { - return g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: T, detail: N }), null; - } - }, _._getHooks = function() { - return { Render: { UUID: new h.default("Render.UUID"), SelectedNodes: new h.default("Render.SelectedNodes"), WrapNode: new h.default("Render.WrapNode") }, Serialize: { Restore: new h.default("Serialize.Restore"), RecordInfo: new h.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new h.default("Remove.UpdateNodes") } }; - }, _._highlightFromHRange = function(R) { - var j = R.serialize(_.options.$root, _.hooks); - return _.painter.highlightRange(R).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (_.cache.save(j), _.emit(x.EventType.CREATE, { sources: [j], type: x.CreateFrom.INPUT }, _), j); - }, _._handleSelection = function() { - var R = c.default.fromSelection(_.hooks.Render.UUID); - R && (_._highlightFromHRange(R), c.default.removeDomRange()); - }, _._handleHighlightHover = function(R) { - var j = R.target; - if (!C.isHighlightWrapNode(j)) return _._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), void (_._hoverId = null); - var P = C.getHighlightId(j, _.options.$root); - _._hoverId !== P && (_._hoverId && _.emit(x.EventType.HOVER_OUT, { id: _._hoverId }, _, R), _._hoverId = P, _.emit(x.EventType.HOVER, { id: _._hoverId }, _, R)); - }, _._handleError = function(R) { - _.options.verbose && console.warn(R); - }, _._handleHighlightClick = function(R) { - var j = R.target; - if (C.isHighlightWrapNode(j)) { - var P = C.getHighlightId(j, _.options.$root); - _.emit(x.EventType.CLICK, { id: P }, _, R); - } - }, _.options = g.getDefaultOptions(), _.hooks = _._getHooks(), _.setOption(M), _.cache = new b.default(); - var L = _.options.$root; - return C.addEventListener(L, _.event.PointerOver, _._handleHighlightHover), C.addEventListener(L, _.event.PointerTap, _._handleHighlightClick), g.eventEmitter.on(g.INTERNAL_ERROR_EVENT, _._handleError), _; - } - return i(E, w), E.prototype.remove = function(M) { - if (M) { - var _ = this.painter.removeHighlight(M); - this.cache.remove(M), _ && this.emit(x.EventType.REMOVE, { ids: [M] }, this); - } - }, E.prototype.removeAll = function() { - this.painter.removeAllHighlight(); - var M = this.cache.removeAll(); - this.emit(x.EventType.REMOVE, { ids: M }, this); - }, E.prototype._highlightFromHSource = function(M) { - M === void 0 && (M = []); - var _ = this.painter.highlightSource(M); - this.emit(x.EventType.CREATE, { sources: _, type: x.CreateFrom.STORE }, this), this.cache.save(M); - }, E.event = x.EventType, E.isHighlightWrapNode = C.isHighlightWrapNode, E.isHighlightSource = function(M) { - return !!M.__isHighlightSource; - }, E; - }(u.default); - o.default = S; - }, 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 p = u.childNodes, h = p.length - 1; h >= 0; h--) s.push(p[h]); - 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(p) { - if (p instanceof HTMLElement && (!p.dataset || !p.dataset[a.CAMEL_DATASET_IDENTIFIER])) return p; - for (var h = p.parentNode; h != null && h.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) h = h.parentNode; - return h; - }(i), c = u === s ? a.ROOT_IDX : function(p, h) { - for (var m = p.tagName, b = h.getElementsByTagName(m), y = 0; y < b.length; y++) if (p === b[y]) return y; - return a.UNKNOWN_IDX; - }(u, s), d = function(p, h) { - for (var m = [p], b = null, y = 0; b = m.pop(); ) { - for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) m.push(g[x]); - if (b.nodeType === 3 && b !== h) y += b.textContent.length; - else if (b.nodeType === 3) break; + } + .` + + 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 y; - }(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, p, h = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = h.next()).done; ) m.push(d.value); - } catch (b) { - p = { error: b }; - } finally { - try { - d && !d.done && (c = h.return) && c.call(h); - } finally { - if (p) throw p.error; + return a(h, d), h; + })(u.default); + o.eventEmitter = new c(); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.UserInputEvent = + o.SelectedNodeType = + o.CreateFrom = + o.EventType = + o.ERROR = + o.SplitType = + void 0), + (function (i) { + (i.none = "none"), + (i.head = "head"), + (i.tail = "tail"), + (i.both = "both"); + })(o.SplitType || (o.SplitType = {})), + (function (i) { + (i.DOM_TYPE_ERROR = "[DOM] Receive wrong node type."), + (i.DOM_SELECTION_EMPTY = + "[DOM] The selection contains no dom node, may be you except them."), + (i.RANGE_INVALID = + "[RANGE] Got invalid dom range, can't convert to a valid highlight range."), + (i.RANGE_NODE_INVALID = + "[RANGE] Start or end node isn't a text node, it may occur an error."), + (i.DB_ID_DUPLICATE_ERROR = "[STORE] Unique id conflict."), + (i.CACHE_SET_ERROR = + "[CACHE] Cache.data can't be set manually, please use .save()."), + (i.SOURCE_TYPE_ERROR = + "[SOURCE] Object isn't a highlight source instance."), + (i.HIGHLIGHT_RANGE_FROZEN = + "[HIGHLIGHT_RANGE] A highlight range must be frozen before render."), + (i.HIGHLIGHT_SOURCE_RECREATE = + "[HIGHLIGHT_SOURCE] Recreate highlights from sources error."), + (i.HIGHLIGHT_SOURCE_NONE_RENDER = + "[HIGHLIGHT_SOURCE] This highlight source isn't rendered. May be the exception skips it or the dom structure has changed."); + })(o.ERROR || (o.ERROR = {})), + (function (i) { + (i.CREATE = "selection:create"), + (i.REMOVE = "selection:remove"), + (i.MODIFY = "selection:modify"), + (i.HOVER = "selection:hover"), + (i.HOVER_OUT = "selection:hover-out"), + (i.CLICK = "selection:click"); + })(o.EventType || (o.EventType = {})), + (function (i) { + (i.STORE = "from-store"), (i.INPUT = "from-input"); + })(o.CreateFrom || (o.CreateFrom = {})), + (function (i) { + (i.text = "text"), (i.span = "span"); + })(o.SelectedNodeType || (o.SelectedNodeType = {})), + (function (i) { + (i.touchend = "touchend"), + (i.mouseup = "mouseup"), + (i.touchstart = "touchstart"), + (i.click = "click"), + (i.mouseover = "mouseover"); + })(o.UserInputEvent || (o.UserInputEvent = {})); + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + f = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = f.return) && c.call(f); + } finally { + if (h) throw h.error; + } + } + return m; + }, + a = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(i(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s() { + this.handlersMap = /* @__PURE__ */ Object.create(null); } - } - return 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); + return ( + (s.prototype.on = function (u, c) { + return ( + this.handlersMap[u] || (this.handlersMap[u] = []), + this.handlersMap[u].push(c), + this + ); + }), + (s.prototype.off = function (u, c) { + return ( + this.handlersMap[u] && + this.handlersMap[u].splice( + this.handlersMap[u].indexOf(c) >>> 0, + 1, + ), + this + ); + }), + (s.prototype.emit = function (u) { + for (var c = [], d = 1; d < arguments.length; d++) + c[d - 1] = arguments[d]; + return ( + this.handlersMap[u] && + this.handlersMap[u].slice().forEach(function (h) { + h.apply(void 0, a(c)); + }), + this + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (u) { + return u && u.__esModule ? u : { default: u }; }; - }, 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(p) { - u = p.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(p, h) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, b) { - m.__proto__ = b; - } || function(m, b) { - for (var y in b) Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); - })(p, h); - }, function(p, h) { - function m() { - this.constructor = p; - } - a(p, h), p.prototype = h === null ? Object.create(h) : (m.prototype = h.prototype, new m()); - }), l = this && this.__values || function(p) { - var h = typeof Symbol == "function" && Symbol.iterator, m = h && p[h], b = 0; - if (m) return m.call(p); - if (p && typeof p.length == "number") return { next: function() { - return p && b >= p.length && (p = void 0), { value: p && p[b++], done: !p }; - } }; - throw new TypeError(h ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, s = this && this.__importDefault || function(p) { - return p && p.__esModule ? p : { default: p }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = r(1), d = function(p) { - function h() { - var m = p !== null && p.apply(this, arguments) || this; - return m._data = /* @__PURE__ */ new Map(), m; - } - return i(h, p), Object.defineProperty(h.prototype, "data", { get: function() { - return this.getAll(); - }, set: function(m) { - throw c.ERROR.CACHE_SET_ERROR; - }, enumerable: !1, configurable: !0 }), h.prototype.save = function(m) { - var b = this; - Array.isArray(m) ? m.forEach(function(y) { - return b._data.set(y.id, y); - }) : this._data.set(m.id, m); - }, h.prototype.get = function(m) { - return this._data.get(m); - }, h.prototype.remove = function(m) { - this._data.delete(m); - }, h.prototype.getAll = function() { - var m, b, y = []; - try { - for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { - var C = x.value; - y.push(C[1]); + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = i(r(5)), + l = r(9), + s = (function () { + function u(c, d, h, f, m) { + (this.startMeta = c), + (this.endMeta = d), + (this.text = h), + (this.id = f), + (this.__isHighlightSource = {}), + m && (this.extra = m); } - } catch (S) { - m = { error: S }; - } finally { - try { - x && !x.done && (b = g.return) && b.call(g); - } finally { - if (m) throw m.error; + return ( + (u.prototype.deSerialize = function (c, d) { + var h = l.queryElementNode(this, c), + f = h.start, + m = h.end, + b = l.getTextChildByOffset(f, this.startMeta.textOffset), + y = l.getTextChildByOffset(m, this.endMeta.textOffset); + if (!d.Serialize.Restore.isEmpty()) { + var g = d.Serialize.Restore.call(this, b, y) || []; + (b = g[0] || b), (y = g[1] || y); + } + return new a.default(b, y, this.text, this.id, !0); + }), + u + ); + })(); + o.default = s; + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (c) { + var d = typeof Symbol == "function" && Symbol.iterator, + h = d && c[d], + f = 0; + if (h) return h.call(c); + if (c && typeof c.length == "number") + return { + next: function () { + return ( + c && f >= c.length && (c = void 0), + { value: c && c[f++], done: !c } + ); + }, + }; + throw new TypeError( + d + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + a = + (this && this.__read) || + function (c, d) { + var h = typeof Symbol == "function" && c[Symbol.iterator]; + if (!h) return c; + var f, + m, + b = h.call(c), + y = []; + try { + for (; (d === void 0 || d-- > 0) && !(f = b.next()).done; ) + y.push(f.value); + } catch (g) { + m = { error: g }; + } finally { + try { + f && !f.done && (h = b.return) && h.call(b); + } finally { + if (m) throw m.error; + } + } + return y; + }, + l = + (this && this.__spread) || + function () { + for (var c = [], d = 0; d < arguments.length; d++) + c = c.concat(a(arguments[d])); + return c; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.hasClass = + o.removeAllClass = + o.removeClass = + o.addClass = + o.addEventListener = + o.removeEventListener = + o.forEach = + o.getHighlightById = + o.getHighlightsByRoot = + o.getExtraHighlightId = + o.getHighlightId = + o.isHighlightWrapNode = + void 0); + var s = r(0); + o.isHighlightWrapNode = function (c) { + return !!c.dataset && !!c.dataset[s.CAMEL_DATASET_IDENTIFIER]; + }; + var u = function (c, d) { + for (var h = !1, f = null; c; ) { + if ((o.isHighlightWrapNode(c) && (f = c), c === d)) { + h = !0; + break; } + c = c.parentNode; } - return y; - }, h.prototype.removeAll = function() { - var m, b, y = []; - try { - for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { - var C = x.value; - y.push(C[0]); - } - } catch (S) { - m = { error: S }; - } finally { + return h ? f : null; + }; + (o.getHighlightId = function (c, d) { + return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER] : ""; + }), + (o.getExtraHighlightId = function (c, d) { + return (c = u(c, d)) + ? c.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA] + .split(s.ID_DIVISION) + .filter(function (h) { + return h; + }) + : []; + }), + (o.getHighlightsByRoot = function (c, d) { + var h, f; + Array.isArray(c) || (c = [c]); + var m = []; try { - x && !x.done && (b = g.return) && b.call(g); + for (var b = i(c), y = b.next(); !y.done; y = b.next()) { + var g = y.value.querySelectorAll( + d + "[data-" + s.DATASET_IDENTIFIER + "]", + ); + m.push.apply(m, g); + } + } catch (x) { + h = { error: x }; } finally { - if (m) throw m.error; - } - } - return this._data = /* @__PURE__ */ new Map(), y; - }, h; - }(u.default); - o.default = d; - }, function(n, o, r) { - var a = this && this.__values || function(y) { - var g = typeof Symbol == "function" && Symbol.iterator, x = g && y[g], C = 0; - if (x) return x.call(y); - if (y && typeof y.length == "number") return { next: function() { - return y && C >= y.length && (y = void 0), { value: y && y[C++], done: !y }; - } }; - throw new TypeError(g ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, i = this && this.__read || function(y, g) { - var x = typeof Symbol == "function" && y[Symbol.iterator]; - if (!x) return y; - var C, S, w = x.call(y), E = []; - try { - for (; (g === void 0 || g-- > 0) && !(C = w.next()).done; ) E.push(C.value); - } catch (M) { - S = { error: M }; - } finally { - try { - C && !C.done && (x = w.return) && x.call(w); - } finally { - if (S) throw S.error; - } - } - return E; - }, l = this && this.__spread || function() { - for (var y = [], g = 0; g < arguments.length; g++) y = y.concat(i(arguments[g])); - return y; - }, s = this && this.__importDefault || function(y) { - return y && y.__esModule ? y : { default: y }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(3)), c = r(18), d = r(4), p = r(1), h = r(20), m = r(0), b = function() { - function y(g, x) { - this.options = { $root: g.$root, wrapTag: g.wrapTag, exceptSelectors: g.exceptSelectors, className: g.className }, this.hooks = x, h.initDefaultStylesheet(); - } - return y.prototype.highlightRange = function(g) { - var x = this; - if (!g.frozen) throw p.ERROR.HIGHLIGHT_RANGE_FROZEN; - var C = this.options, S = C.$root, w = C.className, E = C.exceptSelectors, M = this.hooks, _ = c.getSelectedNodes(S, g.start, g.end, E); - return M.Render.SelectedNodes.isEmpty() || (_ = M.Render.SelectedNodes.call(g.id, _) || []), _.map(function(L) { - var R = c.wrapHighlight(L, g, w, x.options.wrapTag); - return M.Render.WrapNode.isEmpty() || (R = M.Render.WrapNode.call(g.id, R)), R; - }); - }, y.prototype.highlightSource = function(g) { - var x = this, C = Array.isArray(g) ? g : [g], S = []; - return C.forEach(function(w) { - if (w instanceof u.default) { - var E = w.deSerialize(x.options.$root, x.hooks); - x.highlightRange(E).length > 0 ? S.push(w) : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: p.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, detail: w }); - } else m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: p.ERROR.SOURCE_TYPE_ERROR }); - }), S; - }, y.prototype.removeHighlight = function(g) { - var x, C, S = new RegExp("(" + g + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + g + "$)"), w = this.hooks, E = this.options.wrapTag, M = document.querySelectorAll(E + "[data-" + m.DATASET_IDENTIFIER + "]"), _ = [], L = [], R = []; - try { - for (var j = a(M), P = j.next(); !P.done; P = j.next()) { - var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - k !== g || N ? k === g ? L.push(V) : k !== g && S.test(N) && R.push(V) : _.push(V); + try { + y && !y.done && (f = b.return) && f.call(b); + } finally { + if (h) throw h.error; + } } - } catch (T) { - x = { error: T }; - } finally { + return m; + }), + (o.getHighlightById = function (c, d, h) { + var f, + m, + b = [], + y = new RegExp( + "(" + + d + + "\\" + + s.ID_DIVISION + + "|\\" + + s.ID_DIVISION + + "?" + + d + + "$)", + ), + g = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); try { - P && !P.done && (C = j.return) && C.call(j); + for (var x = i(g), C = x.next(); !C.done; C = x.next()) { + var E = C.value; + if (E.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { + var w = E.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; + y.test(w) && b.push(E); + } else b.push(E); + } + } catch (S) { + f = { error: S }; } finally { - if (x) throw x.error; + try { + C && !C.done && (m = x.return) && m.call(x); + } finally { + if (f) throw f.error; + } } - } - return _.forEach(function(T) { - var D = T.parentNode, I = document.createDocumentFragment(); - d.forEach(T.childNodes, function(z) { - return I.appendChild(z.cloneNode(!1)); - }); - var F = T.previousSibling, v = T.nextSibling; - D.replaceChild(I, T), c.normalizeSiblingText(F, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); - }), L.forEach(function(T) { - var D = T.dataset, I = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), F = I.shift(), v = document.querySelector(E + "[data-" + m.DATASET_IDENTIFIER + '="' + F + '"]'); - v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), D[m.CAMEL_DATASET_IDENTIFIER] = F, D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), w.Remove.UpdateNodes.call(g, T, "id-update"); - }), R.forEach(function(T) { - var D = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = D.replace(S, ""), w.Remove.UpdateNodes.call(g, T, "extra-update"); - }), _.length + L.length + R.length !== 0; - }, y.prototype.removeAllHighlight = function() { - var g = this.options, x = g.wrapTag, C = g.$root; - d.getHighlightsByRoot(C, x).forEach(function(S) { - var w = S.parentNode, E = document.createDocumentFragment(); - d.forEach(S.childNodes, function(M) { - return E.appendChild(M.cloneNode(!1)); - }), w.replaceChild(E, S); + 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); }); - }, y; - }(); - o.default = b; - }, function(n, o, r) { - var a = this && this.__read || function(m, b) { - var y = typeof Symbol == "function" && m[Symbol.iterator]; - if (!y) return m; - var g, x, C = y.call(m), S = []; - try { - for (; (b === void 0 || b-- > 0) && !(g = C.next()).done; ) S.push(g.value); - } catch (w) { - x = { error: w }; - } finally { - try { - g && !g.done && (y = C.return) && y.call(C); - } finally { - if (x) throw x.error; - } - } - return S; - }, 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 y = b.replace(/^\./, ""); - return m && s.hasClass(m, y); - } - if (/^#/.test(b)) { - var g = b.replace(/^#/, ""); - return m && m.id === g; - } - var x = b.toUpperCase(); - return m && m.tagName === x; - }; - o.getSelectedNodes = function(m, b, y, g) { - var x = b.$node, C = y.$node, S = b.offset, w = y.offset; - if (x === C && x instanceof Text) return function(k, N, T, D) { - for (var I = k, F = function(z) { - return D == null ? void 0 : D.some(function(B) { - return d(z, B); - }); - }; I; ) { - if (I.nodeType === 1 && F(I)) return []; - I = I.parentNode; - } - k.splitText(N); - var v = k.nextSibling; - return v.splitText(T - N), [{ $node: v, type: l.SelectedNodeType.text, splitType: l.SplitType.both }]; - }(x, S, w, g); - for (var E = [m], M = [], _ = function(k) { - return g == null ? void 0 : g.some(function(N) { - return d(k, N); + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (f) { + return f && f.__esModule ? f : { default: f }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = i(r(3)), + l = r(1), + s = r(11), + u = i(r(6)), + c = r(12), + d = r(0), + h = (function () { + function f(m, b, y, g, x) { + x === void 0 && (x = !1), + (m.$node.nodeType === 3 && b.$node.nodeType === 3) || + d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { + type: l.ERROR.RANGE_NODE_INVALID, + }), + (this.start = c.formatDomNode(m)), + (this.end = c.formatDomNode(b)), + (this.text = y), + (this.frozen = x), + (this.id = g); + } + return ( + (f.fromSelection = function (m) { + var b = s.getDomRange(); + if (!b) return null; + var y = { $node: b.startContainer, offset: b.startOffset }, + g = { $node: b.endContainer, offset: b.endOffset }, + x = b.toString(), + C = m.call(y, g, x); + return new f(y, g, x, (C = C ?? u.default())); + }), + (f.prototype.serialize = function (m, b) { + var y, + g = c.getDomMeta(this.start.$node, this.start.offset, m), + x = c.getDomMeta(this.end.$node, this.end.offset, m); + return ( + b.Serialize.RecordInfo.isEmpty() || + (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), + (this.frozen = !0), + new a.default(g, x, this.text, this.id, y) + ); + }), + (f.removeDomRange = s.removeSelection), + f + ); + })(); + o.default = h; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function i(a) { + return a + ? (a ^ ((16 * Math.random()) >> (a / 4))).toString(16) + : ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, i); }); - }, L = !1, R = null; R = E.pop(); ) if (R.nodeType !== 1 || !_(R)) { - for (var j = R.childNodes, P = j.length - 1; P >= 0; P--) E.push(j[P]); - if (R === x) { - if (R.nodeType === 3) { - R.splitText(S); - var V = R.nextSibling; - M.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.head }); + }, + function (n, o, r) { + n.exports = r(8); + }, + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (w, S) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (_, A) { + _.__proto__ = A; + }) || + function (_, A) { + for (var R in A) + Object.prototype.hasOwnProperty.call(A, R) && (_[R] = A[R]); + })(w, S); + }), + function (w, S) { + function _() { + this.constructor = w; + } + i(w, S), + (w.prototype = + S === null + ? Object.create(S) + : ((_.prototype = S.prototype), new _())); + }), + l = + (this && this.__assign) || + function () { + return (l = + Object.assign || + function (w) { + for (var S, _ = 1, A = arguments.length; _ < A; _++) + for (var R in (S = arguments[_])) + Object.prototype.hasOwnProperty.call(S, R) && + (w[R] = S[R]); + return w; + }).apply(this, arguments); + }, + s = + (this && this.__importDefault) || + function (w) { + return w && w.__esModule ? w : { default: w }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(2)), + c = s(r(5)), + d = s(r(3)), + h = s(r(6)), + f = s(r(13)), + m = s(r(14)), + b = s(r(16)), + y = s(r(17)), + g = r(0), + x = r(1), + C = r(4), + E = (function (w) { + function S(_) { + var A = w.call(this) || this; + (A.event = m.default()), + (A.run = function () { + return C.addEventListener( + A.options.$root, + A.event.PointerEnd, + A._handleSelection, + ); + }), + (A.stop = function () { + C.removeEventListener( + A.options.$root, + A.event.PointerEnd, + A._handleSelection, + ); + }), + (A.addClass = function (L, j) { + A.getDoms(j).forEach(function (P) { + C.addClass(P, L); + }); + }), + (A.removeClass = function (L, j) { + A.getDoms(j).forEach(function (P) { + C.removeClass(P, L); + }); + }), + (A.getIdByDom = function (L) { + return C.getHighlightId(L, A.options.$root); + }), + (A.getExtraIdByDom = function (L) { + return C.getExtraHighlightId(L, A.options.$root); + }), + (A.getDoms = function (L) { + return L + ? C.getHighlightById(A.options.$root, L, A.options.wrapTag) + : C.getHighlightsByRoot(A.options.$root, A.options.wrapTag); + }), + (A.dispose = function () { + var L = A.options.$root; + C.removeEventListener( + L, + A.event.PointerOver, + A._handleHighlightHover, + ), + C.removeEventListener( + L, + A.event.PointerEnd, + A._handleSelection, + ), + C.removeEventListener( + L, + A.event.PointerTap, + A._handleHighlightClick, + ), + A.removeAll(); + }), + (A.setOption = function (L) { + (A.options = l(l({}, A.options), L)), + (A.painter = new y.default( + { + $root: A.options.$root, + wrapTag: A.options.wrapTag, + className: A.options.style.className, + exceptSelectors: A.options.exceptSelectors, + }, + A.hooks, + )); + }), + (A.fromRange = function (L) { + var j = { $node: L.startContainer, offset: L.startOffset }, + P = { $node: L.endContainer, offset: L.endOffset }, + V = L.toString(), + k = A.hooks.Render.UUID.call(j, P, V); + k = k ?? h.default(); + var N = new c.default(j, P, V, k); + return N + ? A._highlightFromHRange(N) + : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.RANGE_INVALID, + }), + null); + }), + (A.fromStore = function (L, j, P, V, k) { + var N = new d.default(L, j, P, V, k); + try { + return A._highlightFromHSource(N), N; + } catch (T) { + return ( + g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, + error: T, + detail: N, + }), + null + ); + } + }), + (A._getHooks = function () { + return { + Render: { + UUID: new f.default("Render.UUID"), + SelectedNodes: new f.default("Render.SelectedNodes"), + WrapNode: new f.default("Render.WrapNode"), + }, + Serialize: { + Restore: new f.default("Serialize.Restore"), + RecordInfo: new f.default("Serialize.RecordInfo"), + }, + Remove: { + UpdateNodes: new f.default("Remove.UpdateNodes"), + }, + }; + }), + (A._highlightFromHRange = function (L) { + var j = L.serialize(A.options.$root, A.hooks); + return A.painter.highlightRange(L).length === 0 + ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.DOM_SELECTION_EMPTY, + }), + null) + : (A.cache.save(j), + A.emit( + x.EventType.CREATE, + { sources: [j], type: x.CreateFrom.INPUT }, + A, + ), + j); + }), + (A._handleSelection = function () { + var L = c.default.fromSelection(A.hooks.Render.UUID); + L && (A._highlightFromHRange(L), c.default.removeDomRange()); + }), + (A._handleHighlightHover = function (L) { + var j = L.target; + if (!C.isHighlightWrapNode(j)) + return ( + A._hoverId && + A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), + void (A._hoverId = null) + ); + var P = C.getHighlightId(j, A.options.$root); + A._hoverId !== P && + (A._hoverId && + A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), + (A._hoverId = P), + A.emit(x.EventType.HOVER, { id: A._hoverId }, A, L)); + }), + (A._handleError = function (L) { + A.options.verbose && console.warn(L); + }), + (A._handleHighlightClick = function (L) { + var j = L.target; + if (C.isHighlightWrapNode(j)) { + var P = C.getHighlightId(j, A.options.$root); + A.emit(x.EventType.CLICK, { id: P }, A, L); + } + }), + (A.options = g.getDefaultOptions()), + (A.hooks = A._getHooks()), + A.setOption(_), + (A.cache = new b.default()); + var R = A.options.$root; + return ( + C.addEventListener( + R, + A.event.PointerOver, + A._handleHighlightHover, + ), + C.addEventListener( + R, + A.event.PointerTap, + A._handleHighlightClick, + ), + g.eventEmitter.on(g.INTERNAL_ERROR_EVENT, A._handleError), + A + ); } - L = !0; - } else { - if (R === C) { - R.nodeType === 3 && ((V = R).splitText(w), M.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.tail })); + return ( + a(S, w), + (S.prototype.remove = function (_) { + if (_) { + var A = this.painter.removeHighlight(_); + this.cache.remove(_), + A && this.emit(x.EventType.REMOVE, { ids: [_] }, this); + } + }), + (S.prototype.removeAll = function () { + this.painter.removeAllHighlight(); + var _ = this.cache.removeAll(); + this.emit(x.EventType.REMOVE, { ids: _ }, this); + }), + (S.prototype._highlightFromHSource = function (_) { + _ === void 0 && (_ = []); + var A = this.painter.highlightSource(_); + this.emit( + x.EventType.CREATE, + { sources: A, type: x.CreateFrom.STORE }, + this, + ), + this.cache.save(_); + }), + (S.event = x.EventType), + (S.isHighlightWrapNode = C.isHighlightWrapNode), + (S.isHighlightSource = function (_) { + return !!_.__isHighlightSource; + }), + S + ); + })(u.default); + o.default = E; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.queryElementNode = o.getTextChildByOffset = void 0); + var i = r(0); + (o.getTextChildByOffset = function (a, l) { + for (var s = [a], u = null, c = 0, d = 0; (u = s.pop()); ) { + for (var h = u.childNodes, f = h.length - 1; f >= 0; f--) + s.push(h[f]); + if ( + u.nodeType === 3 && + ((d = l - c), (c += u.textContent.length) >= l) + ) break; - } - L && R.nodeType === 3 && M.push({ $node: R, type: l.SelectedNodeType.text, splitType: l.SplitType.none }); - } - } - return M; - }; - var p = function(m, b) { - var y = Array.isArray(b) ? b : [b]; - return (y = y.length === 0 ? [u.getDefaultOptions().style.className] : y).forEach(function(g) { - s.addClass(m, g); - }), m; - }, h = function(m) { - return !m || !m.textContent; - }; - o.wrapHighlight = function(m, b, y, g) { - var x = m.$node.parentNode, C = m.$node.previousSibling, S = m.$node.nextSibling; - return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || h(C) && h(S) ? function(w, E, M) { - var _ = w.$node.parentNode, L = _; - s.removeAllClass(L), p(L, M); - var R = _.dataset, j = R[u.CAMEL_DATASET_IDENTIFIER]; - return R[u.CAMEL_DATASET_IDENTIFIER] = E.id, R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? j + u.ID_DIVISION + R[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : j, L; - }(m, b, y) : function(w, E, M, _) { - var L = document.createElement(_), R = w.$node.parentNode, j = w.$node.previousSibling, P = w.$node.nextSibling, V = document.createDocumentFragment(), k = R.dataset[u.CAMEL_DATASET_IDENTIFIER], N = R.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], T = N ? k + u.ID_DIVISION + N : k; - L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), L.appendChild(w.$node.cloneNode(!1)); - var D, I = !1, F = !1; - j && ((v = R.cloneNode(!1)).textContent = j.textContent, V.appendChild(v), I = !0); - var v, z = []; - return Array.isArray(M) ? z.push.apply(z, i(M)) : z.push(M), p(L, c.unique(z)), V.appendChild(L), P && ((v = R.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), F = !0), D = I && F ? l.SplitType.both : I ? l.SplitType.head : F ? l.SplitType.tail : l.SplitType.none, L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), R.parentNode.replaceChild(V, R), L; - }(m, b, y, g) : function(w, E, M, _) { - var L = document.createElement(_); - return p(L, M), L.appendChild(w.$node.cloneNode(!1)), w.$node.parentNode.replaceChild(L, w.$node), L.setAttribute("data-" + u.DATASET_IDENTIFIER, E.id), L.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), L.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), L; - }(m, b, y, g); - }, o.normalizeSiblingText = function(m, b) { - if (b === void 0 && (b = !0), m && m.nodeType === 3) { - var y = b ? m.nextSibling : m.previousSibling; - if (y.nodeType === 3) { - var g = y.nodeValue; - m.nodeValue = b ? m.nodeValue + g : g + m.nodeValue, y.parentNode.removeChild(y); } - } - }; - }, function(n, o, r) { - var 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 p = d.value; - u.indexOf(p) === -1 && u.push(p); + return u || (u = a), { $node: u, offset: d }; + }), + (o.queryElementNode = function (a, l) { + return { + start: + a.startMeta.parentIndex === i.ROOT_IDX + ? l + : l.getElementsByTagName(a.startMeta.parentTagName)[ + a.startMeta.parentIndex + ], + end: + a.endMeta.parentIndex === i.ROOT_IDX + ? l + : l.getElementsByTagName(a.endMeta.parentTagName)[ + a.endMeta.parentIndex + ], + }; + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function (i) { + return i.split("-").reduce(function (a, l, s) { + return a + (s === 0 ? l : l[0].toUpperCase() + l.slice(1)); + }, ""); + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.removeSelection = o.getDomRange = void 0), + (o.getDomRange = function () { + var i = window.getSelection(); + return i.isCollapsed + ? (console.debug("no text selected"), null) + : i.getRangeAt(0); + }), + (o.removeSelection = function () { + window.getSelection().removeAllRanges(); + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.formatDomNode = o.getDomMeta = void 0); + var i = r(0); + (o.getDomMeta = function (a, l, s) { + var u = (function (h) { + if ( + h instanceof HTMLElement && + (!h.dataset || !h.dataset[i.CAMEL_DATASET_IDENTIFIER]) + ) + return h; + for ( + var f = h.parentNode; + f != null && f.dataset[i.CAMEL_DATASET_IDENTIFIER]; + + ) + f = f.parentNode; + return f; + })(a), + c = + u === s + ? i.ROOT_IDX + : (function (h, f) { + for ( + var m = h.tagName, b = f.getElementsByTagName(m), y = 0; + y < b.length; + y++ + ) + if (h === b[y]) return y; + return i.UNKNOWN_IDX; + })(u, s), + d = (function (h, f) { + for (var m = [h], b = null, y = 0; (b = m.pop()); ) { + for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) + m.push(g[x]); + if (b.nodeType === 3 && b !== f) y += b.textContent.length; + else if (b.nodeType === 3) break; + } + return y; + })(u, a); + return { + parentTagName: u.tagName, + parentIndex: c, + textOffset: d + l, + }; + }), + (o.formatDomNode = function (a) { + return a.$node.nodeType === 3 || + a.$node.nodeType === 4 || + a.$node.nodeType === 8 + ? a + : { $node: a.$node.childNodes[a.offset], offset: 0 }; + }); + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + f = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = f.return) && c.call(f); + } finally { + if (h) throw h.error; + } + } + return m; + }, + a = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(i(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s(u) { + (this.name = ""), (this.ops = []), (this.name = u); } - } catch (h) { - l = { error: h }; - } finally { - try { - d && !d.done && (s = c.return) && s.call(c); - } finally { - if (l) throw l.error; + return ( + (s.prototype.tap = function (u) { + var c = this; + return ( + this.ops.indexOf(u) === -1 && this.ops.push(u), + function () { + c.remove(u); + } + ); + }), + (s.prototype.remove = function (u) { + var c = this.ops.indexOf(u); + c < 0 || this.ops.splice(c, 1); + }), + (s.prototype.isEmpty = function () { + return this.ops.length === 0; + }), + (s.prototype.call = function () { + for (var u, c = [], d = 0; d < arguments.length; d++) + c[d] = arguments[d]; + return ( + this.ops.forEach(function (h) { + u = h.apply(void 0, a(c)); + }), + u + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (s) { + return s && s.__esModule ? s : { default: s }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = r(1), + l = i(r(15)); + o.default = function () { + var s = l.default(window.navigator.userAgent); + return { + PointerEnd: s + ? a.UserInputEvent.touchend + : a.UserInputEvent.mouseup, + PointerTap: s + ? a.UserInputEvent.touchstart + : a.UserInputEvent.click, + PointerOver: s + ? a.UserInputEvent.touchstart + : a.UserInputEvent.mouseover, + }; + }; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }); + var i = + /Android|iPhone|BlackBerry|BB10|Opera Mini|Phone|Mobile|Silk|Windows Phone|Mobile(?:.+)Firefox\b/i; + o.default = function (a) { + return i.test(a); + }; + }, + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (h, f) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (m, b) { + m.__proto__ = b; + }) || + function (m, b) { + for (var y in b) + Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); + })(h, f); + }), + function (h, f) { + function m() { + this.constructor = h; + } + i(h, f), + (h.prototype = + f === null + ? Object.create(f) + : ((m.prototype = f.prototype), new m())); + }), + l = + (this && this.__values) || + function (h) { + var f = typeof Symbol == "function" && Symbol.iterator, + m = f && h[f], + b = 0; + if (m) return m.call(h); + if (h && typeof h.length == "number") + return { + next: function () { + return ( + h && b >= h.length && (h = void 0), + { value: h && h[b++], done: !h } + ); + }, + }; + throw new TypeError( + f + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + s = + (this && this.__importDefault) || + function (h) { + return h && h.__esModule ? h : { default: h }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(2)), + c = r(1), + d = (function (h) { + function f() { + var m = (h !== null && h.apply(this, arguments)) || this; + return (m._data = /* @__PURE__ */ new Map()), m; + } + return ( + a(f, h), + Object.defineProperty(f.prototype, "data", { + get: function () { + return this.getAll(); + }, + set: function (m) { + throw c.ERROR.CACHE_SET_ERROR; + }, + enumerable: !1, + configurable: !0, + }), + (f.prototype.save = function (m) { + var b = this; + Array.isArray(m) + ? m.forEach(function (y) { + return b._data.set(y.id, y); + }) + : this._data.set(m.id, m); + }), + (f.prototype.get = function (m) { + return this._data.get(m); + }), + (f.prototype.remove = function (m) { + this._data.delete(m); + }), + (f.prototype.getAll = function () { + var m, + b, + y = []; + try { + for ( + var g = l(this._data), x = g.next(); + !x.done; + x = g.next() + ) { + var C = x.value; + y.push(C[1]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + x && !x.done && (b = g.return) && b.call(g); + } finally { + if (m) throw m.error; + } + } + return y; + }), + (f.prototype.removeAll = function () { + var m, + b, + y = []; + try { + for ( + var g = l(this._data), x = g.next(); + !x.done; + x = g.next() + ) { + var C = x.value; + y.push(C[0]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + x && !x.done && (b = g.return) && b.call(g); + } finally { + if (m) throw m.error; + } + } + return (this._data = /* @__PURE__ */ new Map()), y; + }), + f + ); + })(u.default); + o.default = d; + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (y) { + var g = typeof Symbol == "function" && Symbol.iterator, + x = g && y[g], + C = 0; + if (x) return x.call(y); + if (y && typeof y.length == "number") + return { + next: function () { + return ( + y && C >= y.length && (y = void 0), + { value: y && y[C++], done: !y } + ); + }, + }; + throw new TypeError( + g + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + a = + (this && this.__read) || + function (y, g) { + var x = typeof Symbol == "function" && y[Symbol.iterator]; + if (!x) return y; + var C, + E, + w = x.call(y), + S = []; + try { + for (; (g === void 0 || g-- > 0) && !(C = w.next()).done; ) + S.push(C.value); + } catch (_) { + E = { error: _ }; + } finally { + try { + C && !C.done && (x = w.return) && x.call(w); + } finally { + if (E) throw E.error; + } + } + return S; + }, + l = + (this && this.__spread) || + function () { + for (var y = [], g = 0; g < arguments.length; g++) + y = y.concat(a(arguments[g])); + return y; + }, + s = + (this && this.__importDefault) || + function (y) { + return y && y.__esModule ? y : { default: y }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(3)), + c = r(18), + d = r(4), + h = r(1), + f = r(20), + m = r(0), + b = (function () { + function y(g, x) { + (this.options = { + $root: g.$root, + wrapTag: g.wrapTag, + exceptSelectors: g.exceptSelectors, + className: g.className, + }), + (this.hooks = x), + f.initDefaultStylesheet(); + } + return ( + (y.prototype.highlightRange = function (g) { + var x = this; + if (!g.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; + var C = this.options, + E = C.$root, + w = C.className, + S = C.exceptSelectors, + _ = this.hooks, + A = c.getSelectedNodes(E, g.start, g.end, S); + return ( + _.Render.SelectedNodes.isEmpty() || + (A = _.Render.SelectedNodes.call(g.id, A) || []), + A.map(function (R) { + var L = c.wrapHighlight(R, g, w, x.options.wrapTag); + return ( + _.Render.WrapNode.isEmpty() || + (L = _.Render.WrapNode.call(g.id, L)), + L + ); + }) + ); + }), + (y.prototype.highlightSource = function (g) { + var x = this, + C = Array.isArray(g) ? g : [g], + E = []; + return ( + C.forEach(function (w) { + if (w instanceof u.default) { + var S = w.deSerialize(x.options.$root, x.hooks); + x.highlightRange(S).length > 0 + ? E.push(w) + : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, + detail: w, + }); + } else + m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.SOURCE_TYPE_ERROR, + }); + }), + E + ); + }), + (y.prototype.removeHighlight = function (g) { + var x, + C, + E = new RegExp( + "(" + + g + + "\\" + + m.ID_DIVISION + + "|\\" + + m.ID_DIVISION + + "?" + + g + + "$)", + ), + w = this.hooks, + S = this.options.wrapTag, + _ = document.querySelectorAll( + S + "[data-" + m.DATASET_IDENTIFIER + "]", + ), + A = [], + R = [], + L = []; + try { + for (var j = i(_), P = j.next(); !P.done; P = j.next()) { + var V = P.value, + k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], + N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + k !== g || N + ? k === g + ? R.push(V) + : k !== g && E.test(N) && L.push(V) + : A.push(V); + } + } catch (T) { + x = { error: T }; + } finally { + try { + P && !P.done && (C = j.return) && C.call(j); + } finally { + if (x) throw x.error; + } + } + return ( + A.forEach(function (T) { + var F = T.parentNode, + I = document.createDocumentFragment(); + d.forEach(T.childNodes, function (z) { + return I.appendChild(z.cloneNode(!1)); + }); + var D = T.previousSibling, + v = T.nextSibling; + F.replaceChild(I, T), + c.normalizeSiblingText(D, !0), + c.normalizeSiblingText(v, !1), + w.Remove.UpdateNodes.call(g, T, "remove"); + }), + R.forEach(function (T) { + var F = T.dataset, + I = F[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split( + m.ID_DIVISION, + ), + D = I.shift(), + v = document.querySelector( + S + "[data-" + m.DATASET_IDENTIFIER + '="' + D + '"]', + ); + v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), + (F[m.CAMEL_DATASET_IDENTIFIER] = D), + (F[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join( + m.ID_DIVISION, + )), + w.Remove.UpdateNodes.call(g, T, "id-update"); + }), + L.forEach(function (T) { + var F = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + (T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = F.replace( + E, + "", + )), + w.Remove.UpdateNodes.call(g, T, "extra-update"); + }), + A.length + R.length + L.length !== 0 + ); + }), + (y.prototype.removeAllHighlight = function () { + var g = this.options, + x = g.wrapTag, + C = g.$root; + d.getHighlightsByRoot(C, x).forEach(function (E) { + var w = E.parentNode, + S = document.createDocumentFragment(); + d.forEach(E.childNodes, function (_) { + return S.appendChild(_.cloneNode(!1)); + }), + w.replaceChild(S, E); + }); + }), + y + ); + })(); + o.default = b; + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (m, b) { + var y = typeof Symbol == "function" && m[Symbol.iterator]; + if (!y) return m; + var g, + x, + C = y.call(m), + E = []; + try { + for (; (b === void 0 || b-- > 0) && !(g = C.next()).done; ) + E.push(g.value); + } catch (w) { + x = { error: w }; + } finally { + try { + g && !g.done && (y = C.return) && y.call(C); + } finally { + if (x) throw x.error; + } + } + return E; + }, + a = + (this && this.__spread) || + function () { + for (var m = [], b = 0; b < arguments.length; b++) + m = m.concat(i(arguments[b])); + return m; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.normalizeSiblingText = + o.wrapHighlight = + o.getSelectedNodes = + void 0); + var l = r(1), + s = r(4), + u = r(0), + c = r(19), + d = function (m, b) { + if (!m) return !1; + if (/^\./.test(b)) { + var y = b.replace(/^\./, ""); + return m && s.hasClass(m, y); + } + if (/^#/.test(b)) { + var g = b.replace(/^#/, ""); + return m && m.id === g; + } + var x = b.toUpperCase(); + return m && m.tagName === x; + }; + o.getSelectedNodes = function (m, b, y, g) { + var x = b.$node, + C = y.$node, + E = b.offset, + w = y.offset; + if (x === C && x instanceof Text) + return (function (k, N, T, F) { + for ( + var I = k, + D = function (z) { + return F == null + ? void 0 + : F.some(function (B) { + return d(z, B); + }); + }; + I; + + ) { + if (I.nodeType === 1 && D(I)) return []; + I = I.parentNode; + } + k.splitText(N); + var v = k.nextSibling; + return ( + v.splitText(T - N), + [ + { + $node: v, + type: l.SelectedNodeType.text, + splitType: l.SplitType.both, + }, + ] + ); + })(x, E, w, g); + for ( + var S = [m], + _ = [], + A = function (k) { + return g == null + ? void 0 + : g.some(function (N) { + return d(k, N); + }); + }, + R = !1, + L = null; + (L = S.pop()); + + ) + if (L.nodeType !== 1 || !A(L)) { + for (var j = L.childNodes, P = j.length - 1; P >= 0; P--) + S.push(j[P]); + if (L === x) { + if (L.nodeType === 3) { + L.splitText(E); + var V = L.nextSibling; + _.push({ + $node: V, + type: l.SelectedNodeType.text, + splitType: l.SplitType.head, + }); + } + R = !0; + } else { + if (L === C) { + L.nodeType === 3 && + ((V = L).splitText(w), + _.push({ + $node: V, + type: l.SelectedNodeType.text, + splitType: l.SplitType.tail, + })); + break; + } + R && + L.nodeType === 3 && + _.push({ + $node: L, + type: l.SelectedNodeType.text, + splitType: l.SplitType.none, + }); + } + } + return _; + }; + var h = function (m, b) { + var y = Array.isArray(b) ? b : [b]; + return ( + (y = + y.length === 0 + ? [u.getDefaultOptions().style.className] + : y).forEach(function (g) { + s.addClass(m, g); + }), + m + ); + }, + f = function (m) { + return !m || !m.textContent; + }; + (o.wrapHighlight = function (m, b, y, g) { + var x = m.$node.parentNode, + C = m.$node.previousSibling, + E = m.$node.nextSibling; + return s.isHighlightWrapNode(x) + ? !s.isHighlightWrapNode(x) || (f(C) && f(E)) + ? (function (w, S, _) { + var A = w.$node.parentNode, + R = A; + s.removeAllClass(R), h(R, _); + var L = A.dataset, + j = L[u.CAMEL_DATASET_IDENTIFIER]; + return ( + (L[u.CAMEL_DATASET_IDENTIFIER] = S.id), + (L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = L[ + u.CAMEL_DATASET_IDENTIFIER_EXTRA + ] + ? j + u.ID_DIVISION + L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] + : j), + R + ); + })(m, b, y) + : (function (w, S, _, A) { + var R = document.createElement(A), + L = w.$node.parentNode, + j = w.$node.previousSibling, + P = w.$node.nextSibling, + V = document.createDocumentFragment(), + k = L.dataset[u.CAMEL_DATASET_IDENTIFIER], + N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], + T = N ? k + u.ID_DIVISION + N : k; + R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), + R.appendChild(w.$node.cloneNode(!1)); + var F, + I = !1, + D = !1; + j && + (((v = L.cloneNode(!1)).textContent = j.textContent), + V.appendChild(v), + (I = !0)); + var v, + z = []; + return ( + Array.isArray(_) ? z.push.apply(z, a(_)) : z.push(_), + h(R, c.unique(z)), + V.appendChild(R), + P && + (((v = L.cloneNode(!1)).textContent = P.textContent), + V.appendChild(v), + (D = !0)), + (F = + I && D + ? l.SplitType.both + : I + ? l.SplitType.head + : D + ? l.SplitType.tail + : l.SplitType.none), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, F), + L.parentNode.replaceChild(V, L), + R + ); + })(m, b, y, g) + : (function (w, S, _, A) { + var R = document.createElement(A); + return ( + h(R, _), + R.appendChild(w.$node.cloneNode(!1)), + w.$node.parentNode.replaceChild(R, w.$node), + R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), + R + ); + })(m, b, y, g); + }), + (o.normalizeSiblingText = function (m, b) { + if ((b === void 0 && (b = !0), m && m.nodeType === 3)) { + var y = b ? m.nextSibling : m.previousSibling; + if (y.nodeType === 3) { + var g = y.nodeValue; + (m.nodeValue = b ? m.nodeValue + g : g + m.nodeValue), + y.parentNode.removeChild(y); + } + } + }); + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (a) { + var l = typeof Symbol == "function" && Symbol.iterator, + s = l && a[l], + u = 0; + if (s) return s.call(a); + if (a && typeof a.length == "number") + return { + next: function () { + return ( + a && u >= a.length && (a = void 0), + { value: a && a[u++], done: !a } + ); + }, + }; + throw new TypeError( + l ? "Object is not iterable." : "Symbol.iterator is not defined.", + ); + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.unique = void 0), + (o.unique = function (a) { + var l, + s, + u = []; + try { + for (var c = i(a), d = c.next(); !d.done; d = c.next()) { + var h = d.value; + u.indexOf(h) === -1 && u.push(h); + } + } catch (f) { + l = { error: f }; + } finally { + try { + d && !d.done && (s = c.return) && s.call(c); + } finally { + if (l) throw l.error; + } + } + return u; + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.initDefaultStylesheet = void 0); + var i = r(0); + o.initDefaultStylesheet = function () { + var a = i.STYLESHEET_ID, + l = document.getElementById(a); + if (!l) { + var s = document.createTextNode(i.getStylesheet()); + ((l = document.createElement("style")).id = a), + l.appendChild(s), + document.head.appendChild(l); } - } - return 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; }); -})(sd); -var b6 = sd.exports; -const cd = /* @__PURE__ */ fn(b6), Ka = "altimate-display-", y6 = `${Ka}-highlight`, b2 = `${Ka}-highlight-hover`, C6 = `${Ka}-active-highlight`, v6 = 1049, mo = new cd({ - style: { - className: y6 - } - // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, -}), oc = new cd({ - style: { - className: C6 - } - // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, -}), ud = (e, t) => t.filter( - (n) => { - var o; - return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; - } -), dd = (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]; -}; -mo.hooks.Render.SelectedNodes.tap(ud); -mo.hooks.Serialize.Restore.tap(dd); -oc.hooks.Render.SelectedNodes.tap(ud); -oc.hooks.Serialize.Restore.tap(dd); -mo.on("selection:hover", ({ id: e }) => { - mo.addClass(b2, e); +})(X0); +var s6 = X0.exports; +const Q0 = /* @__PURE__ */ un(s6), + Ui = "altimate-display-", + c6 = `${Ui}-highlight`, + d2 = `${Ui}-highlight-hover`, + u6 = `${Ui}-active-highlight`, + d6 = 1049, + fo = new Q0({ + style: { + className: c6, + }, + // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, + }), + Xs = new Q0({ + style: { + className: u6, + }, + // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, + }), + J0 = (e, t) => + t.filter((n) => { + var o; + return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; + }), + ed = (e, t, n) => { + const o = t, + r = n, + i = ["BR", "HR"]; + return ( + i.includes(o.$node.nodeName) && + o.$node.parentNode && + (o.$node = o.$node.parentNode), + i.includes(r.$node.nodeName) && + r.$node.parentNode && + (r.$node = r.$node.parentNode), + [o, r] + ); + }; +fo.hooks.Render.SelectedNodes.tap(J0); +fo.hooks.Serialize.Restore.tap(ed); +Xs.hooks.Render.SelectedNodes.tap(J0); +Xs.hooks.Serialize.Restore.tap(ed); +fo.on("selection:hover", ({ id: e }) => { + fo.addClass(d2, e); }).on("selection:hover-out", ({ id: e }) => { - mo.removeClass(b2, e); + fo.removeClass(d2, e); }); -const x6 = (e) => { - var t, n; - return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, w6 = (e) => { - const t = x6(e); - t && (mo.remove(t.id), oc.remove(t.id)); -}, rc = () => { - var n, o; - const e = ac(), 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"); -}, ac = () => { - var t; - return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); -}, ic = () => document.querySelector( - '[marked="model.description"]' -), E6 = (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 = ic()) == null ? void 0 : o.firstChild : rc(); -}, S6 = (e) => { - if (e.getAttribute("marked") === "model.description") - return "description"; -}, k6 = (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: p, y: h } = d.getBoundingClientRect(); - return l >= h && l <= h + p; - }), 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 +const f6 = (e) => { + var t, n; + return (t = e.meta) != null && t.highlight + ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) + : null; + }, + p6 = (e) => { + const t = f6(e); + t && (fo.remove(t.id), Xs.remove(t.id)); + }, + Qs = () => { + var n, o; + const e = Js(), + t = + (e == null ? void 0 : e[1]) === "analysis" + ? document.getElementById("sql") + : document.getElementById("code"); + return (o = + (n = t == null ? void 0 : t.parentElement) == null + ? void 0 + : n.querySelector("code-block")) == null + ? void 0 + : o.querySelector("code.ng-binding.highlight"); + }, + Js = () => { + var t; + return (t = window.location.hash + .split("#") + .find((n) => n.startsWith("!"))) == null + ? void 0 + : t.split("/"); + }, + ec = () => document.querySelector('[marked="model.description"]'), + h6 = (e) => { + var t, n, o; + return e.field + ? e.column + ? (n = + (t = Array.from( + document.querySelectorAll( + "column-details tr:not(.ng-hide) td:first-child", + ), + ).find((i) => i.innerText === e.column)) == null + ? void 0 + : t.parentElement) == null + ? void 0 + : n.querySelector("td:nth-child(3)") + : (o = ec()) == null + ? void 0 + : o.firstChild + : Qs(); + }, + g6 = (e) => { + if (e.getAttribute("marked") === "model.description") return "description"; + }, + m6 = (e, t, n, o, r) => { + if (e === "description") + return { + start: 0, + end: 0, + x: 0, + y: 0, + }; + const i = t.querySelectorAll(".line-numbers-rows > span"), + a = n.split(` +`), + l = Math.max(r.y, o.y), + s = Array.from(i).findIndex((d) => { + const { height: h, y: f } = d.getBoundingClientRect(); + return l >= f && l <= f + h; + }), + u = i[s], + c = s - a.length + 1; + return ( + console.log("start and end lines found", c, s), + { + x: u.offsetLeft, + y: u.offsetTop + u.offsetHeight / 2, + start: c, + end: s, + } + ); + }, + Y_ = () => { + var e; + return [(e = Qs()) == null ? void 0 : e.parentElement, ec()]; }; -}, iA = () => { - var e; - return [ - (e = rc()) == null ? void 0 : e.parentElement, - ic() - ]; -}; -var Ft = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(Ft || {}); -function _6(e) { - if (typeof e != "object" || e === null) - return !1; +var Rt = /* @__PURE__ */ ((e) => ( + (e[(e.LOADING = 0)] = "LOADING"), + (e[(e.UNINITIALIZED = 1)] = "UNINITIALIZED"), + (e[(e.INITIALIZED = 2)] = "INITIALIZED"), + e +))(Rt || {}); +function b6(e) { + if (typeof e != "object" || e === null) return !1; let t = e; - for (; Object.getPrototypeOf(t) !== null; ) - t = Object.getPrototypeOf(t); + for (; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } -function A6(e) { - return _6(e) && "type" in e && typeof e.type == "string"; -} -var fd = Symbol.for("immer-nothing"), y2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), M6 = 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 y6(e) { + return b6(e) && "type" in e && typeof e.type == "string"; +} +var td = Symbol.for("immer-nothing"), + f2 = Symbol.for("immer-draftable"), + At = Symbol.for("immer-state"), + C6 = + process.env.NODE_ENV !== "production" + ? [ + // All error codes, starting by 0: + function (e) { + return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`; + }, + function (e) { + return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`; + }, + "This object has been frozen and should not be mutated", + function (e) { + return ( + "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + + e + ); + }, + "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", + "Immer forbids circular references", + "The first or second argument to `produce` must be a function", + "The third argument to `produce` must be a function or undefined", + "First argument to `createDraft` must be a plain object, an array, or an immerable object", + "First argument to `finishDraft` must be a draft returned by `createDraft`", + function (e) { + return `'current' expects a draft, got: ${e}`; + }, + "Object.defineProperty() cannot be used on an Immer draft", + "Object.setPrototypeOf() cannot be used on an Immer draft", + "Immer only supports deleting array indices", + "Immer only supports setting array indices and the 'length' property", + function (e) { + return `'original' expects a draft, got: ${e}`; + }, + // Note: if more errors are added, the errorOffset in Patches.ts should be increased + // See Patches.ts for additional errors + ] + : []; function Ct(e, ...t) { if (process.env.NODE_ENV !== "production") { - const n = M6[e], o = typeof n == "function" ? n.apply(null, t) : n; + const n = C6[e], + o = typeof n == "function" ? n.apply(null, t) : n; throw new Error(`[Immer] ${o}`); } throw new Error( - `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf` + `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`, ); } -var _o = Object.getPrototypeOf; -function Qn(e) { +var wo = Object.getPrototypeOf; +function Gn(e) { return !!e && !!e[At]; } -function vn(e) { +function yn(e) { var t; - return e ? hd(e) || Array.isArray(e) || !!e[y2] || !!((t = e.constructor) != null && t[y2]) || Qa(e) || Ja(e) : !1; -} -var T6 = Object.prototype.constructor.toString(); -function hd(e) { - if (!e || typeof e != "object") - return !1; - const t = _o(e); - if (t === null) - return !0; + return e + ? nd(e) || + Array.isArray(e) || + !!e[f2] || + !!((t = e.constructor) != null && t[f2]) || + Yi(e) || + Gi(e) + : !1; +} +var v6 = Object.prototype.constructor.toString(); +function nd(e) { + if (!e || typeof e != "object") return !1; + const t = wo(e); + if (t === null) return !0; const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; - return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === T6; -} -function _a(e, t) { - Xa(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { - t(n, e[n], e); - }) : e.forEach((n, o) => t(o, n, e)); + return n === Object + ? !0 + : typeof n == "function" && Function.toString.call(n) === v6; +} +function Ci(e, t) { + qi(e) === 0 + ? Reflect.ownKeys(e).forEach((n) => { + t(n, e[n], e); + }) + : e.forEach((n, o) => t(o, n, e)); } -function Xa(e) { +function qi(e) { const t = e[At]; - return t ? t.type_ : Array.isArray(e) ? 1 : Qa(e) ? 2 : Ja(e) ? 3 : 0; + return t ? t.type_ : Array.isArray(e) ? 1 : Yi(e) ? 2 : Gi(e) ? 3 : 0; } -function is(e, t) { - return Xa(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); +function ts(e, t) { + return qi(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); } -function pd(e, t, n) { - const o = Xa(e); - o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; +function od(e, t, n) { + const o = qi(e); + o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : (e[t] = n); } -function O6(e, t) { +function x6(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; } -function Qa(e) { +function Yi(e) { return e instanceof Map; } -function Ja(e) { +function Gi(e) { return e instanceof Set; } -function Pn(e) { +function zn(e) { return e.copy_ || e.base_; } -function ls(e, t) { - if (Qa(e)) - return new Map(e); - if (Ja(e)) - return new Set(e); - if (Array.isArray(e)) - return Array.prototype.slice.call(e); - const n = hd(e); - if (t === !0 || t === "class_only" && !n) { +function ns(e, t) { + if (Yi(e)) return new Map(e); + if (Gi(e)) return new Set(e); + if (Array.isArray(e)) return Array.prototype.slice.call(e); + const n = nd(e); + if (t === !0 || (t === "class_only" && !n)) { const o = Object.getOwnPropertyDescriptors(e); delete o[At]; let r = Reflect.ownKeys(o); - for (let 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] - }); + for (let i = 0; i < r.length; i++) { + const a = r[i], + l = o[a]; + l.writable === !1 && ((l.writable = !0), (l.configurable = !0)), + (l.get || l.set) && + (o[a] = { + configurable: !0, + writable: !0, + // could live with !!desc.set as well here... + enumerable: l.enumerable, + value: e[a], + }); } - return Object.create(_o(e), o); + return Object.create(wo(e), o); } else { - const o = _o(e); - if (o !== null && n) - return { ...e }; + const o = wo(e); + if (o !== null && n) return { ...e }; const r = Object.create(o); return Object.assign(r, e); } } -function lc(e, t = !1) { - return ei(e) || Qn(e) || !vn(e) || (Xa(e) > 1 && (e.set = e.add = e.clear = e.delete = N6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => lc(o, !0))), e; +function tc(e, t = !1) { + return ( + Ki(e) || + Gn(e) || + !yn(e) || + (qi(e) > 1 && (e.set = e.add = e.clear = e.delete = w6), + Object.freeze(e), + t && Object.entries(e).forEach(([n, o]) => tc(o, !0))), + e + ); } -function N6() { +function w6() { Ct(2); } -function ei(e) { +function Ki(e) { return Object.isFrozen(e); } -var D6 = {}; -function Jn(e) { - const t = D6[e]; +var E6 = {}; +function Kn(e) { + const t = E6[e]; return t || Ct(0, e), t; } -var sr; -function gd() { - return sr; +var rr; +function rd() { + return rr; } -function L6(e, t) { +function S6(e, t) { return { drafts_: [], parent_: e, @@ -11813,260 +13720,317 @@ function L6(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 C2(e, t) { - t && (Jn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); +function p2(e, t) { + t && + (Kn("Patches"), + (e.patches_ = []), + (e.inversePatches_ = []), + (e.patchListener_ = t)); } -function ss(e) { - cs(e), e.drafts_.forEach(j6), e.drafts_ = null; +function os(e) { + rs(e), e.drafts_.forEach(k6), (e.drafts_ = null); } -function cs(e) { - e === sr && (sr = e.parent_); +function rs(e) { + e === rr && (rr = e.parent_); } -function v2(e) { - return sr = L6(sr, e); +function h2(e) { + return (rr = S6(rr, e)); } -function j6(e) { +function k6(e) { const t = e[At]; - t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; + t.type_ === 0 || t.type_ === 1 ? t.revoke_() : (t.revoked_ = !0); } -function x2(e, t) { +function g2(e, t) { t.unfinalizedDrafts_ = t.drafts_.length; const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[At].modified_ && (ss(t), Ct(4)), vn(e) && (e = Aa(t, e), t.parent_ || Ma(t, e)), t.patches_ && Jn("Patches").generateReplacementPatches_( - n[At].base_, - e, - t.patches_, - t.inversePatches_ - )) : e = Aa(t, n, []), ss(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== fd ? e : void 0; + return ( + e !== void 0 && e !== n + ? (n[At].modified_ && (os(t), Ct(4)), + yn(e) && ((e = vi(t, e)), t.parent_ || xi(t, e)), + t.patches_ && + Kn("Patches").generateReplacementPatches_( + n[At].base_, + e, + t.patches_, + t.inversePatches_, + )) + : (e = vi(t, n, [])), + os(t), + t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), + e !== td ? e : void 0 + ); } -function Aa(e, t, n) { - if (ei(t)) - return t; +function vi(e, t, n) { + if (Ki(t)) return t; const o = t[At]; - if (!o) - return _a( - t, - (r, a) => w2(e, o, t, r, a, n) - ), t; - if (o.scope_ !== e) - return t; - if (!o.modified_) - return Ma(e, o.base_, !0), o.base_; + if (!o) return Ci(t, (r, i) => m2(e, o, t, r, i, n)), t; + if (o.scope_ !== e) return t; + if (!o.modified_) return xi(e, o.base_, !0), o.base_; if (!o.finalized_) { - o.finalized_ = !0, o.scope_.unfinalizedDrafts_--; + (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), _a( - a, - (l, s) => w2(e, o, r, l, s, n, i) - ), Ma(e, r, !1), n && e.patches_ && Jn("Patches").generatePatches_( - o, - n, - e.patches_, - e.inversePatches_ - ); + let i = r, + a = !1; + o.type_ === 3 && ((i = new Set(r)), r.clear(), (a = !0)), + Ci(i, (l, s) => m2(e, o, r, l, s, n, a)), + xi(e, r, !1), + n && + e.patches_ && + Kn("Patches").generatePatches_(o, n, e.patches_, e.inversePatches_); } return o.copy_; } -function w2(e, t, n, o, r, a, i) { - if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Qn(r)) { - const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !is(t.assigned_, o) ? a.concat(o) : void 0, s = Aa(e, r, l); - if (pd(n, o, s), Qn(s)) - e.canAutoFreeze_ = !1; - else - return; - } else i && n.add(r); - if (vn(r) && !ei(r)) { - if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) - return; - Aa(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && Ma(e, r); - } -} -function Ma(e, t, n = !1) { - !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && lc(t, n); -} -function F6(e, t) { - const n = Array.isArray(e), o = { - type_: n ? 1 : 0, - // Track which produce call this is associated with. - scope_: t ? t.scope_ : gd(), - // 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 = sc; - n && (r = [o], a = cr); - const { revoke: i, proxy: l } = Proxy.revocable(r, a); - return o.draft_ = l, o.revoke_ = i, l; -} -var sc = { - get(e, t) { - if (t === At) - return e; - const n = Pn(e); - if (!is(n, t)) - return R6(e, n, t); - const o = n[t]; - return e.finalized_ || !vn(o) ? o : o === Cl(e.base_, t) ? (vl(e), e.copy_[t] = ds(o, e)) : o; - }, - has(e, t) { - return t in Pn(e); - }, - ownKeys(e) { - return Reflect.ownKeys(Pn(e)); - }, - set(e, t, n) { - const o = md(Pn(e), t); - if (o != null && o.set) - return o.set.call(e.draft_, n), !0; - if (!e.modified_) { - const r = Cl(Pn(e), t), a = r == null ? void 0 : r[At]; - if (a && a.base_ === n) - return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (O6(n, r) && (n !== void 0 || is(e.base_, t))) - return !0; - vl(e), us(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 Cl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, vl(e), us(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 = Pn(e), o = Reflect.getOwnPropertyDescriptor(n, t); - return o && { - writable: !0, - configurable: e.type_ !== 1 || t !== "length", - enumerable: o.enumerable, - value: n[t] +function m2(e, t, n, o, r, i, a) { + if ((process.env.NODE_ENV !== "production" && r === n && Ct(5), Gn(r))) { + const l = + i && + t && + t.type_ !== 3 && // Set objects are atomic since they have no keys. + !ts(t.assigned_, o) + ? i.concat(o) + : void 0, + s = vi(e, r, l); + if ((od(n, o, s), Gn(s))) e.canAutoFreeze_ = !1; + else return; + } else a && n.add(r); + if (yn(r) && !Ki(r)) { + if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; + vi(e, r), + (!t || !t.scope_.parent_) && + typeof o != "symbol" && + Object.prototype.propertyIsEnumerable.call(n, o) && + xi(e, r); + } +} +function xi(e, t, n = !1) { + !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && tc(t, n); +} +function _6(e, t) { + const n = Array.isArray(e), + o = { + type_: n ? 1 : 0, + // Track which produce call this is associated with. + scope_: t ? t.scope_ : rd(), + // True for both shallow and deep changes. + modified_: !1, + // Used during finalization. + finalized_: !1, + // Track which properties have been assigned (true) or deleted (false). + assigned_: {}, + // The parent draft state. + parent_: t, + // The base state. + base_: e, + // The base proxy. + draft_: null, + // set below + // The base copy with any updated values. + copy_: null, + // Called by the `produce` function. + revoke_: null, + isManual_: !1, }; + let r = o, + i = nc; + n && ((r = [o]), (i = ir)); + const { revoke: a, proxy: l } = Proxy.revocable(r, i); + return (o.draft_ = l), (o.revoke_ = a), l; +} +var nc = { + get(e, t) { + if (t === At) return e; + const n = zn(e); + if (!ts(n, t)) return A6(e, n, t); + const o = n[t]; + return e.finalized_ || !yn(o) + ? o + : o === gl(e.base_, t) + ? (ml(e), (e.copy_[t] = as(o, e))) + : o; + }, + has(e, t) { + return t in zn(e); + }, + ownKeys(e) { + return Reflect.ownKeys(zn(e)); + }, + set(e, t, n) { + const o = id(zn(e), t); + if (o != null && o.set) return o.set.call(e.draft_, n), !0; + if (!e.modified_) { + const r = gl(zn(e), t), + i = r == null ? void 0 : r[At]; + if (i && i.base_ === n) + return (e.copy_[t] = n), (e.assigned_[t] = !1), !0; + if (x6(n, r) && (n !== void 0 || ts(e.base_, t))) return !0; + ml(e), is(e); + } + return ( + (e.copy_[t] === n && // special case: handle new props with value 'undefined' + (n !== void 0 || t in e.copy_)) || // special case: NaN + (Number.isNaN(n) && Number.isNaN(e.copy_[t])) || + ((e.copy_[t] = n), (e.assigned_[t] = !0)), + !0 + ); + }, + deleteProperty(e, t) { + return ( + gl(e.base_, t) !== void 0 || t in e.base_ + ? ((e.assigned_[t] = !1), ml(e), is(e)) + : delete e.assigned_[t], + e.copy_ && delete e.copy_[t], + !0 + ); + }, + // Note: We never coerce `desc.value` into an Immer draft, because we can't make + // the same guarantee in ES5 mode. + getOwnPropertyDescriptor(e, t) { + const n = zn(e), + o = Reflect.getOwnPropertyDescriptor(n, t); + return ( + o && { + writable: !0, + configurable: e.type_ !== 1 || t !== "length", + enumerable: o.enumerable, + value: n[t], + } + ); + }, + defineProperty() { + Ct(11); + }, + getPrototypeOf(e) { + return wo(e.base_); + }, + setPrototypeOf() { + Ct(12); + }, }, - defineProperty() { - Ct(11); - }, - getPrototypeOf(e) { - return _o(e.base_); - }, - setPrototypeOf() { - Ct(12); - } -}, cr = {}; -_a(sc, (e, t) => { - cr[e] = function() { - return arguments[0] = arguments[0][0], t.apply(this, arguments); + ir = {}; +Ci(nc, (e, t) => { + ir[e] = function () { + return (arguments[0] = arguments[0][0]), t.apply(this, arguments); }; }); -cr.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), cr.set.call(this, e, t, void 0); +ir.deleteProperty = function (e, t) { + return ( + process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), + ir.set.call(this, e, t, void 0) + ); }; -cr.set = function(e, t, n) { - return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), sc.set.call(this, e[0], t, n, e[0]); +ir.set = function (e, t, n) { + return ( + process.env.NODE_ENV !== "production" && + t !== "length" && + isNaN(parseInt(t)) && + Ct(14), + nc.set.call(this, e[0], t, n, e[0]) + ); }; -function Cl(e, t) { +function gl(e, t) { const n = e[At]; - return (n ? Pn(n) : e)[t]; + return (n ? zn(n) : e)[t]; } -function R6(e, t, n) { +function A6(e, t, n) { var r; - const o = md(t, n); - return o ? "value" in o ? o.value : ( - // This is a very special case, if the prop is a getter defined by the - // prototype, we should invoke it with the draft as context! - (r = o.get) == null ? void 0 : r.call(e.draft_) - ) : void 0; -} -function md(e, t) { - if (!(t in e)) - return; - let n = _o(e); + const o = id(t, n); + return o + ? "value" in o + ? o.value + : // This is a very special case, if the prop is a getter defined by the + // prototype, we should invoke it with the draft as context! + (r = o.get) == null + ? void 0 + : r.call(e.draft_) + : void 0; +} +function id(e, t) { + if (!(t in e)) return; + let n = wo(e); for (; n; ) { const o = Object.getOwnPropertyDescriptor(n, t); - if (o) - return o; - n = _o(n); + if (o) return o; + n = wo(n); } } -function us(e) { - e.modified_ || (e.modified_ = !0, e.parent_ && us(e.parent_)); +function is(e) { + e.modified_ || ((e.modified_ = !0), e.parent_ && is(e.parent_)); } -function vl(e) { - e.copy_ || (e.copy_ = ls( - e.base_, - e.scope_.immer_.useStrictShallowCopy_ - )); +function ml(e) { + e.copy_ || (e.copy_ = ns(e.base_, e.scope_.immer_.useStrictShallowCopy_)); } -var I6 = class { +var M6 = 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" && Ct(6), o !== void 0 && typeof o != "function" && Ct(7); - let r; - if (vn(t)) { - const a = v2(this), i = ds(t, void 0); - let l = !0; - try { - r = n(i), l = !1; - } finally { - l ? ss(a) : cs(a); - } - return C2(a, o), x2(r, a); - } else if (!t || typeof t != "object") { - if (r = n(t), r === void 0 && (r = t), r === fd && (r = void 0), this.autoFreeze_ && lc(r, !0), o) { - const a = [], i = []; - Jn("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 i = n; + n = t; + const a = this; + return function (s = i, ...u) { + return a.produce(s, (c) => n.call(this, c, ...u)); + }; } - return r; - } else - Ct(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" && Ct(6), + o !== void 0 && typeof o != "function" && Ct(7); + let r; + if (yn(t)) { + const i = h2(this), + a = as(t, void 0); + let l = !0; + try { + (r = n(a)), (l = !1); + } finally { + l ? os(i) : rs(i); + } + return p2(i, o), g2(r, i); + } else if (!t || typeof t != "object") { + if ( + ((r = n(t)), + r === void 0 && (r = t), + r === td && (r = void 0), + this.autoFreeze_ && tc(r, !0), + o) + ) { + const i = [], + a = []; + Kn("Patches").generateReplacementPatches_(t, r, i, a), o(i, a); + } + return r; + } else Ct(1, t); + }), + (this.produceWithPatches = (t, n) => { + if (typeof t == "function") + return (a, ...l) => this.produceWithPatches(a, (s) => t(s, ...l)); + let o, r; + return [ + this.produce(t, n, (a, l) => { + (o = a), (r = l); + }), + o, + r, + ]; + }), + typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && + this.setAutoFreeze(e.autoFreeze), + typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && + this.setUseStrictShallowCopy(e.useStrictShallowCopy); } createDraft(e) { - vn(e) || Ct(8), Qn(e) && (e = z6(e)); - const t = v2(this), n = ds(e, void 0); - return n[At].isManual_ = !0, cs(t), n; + yn(e) || Ct(8), Gn(e) && (e = T6(e)); + const t = h2(this), + n = as(e, void 0); + return (n[At].isManual_ = !0), rs(t), n; } finishDraft(e, t) { const n = e && e[At]; (!n || !n.isManual_) && Ct(9); const { scope_: o } = n; - return C2(o, t), x2(void 0, o); + return p2(o, t), g2(void 0, o); } /** * Pass true to automatically freeze all copies created by Immer. @@ -12094,1323 +14058,1860 @@ var I6 = class { } } n > -1 && (t = t.slice(n + 1)); - const o = Jn("Patches").applyPatches_; - return Qn(e) ? o(e, t) : this.produce( - e, - (r) => o(r, t) - ); + const o = Kn("Patches").applyPatches_; + return Gn(e) ? o(e, t) : this.produce(e, (r) => o(r, t)); } }; -function ds(e, t) { - const n = Qa(e) ? Jn("MapSet").proxyMap_(e, t) : Ja(e) ? Jn("MapSet").proxySet_(e, t) : F6(e, t); - return (t ? t.scope_ : gd()).drafts_.push(n), n; -} -function z6(e) { - return Qn(e) || Ct(10, e), bd(e); -} -function bd(e) { - if (!vn(e) || ei(e)) - return e; +function as(e, t) { + const n = Yi(e) + ? Kn("MapSet").proxyMap_(e, t) + : Gi(e) + ? Kn("MapSet").proxySet_(e, t) + : _6(e, t); + return (t ? t.scope_ : rd()).drafts_.push(n), n; +} +function T6(e) { + return Gn(e) || Ct(10, e), ad(e); +} +function ad(e) { + if (!yn(e) || Ki(e)) return e; const t = e[At]; let n; if (t) { - if (!t.modified_) - return t.base_; - t.finalized_ = !0, n = ls(e, t.scope_.immer_.useStrictShallowCopy_); - } else - n = ls(e, !0); - return _a(n, (o, r) => { - pd(n, o, bd(r)); - }), t && (t.finalized_ = !1), n; -} -var Mt = new I6(), yd = Mt.produce; -Mt.produceWithPatches.bind( - Mt -); + if (!t.modified_) return t.base_; + (t.finalized_ = !0), (n = ns(e, t.scope_.immer_.useStrictShallowCopy_)); + } else n = ns(e, !0); + return ( + Ci(n, (o, r) => { + od(n, o, ad(r)); + }), + t && (t.finalized_ = !1), + n + ); +} +var Mt = new M6(), + ld = Mt.produce; +Mt.produceWithPatches.bind(Mt); Mt.setAutoFreeze.bind(Mt); Mt.setUseStrictShallowCopy.bind(Mt); Mt.applyPatches.bind(Mt); Mt.createDraft.bind(Mt); Mt.finishDraft.bind(Mt); -function E2(e, t) { +function b2(e, t) { function n(...o) { if (t) { let r = t(...o); if (!r) - throw new Error(process.env.NODE_ENV === "production" ? ot(0) : "prepareAction did not return an object"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(0) + : "prepareAction did not return an object", + ); return { type: e, payload: r.payload, - ..."meta" in r && { - meta: r.meta - }, - ..."error" in r && { - error: r.error - } + ...("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) => A6(o) && o.type === e, n; + return ( + (n.toString = () => `${e}`), + (n.type = e), + (n.match = (o) => y6(o) && o.type === e), + n + ); } -function S2(e) { - return vn(e) ? yd(e, () => { - }) : e; +function y2(e) { + return yn(e) ? ld(e, () => {}) : e; } -function k2(e, t, n) { +function C2(e, t, n) { if (e.has(t)) { let r = e.get(t); - return n.update && (r = n.update(r, t, e), e.set(t, r)), r; + return n.update && ((r = n.update(r, t, e)), e.set(t, r)), r; } - if (!n.insert) throw new Error(process.env.NODE_ENV === "production" ? ot(10) : "No insert provided for key not already in map"); + if (!n.insert) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(10) + : "No insert provided for key not already in map", + ); const o = n.insert(t, e); return e.set(t, o), o; } -function Cd(e) { - const t = {}, n = []; +function sd(e) { + const t = {}, + n = []; let o; const r = { - addCase(a, i) { + addCase(i, a) { if (process.env.NODE_ENV !== "production") { if (n.length > 0) - throw new Error(process.env.NODE_ENV === "production" ? ot(26) : "`builder.addCase` should only be called before calling `builder.addMatcher`"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(26) + : "`builder.addCase` should only be called before calling `builder.addMatcher`", + ); if (o) - throw new Error(process.env.NODE_ENV === "production" ? ot(27) : "`builder.addCase` should only be called before calling `builder.addDefaultCase`"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(27) + : "`builder.addCase` should only be called before calling `builder.addDefaultCase`", + ); } - const l = typeof a == "string" ? a : a.type; + const l = typeof i == "string" ? i : i.type; if (!l) - throw new Error(process.env.NODE_ENV === "production" ? ot(28) : "`builder.addCase` cannot be called with an empty action type"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(28) + : "`builder.addCase` cannot be called with an empty action type", + ); if (l in t) - throw new Error(process.env.NODE_ENV === "production" ? ot(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" + ? tt(29) + : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`, + ); + return (t[l] = a), r; }, - addMatcher(a, i) { + addMatcher(i, a) { if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? ot(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" + ? tt(30) + : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`", + ); + return ( + n.push({ + matcher: i, + reducer: a, + }), + r + ); }, - addDefaultCase(a) { + addDefaultCase(i) { if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? ot(31) : "`builder.addDefaultCase` can only be called once"); - return o = a, r; - } + throw new Error( + process.env.NODE_ENV === "production" + ? tt(31) + : "`builder.addDefaultCase` can only be called once", + ); + return (o = i), r; + }, }; return e(r), [t, n, o]; } -function H6(e) { +function O6(e) { return typeof e == "function"; } -function P6(e, t) { +function N6(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") - throw new Error(process.env.NODE_ENV === "production" ? ot(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] = Cd(t), a; - if (H6(e)) - a = () => S2(e()); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(8) + : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer", + ); + let [n, o, r] = sd(t), + i; + if (O6(e)) i = () => y2(e()); else { - const l = S2(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 (Qn(c)) { - const h = d(c, s); - return h === void 0 ? c : h; - } else { - if (vn(c)) - return yd(c, (p) => d(p, s)); - { - const p = d(c, s); - if (p === void 0) { - if (c === null) - return c; - throw new Error(process.env.NODE_ENV === "production" ? ot(9) : "A case reducer on a non-draftable value must not return undefined"); + const l = y2(e); + i = () => l; + } + function a(l = i(), s) { + let u = [ + n[s.type], + ...o.filter(({ matcher: c }) => c(s)).map(({ reducer: c }) => c), + ]; + return ( + u.filter((c) => !!c).length === 0 && (u = [r]), + u.reduce((c, d) => { + if (d) + if (Gn(c)) { + const f = d(c, s); + return f === void 0 ? c : f; + } else { + if (yn(c)) return ld(c, (h) => d(h, s)); + { + const h = d(c, s); + if (h === void 0) { + if (c === null) return c; + throw new Error( + process.env.NODE_ENV === "production" + ? tt(9) + : "A case reducer on a non-draftable value must not return undefined", + ); + } + return h; } - return p; } - } - return c; - }, l); + return c; + }, l) + ); } - return i.getInitialState = a, i; + return (a.getInitialState = i), a; } -var B6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); -function V6(e, t) { +var D6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); +function L6(e, t) { return `${e}/${t}`; } -function $6({ - creators: e -} = {}) { +function F6({ creators: e } = {}) { var n; - const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[B6]; - return function(r) { - const { - name: a, - reducerPath: i = a - } = r; - if (!a) - throw new Error(process.env.NODE_ENV === "production" ? ot(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(Z6()) : r.reducers) || {}, s = Object.keys(l), u = { - sliceCaseReducersByName: {}, - sliceCaseReducersByType: {}, - actionCreators: {}, - sliceMatchers: [] - }, c = { - addCase(C, S) { - const w = typeof C == "string" ? C : C.type; - if (!w) - throw new Error(process.env.NODE_ENV === "production" ? ot(12) : "`context.addCase` cannot be called with an empty action type"); - if (w in u.sliceCaseReducersByType) - throw new Error(process.env.NODE_ENV === "production" ? ot(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + w); - return u.sliceCaseReducersByType[w] = S, c; - }, - addMatcher(C, S) { - return u.sliceMatchers.push({ - matcher: C, - reducer: S - }), c; - }, - exposeAction(C, S) { - return u.actionCreators[C] = S, c; - }, - exposeCaseReducer(C, S) { - return u.sliceCaseReducersByName[C] = S, c; - } - }; - s.forEach((C) => { - const S = l[C], w = { - reducerName: C, - type: V6(a, C), - createNotation: typeof r.reducers == "function" + const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[D6]; + return function (r) { + const { name: i, reducerPath: a = i } = r; + if (!i) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(11) + : "`name` is a required option for createSlice", + ); + typeof process < "u" && + process.env.NODE_ENV === "development" && + r.initialState === void 0 && + console.error( + "You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`", + ); + const l = + (typeof r.reducers == "function" ? r.reducers(j6()) : r.reducers) || {}, + s = Object.keys(l), + u = { + sliceCaseReducersByName: {}, + sliceCaseReducersByType: {}, + actionCreators: {}, + sliceMatchers: [], + }, + c = { + addCase(C, E) { + const w = typeof C == "string" ? C : C.type; + if (!w) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(12) + : "`context.addCase` cannot be called with an empty action type", + ); + if (w in u.sliceCaseReducersByType) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(13) + : "`context.addCase` cannot be called with two reducers for the same action type: " + + w, + ); + return (u.sliceCaseReducersByType[w] = E), c; + }, + addMatcher(C, E) { + return ( + u.sliceMatchers.push({ + matcher: C, + reducer: E, + }), + c + ); + }, + exposeAction(C, E) { + return (u.actionCreators[C] = E), c; + }, + exposeCaseReducer(C, E) { + return (u.sliceCaseReducersByName[C] = E), c; + }, }; - q6(S) ? G6(w, S, c, t) : U6(w, S, c); + s.forEach((C) => { + const E = l[C], + w = { + reducerName: C, + type: L6(i, C), + createNotation: typeof r.reducers == "function", + }; + z6(E) ? P6(w, E, c, t) : I6(w, E, c); }); function d() { - if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") - throw new Error(process.env.NODE_ENV === "production" ? ot(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); - const [C = {}, S = [], w = void 0] = typeof r.extraReducers == "function" ? Cd(r.extraReducers) : [r.extraReducers], E = { - ...C, - ...u.sliceCaseReducersByType - }; - return P6(r.initialState, (M) => { - for (let _ in E) - M.addCase(_, E[_]); - for (let _ of u.sliceMatchers) - M.addMatcher(_.matcher, _.reducer); - for (let _ of S) - M.addMatcher(_.matcher, _.reducer); - w && M.addDefaultCase(w); + if ( + process.env.NODE_ENV !== "production" && + typeof r.extraReducers == "object" + ) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(14) + : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice", + ); + const [C = {}, E = [], w = void 0] = + typeof r.extraReducers == "function" + ? sd(r.extraReducers) + : [r.extraReducers], + S = { + ...C, + ...u.sliceCaseReducersByType, + }; + return N6(r.initialState, (_) => { + for (let A in S) _.addCase(A, S[A]); + for (let A of u.sliceMatchers) _.addMatcher(A.matcher, A.reducer); + for (let A of E) _.addMatcher(A.matcher, A.reducer); + w && _.addDefaultCase(w); }); } - const p = (C) => C, h = /* @__PURE__ */ new Map(); + const h = (C) => C, + f = /* @__PURE__ */ new Map(); let m; - function b(C, S) { - return m || (m = d()), m(C, S); + function b(C, E) { + return m || (m = d()), m(C, E); } function y() { return m || (m = d()), m.getInitialState(); } - function g(C, S = !1) { - function w(M) { - let _ = M[C]; - if (typeof _ > "u") { - if (S) - _ = y(); + function g(C, E = !1) { + function w(_) { + let A = _[C]; + if (typeof A > "u") { + if (E) A = y(); else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? ot(15) : "selectSlice returned undefined for an uninjected slice reducer"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(15) + : "selectSlice returned undefined for an uninjected slice reducer", + ); } - return _; + return A; } - function E(M = p) { - const _ = k2(h, S, { - insert: () => /* @__PURE__ */ new WeakMap() + function S(_ = h) { + const A = C2(f, E, { + insert: () => /* @__PURE__ */ new WeakMap(), }); - return k2(_, M, { + return C2(A, _, { insert: () => { - const L = {}; - for (const [R, j] of Object.entries(r.selectors ?? {})) - L[R] = W6(j, M, y, S); - return L; - } + const R = {}; + for (const [L, j] of Object.entries(r.selectors ?? {})) + R[L] = R6(j, _, y, E); + return R; + }, }); } return { reducerPath: C, - getSelectors: E, + getSelectors: S, get selectors() { - return E(w); + return S(w); }, - selectSlice: w + selectSlice: w, }; } const x = { - name: a, + name: i, reducer: b, actions: u.actionCreators, caseReducers: u.sliceCaseReducersByName, getInitialState: y, - ...g(i), - injectInto(C, { - reducerPath: S, - ...w - } = {}) { - const E = S ?? i; - return C.inject({ - reducerPath: E, - reducer: b - }, w), { - ...x, - ...g(E, !0) - }; - } + ...g(a), + injectInto(C, { reducerPath: E, ...w } = {}) { + const S = E ?? a; + return ( + C.inject( + { + reducerPath: S, + reducer: b, + }, + w, + ), + { + ...x, + ...g(S, !0), + } + ); + }, }; return x; }; } -function W6(e, t, n, o) { - function r(a, ...i) { - let l = t(a); +function R6(e, t, n, o) { + function r(i, ...a) { + let l = t(i); 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" ? ot(16) : "selectState returned undefined for an uninjected slice reducer"); + throw new Error( + process.env.NODE_ENV === "production" + ? tt(16) + : "selectState returned undefined for an uninjected slice reducer", + ); } - return e(l, ...i); + return e(l, ...a); } - return r.unwrapped = e, r; + return (r.unwrapped = e), r; } -var cc = /* @__PURE__ */ $6(); -function Z6() { +var oc = /* @__PURE__ */ F6(); +function j6() { function e(t, n) { 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 U6({ - type: e, - reducerName: t, - createNotation: n -}, o, r) { - let a, i; +function I6({ type: e, reducerName: t, createNotation: n }, o, r) { + let i, a; if ("reducer" in o) { - if (n && !Y6(o)) - throw new Error(process.env.NODE_ENV === "production" ? ot(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 ? E2(e, i) : E2(e)); -} -function q6(e) { - return e._reducerDefinitionType === "asyncThunk"; -} -function Y6(e) { - return e._reducerDefinitionType === "reducerWithPrepare"; -} -function G6({ - type: e, - reducerName: t -}, n, o, r) { - if (!r) - throw new Error(process.env.NODE_ENV === "production" ? ot(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 || Ur, - pending: l || Ur, - rejected: s || Ur, - settled: u || Ur - }); -} -function Ur() { + if (n && !H6(o)) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(17) + : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.", + ); + (i = o.reducer), (a = o.prepare); + } else i = o; + r.addCase(e, i) + .exposeCaseReducer(t, i) + .exposeAction(t, a ? b2(e, a) : b2(e)); } -function ot(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. `; +function z6(e) { + return e._reducerDefinitionType === "asyncThunk"; } -const K6 = { - users: {}, - isRightPanelOpen: !1, - selectedConversationId: void 0, - conversations: {}, - conversationsLoadingState: Ft.UNINITIALIZED, - newConversation: void 0, - shareId: void 0, - docsAppRendered: !1, - currentPage: m6(), - codeblockLoaded: !1, - source: nc.DBT_DOCS, - manifest: {} -}, Ta = cc({ - name: "appState", - initialState: K6, - 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 = Ft.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 +function H6(e) { + return e._reducerDefinitionType === "reducerWithPrepare"; +} +function P6({ type: e, reducerName: t }, n, o, r) { + if (!r) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(18) + : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.", + ); + const { + payloadCreator: i, + fulfilled: a, + pending: l, + rejected: s, + settled: u, + options: c, + } = n, + d = r(e, i, c); + o.exposeAction(t, d), + a && o.addCase(d.fulfilled, a), + l && o.addCase(d.pending, l), + s && o.addCase(d.rejected, s), + u && o.addMatcher(d.settled, u), + o.exposeCaseReducer(t, { + fulfilled: a || Pr, + pending: l || Pr, + rejected: s || Pr, + settled: u || Pr, + }); +} +function Pr() {} +function tt(e) { + return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `; +} +const B6 = { + users: {}, + isRightPanelOpen: !1, + selectedConversationId: void 0, + conversations: {}, + conversationsLoadingState: Rt.UNINITIALIZED, + newConversation: void 0, + shareId: void 0, + docsAppRendered: !1, + currentPage: l6(), + codeblockLoaded: !1, + source: Ks.DBT_DOCS, + manifest: {}, + }, + wi = oc({ + name: "appState", + initialState: B6, + reducers: { + setDocsAppRendered: (e, t) => { + e.docsAppRendered = t.payload; + }, + setManifest: (e, t) => { + e.manifest = t.payload; + }, + updateCurrentPage: (e, t) => { + e.currentPage = t.payload; + }, + setConversationSource: (e, t) => { + e.source = t.payload; + }, + updateCodeblockLoaded: (e, t) => { + e.codeblockLoaded = t.payload; + }, + setShareId: (e, t) => { + e.shareId = t.payload; + }, + setCurrentUserId: (e, t) => { + e.currentUserId = t.payload; + }, + setConversationsLoadingState: (e, t) => { + e.conversationsLoadingState = t.payload; + }, + refetchConversations: (e) => { + e.conversationsLoadingState = Rt.UNINITIALIZED; + }, + setUsers: (e, t) => { + var n; + return (n = t.payload) != null && n.length + ? { + ...e, + users: t.payload.reduce((o, r) => ((o[r.id] = r), o), {}), + } + : e; + }, + updateRightPanelState: (e, t) => { + e.isRightPanelOpen = t.payload; + }, + updateSelectedConversationId: (e, t) => { + e.selectedConversationId = t.payload; + }, + upsertConversation: (e, t) => { + e.conversations = { + ...e.conversations, + [t.payload.conversation_group_id]: { + ...e.conversations[t.payload.conversation_group_id], + ...t.payload, + }, + }; + }, + resolveConversationGroup: ( + e, + { payload: { conversationGroupId: t } }, + ) => { + e.conversations[t] && delete e.conversations[t]; + }, + updateNewConversation: (e, t) => { + var r, i; + const n = { ...t.payload }; + if (!n.meta) { + console.log("Invalid meta"); + return; } - }; - }, - 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 = ac(); - 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 = Js(); + if (!o || o.length < 3) { + console.error("Unable to find model parts", o); + return; + } + if ( + (console.log("model parts found", o), + (n.meta.uniqueId = o[2]), + (n.meta.resource_type = o[1]), + n.meta.range || + (n.meta.range = { + end: { line: 0, character: 0 }, + start: { line: 0, character: 0 }, + }), + n.meta.uniqueId) + ) { + const a = + ((r = e.manifest.nodes) == null ? void 0 : r[n.meta.uniqueId]) || + ((i = e.manifest.macros) == null ? void 0 : i[n.meta.uniqueId]); + n.meta.filePath = (a == null ? void 0 : a.original_file_path) || ""; + } + e.newConversation = n; + }, + resetNewConversation: (e) => { + e.newConversation = void 0; + }, + setConversations: (e, t) => { + t.payload && + ((e.conversations = t.payload.reduce( + (n, o) => ((n[o.conversation_group_id] = o), n), + {}, + )), + (e.selectedConversationId = + e.selectedConversationId || t.payload[0].conversation_group_id)); + }, }, - 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: lA, - setShareId: sA, - updateSelectedConversationId: uc, - updateRightPanelState: dc, - setUsers: X6, - setConversations: Q6, - resetNewConversation: fc, - updateNewConversation: hc, - upsertConversation: cA, - setDocsAppRendered: uA, - updateCurrentPage: dA, - updateCodeblockLoaded: fA, - resolveConversationGroup: J6, - setConversationsLoadingState: _2, - refetchConversations: vd, - setConversationSource: hA, - setManifest: e8 -} = Ta.actions, ti = Ht({ - state: Ta.getInitialState(), - dispatch: () => null, - getValue: () => null -}), t8 = ({ - children: e, - shareId: t, - userId: n, - conversationGroupId: o, - source: r -}) => { - const [a, i] = ec(Ta.reducer, { - ...Ta.getInitialState(), + }), + { + setCurrentUserId: G_, + setShareId: K_, + updateSelectedConversationId: rc, + updateRightPanelState: ic, + setUsers: V6, + setConversations: $6, + resetNewConversation: ac, + updateNewConversation: lc, + upsertConversation: X_, + setDocsAppRendered: Q_, + updateCurrentPage: J_, + updateCodeblockLoaded: eA, + resolveConversationGroup: W6, + setConversationsLoadingState: v2, + refetchConversations: cd, + setConversationSource: tA, + setManifest: Z6, + } = wi.actions, + Xi = zt({ + state: wi.getInitialState(), + dispatch: () => null, + getValue: () => null, + }), + U6 = ({ + children: e, shareId: t, - currentUserId: n, - selectedConversationId: o, - isRightPanelOpen: !!o, - source: r - }), l = Te( - (u) => u(a), - [a] - ), s = Ve( - () => ({ - state: a, - dispatch: i, - getValue: l - }), - [a, i, l] - ); - return /* @__PURE__ */ f.jsx(ti.Provider, { value: s, children: e }); -}, n8 = () => tt(ti), ze = (e) => { - const { getValue: t } = tt(ti); - return t(e); -}, Pt = () => { - const { dispatch: e } = tt(ti); - return e; -}, o8 = (e) => e; -let xd = o8; -process.env.NODE_ENV !== "production" && (xd = (e, t) => { - if (!e) - throw new Error(t); -}); -const r8 = Ht(null), a8 = Ht({}), i8 = Ht({ - transformPagePoint: (e) => e, - isStatic: !1, - reducedMotion: "never" -}), l8 = typeof window < "u", s8 = l8 ? o4 : ue; -function wd(e) { - const t = he(null); + userId: n, + conversationGroupId: o, + source: r, + }) => { + const [i, a] = Gs(wi.reducer, { + ...wi.getInitialState(), + shareId: t, + currentUserId: n, + selectedConversationId: o, + isRightPanelOpen: !!o, + source: r, + }), + l = Me((u) => u(i), [i]), + s = Be( + () => ({ + state: i, + dispatch: a, + getValue: l, + }), + [i, a, l], + ); + return /* @__PURE__ */ p.jsx(Xi.Provider, { value: s, children: e }); + }, + q6 = () => Je(Xi), + je = (e) => { + const { getValue: t } = Je(Xi); + return t(e); + }, + Ht = () => { + const { dispatch: e } = Je(Xi); + return e; + }, + Y6 = (e) => e; +let ud = Y6; +process.env.NODE_ENV !== "production" && + (ud = (e, t) => { + if (!e) throw new Error(t); + }); +const G6 = zt(null), + K6 = zt({}), + X6 = zt({ + transformPagePoint: (e) => e, + isStatic: !1, + reducedMotion: "never", + }), + Q6 = typeof window < "u", + J6 = Q6 ? $5 : ce; +function dd(e) { + const t = pe(null); return t.current === null && (t.current = e()), t.current; } -class c8 extends O.Component { +class e8 extends O.Component { getSnapshotBeforeUpdate(t) { const n = this.props.childRef.current; if (n && t.isPresent && !this.props.isPresent) { const o = this.props.sizeRef.current; - o.height = n.offsetHeight || 0, o.width = n.offsetWidth || 0, o.top = n.offsetTop, o.left = n.offsetLeft; + (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 u8({ children: e, isPresent: t }) { - const n = ed(), o = he(null), r = he({ - width: 0, - height: 0, - top: 0, - left: 0 - }), { nonce: a } = tt(i8); - return r4(() => { - 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(` +function t8({ children: e, isPresent: t }) { + const n = q0(), + o = pe(null), + r = pe({ + width: 0, + height: 0, + top: 0, + left: 0, + }), + { nonce: i } = Je(X6); + return ( + W5(() => { + const { width: a, height: l, top: s, left: u } = r.current; + if (t || !o.current || !a || !l) return; + o.current.dataset.motionPopId = n; + const c = document.createElement("style"); + return ( + i && (c.nonce = i), + document.head.appendChild(c), + c.sheet && + c.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; - width: ${i}px !important; + width: ${a}px !important; height: ${l}px !important; top: ${s}px !important; left: ${u}px !important; } - `), () => { - document.head.removeChild(c); - }; - }, [t]), f.jsx(c8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); + `), + () => { + document.head.removeChild(c); + } + ); + }, [t]), + p.jsx(e8, { + isPresent: t, + childRef: o, + sizeRef: r, + children: O.cloneElement(e, { ref: o }), + }) + ); } -const d8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { - const l = wd(f8), s = ed(), u = Ve( - () => ({ - 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 n8 = ({ + children: e, + initial: t, + isPresent: n, + onExitComplete: o, + custom: r, + presenceAffectsLayout: i, + mode: a, +}) => { + const l = dd(o8), + s = q0(), + u = Be( + () => ({ + id: s, + initial: t, + isPresent: n, + custom: r, + onExitComplete: (c) => { + l.set(c, !0); + for (const d of l.values()) if (!d) return; + o && o(); + }, + register: (c) => (l.set(c, !1), () => l.delete(c)), + }), + /** + * If the presence of a child affects the layout of the components around it, + * we want to make a new context value to ensure they get re-rendered + * so they can detect that layout change. + */ + i ? [Math.random()] : [n], + ); + return ( + Be(() => { + l.forEach((c, d) => l.set(d, !1)); + }, [n]), + O.useEffect(() => { + !n && !l.size && o && o(); + }, [n]), + a === "popLayout" && (e = p.jsx(t8, { isPresent: n, children: e })), + p.jsx(G6.Provider, { value: u, children: e }) ); - return Ve(() => { - l.forEach((c, d) => l.set(d, !1)); - }, [n]), O.useEffect(() => { - !n && !l.size && o && o(); - }, [n]), i === "popLayout" && (e = f.jsx(u8, { isPresent: n, children: e })), f.jsx(r8.Provider, { value: u, children: e }); }; -function f8() { +function o8() { return /* @__PURE__ */ new Map(); } -const qr = (e) => e.key || ""; -function A2(e) { +const Br = (e) => e.key || ""; +function x2(e) { const t = []; - return ko.forEach(e, (n) => { - J0(n) && t.push(n); - }), t; -} -const h8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { - xd(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = Ve(() => A2(e), [e]), s = l.map(qr), u = he(!0), c = he(l), d = wd(() => /* @__PURE__ */ new Map()), [p, h] = ce(l), [m, b] = ce(l); - s8(() => { - u.current = !1, c.current = l; - for (let x = 0; x < m.length; x++) { - const C = qr(m[x]); - s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); - } - }, [m, s.length, s.join("-")]); - const y = []; - if (l !== p) { - let x = [...l]; - for (let C = 0; C < m.length; C++) { - const S = m[C], w = qr(S); - s.includes(w) || (x.splice(C, 0, S), y.push(S)); - } - i === "wait" && y.length && (x = y), b(A2(x)), h(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: g } = tt(a8); - return f.jsx(f.Fragment, { children: m.map((x) => { - const C = qr(x), S = l === m || s.includes(C), w = () => { - if (d.has(C)) - d.set(C, !0); - else - return; - let E = !0; - d.forEach((M) => { - M || (E = !1); - }), E && (g == null || g(), b(c.current), r && r()); - }; - return f.jsx(d8, { isPresent: S, initial: !u.current || o ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: S ? void 0 : w, children: x }, C); - }) }); -}, p8 = "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", g8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ - icon: e, - className: t = "", - ...n -}) => /* @__PURE__ */ f.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Ed = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "code", ...e }), Sd = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "add", ...e }), pc = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "trash", ...e }), m8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "comment-unresolved", ...e }), b8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "check", ...e }), M2 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "pass-filled", ...e }), y8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "debug-restart", ...e }), C8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "gear", ...e }), kd = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "chevron-up", ...e }), _d = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "chevron-down", ...e }), v8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "info", ...e }), x8 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "send", ...e }), Ad = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "pencil", ...e }), T2 = (e) => /* @__PURE__ */ f.jsx(Et, { icon: "share", ...e }), w8 = ({ pos: e, onAddComment: t }) => zn( - /* @__PURE__ */ f.jsx(h8, { children: e && /* @__PURE__ */ f.jsx( - Re, - { - onClick: t, - id: `${Ka}-highlight`, - style: { - position: "absolute", - top: e.y, - left: e.x, - // right: "15px", - zIndex: v6 + 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(Sd, {}) - } - ) }), - e.element.parentElement -), E8 = () => { - const { - state: { isRightPanelOpen: e } - } = n8(), t = Pt(), n = () => { - t(dc(!e)); - }; - return /* @__PURE__ */ f.jsx(Re, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, S8 = (e) => Me.get(`dbt/dbt_docs_share/${e}`), k8 = (e, t, n) => Me.post(`dbt/dbt_docs_share/${e}/conversation_group`, { - ...t, - telemetry: { - eventName: "dbtCollaboration:create", - properties: { source: n } - } -}), _8 = (e, t, n, o) => Me.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, - { - ...n, - telemetry: { - eventName: "dbtCollaboration:reply", - properties: { source: o } - } - } -), A8 = (e) => Me.get( - `dbt/dbt_docs_share/${e}/conversations` -), M8 = (e) => Me.get("users/chat", { company: e }), T8 = (e, t, n) => Me.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, - { - resolved: !0, - telemetry: { - eventName: "dbtCollaboration:resolve", - properties: { source: n } - } - } -), O8 = () => { - const e = ze( - (l) => l.shareId - ), [t, n] = ce( - null - ), [o, r] = ce(!1), a = Pt(); - ue(() => { - t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - a(e8(l)); - }).catch( - (l) => console.error( - "error loading manifest", - l, - t.manifest_presigned_url - ) - ); - }, [a, t == null ? void 0 : t.manifest_presigned_url]); - const i = Te(async () => { - if (!e) + return ( + xo.forEach(e, (n) => { + U0(n) && t.push(n); + }), + t + ); +} +const r8 = ({ + children: e, + exitBeforeEnter: t, + custom: n, + initial: o = !0, + onExitComplete: r, + presenceAffectsLayout: i = !0, + mode: a = "sync", + }) => { + ud(!t, "Replace exitBeforeEnter with mode='wait'"); + const l = Be(() => x2(e), [e]), + s = l.map(Br), + u = pe(!0), + c = pe(l), + d = dd(() => /* @__PURE__ */ new Map()), + [h, f] = ue(l), + [m, b] = ue(l); + J6(() => { + (u.current = !1), (c.current = l); + for (let x = 0; x < m.length; x++) { + const C = Br(m[x]); + s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); + } + }, [m, s.length, s.join("-")]); + const y = []; + if (l !== h) { + let x = [...l]; + for (let C = 0; C < m.length; C++) { + const E = m[C], + w = Br(E); + s.includes(w) || (x.splice(C, 0, E), y.push(E)); + } + a === "wait" && y.length && (x = y), b(x2(x)), f(l); return; - r(!0); - const l = await S8(e); - if (l) { - n(l); - const s = document.getElementById("collapse-sidebar"); - s == null || s.click(); } - r(!1); - }, [e]); - return ue(() => { - !e || t || o || i(); - }, [e, t, i, o]), { shareDetails: t, loading: o }; -}, N8 = () => { - const e = ze( - (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null - ), t = ze( - (c) => c.docsAppRendered - ), n = ze( - (c) => c.newConversation - ), o = Pt(), [r, a] = ce(null), [i, l] = ce(null); - ue(() => { - n && (a(null), l(null)); - }, [n]); - const s = Te(() => { - console.log("resetHighlights"), r && w6(r), l(null), a(null); - }, [r]); - return ue(() => { - !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, p = S6(d), { end: h, start: m } = c.detail.selectionRange, b = document.getSelection(); - if (!b || !b.rangeCount) - return s(), null; - const g = b.getRangeAt(0).toString(), x = d == null ? void 0 : d.innerText; - if (!g || !x) - return; - const { end: C, start: S, x: w, y: E } = k6( - p, - d, - g, - h, - m + process.env.NODE_ENV !== "production" && + a === "wait" && + m.length > 1 && + console.warn( + `You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`, ); - console.log("selection range", C, S, w, E); - const M = { - meta: { - filePath: "", - field: p, - highlight: g, - range: { - end: { line: C, character: 0 }, - start: { line: S, character: 0 } - } - } + const { forceRender: g } = Je(K6); + return p.jsx(p.Fragment, { + children: m.map((x) => { + const C = Br(x), + E = l === m || s.includes(C), + w = () => { + if (d.has(C)) d.set(C, !0); + else return; + let S = !0; + d.forEach((_) => { + _ || (S = !1); + }), + S && (g == null || g(), b(c.current), r && r()); + }; + return p.jsx( + n8, + { + isPresent: E, + initial: !u.current || o ? void 0 : !1, + custom: E ? void 0 : n, + presenceAffectsLayout: i, + mode: a, + onExitComplete: E ? void 0 : w, + children: x, + }, + C, + ); + }), + }); + }, + i8 = + "data:image/svg+xml,%3csvg%20width='26'%20height='24'%20viewBox='0%200%2026%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%20clip-path='url(%23clip0_15836_3582)'%3e%3cg%20id='Group'%3e%3cg%20id='Group_2'%3e%3cpath%20id='Vector'%20d='M2.66432%2011.3174C0.315394%208.57735%20-0.664635%205.72559%200.475762%204.94906C1.61616%204.1715%204.44409%205.76385%206.79407%208.50394C9.14299%2011.244%2010.123%2014.0958%208.98262%2014.8733C7.84223%2015.6499%205.01324%2014.0586%202.66432%2011.3174Z'%20fill='url(%23paint0_linear_15836_3582)'/%3e%3cpath%20id='Vector_2'%20d='M1.08995%209.13979C1.05432%209.08085%201.02077%209.02191%200.988281%208.96401C1.50398%208.75204%201.99451%208.49871%202.43579%208.23401C3.26488%207.73666%204.03423%207.15142%204.67151%206.46898C4.67885%206.46174%204.68514%206.4545%204.69248%206.44727C4.75012%206.4938%204.80777%206.54033%204.86437%206.58892C4.17049%207.31479%203.35293%207.9662%202.44417%208.47596C2.02072%208.71482%201.56477%208.94333%201.08995%209.13979Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M8.11873%2011.4596C7.3368%2010.529%206.05385%2010.1403%205.25306%2010.5911C4.45331%2011.0419%204.43864%2012.1617%205.22057%2013.0923C6.00249%2014.0229%207.28544%2014.4117%208.08623%2013.9609C8.88598%2013.5101%208.90065%2012.3902%208.11873%2011.4596Z'%20fill='url(%23paint1_linear_15836_3582)'/%3e%3cpath%20id='Vector_4'%20d='M8.03714%2013.4942C8.50484%2012.928%208.23355%2011.9461%207.43118%2011.3011C6.62882%2010.6561%205.59923%2010.5922%205.13152%2011.1584C4.66382%2011.7246%204.93511%2012.7065%205.73748%2013.3515C6.53984%2013.9965%207.56943%2014.0604%208.03714%2013.4942Z'%20fill='url(%23paint2_radial_15836_3582)'/%3e%3cg%20id='Group_3'%3e%3cpath%20id='Vector_5'%20d='M21.5845%2013.7628C24.2783%2011.7713%2025.8684%209.37657%2025.1368%208.41392C24.4051%207.45127%2021.6286%208.28467%2018.9348%2010.2751C16.241%2012.2655%2014.651%2014.6613%2015.3826%2015.624C16.1142%2016.5866%2018.8908%2015.7532%2021.5845%2013.7628Z'%20fill='url(%23paint3_linear_15836_3582)'/%3e%3cpath%20id='Vector_6'%20d='M23.4827%2012.1157C23.5278%2012.0691%2023.5718%2012.0236%2023.6148%2011.9771C23.2458%2011.669%2022.9094%2011.3288%2022.6159%2010.9896C22.0656%2010.3517%2021.5887%209.64544%2021.248%208.88028C21.2438%208.87201%2021.2407%208.86374%2021.2365%208.85547C21.1768%208.88545%2021.116%208.91544%2021.0552%208.94646C21.4315%209.76435%2021.9304%2010.5409%2022.5425%2011.2088C22.8287%2011.5211%2023.1442%2011.8313%2023.4827%2012.1157Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_7'%20d='M17.0302%2012.6899C17.9316%2012.0106%2019.1003%2011.9382%2019.639%2012.5276C20.1778%2013.1169%2019.8843%2014.1458%2018.9818%2014.8251C18.0804%2015.5044%2016.9117%2015.5768%2016.373%2014.9874C15.8342%2014.3981%2016.1287%2013.3692%2017.0302%2012.6899Z'%20fill='url(%23paint4_linear_15836_3582)'/%3e%3cpath%20id='Vector_8'%20d='M17.2549%2012.9346C18.0032%2012.3711%2018.9728%2012.3101%2019.4193%2012.7992C19.8669%2013.2883%2019.6227%2014.1423%2018.8743%2014.7059C18.1259%2015.2694%2017.1563%2015.3304%2016.7098%2014.8413C16.2623%2014.3522%2016.5065%2013.4982%2017.2549%2012.9346Z'%20fill='url(%23paint5_radial_15836_3582)'/%3e%3cg%20id='Group_4'%3e%3cpath%20id='Vector_9'%20d='M8.4355%2010.8031L7.72484%2013.5297C6.96493%2016.4445%208.59272%2019.3769%2011.3609%2020.079C14.128%2020.7811%2016.9874%2018.9871%2017.7473%2016.0723L18.4706%2013.2981C18.4779%2013.2309%2018.4643%2013.1595%2018.4307%2013.0851C18.4265%2013.0737%2018.4213%2013.0634%2018.415%2013.053C18.349%2012.9238%2018.2263%2012.7863%2018.0555%2012.6425C18.0272%2012.6188%2017.9978%2012.595%2017.9664%2012.5712H17.9654C17.935%2012.5474%2017.9014%2012.5236%2017.8689%2012.4988C17.8522%2012.4864%2017.8343%2012.474%2017.8165%2012.4616C17.7987%2012.4492%2017.7809%2012.4368%2017.762%2012.4254C17.7442%2012.413%2017.7253%2012.4006%2017.7065%2012.3882C17.6687%2012.3634%2017.6299%2012.3385%2017.5901%2012.3137C17.4098%2012.2021%2017.2054%2012.0893%2016.979%2011.9777C16.4759%2011.7285%2015.868%2011.4814%2015.1877%2011.2549C15.1196%2011.2322%2015.0504%2011.2094%2014.9812%2011.1877C14.8429%2011.1432%2014.7003%2011.0998%2014.5567%2011.0574L12.9751%2010.6562C10.557%2010.1413%208.59586%2010.1878%208.4355%2010.8031Z'%20fill='url(%23paint6_linear_15836_3582)'/%3e%3cpath%20id='Vector_10'%20opacity='0.2'%20d='M8.81373%2011.0098C8.65126%2011.6344%2010.5862%2012.6642%2013.1363%2013.3105C15.6865%2013.9577%2017.8845%2013.9753%2018.048%2013.3518C18.2105%2012.7273%2016.2756%2011.6974%2013.7254%2011.0512C11.1752%2010.4039%208.97619%2010.3863%208.81373%2011.0098Z'%20fill='url(%23paint7_linear_15836_3582)'/%3e%3cpath%20id='Vector_11'%20d='M13.8752%2010.892C11.8208%2010.3709%2010.0337%2010.4184%209.88275%2010.9985C9.73182%2011.5786%2011.2747%2012.4709%2013.3281%2012.991C15.3824%2013.5121%2017.1696%2013.4646%2017.3205%2012.8845C17.4714%2012.3055%2015.9285%2011.4131%2013.8752%2010.892Z'%20fill='url(%23paint8_linear_15836_3582)'/%3e%3cpath%20id='Vector_12'%20d='M16.6706%2012.7859C16.796%2012.3048%2015.516%2011.5643%2013.8116%2011.132C12.1073%2010.6997%2010.624%2010.7394%2010.4985%2011.2206C10.3731%2011.7017%2011.6531%2012.4422%2013.3575%2012.8745C15.0619%2013.3068%2016.5452%2013.2671%2016.6706%2012.7859Z'%20fill='url(%23paint9_radial_15836_3582)'/%3e%3cpath%20id='Vector_13'%20d='M11.1729%2016.1522C10.609%2017.4602%2011.1038%2018.9202%2012.2787%2019.4134C13.4537%2019.9066%2014.8646%2019.247%2015.4285%2017.94C15.9924%2016.632%2015.4976%2015.172%2014.3227%2014.6788C13.1477%2014.1845%2011.7379%2014.8442%2011.1729%2016.1522Z'%20fill='url(%23paint10_linear_15836_3582)'/%3e%3cg%20id='Group_5'%3e%3cpath%20id='Vector_14'%20d='M8.72695%2011.4727C9.19129%2011.5906%209.27829%2012.7497%208.92401%2014.1104C8.62633%2015.252%208.12636%2016.1215%207.69871%2016.3025C7.68928%2016.2642%207.67984%2016.2249%207.67041%2016.1857C8.01945%2016.0243%208.5016%2015.2468%208.80557%2014.0804C9.16613%2012.699%209.04035%2011.6764%208.69761%2011.5895C8.54458%2011.5513%208.34018%2011.694%208.12741%2011.9856L8.19763%2011.7157C8.38211%2011.5223%208.56554%2011.4313%208.72695%2011.4727Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_15'%20d='M7.55699%2013.7083C7.27503%2014.7878%207.28028%2015.7225%207.56642%2015.7959C7.85362%2015.8683%208.31376%2015.0525%208.59572%2013.972C8.87767%2012.8925%208.87243%2011.9578%208.58628%2011.8843C8.29909%2011.812%207.8379%2012.6288%207.55699%2013.7083Z'%20fill='url(%23paint11_linear_15836_3582)'/%3e%3cpath%20id='Vector_16'%20d='M7.67662%2013.739C7.44288%2014.6355%207.44708%2015.411%207.68501%2015.471C7.92294%2015.5309%208.30552%2014.8537%208.53926%2013.9572C8.773%2013.0607%208.7688%2012.2852%208.53087%2012.2253C8.29189%2012.1663%207.90931%2012.8436%207.67662%2013.739Z'%20fill='url(%23paint12_radial_15836_3582)'/%3e%3c/g%3e%3cpath%20id='Vector_17'%20opacity='0.5'%20d='M8.36426%2011.0755C9.54763%2011.9916%2013.5568%2013.0783%2015.1123%2012.8602C16.7653%2012.6285%2014.4268%2011.3071%2014.4268%2011.3071L12.4594%2010.5523C10.2834%2010.1511%208.58437%2010.2328%208.43553%2010.8035L8.36426%2011.0755Z'%20fill='%23231F20'/%3e%3cg%20id='Group_6'%3e%3cpath%20id='Vector_18'%20d='M20.3665%208.35913C20.6243%205.04932%2017.94%202.79831%2014.4329%202.53257C10.9257%202.2658%207.92379%204.08563%207.66594%207.39545C7.4081%2010.7053%2010.2004%2011.5728%2013.7075%2011.8385C17.2147%2012.1053%2020.1086%2011.669%2020.3665%208.35913Z'%20fill='url(%23paint13_linear_15836_3582)'/%3e%3cg%20id='Group_7'%3e%3cpath%20id='Vector_19'%20d='M8.46122%209.06024C8.8742%209.09126%209.16978%208.18031%209.23791%207.30762C9.30604%206.43389%209.1551%205.48882%208.74213%205.4578C8.32915%205.42678%208.03357%206.33773%207.96544%207.21042C7.89731%208.08415%208.04825%209.02922%208.46122%209.06024ZM8.7306%205.60463C8.96119%205.62221%209.16453%206.32119%209.08907%207.29624C9.01255%208.2713%208.70334%208.93099%208.47275%208.91341C8.24215%208.89583%208.03881%208.19685%208.11428%207.2218C8.18975%206.24674%208.5%205.58705%208.7306%205.60463Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_20'%20d='M10.1709%206.95357C9.97486%209.46617%2011.915%2011.1443%2014.4547%2011.3377C16.9944%2011.53%2019.1714%2010.1641%2019.3674%207.65255C19.5634%205.13994%2017.4975%205.0717%2014.9589%204.87834C12.4181%204.68498%2010.3669%204.44096%2010.1709%206.95357Z'%20fill='%23E2E3E7'/%3e%3cpath%20id='Vector_21'%20d='M10.2478%206.97754C10.0549%209.44672%2011.9626%2011.0887%2014.4593%2011.2779C16.956%2011.4671%2019.0953%2010.1333%2019.2882%207.66307C19.481%205.1939%2017.4508%205.12565%2014.954%204.93643C12.4573%204.74721%2010.4407%204.50732%2010.2478%206.97754Z'%20fill='url(%23paint14_linear_15836_3582)'/%3e%3cpath%20id='Vector_22'%20d='M10.2729%203.35018C11.0339%204.02745%2011.602%204.87326%2011.6649%205.94551C11.6722%206.07062%2011.8662%206.03236%2011.8588%205.90829C11.7959%204.82052%2011.2247%203.9499%2010.4564%203.25195C10.3945%203.28297%2010.3337%203.31606%2010.2729%203.35018Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_23'%20d='M18.2494%206.54673C18.6152%205.85396%2018.9107%205.11051%2018.9139%204.40223C18.8416%204.33088%2018.7661%204.2616%2018.6896%204.19336C18.7598%204.94714%2018.4737%205.72884%2018.0743%206.48573C18.0156%206.59533%2018.1917%206.65737%2018.2494%206.54673Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_24'%20d='M10.4249%207.04055C10.2414%209.39289%2012.06%2010.9315%2014.4372%2011.1124C16.8144%2011.2934%2018.851%2010.0464%2019.0344%207.69507C19.2179%205.34273%2017.284%205.27862%2014.9068%205.09768C12.5296%204.91673%2010.6083%204.68821%2010.4249%207.04055Z'%20fill='url(%23paint15_radial_15836_3582)'/%3e%3cg%20id='Group_8'%3e%3cpath%20id='Vector_25'%20d='M13.9044%208.79297C13.8541%209.43922%2014.3436%2010.0027%2014.9987%2010.0524C15.6538%2010.102%2016.2251%209.61913%2016.2754%208.97288L13.9044%208.79297Z'%20fill='black'/%3e%3cpath%20id='Vector_26'%20d='M13.9283%208.80762C13.879%209.44042%2014.3591%209.99258%2015.0005%2010.0412C15.642%2010.0898%2016.2017%209.6162%2016.251%208.9834L13.9283%208.80762Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_27'%20d='M13.9516%208.82129C13.9034%209.44065%2014.373%209.98143%2015.0009%2010.029C15.6287%2010.0766%2016.1769%209.61333%2016.2251%208.99397L13.9516%208.82129Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_28'%20d='M13.9755%208.83496C13.9283%209.44088%2014.3874%209.97029%2015.0027%2010.0168C15.6169%2010.0633%2016.1536%209.61046%2016.2007%209.0035L13.9755%208.83496Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_29'%20d='M13.9989%208.84863C13.9527%209.44111%2014.4024%209.95914%2015.003%2010.0046C15.6036%2010.0501%2016.1287%209.60655%2016.1748%209.01407L13.9989%208.84863Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_30'%20d='M14.0227%208.86328C13.9776%209.44232%2014.4168%209.94794%2015.0038%209.99344C15.5908%2010.0379%2016.1033%209.60466%2016.1494%209.02562L14.0227%208.86328Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_31'%20d='M14.0461%208.87695C14.0021%209.44255%2014.4308%209.9368%2015.0051%209.98023C15.5785%2010.0237%2016.0795%209.60075%2016.1235%209.03412L14.0461%208.87695Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_32'%20d='M14.0699%208.88965C14.0269%209.44284%2014.4462%209.92468%2015.0059%209.96707C15.5656%2010.0095%2016.0551%209.59587%2016.0981%209.04371L14.0699%208.88965Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_33'%20d='M14.0933%208.9043C14.0514%209.44404%2014.4601%209.91451%2015.0073%209.95587C15.5544%209.99723%2016.0313%209.59397%2016.0733%209.05423L14.0933%208.9043Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_34'%20d='M14.1171%208.91797C14.0763%209.44427%2014.4746%209.90337%2015.0081%209.94369C15.5416%209.98402%2016.007%209.5911%2016.0479%209.0648L14.1171%208.91797Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_35'%20d='M14.1405%208.93262C14.1007%209.44548%2014.4895%209.8932%2015.0094%209.93249C15.5293%209.97178%2015.9832%209.58817%2016.023%209.07531L14.1405%208.93262Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_36'%20d='M14.1644%208.94629C14.1256%209.44571%2014.504%209.88102%2015.0102%209.92031C15.5165%209.95857%2015.9578%209.5853%2015.9976%209.08588L14.1644%208.94629Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_9'%3e%3cpath%20id='Vector_37'%20d='M14.6004%208.06197C14.6622%207.26786%2014.0606%206.57508%2013.2556%206.51408C12.4506%206.45307%2011.7484%207.04658%2011.6865%207.84069L14.6004%208.06197Z'%20fill='black'/%3e%3cpath%20id='Vector_38'%20d='M14.5723%208.04547C14.6331%207.26791%2014.043%206.58961%2013.2558%206.52964C12.4676%206.46967%2011.78%207.05181%2011.7192%207.82834L14.5723%208.04547Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_39'%20d='M14.5429%208.02801C14.6026%207.26699%2014.0251%206.60317%2013.2536%206.54423C12.4822%206.48529%2011.8093%207.05502%2011.7495%207.81604L14.5429%208.02801Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_40'%20d='M14.5133%208.01042C14.571%207.26594%2014.0071%206.61556%2013.2524%206.55869C12.4977%206.50182%2011.8384%207.05811%2011.7808%207.80258L14.5133%208.01042Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_41'%20d='M14.4853%207.99392C14.5419%207.26599%2013.9895%206.63008%2013.2516%206.57425C12.5137%206.51841%2011.8691%207.06333%2011.8125%207.79126L14.4853%207.99392Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_42'%20d='M14.4558%207.97646C14.5113%207.26507%2013.9715%206.64364%2013.2504%206.58884C12.5292%206.53404%2011.8993%207.06654%2011.8438%207.77793L14.4558%207.97646Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_43'%20d='M14.4273%207.95984C14.4818%207.265%2013.9545%206.65701%2013.2491%206.60427C12.5437%206.55154%2011.9285%207.0706%2011.875%207.76648L14.4273%207.95984Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_44'%20d='M14.3982%207.9425C14.4517%207.26317%2013.936%206.67069%2013.2484%206.61899C12.5597%206.56626%2011.9591%207.07498%2011.9067%207.75328L14.3982%207.9425Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_45'%20d='M14.3687%207.92588C14.4201%207.26309%2013.918%206.68509%2013.2462%206.63442C12.5743%206.58376%2011.9884%207.07904%2011.937%207.74183L14.3687%207.92588Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_46'%20d='M14.3407%207.9075C14.391%207.26126%2013.9016%206.69773%2013.2465%206.64706C12.5914%206.59743%2012.0201%207.08031%2011.9688%207.72655L14.3407%207.9075Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_47'%20d='M14.3113%207.89101C14.3605%207.26131%2013.8826%206.71122%2013.2442%206.66262C12.6059%206.61403%2012.0483%207.08553%2011.999%207.71523L14.3113%207.89101Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_48'%20d='M14.2827%207.87355C14.3309%207.26039%2013.8655%206.72478%2013.244%206.67721C12.6224%206.62965%2012.0795%207.08874%2012.0312%207.7019L14.2827%207.87355Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_10'%3e%3cpath%20id='Vector_49'%20d='M18.4852%208.35689C18.5471%207.56278%2018.0324%206.87725%2017.3365%206.82451C16.6405%206.77178%2016.0252%207.37253%2015.9634%208.1656L18.4852%208.35689Z'%20fill='black'/%3e%3cpath%20id='Vector_50'%20d='M18.4602%208.34046C18.521%207.5629%2018.0168%206.8908%2017.3355%206.8391C16.6532%206.7874%2016.0515%207.37574%2015.9907%208.15227L18.4602%208.34046Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_51'%20d='M18.4362%208.32397C18.4959%207.56295%2018.0022%206.90533%2017.3346%206.85466C16.6669%206.804%2016.0778%207.37993%2016.0181%208.14095L18.4362%208.32397Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_52'%20d='M18.4106%208.30754C18.4683%207.56306%2017.9861%206.91889%2017.3331%206.86925C16.6801%206.81962%2016.1036%207.38315%2016.0449%208.12762L18.4106%208.30754Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_53'%20d='M18.3856%208.29007C18.4422%207.56214%2017.9706%206.93244%2017.3312%206.88384C16.6918%206.83524%2016.1279%207.38636%2016.0713%208.1143L18.3856%208.29007Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_54'%20d='M18.3615%208.27359C18.4171%207.5622%2017.9559%206.94697%2017.3312%206.89941C16.7065%206.85184%2016.1552%207.39055%2016.0996%208.10194L18.3615%208.27359Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_55'%20d='M18.3365%208.25715C18.391%207.56231%2017.9403%206.96052%2017.3302%206.914C16.7202%206.86747%2016.1815%207.39377%2016.127%208.08861L18.3365%208.25715Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_56'%20d='M18.311%208.23969C18.3644%207.56035%2017.9242%206.97408%2017.3278%206.92858C16.7325%206.88309%2016.2063%207.39698%2016.1528%208.07632L18.311%208.23969Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_57'%20d='M18.2859%208.22222C18.3373%207.55943%2017.9086%206.9866%2017.3269%206.94317C16.7451%206.89871%2016.2326%207.4002%2016.1802%208.06299L18.2859%208.22222Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_58'%20d='M18.2618%208.20579C18.3122%207.55955%2017.8939%207.00119%2017.3269%206.95776C16.7598%206.91433%2016.2599%207.40341%2016.2085%208.04966L18.2618%208.20579Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_59'%20d='M18.2368%208.1893C18.2861%207.5596%2017.8773%207.01469%2017.3249%206.97333C16.7726%206.93093%2016.2841%207.4076%2016.2349%208.03731L18.2368%208.1893Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_60'%20d='M18.2117%208.17287C18.2599%207.55971%2017.8616%207.02927%2017.3239%206.98791C16.7852%206.94655%2016.3104%207.41082%2016.2632%208.02501L18.2117%208.17287Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cpath%20id='Vector_61'%20opacity='0.2'%20d='M10.7266%208.85254C11.3303%2010.1647%2012.7411%2010.9846%2014.437%2011.1129C16.0785%2011.238%2017.5574%2010.6817%2018.376%209.55152C18.1475%209.68077%2017.1266%209.89894%2016.1256%209.91549C13.653%209.95685%2011.0966%209.06864%2010.7266%208.85254Z'%20fill='url(%23paint16_linear_15836_3582)'/%3e%3cg%20id='Group_11'%3e%3cpath%20id='Vector_62'%20opacity='0.5'%20d='M11.2222%206.4588C11.3417%206.16928%2011.5356%205.83013%2011.8186%205.71846C11.9821%205.65332%2012.2116%205.62644%2012.4485%205.61816C12.3406%205.91595%2012.2441%206.21685%2012.155%206.52084C11.8437%206.50223%2011.5324%206.48052%2011.2222%206.4588Z'%20fill='url(%23paint17_linear_15836_3582)'/%3e%3cpath%20id='Vector_63'%20opacity='0.5'%20d='M12.1215%206.63637C12.087%206.75632%2012.0545%206.87626%2012.022%206.99724L11.0713%206.92486C11.0713%206.92486%2011.1048%206.77183%2011.1772%206.57227C11.4926%206.59501%2011.8071%206.61569%2012.1215%206.63637Z'%20fill='url(%23paint18_linear_15836_3582)'/%3e%3cpath%20id='Vector_64'%20opacity='0.5'%20d='M12.3248%206.53237C12.3049%206.53134%2012.285%206.52927%2012.2661%206.52824C12.3563%206.22114%2012.4558%205.91715%2012.5659%205.61626C13.0585%205.61419%2013.5491%205.68553%2013.5491%205.68553L13.4275%206.60062C13.0596%206.58924%2012.6917%206.55512%2012.3248%206.53237Z'%20fill='url(%23paint19_linear_15836_3582)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_15836_3582'%20x1='6.97955'%20y1='7.26947'%20x2='3.42246'%20y2='11.0928'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_15836_3582'%20x1='5.83965'%20y1='11.0797'%20x2='7.63822'%20y2='13.9137'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint2_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(6.59902%2012.3229)%20rotate(-68.7958)%20scale(1.33886%201.39191)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint3_linear_15836_3582'%20x1='18.9194'%20y1='9.08262'%20x2='21.1401'%20y2='13.4021'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_15836_3582'%20x1='19.0563'%20y1='12.8942'%20x2='16.7225'%20y2='14.9831'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint5_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(18.0786%2013.8269)%20rotate(-11.4054)%20scale(1.5459%201.0378)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint6_linear_15836_3582'%20x1='16.4136'%20y1='13.2152'%20x2='7.77357'%20y2='16.8418'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_15836_3582'%20x1='13.1228'%20y1='13.5101'%20x2='13.8927'%20y2='10.0946'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_15836_3582'%20x1='11.1224'%20y1='11.3127'%20x2='16.8305'%20y2='12.8003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint9_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(13.6018%2011.9993)%20rotate(-115.351)%20scale(1.12129%201.92215)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint10_linear_15836_3582'%20x1='12.7619'%20y1='19.1153'%20x2='14.1622'%20y2='13.5938'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_15836_3582'%20x1='7.73648'%20y1='15.1437'%20x2='8.50022'%20y2='12.1323'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint12_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(8.11332%2013.8562)%20rotate(-32.3967)%20scale(0.686669%201.07581)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint13_linear_15836_3582'%20x1='14.3226'%20y1='3.95403'%20x2='13.6519'%20y2='12.7924'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_15836_3582'%20x1='14.485'%20y1='10.9477'%20x2='14.9061'%20y2='5.39774'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(15.9514%205.90347)%20rotate(-175.657)%20scale(5.63684%205.57701)'%3e%3cstop%20stop-color='%234D4178'/%3e%3cstop%20offset='1'%20stop-color='%2327213B'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_15836_3582'%20x1='14.5737'%20y1='8.91767'%20x2='14.4352'%20y2='10.7426'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_15836_3582'%20x1='11.869'%20y1='5.60405'%20x2='11.7294'%20y2='7.44393'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_15836_3582'%20x1='11.6895'%20y1='5.59016'%20x2='11.5499'%20y2='7.43012'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_15836_3582'%20x1='12.9403'%20y1='5.68553'%20x2='12.8006'%20y2='7.52546'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_15836_3582'%3e%3crect%20width='25.3151'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + a8 = + "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", + Et = ({ icon: e, className: t = "", ...n }) => + /* @__PURE__ */ p.jsx("i", { + className: `${t} codicon codicon-${e}`, + ...n, + }), + fd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "code", ...e }), + pd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "add", ...e }), + hd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "trash", ...e }), + l8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "comment-unresolved", ...e }), + s8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "check", ...e }), + w2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pass-filled", ...e }), + c8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "debug-restart", ...e }), + u8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "gear", ...e }), + gd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-up", ...e }), + md = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-down", ...e }), + d8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "info", ...e }), + f8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "send", ...e }), + p8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pencil", ...e }), + E2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "share", ...e }), + h8 = ({ pos: e, onAddComment: t }) => + jn( + /* @__PURE__ */ p.jsx(r8, { + children: + e && + /* @__PURE__ */ p.jsx(Pe, { + onClick: t, + id: `${Ui}-highlight`, + style: { + position: "absolute", + top: e.y, + left: e.x, + // right: "15px", + zIndex: d6 + 5, + cursor: "pointer", + background: "#007AFF", + width: 26, + height: 26, + borderRadius: "100%", + boxShadow: "none", + border: "none", + display: "flex", + justifyContent: "center", + alignItems: "center", + fontSize: "13px", + fontWeight: "bold", + color: "#fff", + padding: 0, + }, + children: /* @__PURE__ */ p.jsx(pd, {}), + }), + }), + e.element.parentElement, + ), + g8 = () => { + const { + state: { isRightPanelOpen: e }, + } = q6(), + t = Ht(), + n = () => { + t(ic(!e)); }; - o(fc()), l({ - x: w, - y: E, - element: d - }), document.body.addEventListener("click", s, { once: !0 }), a(M); - } - }; -}, D8 = ({ - conversationGroup: e -}) => { - const t = ze( - (l) => l.selectedConversationId - ), n = Pt(), o = he(null), r = Ve(() => E6(e.meta), [e.meta]), a = () => { - n( - uc(e.conversation_group_id) + return /* @__PURE__ */ p.jsx(Pe, { + onClick: n, + children: e ? "Hide conversations" : "Show conversations", + }); + }, + m8 = (e) => Ie.get(`dbt/dbt_docs_share/${e}`), + b8 = (e, t, n) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + ...t, + telemetry: { + eventName: "dbtCollaboration:create", + properties: { source: n }, + }, + }), + y8 = (e, t, n, o) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { + ...n, + telemetry: { + eventName: "dbtCollaboration:reply", + properties: { source: o }, + }, + }), + C8 = (e) => Ie.get(`dbt/dbt_docs_share/${e}/conversations`), + v8 = (e) => Ie.get("users/chat", { company: e }), + x8 = (e, t, n) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { + resolved: !0, + telemetry: { + eventName: "dbtCollaboration:resolve", + properties: { source: n }, + }, + }), + w8 = () => { + const e = je((l) => l.shareId), + [t, n] = ue(null), + [o, r] = ue(!1), + i = Ht(); + ce(() => { + t != null && + t.manifest_presigned_url && + fetch(t.manifest_presigned_url) + .then((l) => l.json()) + .then((l) => { + i(Z6(l)); + }) + .catch((l) => + console.error( + "error loading manifest", + l, + t.manifest_presigned_url, + ), + ); + }, [i, t == null ? void 0 : t.manifest_presigned_url]); + const a = Me(async () => { + if (!e) return; + r(!0); + const l = await m8(e); + if (l) { + n(l); + const s = document.getElementById("collapse-sidebar"); + s == null || s.click(); + } + r(!1); + }, [e]); + return ( + ce(() => { + !e || t || o || a(); + }, [e, t, a, o]), + { shareDetails: t, loading: o } ); - }, i = Ve(() => { - 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 ue(() => { - 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 : zn( - /* @__PURE__ */ f.jsx( - "div", + }, + E8 = () => { + const e = je((c) => + c.selectedConversationId + ? c.conversations[c.selectedConversationId] + : null, + ), + t = je((c) => c.docsAppRendered), + n = je((c) => c.newConversation), + o = Ht(), + [r, i] = ue(null), + [a, l] = ue(null); + ce(() => { + n && (i(null), l(null)); + }, [n]); + const s = Me(() => { + console.log("resetHighlights"), r && p6(r), l(null), i(null); + }, [r]); + return ( + ce(() => { + !e || + !t || + (e.meta.resource_type && + e.meta.uniqueId && + (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`)); + }, [e, t, o]), { - 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(m8, {}) + getHighlightedSelectionData: () => r, + pos: a, + onSelectionEnd: (c) => { + const d = c.target, + h = g6(d), + { end: f, start: m } = c.detail.selectionRange, + b = document.getSelection(); + if (!b || !b.rangeCount) return s(), null; + const g = b.getRangeAt(0).toString(), + x = d == null ? void 0 : d.innerText; + if (!g || !x) return; + const { end: C, start: E, x: w, y: S } = m6(h, d, g, f, m); + console.log("selection range", C, E, w, S); + const _ = { + meta: { + filePath: "", + field: h, + highlight: g, + range: { + end: { line: C, character: 0 }, + start: { line: E, character: 0 }, + }, + }, + }; + o(ac()), + l({ + x: w, + y: S, + element: d, + }), + document.body.addEventListener("click", s, { once: !0 }), + i(_); + }, } - ), - r.parentElement - ); -}, L8 = () => { - const e = ze( - (r) => Object.values(r.conversations || {}) - ), t = ze( - (r) => r.codeblockLoaded - ), n = ze( - (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( - D8, - { - conversationGroup: r - }, - r.conversation_group_id - )) }); -}, j8 = "_dbtDocs_14zop_9", F8 = "_hotspotButton_14zop_46", R8 = "_pulse_14zop_1", I8 = "_conversationRightPanelCloseButton_14zop_62", z8 = "_conversationRightPanel_14zop_62", H8 = "_newConversationForm_14zop_94", P8 = "_highlightText_14zop_108", B8 = "_conversationInputForm_14zop_130", V8 = "_conversationGroup_14zop_156", $8 = "_replyForm_14zop_189", W8 = "_resolveButton_14zop_237", xn = { - dbtDocs: j8, - hotspotButton: F8, - pulse: R8, - conversationRightPanelCloseButton: I8, - conversationRightPanel: z8, - newConversationForm: H8, - highlightText: P8, - conversationInputForm: B8, - conversationGroup: V8, - replyForm: $8, - resolveButton: W8 -}, Z8 = "_profileImage_11vaf_1", U8 = { - profileImage: Z8 -}, Md = ({ user: e }) => { - var t; - return /* @__PURE__ */ f.jsx("div", { className: U8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); -}; -function q8(e) { + ); + }, + S8 = ({ conversationGroup: e }) => { + const t = je((l) => l.selectedConversationId), + n = Ht(), + o = pe(null), + r = Be(() => h6(e.meta), [e.meta]), + i = () => { + n(rc(e.conversation_group_id)); + }, + a = Be(() => { + if (!r) return; + if (e.meta.field === "description") + return { top: 0, bottom: r.offsetHeight }; + let l = 0, + s = 0; + for (let u = e.meta.range.start.line; u <= e.meta.range.end.line; u++) { + const c = r.querySelector( + `.line-numbers-rows > span:nth-child(${u + 1})`, + ); + c && + (u === e.meta.range.start.line && (l = c.offsetTop + 15), + u === e.meta.range.end.line && (s = c.offsetTop + c.offsetHeight)); + } + return { top: l, bottom: s }; + }, [r, e.meta.field, e.meta.range.start.line, e.meta.range.end.line]); + return ( + ce(() => { + var l; + t === e.conversation_group_id && + ((l = o.current) == null || + l.scrollIntoView({ + behavior: "smooth", + block: "center", + })); + }, [e.conversation_group_id, t]), + !a || !(r != null && r.parentElement) + ? null + : jn( + /* @__PURE__ */ p.jsx("div", { + ref: o, + className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, + style: { top: a.top, height: a.bottom - a.top }, + onClick: i, + children: /* @__PURE__ */ p.jsx(l8, {}), + }), + r.parentElement, + ) + ); + }, + k8 = () => { + const e = je((r) => Object.values(r.conversations || {})), + t = je((r) => r.codeblockLoaded), + n = je((r) => r.currentPage), + o = + e == null + ? void 0 + : e.filter( + (r) => + r.meta.resource_type === n.resourceType && + r.meta.uniqueId === n.name, + ); + return !(o != null && o.length) || !t + ? null + : /* @__PURE__ */ p.jsx(p.Fragment, { + children: o.map((r) => + /* @__PURE__ */ p.jsx( + S8, + { + conversationGroup: r, + }, + r.conversation_group_id, + ), + ), + }); + }, + _8 = "_dbtDocs_14zop_9", + A8 = "_hotspotButton_14zop_46", + M8 = "_pulse_14zop_1", + T8 = "_conversationRightPanelCloseButton_14zop_62", + O8 = "_conversationRightPanel_14zop_62", + N8 = "_newConversationForm_14zop_94", + D8 = "_highlightText_14zop_108", + L8 = "_conversationInputForm_14zop_130", + F8 = "_conversationGroup_14zop_156", + R8 = "_replyForm_14zop_189", + j8 = "_resolveButton_14zop_237", + Cn = { + dbtDocs: _8, + hotspotButton: A8, + pulse: M8, + conversationRightPanelCloseButton: T8, + conversationRightPanel: O8, + newConversationForm: N8, + highlightText: D8, + conversationInputForm: L8, + conversationGroup: F8, + replyForm: R8, + resolveButton: j8, + }, + I8 = "_profileImage_11vaf_1", + z8 = { + profileImage: I8, + }, + bd = ({ user: e }) => { + var t; + return /* @__PURE__ */ p.jsx("div", { + className: z8.profileImage, + children: + ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "", + }); + }; +function H8(e) { if (Array.isArray(e)) { - for (var t = 0, n = new Array(e.length); t < e.length; t++) - n[t] = e[t]; + for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } } -function Y8(e) { - if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); +function P8(e) { + if ( + Symbol.iterator in Object(e) || + Object.prototype.toString.call(e) === "[object Arguments]" + ) + return Array.from(e); } -function G8() { +function B8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function Oa(e) { - return q8(e) || Y8(e) || G8(); +function Ei(e) { + return H8(e) || P8(e) || B8(); } function It() { - return It = Object.assign || function(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var o in n) - Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); - } - return e; - }, It.apply(this, arguments); + return ( + (It = + Object.assign || + function (e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t]; + for (var o in n) + Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); + } + return e; + }), + It.apply(this, arguments) + ); } -function K8(e, t) { +function V8(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function X8(e, t) { +function $8(e, t) { for (var n = 0; n < t.length; n++) { var o = t[n]; - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o); + (o.enumerable = o.enumerable || !1), + (o.configurable = !0), + "value" in o && (o.writable = !0), + Object.defineProperty(e, o.key, o); } } -function Q8(e, t, n) { - return t && X8(e.prototype, t), e; +function W8(e, t, n) { + return t && $8(e.prototype, t), e; } function ve(e) { if (e === void 0) - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called", + ); return e; } -function fs(e, t) { - return fs = Object.setPrototypeOf || function(o, r) { - return o.__proto__ = r, o; - }, fs(e, t); +function ls(e, t) { + return ( + (ls = + Object.setPrototypeOf || + function (o, r) { + return (o.__proto__ = r), o; + }), + ls(e, t) + ); } -function J8(e, t) { +function Z8(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); - e.prototype = Object.create(t && t.prototype, { + (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, - configurable: !0 - } - }), t && fs(e, t); -} -function bo(e) { - return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? bo = function(n) { - return typeof n; - } : bo = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; - }, bo(e); -} -function ga(e) { - return typeof Symbol == "function" && bo(Symbol.iterator) === "symbol" ? ga = function(n) { - return bo(n); - } : ga = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : bo(n); - }, ga(e); + configurable: !0, + }, + })), + t && ls(e, t); } -function e7(e, t) { - return t && (ga(t) === "object" || typeof t == "function") ? t : ve(e); +function po(e) { + return ( + typeof Symbol == "function" && typeof Symbol.iterator == "symbol" + ? (po = function (n) { + return typeof n; + }) + : (po = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : typeof n; + }), + po(e) + ); +} +function si(e) { + return ( + typeof Symbol == "function" && po(Symbol.iterator) === "symbol" + ? (si = function (n) { + return po(n); + }) + : (si = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : po(n); + }), + si(e) + ); } -function Na(e) { - return Na = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { - return n.__proto__ || Object.getPrototypeOf(n); - }, Na(e); +function U8(e, t) { + return t && (si(t) === "object" || typeof t == "function") ? t : ve(e); +} +function Si(e) { + return ( + (Si = Object.setPrototypeOf + ? Object.getPrototypeOf + : function (n) { + return n.__proto__ || Object.getPrototypeOf(n); + }), + Si(e) + ); } function be(e, t, n) { - return t in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; -} -var t7 = 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 q8 = function (e, t, n, o, r, i, a, l) { + if (process.env.NODE_ENV !== "production" && t === void 0) + throw new Error("invariant requires an error message argument"); + if (!e) { + var s; + if (t === void 0) + s = new Error( + "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.", + ); + else { + var u = [n, o, r, i, a, l], + c = 0; + (s = new Error( + t.replace(/%s/g, function () { + return u[c++]; + }), + )), + (s.name = "Invariant Violation"); + } + throw ((s.framesToPop = 1), s); } - throw s.framesToPop = 1, s; - } -}, n7 = t7; -const Ao = /* @__PURE__ */ fn(n7); -function o7(e) { + }, + Y8 = q8; +const Eo = /* @__PURE__ */ un(Y8); +function G8(e) { if (Array.isArray(e)) return e; } -function r7(e, t) { - var n = [], o = !0, r = !1, a = void 0; +function K8(e, t) { + var n = [], + o = !0, + r = !1, + i = 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 a = e[Symbol.iterator](), l; + !(o = (l = a.next()).done) && (n.push(l.value), !(t && n.length === t)); + o = !0 + ); } catch (s) { - r = !0, a = s; + (r = !0), (i = s); } finally { try { - !o && i.return != null && i.return(); + !o && a.return != null && a.return(); } finally { - if (r) throw a; + if (r) throw i; } } return n; } -function a7() { +function X8() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function Da(e, t) { - return o7(e) || r7(e, t) || a7(); +function ki(e, t) { + return G8(e) || K8(e, t) || X8(); } -function i7(e, t) { +function Q8(e, t) { if (e == null) return {}; - 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]); + var n = {}, + o = Object.keys(e), + r, + i; + for (i = 0; i < o.length; i++) + (r = o[i]), !(t.indexOf(r) >= 0) && (n[r] = e[r]); return n; } -function l7(e, t) { +function J8(e, t) { if (e == null) return {}; - var n = i7(e, t), o, r; + var n = Q8(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]); + var i = Object.getOwnPropertySymbols(e); + for (r = 0; r < i.length; r++) + (o = i[r]), + !(t.indexOf(o) >= 0) && + Object.prototype.propertyIsEnumerable.call(e, o) && + (n[o] = e[o]); } return n; } -function ur(e) { +function ar(e) { "@babel/helpers - typeof"; - return ur = 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; - }, ur(e); -} -function s7(e, t) { - if (ur(e) != "object" || !e) return e; + return ( + (ar = + typeof Symbol == "function" && typeof Symbol.iterator == "symbol" + ? function (t) { + return typeof t; + } + : function (t) { + return t && + typeof Symbol == "function" && + t.constructor === Symbol && + t !== Symbol.prototype + ? "symbol" + : typeof t; + }), + ar(e) + ); +} +function e7(e, t) { + if (ar(e) != "object" || !e) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var o = n.call(e, t || "default"); - if (ur(o) != "object") return o; + if (ar(o) != "object") return o; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } -function c7(e) { - var t = s7(e, "string"); - return ur(t) == "symbol" ? t : t + ""; +function t7(e) { + var t = e7(e, "string"); + return ar(t) == "symbol" ? t : t + ""; } -function dr(e, t, n) { - return (t = c7(t)) in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; +function lr(e, t, n) { + return ( + (t = t7(t)) in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ); } -function hs(e, t) { +function ss(e, t) { (t == null || t > e.length) && (t = e.length); for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; return o; } -function u7(e) { - if (Array.isArray(e)) return hs(e); +function n7(e) { + if (Array.isArray(e)) return ss(e); } -function d7(e) { - if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); +function o7(e) { + if ( + (typeof Symbol < "u" && e[Symbol.iterator] != null) || + e["@@iterator"] != null + ) + return Array.from(e); } -function f7(e, t) { +function r7(e, t) { if (e) { - if (typeof e == "string") return hs(e, t); + if (typeof e == "string") return ss(e, t); var n = {}.toString.call(e).slice(8, -1); - return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? hs(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) + ? ss(e, t) + : void 0 + ); } } -function h7() { +function i7() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } -function bn(e) { - return u7(e) || d7(e) || f7(e) || h7(); +function gn(e) { + return n7(e) || o7(e) || r7(e) || i7(); } -var Io = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, Td = function(t) { - return t === Object(t) ? Object.values(t) : []; -}; -function Od(e, t) { +var Lo = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + yd = function (t) { + return t === Object(t) ? Object.values(t) : []; + }; +function Cd(e, t) { var n = Object.assign({}, e); - return ma(e) && ma(t) && Io(t).forEach(function(o) { - ma(t[o]) ? o in e ? n[o] = Od(e[o], t[o]) : Object.assign(n, dr({}, o, t[o])) : Object.assign(n, dr({}, o, t[o])); - }), n; -} -var ps = 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 Od(a, i); - }, t); -}, p7 = function(t, n) { - var o = Object.assign({}, t); - if (n) - for (var r = 0; r < n.length; r++) - delete o[n[r]]; - return o; -}, ma = function(t) { - return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, g7 = function(t) { - return (t || []).filter(Boolean); -}, gc = function(t) { - return t[0] === "&"; -}, m7 = function(t) { - return !gc(t); -}, O2 = function(t) { - return t.replace(/-(\w)/g, function(n, o) { - return o.toUpperCase(); - }); -}, b7 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Io(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; -}, Nd = function(t, n) { - for (var o = n.map(O2), r = Io(t), a = {}, i = 0, l = r.length; i < l; i += 1) { - var s = r[i]; - (n.indexOf(s) >= 0 || o.indexOf(O2(s)) >= 0) && (a[s] = t[s]); - } - return a; -}, y7 = function e(t, n) { - for (var o = ps.apply(void 0, [{}, p7(t, n)].concat(bn(Td(Nd(t, n))))), r = Io(o).filter(gc), 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 = ps({}, o, s)) : o[l] = s; - } - return o; -}; -function N2(e, t) { + return ( + ci(e) && + ci(t) && + Lo(t).forEach(function (o) { + ci(t[o]) + ? o in e + ? (n[o] = Cd(e[o], t[o])) + : Object.assign(n, lr({}, o, t[o])) + : Object.assign(n, lr({}, o, t[o])); + }), + n + ); +} +var cs = function (t) { + for ( + var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; + r < n; + r++ + ) + o[r - 1] = arguments[r]; + return o.reduce(function (i, a) { + return Cd(i, a); + }, t); + }, + a7 = function (t, n) { + var o = Object.assign({}, t); + if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; + return o; + }, + ci = function (t) { + return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); + }, + l7 = function (t) { + return (t || []).filter(Boolean); + }, + sc = function (t) { + return t[0] === "&"; + }, + s7 = function (t) { + return !sc(t); + }, + S2 = function (t) { + return t.replace(/-(\w)/g, function (n, o) { + return o.toUpperCase(); + }); + }, + c7 = function (t) { + for ( + var n = + arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], + o = Lo(t), + r = {}, + i = 0, + a = o.length; + i < a; + i += 1 + ) { + var l = o[i], + s = + Object.prototype.toString.call(t[l]) !== "[object Object]" || // style defs + l[0] === ":" || // pseudo selectors + l[0] === "@" || // @media / @keyframes / @supports / @font-face + n.indexOf(l) >= 0; + s && (r[l] = t[l]); + } + return r; + }, + vd = function (t, n) { + for ( + var o = n.map(S2), r = Lo(t), i = {}, a = 0, l = r.length; + a < l; + a += 1 + ) { + var s = r[a]; + (n.indexOf(s) >= 0 || o.indexOf(S2(s)) >= 0) && (i[s] = t[s]); + } + return i; + }, + u7 = function e(t, n) { + for ( + var o = cs.apply(void 0, [{}, a7(t, n)].concat(gn(yd(vd(t, n))))), + r = Lo(o).filter(sc), + i = 0, + a = r.length; + i < a; + i += 1 + ) { + var l = r[i], + s = e(o[l], n); + n.indexOf(l) >= 0 ? (delete o[l], (o = cs({}, o, s))) : (o[l] = s); + } + return o; + }; +function k2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } -function D2(e) { +function _2(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) { - dr(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 + ? k2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : k2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var C7 = ["animationName"], Dd = function(t) { - var n = t.style, o = t.className; - return D2(D2({}, n ? { - style: b7(n, C7) - } : {}), o ? { - className: o - } : {}); -}, Ld = /* @__PURE__ */ Ht(Dd); -Ld.Provider; -var jd = function(t) { - if (t) { - if (typeof t == "string") - return [t]; - if (!Array.isArray(t)) { - var n = t; - return Io(t).reduce(function(o, r) { - return o.concat(n[r] ? [r] : []); - }, []); - } - } else return []; - return t; -}, v7 = {}, x7 = function(t) { - return function(n, o) { - var r = o || v7; - 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 = jd(n).join(" "); - return i in a ? a[i] : a[i] = t(n || [], o); +var d7 = ["animationName"], + xd = function (t) { + var n = t.style, + o = t.className; + return _2( + _2( + {}, + n + ? { + style: c7(n, d7), + } + : {}, + ), + o + ? { + className: o, + } + : {}, + ); + }, + wd = /* @__PURE__ */ zt(xd); +wd.Provider; +var Ed = function (t) { + if (t) { + if (typeof t == "string") return [t]; + if (!Array.isArray(t)) { + var n = t; + return Lo(t).reduce(function (o, r) { + return o.concat(n[r] ? [r] : []); + }, []); + } + } else return []; + return t; + }, + f7 = {}, + p7 = function (t) { + return function (n, o) { + var r = o || f7; + t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); + var i; + t.memoize.has(r) + ? (i = t.memoize.get(r)) + : ((i = {}), t.memoize.set(r, i)); + var a = Ed(n).join(" "); + return a in i ? i[a] : (i[a] = t(n || [], o)); + }; }; -}; -function L2(e, t) { +function A2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } -function lo(e) { +function oo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? L2(Object(n), !0).forEach(function(o) { - dr(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? A2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : A2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var w7 = function(t) { - var n = t && Io(t)[0]; - return n && n.split("__")[0].split("--")[0]; -}, E7 = function(t, n, o) { - if (t) { - var r = t.split(" ")[0], a = [].concat(bn(n.length === 0 ? o.map(function(i) { - return "".concat(r, "--").concat(i.substring(1)); - }) : []), bn(n.map(function(i) { - return "".concat(r, "__").concat(i); - }))); - return n.length === 0 ? [t].concat(bn(a)) : a; - } -}; -function Fd(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Dd, a = n || w7(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : x7(function(d, p) { - var h = jd(d); - Ao(Array.isArray(h), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Ao(!p || ma(p), "Optional second parameter must be a plain object."); - var m = h.filter(gc), b = h.filter(m7), y = b.length > 0 ? function(C) { - return Td(Nd(C, b)); - } : function(C) { - return [C]; - }, g = function() { - var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return y(y7(S, m)); - }, x = E7(a, b, m); - return Fd(lo(lo(lo({}, (t || p) && { - style: ps.apply(void 0, [{}].concat(bn(g(p)), bn(g(t)))) - }), x && { - className: x.join(" ") - }), o && { - classNames: o - }), r); - }), l = lo({}, typeof t == "function" ? t : { - style: t - }), s = bn(new Set([].concat(bn(l.className ? l.className.split(" ") : []), bn(a ? a.split(" ") : [])))), u = o ? g7(s.map(function(d) { - return o[d]; - })) : s, c = r(lo(lo({}, l), u.length > 0 ? { - className: u.join(" ") - } : {})); - return Object.assign(i, c), i; -} -function j2(e, t) { +var h7 = function (t) { + var n = t && Lo(t)[0]; + return n && n.split("__")[0].split("--")[0]; + }, + g7 = function (t, n, o) { + if (t) { + var r = t.split(" ")[0], + i = [].concat( + gn( + n.length === 0 + ? o.map(function (a) { + return "".concat(r, "--").concat(a.substring(1)); + }) + : [], + ), + gn( + n.map(function (a) { + return "".concat(r, "__").concat(a); + }), + ), + ); + return n.length === 0 ? [t].concat(gn(i)) : i; + } + }; +function Sd(e) { + var t = e.style, + n = e.className, + o = e.classNames, + r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xd, + i = n || h7(o) || (t == null ? void 0 : t.className), + a = + typeof t == "function" + ? t + : p7(function (d, h) { + var f = Ed(d); + Eo( + Array.isArray(f), + "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value.", + ), + Eo( + !h || ci(h), + "Optional second parameter must be a plain object.", + ); + var m = f.filter(sc), + b = f.filter(s7), + y = + b.length > 0 + ? function (C) { + return yd(vd(C, b)); + } + : function (C) { + return [C]; + }, + g = function () { + var E = + arguments.length > 0 && arguments[0] !== void 0 + ? arguments[0] + : {}; + return y(u7(E, m)); + }, + x = g7(i, b, m); + return Sd( + oo( + oo( + oo( + {}, + (t || h) && { + style: cs.apply(void 0, [{}].concat(gn(g(h)), gn(g(t)))), + }, + ), + x && { + className: x.join(" "), + }, + ), + o && { + classNames: o, + }, + ), + r, + ); + }), + l = oo( + {}, + typeof t == "function" + ? t + : { + style: t, + }, + ), + s = gn( + new Set( + [].concat( + gn(l.className ? l.className.split(" ") : []), + gn(i ? i.split(" ") : []), + ), + ), + ), + u = o + ? l7( + s.map(function (d) { + return o[d]; + }), + ) + : s, + c = r( + oo( + oo({}, l), + u.length > 0 + ? { + className: u.join(" "), + } + : {}, + ), + ); + return Object.assign(a, c), a; +} +function 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 Zo(e) { +function Bo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? j2(Object(n), !0).forEach(function(o) { - dr(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? M2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : M2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var S7 = 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 Zo(Zo(Zo({}, r), typeof a == "function" ? a : {}), {}, { - style: Zo(Zo({}, r.style), typeof a == "function" ? a.style : a) - }); - }, {}); -}, mc = function(t, n, o) { - var r = n.style, a = n.className, i = n.classNames, l = tt(Ld), s = Ve(function() { - return Fd({ - style: r, - className: a, - classNames: i - }, l); - }, [r, a, i, l]); - return s(o, t); -}, gs = { exports: {} }, Yr = { exports: {} }, De = {}; +var m7 = function () { + for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++) + n[o] = arguments[o]; + return n.reduce(function (r, i) { + return Bo( + Bo(Bo({}, r), typeof i == "function" ? i : {}), + {}, + { + style: Bo(Bo({}, r.style), typeof i == "function" ? i.style : i), + }, + ); + }, {}); + }, + cc = function (t, n, o) { + var r = n.style, + i = n.className, + a = n.classNames, + l = Je(wd), + s = Be( + function () { + return Sd( + { + style: r, + className: i, + classNames: a, + }, + l, + ); + }, + [r, i, a, l], + ); + return s(o, t); + }, + us = { exports: {} }, + Vr = { exports: {} }, + Ne = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -13419,73 +15920,141 @@ var S7 = function() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var F2; -function k7() { - if (F2) return De; - F2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; +var T2; +function b7() { + if (T2) return Ne; + T2 = 1; + var e = typeof Symbol == "function" && Symbol.for, + t = e ? Symbol.for("react.element") : 60103, + n = e ? Symbol.for("react.portal") : 60106, + o = e ? Symbol.for("react.fragment") : 60107, + r = e ? Symbol.for("react.strict_mode") : 60108, + i = e ? Symbol.for("react.profiler") : 60114, + a = e ? Symbol.for("react.provider") : 60109, + l = e ? Symbol.for("react.context") : 60110, + s = e ? Symbol.for("react.async_mode") : 60111, + u = e ? Symbol.for("react.concurrent_mode") : 60111, + c = e ? Symbol.for("react.forward_ref") : 60112, + d = e ? Symbol.for("react.suspense") : 60113, + h = e ? Symbol.for("react.suspense_list") : 60120, + f = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + y = e ? Symbol.for("react.fundamental") : 60117, + g = e ? Symbol.for("react.responder") : 60118, + x = e ? Symbol.for("react.scope") : 60119; function C(w) { if (typeof w == "object" && w !== null) { - var E = w.$$typeof; - switch (E) { + var S = w.$$typeof; + switch (S) { case t: - switch (w = w.type, w) { + switch (((w = w.type), w)) { case s: case u: case o: - case a: + case i: case r: case d: return w; default: - switch (w = w && w.$$typeof, w) { + switch (((w = w && w.$$typeof), w)) { case l: case c: case m: - case h: - case i: + case f: + case a: return w; default: - return E; + return S; } } case n: - return E; + return S; } } } - function S(w) { + function E(w) { return C(w) === u; } - return De.AsyncMode = s, De.ConcurrentMode = u, De.ContextConsumer = l, De.ContextProvider = i, De.Element = t, De.ForwardRef = c, De.Fragment = o, De.Lazy = m, De.Memo = h, De.Portal = n, De.Profiler = a, De.StrictMode = r, De.Suspense = d, De.isAsyncMode = function(w) { - return S(w) || C(w) === s; - }, De.isConcurrentMode = S, De.isContextConsumer = function(w) { - return C(w) === l; - }, De.isContextProvider = function(w) { - return C(w) === i; - }, De.isElement = function(w) { - return typeof w == "object" && w !== null && w.$$typeof === t; - }, De.isForwardRef = function(w) { - return C(w) === c; - }, De.isFragment = function(w) { - return C(w) === o; - }, De.isLazy = function(w) { - return C(w) === m; - }, De.isMemo = function(w) { - return C(w) === h; - }, De.isPortal = function(w) { - return C(w) === n; - }, De.isProfiler = function(w) { - return C(w) === a; - }, De.isStrictMode = function(w) { - return C(w) === r; - }, De.isSuspense = function(w) { - return C(w) === d; - }, De.isValidElementType = function(w) { - return typeof w == "string" || typeof w == "function" || w === o || w === u || w === a || w === r || w === d || w === p || typeof w == "object" && w !== null && (w.$$typeof === m || w.$$typeof === h || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || w.$$typeof === y || w.$$typeof === g || w.$$typeof === x || w.$$typeof === b); - }, De.typeOf = C, De; -} -var Le = {}; + return ( + (Ne.AsyncMode = s), + (Ne.ConcurrentMode = u), + (Ne.ContextConsumer = l), + (Ne.ContextProvider = a), + (Ne.Element = t), + (Ne.ForwardRef = c), + (Ne.Fragment = o), + (Ne.Lazy = m), + (Ne.Memo = f), + (Ne.Portal = n), + (Ne.Profiler = i), + (Ne.StrictMode = r), + (Ne.Suspense = d), + (Ne.isAsyncMode = function (w) { + return E(w) || C(w) === s; + }), + (Ne.isConcurrentMode = E), + (Ne.isContextConsumer = function (w) { + return C(w) === l; + }), + (Ne.isContextProvider = function (w) { + return C(w) === a; + }), + (Ne.isElement = function (w) { + return typeof w == "object" && w !== null && w.$$typeof === t; + }), + (Ne.isForwardRef = function (w) { + return C(w) === c; + }), + (Ne.isFragment = function (w) { + return C(w) === o; + }), + (Ne.isLazy = function (w) { + return C(w) === m; + }), + (Ne.isMemo = function (w) { + return C(w) === f; + }), + (Ne.isPortal = function (w) { + return C(w) === n; + }), + (Ne.isProfiler = function (w) { + return C(w) === i; + }), + (Ne.isStrictMode = function (w) { + return C(w) === r; + }), + (Ne.isSuspense = function (w) { + return C(w) === d; + }), + (Ne.isValidElementType = function (w) { + return ( + typeof w == "string" || + typeof w == "function" || + w === o || + w === u || + w === i || + w === r || + w === d || + w === h || + (typeof w == "object" && + w !== null && + (w.$$typeof === m || + w.$$typeof === f || + w.$$typeof === a || + w.$$typeof === l || + w.$$typeof === c || + w.$$typeof === y || + w.$$typeof === g || + w.$$typeof === x || + w.$$typeof === b)) + ); + }), + (Ne.typeOf = C), + Ne + ); +} +var De = {}; /** @license React v16.13.1 * react-is.development.js * @@ -13494,1232 +16063,2072 @@ var Le = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var R2; -function _7() { - return R2 || (R2 = 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, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; - function C(J) { - return typeof J == "string" || typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - J === o || J === u || J === a || J === r || J === d || J === p || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === h || J.$$typeof === i || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); - } - function S(J) { - if (typeof J == "object" && J !== null) { - var ke = J.$$typeof; - switch (ke) { - case t: - var ae = J.type; - switch (ae) { - case s: - case u: - case o: - case a: - case r: - case d: - return ae; - default: - var _e = ae && ae.$$typeof; - switch (_e) { - case l: - case c: - case m: - case h: - case i: - return _e; - default: - return ke; - } +var O2; +function y7() { + return ( + O2 || + ((O2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + var e = typeof Symbol == "function" && Symbol.for, + t = e ? Symbol.for("react.element") : 60103, + n = e ? Symbol.for("react.portal") : 60106, + o = e ? Symbol.for("react.fragment") : 60107, + r = e ? Symbol.for("react.strict_mode") : 60108, + i = e ? Symbol.for("react.profiler") : 60114, + a = e ? Symbol.for("react.provider") : 60109, + l = e ? Symbol.for("react.context") : 60110, + s = e ? Symbol.for("react.async_mode") : 60111, + u = e ? Symbol.for("react.concurrent_mode") : 60111, + c = e ? Symbol.for("react.forward_ref") : 60112, + d = e ? Symbol.for("react.suspense") : 60113, + h = e ? Symbol.for("react.suspense_list") : 60120, + f = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + y = e ? Symbol.for("react.fundamental") : 60117, + g = e ? Symbol.for("react.responder") : 60118, + x = e ? Symbol.for("react.scope") : 60119; + function C(J) { + return ( + typeof J == "string" || + typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + J === o || + J === u || + J === i || + J === r || + J === d || + J === h || + (typeof J == "object" && + J !== null && + (J.$$typeof === m || + J.$$typeof === f || + J.$$typeof === a || + J.$$typeof === l || + J.$$typeof === c || + J.$$typeof === y || + J.$$typeof === g || + J.$$typeof === x || + J.$$typeof === b)) + ); + } + function E(J) { + if (typeof J == "object" && J !== null) { + var ke = J.$$typeof; + switch (ke) { + case t: + var ie = J.type; + switch (ie) { + case s: + case u: + case o: + case i: + case r: + case d: + return ie; + default: + var _e = ie && ie.$$typeof; + switch (_e) { + case l: + case c: + case m: + case f: + case a: + return _e; + default: + return ke; + } + } + case n: + return ke; + } } - case n: - return ke; - } - } - } - var w = s, E = u, M = l, _ = i, L = t, R = c, j = o, P = m, V = h, k = n, N = a, T = r, D = d, I = !1; - function F(J) { - return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(J) || S(J) === s; - } - function v(J) { - return S(J) === u; - } - function z(J) { - return S(J) === l; - } - function B(J) { - return S(J) === i; - } - function A(J) { - return typeof J == "object" && J !== null && J.$$typeof === t; - } - function W(J) { - return S(J) === c; - } - function Y(J) { - return S(J) === o; - } - function K(J) { - return S(J) === m; - } - function Q(J) { - return S(J) === h; - } - function ne(J) { - return S(J) === n; - } - function oe(J) { - return S(J) === a; - } - function U(J) { - return S(J) === r; - } - function ge(J) { - return S(J) === d; - } - Le.AsyncMode = w, Le.ConcurrentMode = E, Le.ContextConsumer = M, Le.ContextProvider = _, Le.Element = L, Le.ForwardRef = R, Le.Fragment = j, Le.Lazy = P, Le.Memo = V, Le.Portal = k, Le.Profiler = N, Le.StrictMode = T, Le.Suspense = D, Le.isAsyncMode = F, Le.isConcurrentMode = v, Le.isContextConsumer = z, Le.isContextProvider = B, Le.isElement = A, Le.isForwardRef = W, Le.isFragment = Y, Le.isLazy = K, Le.isMemo = Q, Le.isPortal = ne, Le.isProfiler = oe, Le.isStrictMode = U, Le.isSuspense = ge, Le.isValidElementType = C, Le.typeOf = S; - }()), Le; + } + var w = s, + S = u, + _ = l, + A = a, + R = t, + L = c, + j = o, + P = m, + V = f, + k = n, + N = i, + T = r, + F = d, + I = !1; + function D(J) { + return ( + I || + ((I = !0), + console.warn( + "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.", + )), + v(J) || E(J) === s + ); + } + function v(J) { + return E(J) === u; + } + function z(J) { + return E(J) === l; + } + function B(J) { + return E(J) === a; + } + function M(J) { + return typeof J == "object" && J !== null && J.$$typeof === t; + } + function W(J) { + return E(J) === c; + } + function G(J) { + return E(J) === o; + } + function K(J) { + return E(J) === m; + } + function Q(J) { + return E(J) === f; + } + function ne(J) { + return E(J) === n; + } + function oe(J) { + return E(J) === i; + } + function U(J) { + return E(J) === r; + } + function ge(J) { + return E(J) === d; + } + (De.AsyncMode = w), + (De.ConcurrentMode = S), + (De.ContextConsumer = _), + (De.ContextProvider = A), + (De.Element = R), + (De.ForwardRef = L), + (De.Fragment = j), + (De.Lazy = P), + (De.Memo = V), + (De.Portal = k), + (De.Profiler = N), + (De.StrictMode = T), + (De.Suspense = F), + (De.isAsyncMode = D), + (De.isConcurrentMode = v), + (De.isContextConsumer = z), + (De.isContextProvider = B), + (De.isElement = M), + (De.isForwardRef = W), + (De.isFragment = G), + (De.isLazy = K), + (De.isMemo = Q), + (De.isPortal = ne), + (De.isProfiler = oe), + (De.isStrictMode = U), + (De.isSuspense = ge), + (De.isValidElementType = C), + (De.typeOf = E); + })()), + De + ); } -var I2; -function Rd() { - return I2 || (I2 = 1, process.env.NODE_ENV === "production" ? Yr.exports = k7() : Yr.exports = _7()), Yr.exports; +var N2; +function kd() { + return ( + N2 || + ((N2 = 1), + process.env.NODE_ENV === "production" + ? (Vr.exports = b7()) + : (Vr.exports = y7())), + Vr.exports + ); } /* object-assign (c) Sindre Sorhus @license MIT */ -var xl, z2; -function A7() { - if (z2) return xl; - z2 = 1; - 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"); - return Object(a); +var bl, D2; +function C7() { + if (D2) return bl; + D2 = 1; + var e = Object.getOwnPropertySymbols, + t = Object.prototype.hasOwnProperty, + n = Object.prototype.propertyIsEnumerable; + function o(i) { + if (i == null) + throw new TypeError( + "Object.assign cannot be called with null or undefined", + ); + return Object(i); } function r() { try { - if (!Object.assign) - return !1; - var 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) { - return i[c]; + if (!Object.assign) return !1; + var i = new String("abc"); + if (((i[5] = "de"), Object.getOwnPropertyNames(i)[0] === "5")) return !1; + for (var a = {}, l = 0; l < 10; l++) a["_" + String.fromCharCode(l)] = l; + var s = Object.getOwnPropertyNames(a).map(function (c) { + return a[c]; }); - if (s.join("") !== "0123456789") - return !1; + 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 xl = 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 p = 0; p < u.length; p++) - n.call(l, u[p]) && (s[u[p]] = l[u[p]]); - } - } - return s; - }, xl; + return ( + (bl = r() + ? Object.assign + : function (i, a) { + for (var l, s = o(i), u, c = 1; c < arguments.length; c++) { + l = Object(arguments[c]); + for (var d in l) t.call(l, d) && (s[d] = l[d]); + if (e) { + u = e(l); + for (var h = 0; h < u.length; h++) + n.call(l, u[h]) && (s[u[h]] = l[u[h]]); + } + } + return s; + }), + bl + ); } -var wl, H2; -function bc() { - if (H2) return wl; - H2 = 1; +var yl, L2; +function uc() { + if (L2) return yl; + L2 = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return wl = e, wl; + return (yl = e), yl; } -var El, P2; -function Id() { - return P2 || (P2 = 1, El = Function.call.bind(Object.prototype.hasOwnProperty)), El; +var Cl, F2; +function _d() { + return ( + F2 || + ((F2 = 1), (Cl = Function.call.bind(Object.prototype.hasOwnProperty))), + Cl + ); } -var Sl, B2; -function M7() { - if (B2) return Sl; - B2 = 1; - var e = function() { - }; +var vl, R2; +function v7() { + if (R2) return vl; + R2 = 1; + var e = function () {}; if (process.env.NODE_ENV !== "production") { - var t = bc(), n = {}, o = Id(); - e = function(a) { - var i = "Warning: " + a; - typeof console < "u" && console.error(i); + var t = uc(), + n = {}, + o = _d(); + e = function (i) { + var a = "Warning: " + i; + typeof console < "u" && console.error(a); + try { + throw new Error(a); + } catch {} + }; + } + function r(i, a, l, s, u) { + if (process.env.NODE_ENV !== "production") { + for (var c in i) + if (o(i, c)) { + var d; + try { + if (typeof i[c] != "function") { + var h = Error( + (s || "React class") + + ": " + + l + + " type `" + + c + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof i[c] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", + ); + throw ((h.name = "Invariant Violation"), h); + } + d = i[c](a, c, s, l, null, t); + } catch (m) { + d = m; + } + if ( + (d && + !(d instanceof Error) && + e( + (s || "React class") + + ": type specification of " + + l + + " `" + + c + + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + + typeof d + + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", + ), + d instanceof Error && !(d.message in n)) + ) { + n[d.message] = !0; + var f = u ? u() : ""; + e("Failed " + l + " type: " + d.message + (f ?? "")); + } + } + } + } + return ( + (r.resetWarningCache = function () { + process.env.NODE_ENV !== "production" && (n = {}); + }), + (vl = r), + vl + ); +} +var xl, j2; +function x7() { + if (j2) return xl; + j2 = 1; + var e = kd(), + t = C7(), + n = uc(), + o = _d(), + r = v7(), + i = function () {}; + process.env.NODE_ENV !== "production" && + (i = function (l) { + var s = "Warning: " + l; + typeof console < "u" && console.error(s); try { - throw new Error(i); - } catch { + throw new Error(s); + } catch {} + }); + function a() { + return null; + } + return ( + (xl = function (l, s) { + var u = typeof Symbol == "function" && Symbol.iterator, + c = "@@iterator"; + function d(v) { + var z = v && ((u && v[u]) || v[c]); + if (typeof z == "function") return z; + } + var h = "<>", + f = { + array: g("array"), + bigint: g("bigint"), + bool: g("boolean"), + func: g("function"), + number: g("number"), + object: g("object"), + string: g("string"), + symbol: g("symbol"), + any: x(), + arrayOf: C, + element: E(), + elementType: w(), + instanceOf: S, + node: L(), + objectOf: A, + oneOf: _, + oneOfType: R, + shape: P, + exact: V, + }; + function m(v, z) { + return v === z ? v !== 0 || 1 / v === 1 / z : v !== v && z !== z; + } + function b(v, z) { + (this.message = v), + (this.data = z && typeof z == "object" ? z : {}), + (this.stack = ""); + } + b.prototype = Error.prototype; + function y(v) { + if (process.env.NODE_ENV !== "production") + var z = {}, + B = 0; + function M(G, K, Q, ne, oe, U, ge) { + if (((ne = ne || h), (U = U || Q), ge !== n)) { + if (s) { + var J = new Error( + "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types", + ); + throw ((J.name = "Invariant Violation"), J); + } else if ( + process.env.NODE_ENV !== "production" && + typeof console < "u" + ) { + var ke = ne + ":" + Q; + !z[ke] && // Avoid spamming the console because they are often not actionable except for lib authors + B < 3 && + (i( + "You are manually calling a React.PropTypes validation function for the `" + + U + + "` prop on `" + + ne + + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.", + ), + (z[ke] = !0), + B++); + } + } + return K[Q] == null + ? G + ? K[Q] === null + ? new b( + "The " + + oe + + " `" + + U + + "` is marked as required " + + ("in `" + ne + "`, but its value is `null`."), + ) + : new b( + "The " + + oe + + " `" + + U + + "` is marked as required in " + + ("`" + ne + "`, but its value is `undefined`."), + ) + : null + : v(K, Q, ne, oe, U); + } + var W = M.bind(null, !1); + return (W.isRequired = M.bind(null, !0)), W; + } + function g(v) { + function z(B, M, W, G, K, Q) { + var ne = B[M], + oe = T(ne); + if (oe !== v) { + var U = F(ne); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + U + "` supplied to `" + W + "`, expected ") + + ("`" + v + "`."), + { expectedType: v }, + ); + } + return null; + } + return y(z); + } + function x() { + return y(a); + } + function C(v) { + function z(B, M, W, G, K) { + if (typeof v != "function") + return new b( + "Property `" + + K + + "` of component `" + + W + + "` has invalid PropType notation inside arrayOf.", + ); + var Q = B[M]; + if (!Array.isArray(Q)) { + var ne = T(Q); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected an array."), + ); + } + for (var oe = 0; oe < Q.length; oe++) { + var U = v(Q, oe, W, G, K + "[" + oe + "]", n); + if (U instanceof Error) return U; + } + return null; + } + return y(z); } - }; - } - function r(a, i, l, s, u) { - if (process.env.NODE_ENV !== "production") { - for (var c in a) - if (o(a, c)) { - var d; - try { - if (typeof a[c] != "function") { - var p = 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`." - ); - throw p.name = "Invariant Violation", p; - } - d = a[c](i, c, s, l, null, t); - } catch (m) { - d = m; + function E() { + function v(z, B, M, W, G) { + var K = z[B]; + if (!l(K)) { + var Q = T(K); + return new b( + "Invalid " + + W + + " `" + + G + + "` of type " + + ("`" + + Q + + "` supplied to `" + + M + + "`, expected a single ReactElement."), + ); } - 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 h = u ? u() : ""; - e( - "Failed " + l + " type: " + d.message + (h ?? "") + return null; + } + return y(v); + } + function w() { + function v(z, B, M, W, G) { + var K = z[B]; + if (!e.isValidElementType(K)) { + var Q = T(K); + return new b( + "Invalid " + + W + + " `" + + G + + "` of type " + + ("`" + + Q + + "` supplied to `" + + M + + "`, expected a single ReactElement type."), ); } + return null; } - } - } - return r.resetWarningCache = function() { - process.env.NODE_ENV !== "production" && (n = {}); - }, Sl = r, Sl; -} -var kl, V2; -function T7() { - if (V2) return kl; - V2 = 1; - var e = Rd(), t = A7(), n = bc(), o = Id(), r = M7(), 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 kl = function(l, s) { - var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator"; - function d(v) { - var z = v && (u && v[u] || v[c]); - if (typeof z == "function") - return z; - } - var p = "<>", h = { - array: g("array"), - bigint: g("bigint"), - bool: g("boolean"), - func: g("function"), - number: g("number"), - object: g("object"), - string: g("string"), - symbol: g("symbol"), - any: x(), - arrayOf: C, - element: S(), - elementType: w(), - instanceOf: E, - node: R(), - objectOf: _, - oneOf: M, - oneOfType: L, - shape: P, - exact: V - }; - function m(v, z) { - return v === z ? v !== 0 || 1 / v === 1 / z : v !== v && z !== z; - } - function b(v, z) { - this.message = v, this.data = z && typeof z == "object" ? z : {}, this.stack = ""; - } - b.prototype = Error.prototype; - function y(v) { - if (process.env.NODE_ENV !== "production") - var z = {}, B = 0; - function A(Y, K, Q, ne, oe, U, ge) { - if (ne = ne || p, U = U || Q, ge !== n) { - if (s) { - var J = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" + return y(v); + } + function S(v) { + function z(B, M, W, G, K) { + if (!(B[M] instanceof v)) { + var Q = v.name || h, + ne = D(B[M]); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected ") + + ("instance of `" + Q + "`."), ); - throw J.name = "Invariant Violation", J; - } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var ke = ne + ":" + Q; - !z[ke] && // Avoid spamming the console because they are often not actionable except for lib authors - B < 3 && (a( - "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + ne + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." - ), z[ke] = !0, B++); } + return null; } - return K[Q] == null ? Y ? K[Q] === null ? new b("The " + oe + " `" + U + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new b("The " + oe + " `" + U + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : v(K, Q, ne, oe, U); + return y(z); } - var W = A.bind(null, !1); - return W.isRequired = A.bind(null, !0), W; - } - function g(v) { - function z(B, A, W, Y, K, Q) { - var ne = B[A], oe = T(ne); - if (oe !== v) { - var U = D(ne); + function _(v) { + if (!Array.isArray(v)) + return ( + process.env.NODE_ENV !== "production" && + (arguments.length > 1 + ? i( + "Invalid arguments supplied to oneOf, expected an array, got " + + arguments.length + + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).", + ) + : i("Invalid argument supplied to oneOf, expected an array.")), + a + ); + function z(B, M, W, G, K) { + for (var Q = B[M], ne = 0; ne < v.length; ne++) + if (m(Q, v[ne])) return null; + var oe = JSON.stringify(v, function (ge, J) { + var ke = F(J); + return ke === "symbol" ? String(J) : J; + }); return new b( - "Invalid " + Y + " `" + K + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected ") + ("`" + v + "`."), - { expectedType: v } + "Invalid " + + G + + " `" + + K + + "` of value `" + + String(Q) + + "` " + + ("supplied to `" + W + "`, expected one of " + oe + "."), ); } - return null; + return y(z); } - return y(z); - } - function x() { - return y(i); - } - function C(v) { - function z(B, A, W, Y, K) { - if (typeof v != "function") - return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside arrayOf."); - var Q = B[A]; - if (!Array.isArray(Q)) { - var ne = T(Q); - return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an array.")); + function A(v) { + function z(B, M, W, G, K) { + if (typeof v != "function") + return new b( + "Property `" + + K + + "` of component `" + + W + + "` has invalid PropType notation inside objectOf.", + ); + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected an object."), + ); + for (var oe in Q) + if (o(Q, oe)) { + var U = v(Q, oe, W, G, K + "." + oe, n); + if (U instanceof Error) return U; + } + return null; } - for (var oe = 0; oe < Q.length; oe++) { - var U = v(Q, oe, W, Y, K + "[" + oe + "]", n); - if (U instanceof Error) - return U; + return y(z); + } + function R(v) { + if (!Array.isArray(v)) + return ( + process.env.NODE_ENV !== "production" && + i( + "Invalid argument supplied to oneOfType, expected an instance of array.", + ), + a + ); + for (var z = 0; z < v.length; z++) { + var B = v[z]; + if (typeof B != "function") + return ( + i( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + + I(B) + + " at index " + + z + + ".", + ), + a + ); + } + function M(W, G, K, Q, ne) { + for (var oe = [], U = 0; U < v.length; U++) { + var ge = v[U], + J = ge(W, G, K, Q, ne, n); + if (J == null) return null; + J.data && o(J.data, "expectedType") && oe.push(J.data.expectedType); + } + var ke = + oe.length > 0 + ? ", expected one of type [" + oe.join(", ") + "]" + : ""; + return new b( + "Invalid " + + Q + + " `" + + ne + + "` supplied to " + + ("`" + K + "`" + ke + "."), + ); } - return null; + return y(M); } - return y(z); - } - function S() { - function v(z, B, A, W, Y) { - var K = z[B]; - if (!l(K)) { - var Q = T(K); - return new b("Invalid " + W + " `" + Y + "` of type " + ("`" + Q + "` supplied to `" + A + "`, expected a single ReactElement.")); + function L() { + function v(z, B, M, W, G) { + return k(z[B]) + ? null + : new b( + "Invalid " + + W + + " `" + + G + + "` supplied to " + + ("`" + M + "`, expected a ReactNode."), + ); } - return null; + return y(v); } - return y(v); - } - function w() { - function v(z, B, A, W, Y) { - var K = z[B]; - if (!e.isValidElementType(K)) { - var Q = T(K); - return new b("Invalid " + W + " `" + Y + "` of type " + ("`" + Q + "` supplied to `" + A + "`, expected a single ReactElement type.")); + function j(v, z, B, M, W) { + return new b( + (v || "React class") + + ": " + + z + + " type `" + + B + + "." + + M + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + W + + "`.", + ); + } + function P(v) { + function z(B, M, W, G, K) { + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type `" + + ne + + "` " + + ("supplied to `" + W + "`, expected `object`."), + ); + for (var oe in v) { + var U = v[oe]; + if (typeof U != "function") return j(W, G, K, oe, F(U)); + var ge = U(Q, oe, W, G, K + "." + oe, n); + if (ge) return ge; + } + return null; } - return null; + return y(z); } - return y(v); - } - function E(v) { - function z(B, A, W, Y, K) { - if (!(B[A] instanceof v)) { - var Q = v.name || p, ne = F(B[A]); - return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected ") + ("instance of `" + Q + "`.")); + function V(v) { + function z(B, M, W, G, K) { + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type `" + + ne + + "` " + + ("supplied to `" + W + "`, expected `object`."), + ); + var oe = t({}, B[M], v); + for (var U in oe) { + var ge = v[U]; + if (o(v, U) && typeof ge != "function") return j(W, G, K, U, F(ge)); + if (!ge) + return new b( + "Invalid " + + G + + " `" + + K + + "` key `" + + U + + "` supplied to `" + + W + + "`.\nBad object: " + + JSON.stringify(B[M], null, " ") + + ` +Valid keys: ` + + JSON.stringify(Object.keys(v), null, " "), + ); + var J = ge(Q, U, W, G, K + "." + U, n); + if (J) return J; + } + return null; } - return null; + return y(z); } - return y(z); - } - function M(v) { - if (!Array.isArray(v)) - 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 z(B, A, W, Y, K) { - for (var Q = B[A], ne = 0; ne < v.length; ne++) - if (m(Q, v[ne])) - return null; - var oe = JSON.stringify(v, function(ge, J) { - var ke = D(J); - return ke === "symbol" ? String(J) : J; - }); - return new b("Invalid " + Y + " `" + K + "` of value `" + String(Q) + "` " + ("supplied to `" + W + "`, expected one of " + oe + ".")); + function k(v) { + switch (typeof v) { + case "number": + case "string": + case "undefined": + return !0; + case "boolean": + return !v; + case "object": + if (Array.isArray(v)) return v.every(k); + if (v === null || l(v)) return !0; + var z = d(v); + if (z) { + var B = z.call(v), + M; + if (z !== v.entries) { + for (; !(M = B.next()).done; ) if (!k(M.value)) return !1; + } else + for (; !(M = B.next()).done; ) { + var W = M.value; + if (W && !k(W[1])) return !1; + } + } else return !1; + return !0; + default: + return !1; + } } - return y(z); - } - function _(v) { - function z(B, A, W, Y, K) { - if (typeof v != "function") - return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside objectOf."); - var Q = B[A], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + Y + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an object.")); - for (var oe in Q) - if (o(Q, oe)) { - var U = v(Q, oe, W, Y, K + "." + oe, n); - if (U instanceof Error) - return U; - } - return null; + function N(v, z) { + return v === "symbol" + ? !0 + : z + ? z["@@toStringTag"] === "Symbol" || + (typeof Symbol == "function" && z instanceof Symbol) + : !1; } - return y(z); - } - function L(v) { - if (!Array.isArray(v)) - return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i; - for (var z = 0; z < v.length; z++) { - var B = v[z]; - if (typeof B != "function") - return a( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(B) + " at index " + z + "." - ), i; + function T(v) { + var z = typeof v; + return Array.isArray(v) + ? "array" + : v instanceof RegExp + ? "object" + : N(z, v) + ? "symbol" + : z; } - function A(W, Y, K, Q, ne) { - for (var oe = [], U = 0; U < v.length; U++) { - var ge = v[U], J = ge(W, Y, K, Q, ne, n); - if (J == null) - return null; - J.data && o(J.data, "expectedType") && oe.push(J.data.expectedType); + function F(v) { + if (typeof v > "u" || v === null) return "" + v; + var z = T(v); + if (z === "object") { + if (v instanceof Date) return "date"; + if (v instanceof RegExp) return "regexp"; } - var ke = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : ""; - return new b("Invalid " + Q + " `" + ne + "` supplied to " + ("`" + K + "`" + ke + ".")); + return z; } - return y(A); - } - function R() { - function v(z, B, A, W, Y) { - return k(z[B]) ? null : new b("Invalid " + W + " `" + Y + "` supplied to " + ("`" + A + "`, expected a ReactNode.")); + function I(v) { + var z = F(v); + switch (z) { + case "array": + case "object": + return "an " + z; + case "boolean": + case "date": + case "regexp": + return "a " + z; + default: + return z; + } + } + function D(v) { + return !v.constructor || !v.constructor.name ? h : v.constructor.name; + } + return ( + (f.checkPropTypes = r), + (f.resetWarningCache = r.resetWarningCache), + (f.PropTypes = f), + f + ); + }), + xl + ); +} +var wl, I2; +function w7() { + if (I2) return wl; + I2 = 1; + var e = uc(); + function t() {} + function n() {} + return ( + (n.resetWarningCache = t), + (wl = function () { + function o(a, l, s, u, c, d) { + if (d !== e) { + var h = new Error( + "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types", + ); + throw ((h.name = "Invariant Violation"), h); + } + } + o.isRequired = o; + function r() { + return o; + } + var i = { + array: o, + bigint: o, + bool: o, + func: o, + number: o, + object: o, + string: o, + symbol: o, + any: o, + arrayOf: r, + element: o, + elementType: o, + instanceOf: r, + node: o, + objectOf: r, + oneOf: r, + oneOfType: r, + shape: r, + exact: r, + checkPropTypes: n, + resetWarningCache: t, + }; + return (i.PropTypes = i), i; + }), + wl + ); +} +if (process.env.NODE_ENV !== "production") { + var E7 = kd(), + S7 = !0; + us.exports = x7()(E7.isElement, S7); +} else us.exports = w7()(); +var k7 = us.exports; +const q = /* @__PURE__ */ un(k7); +var ui = function (t) { + return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + }, + rn = { + id: "__id__", + display: "__display__", + }, + z2 = function (t, n) { + Eo( + n === "id" || n === "display", + 'Second arg must be either "id" or "display", got: "'.concat(n, '"'), + ); + var o = t.indexOf(rn.display), + r = t.indexOf(rn.id); + return ( + o < 0 && (o = null), + r < 0 && (r = null), + Eo( + o !== null || r !== null, + "The markup '".concat( + t, + "' does not contain either of the placeholders '__id__' or '__display__'", + ), + ), + o !== null && r !== null + ? (n === "id" && r <= o) || (n === "display" && o <= r) + ? 0 + : 1 + : 0 + ); + }, + _7 = function (t) { + var n = /^\/(.+)\/(\w+)?$/; + return new RegExp( + t + .map(function (o) { + var r = n.exec(o.toString()), + i = ki(r, 3), + a = i[1], + l = i[2]; + return ( + Eo( + !l, + "RegExp flags are not supported. Change /" + .concat(a, "/") + .concat(l, " into /") + .concat(a, "/"), + ), + "(".concat(a, ")") + ); + }) + .join("|"), + "g", + ); + }, + Ad = function (t) { + var n = 0; + return ( + t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n + ); + }, + A7 = function () {}, + kr = function (t, n, o) { + for ( + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : A7, + i = _7( + n.map(function (w) { + return w.regex; + }), + ), + a = 2, + l = n.map(function (w) { + var S = w.markup, + _ = a; + return (a += Ad(S) + 1), _; + }), + s, + u = 0, + c = 0; + (s = i.exec(t)) !== null; + + ) { + var d = l.find(function (w) { + return !!s[w]; + }), + h = l.indexOf(d), + f = n[h], + m = f.markup, + b = f.displayTransform, + y = d + z2(m, "id"), + g = d + z2(m, "display"), + x = s[y], + C = b(x, s[g]), + E = t.substring(u, s.index); + r(E, u, c), + (c += E.length), + o(s[0], s.index, c, x, C, h, u), + (c += C.length), + (u = i.lastIndex); + } + u < t.length && r(t.substring(u), u, c); + }, + Pn = function (t, n) { + var o = ""; + return ( + kr( + t, + n, + function (r, i, a, l, s) { + o += s; + }, + function (r) { + o += r; + }, + ), + o + ); + }, + mt = function (t, n, o) { + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; + if (typeof o != "number") return o; + var i, + a = function (u, c, d) { + i === void 0 && d + u.length >= o && (i = c + o - d); + }, + l = function (u, c, d, h, f, m, b) { + i === void 0 && + d + f.length > o && + (r === "NULL" ? (i = null) : (i = c + (r === "END" ? u.length : 0))); + }; + return kr(t, n, l, a), i === void 0 ? t.length : i; + }, + er = function (t, n, o, r) { + return t.substring(0, n) + r + t.substring(o); + }, + M7 = function (t, n, o, r) { + var i = o.selectionStartBefore, + a = o.selectionEndBefore, + l = o.selectionEndAfter, + s = Pn(t, r), + u = s.length - n.length; + i === "undefined" && (i = l + u), + a === "undefined" && (a = i), + i === a && a === l && s.length === n.length && (i = i - 1); + var c = n.slice(i, l), + d = Math.min(i, l), + h = a; + i === l && (h = Math.max(a, i + u)); + var f = mt(t, r, d, "START"), + m = mt(t, r, h, "END"), + b = mt(t, r, d, "NULL"), + y = mt(t, r, h, "NULL"), + g = b === null || y === null, + x = er(t, f, m, c); + if (!g) { + var C = Pn(x, r); + if (C !== n) { + for (d = 0; n[d] === C[d]; ) d++; + (c = n.slice(d, l)), + (h = s.lastIndexOf(n.substring(l))), + (f = mt(t, r, d, "START")), + (m = mt(t, r, h, "END")), + (x = er(t, f, m, c)); } - return y(v); } - function j(v, z, B, A, W) { - return new b( - (v || "React class") + ": " + z + " type `" + B + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`." + return x; + }, + H2 = function (t, n, o) { + var r = o, + i = !1, + a = function (s, u, c, d, h, f, m) { + c <= o && c + h.length > o && ((r = c), (i = !0)); + }; + if ((kr(t, n, a), i)) return r; + }, + Go = function (t, n) { + var o = []; + return ( + kr(t, n, function (r, i, a, l, s, u, c) { + o.push({ + id: l, + display: s, + childIndex: u, + index: i, + plainTextIndex: a, + }); + }), + o + ); + }, + Md = function (t, n) { + return "".concat(t, "-").concat(n); + }, + $r = function (t) { + return Object.values(t).reduce(function (n, o) { + var r = o.results; + return n + r.length; + }, 0); + }, + T7 = function (t, n) { + var o = Go(t, n), + r = o[o.length - 1]; + return r ? r.plainTextIndex + r.display.length : 0; + }, + O7 = function (t) { + var n = ui(t), + o = t[t.indexOf(rn.display) + rn.display.length], + r = t[t.indexOf(rn.id) + rn.id.length]; + return new RegExp( + n + .replace(rn.display, "([^".concat(ui(o || ""), "]+?)")) + .replace(rn.id, "([^".concat(ui(r || ""), "]+?)")), + ); + }, + Mn = function (t) { + return xo.toArray(t).map(function (n) { + var o = n.props, + r = o.markup, + i = o.regex, + a = o.displayTransform; + return { + markup: r, + regex: i ? N7(i, r) : O7(r), + displayTransform: + a || + function (l, s) { + return s || l; + }, + }; + }); + }, + N7 = function (t, n) { + var o = new RegExp(t.toString() + "|").exec("").length - 1, + r = Ad(n); + return ( + Eo( + o === r, + "Number of capturing groups in RegExp " + .concat(t.toString(), " (") + .concat( + o, + ") does not match the number of placeholders in the markup '", + ) + .concat(n, "' (") + .concat(r, ")"), + ), + t + ); + }, + D7 = function (t, n, o) { + return t.replace(rn.id, n).replace(rn.display, o); + }, + L7 = [ + { + base: "A", + letters: + /(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g, + }, + { + base: "AA", + letters: /(Ꜳ|[\uA732])/g, + }, + { + base: "AE", + letters: /(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g, + }, + { + base: "AO", + letters: /(Ꜵ|[\uA734])/g, + }, + { + base: "AU", + letters: /(Ꜷ|[\uA736])/g, + }, + { + base: "AV", + letters: /(Ꜹ|Ꜻ|[\uA738\uA73A])/g, + }, + { + base: "AY", + letters: /(Ꜽ|[\uA73C])/g, + }, + { + base: "B", + letters: + /(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g, + }, + { + base: "C", + letters: + /(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g, + }, + { + base: "D", + letters: + /(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g, + }, + { + base: "DZ", + letters: /(DZ|DŽ|[\u01F1\u01C4])/g, + }, + { + base: "Dz", + letters: /(Dz|Dž|[\u01F2\u01C5])/g, + }, + { + base: "E", + letters: + /(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g, + }, + { + base: "F", + letters: + /(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g, + }, + { + base: "G", + letters: + /(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g, + }, + { + base: "H", + letters: + /(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g, + }, + { + base: "I", + letters: + /(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g, + }, + { + base: "J", + letters: + /(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g, + }, + { + base: "K", + letters: + /(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g, + }, + { + base: "L", + letters: + /(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g, + }, + { + base: "LJ", + letters: /(LJ|[\u01C7])/g, + }, + { + base: "Lj", + letters: /(Lj|[\u01C8])/g, + }, + { + base: "M", + letters: + /(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g, + }, + { + base: "N", + letters: + /(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g, + }, + { + base: "NJ", + letters: /(NJ|[\u01CA])/g, + }, + { + base: "Nj", + letters: /(Nj|[\u01CB])/g, + }, + { + base: "O", + letters: + /(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g, + }, + { + base: "OE", + letters: /(Œ|[\u0152])/g, + }, + { + base: "OI", + letters: /(Ƣ|[\u01A2])/g, + }, + { + base: "OO", + letters: /(Ꝏ|[\uA74E])/g, + }, + { + base: "OU", + letters: /(Ȣ|[\u0222])/g, + }, + { + base: "P", + letters: + /(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g, + }, + { + base: "Q", + letters: + /(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g, + }, + { + base: "R", + letters: + /(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g, + }, + { + base: "S", + letters: + /(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g, + }, + { + base: "T", + letters: + /(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g, + }, + { + base: "TH", + letters: /(Þ|[\u00DE])/g, + }, + { + base: "TZ", + letters: /(Ꜩ|[\uA728])/g, + }, + { + base: "U", + letters: + /(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g, + }, + { + base: "V", + letters: + /(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g, + }, + { + base: "VY", + letters: /(Ꝡ|[\uA760])/g, + }, + { + base: "W", + letters: + /(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g, + }, + { + base: "X", + letters: + /(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g, + }, + { + base: "Y", + letters: + /(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g, + }, + { + base: "Z", + letters: + /(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g, + }, + { + base: "a", + letters: + /(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g, + }, + { + base: "aa", + letters: /(ꜳ|[\uA733])/g, + }, + { + base: "ae", + letters: /(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g, + }, + { + base: "ao", + letters: /(ꜵ|[\uA735])/g, + }, + { + base: "au", + letters: /(ꜷ|[\uA737])/g, + }, + { + base: "av", + letters: /(ꜹ|ꜻ|[\uA739\uA73B])/g, + }, + { + base: "ay", + letters: /(ꜽ|[\uA73D])/g, + }, + { + base: "b", + letters: + /(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g, + }, + { + base: "c", + letters: + /(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g, + }, + { + base: "d", + letters: + /(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g, + }, + { + base: "dz", + letters: /(dz|dž|[\u01F3\u01C6])/g, + }, + { + base: "e", + letters: + /(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g, + }, + { + base: "f", + letters: + /(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g, + }, + { + base: "g", + letters: + /(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g, + }, + { + base: "h", + letters: + /(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g, + }, + { + base: "hv", + letters: /(ƕ|[\u0195])/g, + }, + { + base: "i", + letters: + /(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g, + }, + { + base: "ij", + letters: /(ij|[\u0133])/g, + }, + { + base: "j", + letters: + /(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g, + }, + { + base: "k", + letters: + /(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g, + }, + { + base: "l", + letters: + /(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g, + }, + { + base: "lj", + letters: /(lj|[\u01C9])/g, + }, + { + base: "m", + letters: + /(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g, + }, + { + base: "n", + letters: + /(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g, + }, + { + base: "nj", + letters: /(nj|[\u01CC])/g, + }, + { + base: "o", + letters: + /(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g, + }, + { + base: "oe", + letters: /(œ|[\u0153])/g, + }, + { + base: "oi", + letters: /(ƣ|[\u01A3])/g, + }, + { + base: "ou", + letters: /(ȣ|[\u0223])/g, + }, + { + base: "oo", + letters: /(ꝏ|[\uA74F])/g, + }, + { + base: "p", + letters: + /(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g, + }, + { + base: "q", + letters: + /(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g, + }, + { + base: "r", + letters: + /(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g, + }, + { + base: "s", + letters: + /(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g, + }, + { + base: "ss", + letters: /(ß|[\u00DF])/g, + }, + { + base: "t", + letters: + /(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g, + }, + { + base: "th", + letters: /(þ|[\u00FE])/g, + }, + { + base: "tz", + letters: /(ꜩ|[\uA729])/g, + }, + { + base: "u", + letters: + /(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g, + }, + { + base: "v", + letters: + /(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g, + }, + { + base: "vy", + letters: /(ꝡ|[\uA761])/g, + }, + { + base: "w", + letters: + /(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g, + }, + { + base: "x", + letters: + /(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g, + }, + { + base: "y", + letters: + /(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g, + }, + { + base: "z", + letters: + /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g, + }, + ], + F7 = function (t) { + var n = t; + return ( + L7.forEach(function (o) { + n = n.replace(o.letters, o.base); + }), + n + ); + }, + P2 = function (t) { + return F7(t).toLowerCase(); + }, + Td = function (t, n, o) { + return o ? P2(t).indexOf(P2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); + }, + R7 = function () { + return !!document.documentMode; + }, + ds = function (t) { + return typeof t == "number"; + }, + j7 = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + I7 = function (t) { + for ( + var n, o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), i = 1; + i < o; + i++ + ) + r[i - 1] = arguments[i]; + var a = (n = []).concat.apply(n, r); + return Object.keys(t).reduce(function (l, s) { + return ( + t.hasOwnProperty(s) && + !a.includes(s) && + t[s] !== void 0 && + (l[s] = t[s]), + l ); - } - function P(v) { - function z(B, A, W, Y, K) { - var Q = B[A], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + Y + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); - for (var oe in v) { - var U = v[oe]; - if (typeof U != "function") - return j(W, Y, K, oe, D(U)); - var ge = U(Q, oe, W, Y, K + "." + oe, n); - if (ge) - return ge; - } - return null; - } - return y(z); - } - function V(v) { - function z(B, A, W, Y, K) { - var Q = B[A], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + Y + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); - var oe = t({}, B[A], v); - for (var U in oe) { - var ge = v[U]; - if (o(v, U) && typeof ge != "function") - return j(W, Y, K, U, D(ge)); - if (!ge) - return new b( - "Invalid " + Y + " `" + K + "` key `" + U + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(B[A], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") - ); - var J = ge(Q, U, W, Y, K + "." + U, n); - if (J) - return J; - } - return null; - } - return y(z); - } - function k(v) { - switch (typeof v) { - case "number": - case "string": - case "undefined": - return !0; - case "boolean": - return !v; - case "object": - if (Array.isArray(v)) - return v.every(k); - if (v === null || l(v)) - return !0; - var z = d(v); - if (z) { - var B = z.call(v), A; - if (z !== v.entries) { - for (; !(A = B.next()).done; ) - if (!k(A.value)) - return !1; - } else - for (; !(A = B.next()).done; ) { - var W = A.value; - if (W && !k(W[1])) - return !1; - } - } else - return !1; - return !0; - default: - return !1; - } - } - function N(v, z) { - return v === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1; - } - function T(v) { - var z = typeof v; - return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : N(z, v) ? "symbol" : z; - } - function D(v) { - if (typeof v > "u" || v === null) - return "" + v; - var z = T(v); - if (z === "object") { - if (v instanceof Date) - return "date"; - if (v instanceof RegExp) - return "regexp"; - } - return z; - } - function I(v) { - var z = D(v); - switch (z) { - case "array": - case "object": - return "an " + z; - case "boolean": - case "date": - case "regexp": - return "a " + z; - default: - return z; - } - } - function F(v) { - return !v.constructor || !v.constructor.name ? p : v.constructor.name; - } - return h.checkPropTypes = r, h.resetWarningCache = r.resetWarningCache, h.PropTypes = h, h; - }, kl; -} -var _l, $2; -function O7() { - if ($2) return _l; - $2 = 1; - var e = bc(); - function t() { - } - function n() { - } - return n.resetWarningCache = t, _l = function() { - function o(i, l, s, u, c, d) { - if (d !== e) { - var p = 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 p.name = "Invariant Violation", p; - } - } - 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; - }, _l; -} -if (process.env.NODE_ENV !== "production") { - var N7 = Rd(), D7 = !0; - gs.exports = T7()(N7.isElement, D7); -} else - gs.exports = O7()(); -var L7 = gs.exports; -const q = /* @__PURE__ */ fn(L7); -var ba = function(t) { - return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); -}, ln = { - id: "__id__", - display: "__display__" -}, W2 = function(t, n) { - Ao(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); - var o = t.indexOf(ln.display), r = t.indexOf(ln.id); - return o < 0 && (o = null), r < 0 && (r = null), Ao(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; -}, j7 = function(t) { - var n = /^\/(.+)\/(\w+)?$/; - return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), a = Da(r, 3), i = a[1], l = a[2]; - return Ao(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); - }).join("|"), "g"); -}, zd = function(t) { - var n = 0; - return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, F7 = function() { -}, Or = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : F7, a = j7(n.map(function(w) { - return w.regex; - })), i = 2, l = n.map(function(w) { - var E = w.markup, M = i; - return i += zd(E) + 1, M; - }), s, u = 0, c = 0; (s = a.exec(t)) !== null; ) { - var d = l.find(function(w) { - return !!s[w]; - }), p = l.indexOf(d), h = n[p], m = h.markup, b = h.displayTransform, y = d + W2(m, "id"), g = d + W2(m, "display"), x = s[y], C = b(x, s[g]), S = t.substring(u, s.index); - r(S, u, c), c += S.length, o(s[0], s.index, c, x, C, p, u), c += C.length, u = a.lastIndex; - } - u < t.length && r(t.substring(u), u, c); -}, Vn = function(t, n) { - var o = ""; - return Or(t, n, function(r, a, i, l, s) { - o += s; - }, function(r) { - o += r; - }), o; -}, mt = function(t, n, o) { - var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; - if (typeof o != "number") - return o; - var a, i = function(u, c, d) { - a === void 0 && d + u.length >= o && (a = c + o - d); - }, l = function(u, c, d, p, h, m, b) { - a === void 0 && d + h.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); - }; - return Or(t, n, l, i), a === void 0 ? t.length : a; -}, or = function(t, n, o, r) { - return t.substring(0, n) + r + t.substring(o); -}, R7 = function(t, n, o, r) { - var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = Vn(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), p = i; - a === l && (p = Math.max(i, a + u)); - var h = mt(t, r, d, "START"), m = mt(t, r, p, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, p, "NULL"), g = b === null || y === null, x = or(t, h, m, c); - if (!g) { - var C = Vn(x, r); - if (C !== n) { - for (d = 0; n[d] === C[d]; ) - d++; - c = n.slice(d, l), p = s.lastIndexOf(n.substring(l)), h = mt(t, r, d, "START"), m = mt(t, r, p, "END"), x = or(t, h, m, c); - } - } - return x; -}, Z2 = function(t, n, o) { - var r = o, a = !1, i = function(s, u, c, d, p, h, m) { - c <= o && c + p.length > o && (r = c, a = !0); - }; - if (Or(t, n, i), a) - return r; -}, Jo = function(t, n) { - var o = []; - return Or(t, n, function(r, a, i, l, s, u, c) { - o.push({ - id: l, - display: s, - childIndex: u, - index: a, - plainTextIndex: i - }); - }), o; -}, Hd = function(t, n) { - return "".concat(t, "-").concat(n); -}, Gr = function(t) { - return Object.values(t).reduce(function(n, o) { - var r = o.results; - return n + r.length; - }, 0); -}, I7 = function(t, n) { - var o = Jo(t, n), r = o[o.length - 1]; - return r ? r.plainTextIndex + r.display.length : 0; -}, z7 = function(t) { - var n = ba(t), o = t[t.indexOf(ln.display) + ln.display.length], r = t[t.indexOf(ln.id) + ln.id.length]; - return new RegExp(n.replace(ln.display, "([^".concat(ba(o || ""), "]+?)")).replace(ln.id, "([^".concat(ba(r || ""), "]+?)"))); -}, On = function(t) { - return ko.toArray(t).map(function(n) { - var o = n.props, r = o.markup, a = o.regex, i = o.displayTransform; - return { - markup: r, - regex: a ? H7(a, r) : z7(r), - displayTransform: i || function(l, s) { - return s || l; - } - }; - }); -}, H7 = function(t, n) { - var o = new RegExp(t.toString() + "|").exec("").length - 1, r = zd(n); - return Ao(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; -}, P7 = function(t, n, o) { - return t.replace(ln.id, n).replace(ln.display, o); -}, B7 = [{ - 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 -}], V7 = function(t) { - var n = t; - return B7.forEach(function(o) { - n = n.replace(o.letters, o.base); - }), n; -}, U2 = function(t) { - return V7(t).toLowerCase(); -}, Pd = function(t, n, o) { - return o ? U2(t).indexOf(U2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, $7 = function() { - return !!document.documentMode; -}, ms = function(t) { - return typeof t == "number"; -}, W7 = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, Z7 = 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; - }, {}); -}, U7 = ["style", "className", "classNames"]; -function q2(e, t) { + }, {}); + }, + z7 = ["style", "className", "classNames"]; +function B2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } -function Y2(e) { +function V2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? q2(Object(n), !0).forEach(function(o) { - be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? B2(Object(n), !0).forEach(function (o) { + be(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : B2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -function ni(e, t) { - var n = function(r) { - var a = function(s) { - var u = s.style, c = s.className, d = s.classNames, p = l7(s, U7), h = t ? t(p) : void 0, m = mc(e, { - style: u, - className: c, - classNames: d - }, h); - return /* @__PURE__ */ $.createElement(r, It({}, p, { - style: m - })); - }, i = r.displayName || r.name || "Component"; - return a.displayName = "defaultStyle(".concat(i, ")"), /* @__PURE__ */ $.forwardRef(function(l, s) { - return a(Y2(Y2({}, l), {}, { - ref: s - })); - }); +function Qi(e, t) { + var n = function (r) { + var i = function (s) { + var u = s.style, + c = s.className, + d = s.classNames, + h = J8(s, z7), + f = t ? t(h) : void 0, + m = cc( + e, + { + style: u, + className: c, + classNames: d, + }, + f, + ); + return /* @__PURE__ */ $.createElement( + r, + It({}, h, { + style: m, + }), + ); + }, + a = r.displayName || r.name || "Component"; + return ( + (i.displayName = "defaultStyle(".concat(a, ")")), + /* @__PURE__ */ $.forwardRef(function (l, s) { + return i( + V2( + V2({}, l), + {}, + { + ref: s, + }, + ), + ); + }) + ); }; return n; } -var q7 = function(t, n) { - return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; +var H7 = function (t, n) { + return t.hasOwnProperty(n) ? t[n]++ : (t[n] = 0), n + "_" + t[n]; }; -function Bd(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; +function Od(e) { + var t = e.selectionStart, + n = e.selectionEnd, + o = e.value, + r = o === void 0 ? "" : o, + i = e.onCaretPositionChange, + a = e.containerRef, + l = e.children; e.singleLine; - var s = e.style, u = ce({ - left: void 0, - top: void 0 - }), c = Da(u, 2), d = c[0], p = c[1], h = ce(), m = Da(h, 2), b = m[0], y = m[1]; - ue(function() { + var s = e.style, + u = ue({ + left: void 0, + top: void 0, + }), + c = ki(u, 2), + d = c[0], + h = c[1], + f = ue(), + m = ki(f, 2), + b = m[0], + y = m[1]; + ce(function () { g(); }); - var g = function() { - if (b) { - var k = b.offsetLeft, N = b.offsetTop; - if (!(d.left === k && d.top === N)) { - var T = { - left: k, - top: N - }; - p(T), a(T); + var g = function () { + if (b) { + var k = b.offsetLeft, + N = b.offsetTop; + if (!(d.left === k && d.top === N)) { + var T = { + left: k, + top: N, + }; + h(T), i(T); + } } - } - }, x = On(l), C; + }, + x = Mn(l), + C; n === t && (C = mt(r, x, t, "START")); - var S = [], w = {}, E = S, M = 0, _ = function(k, N, T) { - if (ms(C) && C >= N && C <= N + k.length) { - var D = C - N; - E.push(R(k.substring(0, D), M)), E = [R(k.substring(D), M)]; - } else - E.push(R(k, M)); - M++; - }, L = function(k, N, T, D, I, F, v) { - var z = q7(w, D); - E.push(j(D, I, F, z)); - }, R = function(k, N) { - return /* @__PURE__ */ $.createElement("span", It({}, s("substring"), { - key: N - }), k); - }, j = function(k, N, T, D) { - var I = { - id: k, - display: N, - key: D - }, F = ko.toArray(l)[T]; - return /* @__PURE__ */ $.cloneElement(F, I); - }, P = function(k) { - return /* @__PURE__ */ $.createElement("span", It({}, s("caret"), { - ref: y, - key: "caret" - }), k); - }; - return Or(r, x, L, _), E.push(" "), E !== S && S.push(P(E)), /* @__PURE__ */ $.createElement("div", It({}, s, { - ref: i - }), S); + var E = [], + w = {}, + S = E, + _ = 0, + A = function (k, N, T) { + if (ds(C) && C >= N && C <= N + k.length) { + var F = C - N; + S.push(L(k.substring(0, F), _)), (S = [L(k.substring(F), _)]); + } else S.push(L(k, _)); + _++; + }, + R = function (k, N, T, F, I, D, v) { + var z = H7(w, F); + S.push(j(F, I, D, z)); + }, + L = function (k, N) { + return /* @__PURE__ */ $.createElement( + "span", + It({}, s("substring"), { + key: N, + }), + k, + ); + }, + j = function (k, N, T, F) { + var I = { + id: k, + display: N, + key: F, + }, + D = xo.toArray(l)[T]; + return /* @__PURE__ */ $.cloneElement(D, I); + }, + P = function (k) { + return /* @__PURE__ */ $.createElement( + "span", + It({}, s("caret"), { + ref: y, + key: "caret", + }), + k, + ); + }; + return ( + kr(r, x, R, A), + S.push(" "), + S !== E && E.push(P(S)), + /* @__PURE__ */ $.createElement( + "div", + It({}, s, { + ref: a, + }), + E, + ) + ); } -Bd.propTypes = { +Od.propTypes = { selectionStart: q.number, selectionEnd: q.number, value: q.string.isRequired, onCaretPositionChange: q.func.isRequired, - containerRef: q.oneOfType([q.func, q.shape({ - current: typeof Element > "u" ? q.any : q.instanceOf(Element) - })]), - children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired + 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 Y7 = ni({ - 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 - }; -}), G7 = Y7(Bd); -function Vd(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 P7 = Qi( + { + position: "relative", + boxSizing: "border-box", + width: "100%", + color: "transparent", + overflow: "hidden", + whiteSpace: "pre-wrap", + wordWrap: "break-word", + border: "1px solid transparent", + textAlign: "start", + "&singleLine": { + whiteSpace: "pre", + wordWrap: null, + }, + substring: { + visibility: "hidden", + }, + }, + function (e) { + return { + "&singleLine": e.singleLine, + }; + }, + ), + B7 = P7(Od); +function Nd(e) { + var t = e.id, + n = e.focused, + o = e.ignoreAccents, + r = e.index, + i = e.onClick, + a = e.onMouseEnter, + l = e.query, + s = e.renderSuggestion, + u = e.suggestion, + c = e.style; e.className, e.classNames; var d = { - onClick: a, - onMouseEnter: i - }, p = function() { - var y = h(), g = m(y); - return s ? s(u, l, g, r, n) : g; - }, h = function() { - if (typeof u == "string") - return u; - var y = u.id, g = u.display; - return y === void 0 || !g ? y : g; - }, m = function(y) { - var g = Pd(y, l, o); - return g === -1 ? /* @__PURE__ */ $.createElement("span", c("display"), y) : /* @__PURE__ */ $.createElement("span", c("display"), y.substring(0, g), /* @__PURE__ */ $.createElement("b", c("highlight"), y.substring(g, g + l.length)), y.substring(g + l.length)); - }; - return /* @__PURE__ */ $.createElement("li", It({ - id: t, - role: "option", - "aria-selected": n - }, d, c), p()); + onClick: i, + onMouseEnter: a, + }, + h = function () { + var y = f(), + g = m(y); + return s ? s(u, l, g, r, n) : g; + }, + f = function () { + if (typeof u == "string") return u; + var y = u.id, + g = u.display; + return y === void 0 || !g ? y : g; + }, + m = function (y) { + var g = Td(y, l, o); + return g === -1 + ? /* @__PURE__ */ $.createElement("span", c("display"), y) + : /* @__PURE__ */ $.createElement( + "span", + c("display"), + y.substring(0, g), + /* @__PURE__ */ $.createElement( + "b", + c("highlight"), + y.substring(g, g + l.length), + ), + y.substring(g + l.length), + ); + }; + return /* @__PURE__ */ $.createElement( + "li", + It( + { + id: t, + role: "option", + "aria-selected": n, + }, + d, + c, + ), + h(), + ); } -Vd.propTypes = { +Nd.propTypes = { id: q.string.isRequired, query: q.string.isRequired, index: q.number.isRequired, ignoreAccents: q.bool, - suggestion: q.oneOfType([q.string, q.shape({ - id: q.oneOfType([q.string, q.number]).isRequired, - display: q.string - })]).isRequired, + 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 K7 = ni({ - cursor: "pointer" -}, function(e) { - return { - "&focused": e.focused - }; -}), X7 = K7(Vd); -function Q7(e) { - var t = e.style, n = e.className, o = e.classNames, r = mc(J7, { - style: t, - className: n, - classNames: o - }), a = r("spinner"); - return /* @__PURE__ */ $.createElement("div", r, /* @__PURE__ */ $.createElement("div", a, /* @__PURE__ */ $.createElement("div", a(["element", "element1"])), /* @__PURE__ */ $.createElement("div", a(["element", "element2"])), /* @__PURE__ */ $.createElement("div", a(["element", "element3"])), /* @__PURE__ */ $.createElement("div", a(["element", "element4"])), /* @__PURE__ */ $.createElement("div", a(["element", "element5"])))); -} -var J7 = {}; -function $d(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, p = e.isOpened, h = e.onSelect, m = h === void 0 ? function() { - return null; - } : h, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, S = e.onMouseDown, w = e.onMouseEnter, E = ce(void 0), M = Da(E, 2), _ = M[0], L = M[1]; - ue(function() { - if (!(!_ || _.offsetHeight >= _.scrollHeight || !c)) { - var T = _.scrollTop, D = _.children[a].getBoundingClientRect(), I = D.top, F = D.bottom, v = _.getBoundingClientRect(), z = v.top; - I = I - z + T, F = F - z + T, I < T ? _.scrollTop = I : F > _.offsetHeight && (_.scrollTop = F - _.offsetHeight); - } - }, [a, c, _]); - var R = function() { - var D = /* @__PURE__ */ $.createElement("ul", It({ - ref: L, - id: t, - role: "listbox", - "aria-label": r - }, x("list")), Object.values(o).reduce(function(I, F) { - var v = F.results, z = F.queryInfo; - return [].concat(Oa(I), Oa(v.map(function(B, A) { - return j(B, z, I.length + A); - }))); - }, [])); - return C ? C(D) : D; - }, j = function(D, I, F) { - var v = F === a, z = I.childIndex, B = I.query, A = ko.toArray(g)[z].props.renderSuggestion; - return /* @__PURE__ */ $.createElement(X7, { - style: x("item"), - key: "".concat(z, "-").concat(N(D)), - id: Hd(t, F), - query: B, - index: F, - ignoreAccents: b, - renderSuggestion: A, - suggestion: D, - focused: v, - onClick: function() { - return k(D, I); - }, - onMouseEnter: function() { - return V(F); +var V7 = Qi( + { + cursor: "pointer", + }, + function (e) { + return { + "&focused": e.focused, + }; + }, + ), + $7 = V7(Nd); +function W7(e) { + var t = e.style, + n = e.className, + o = e.classNames, + r = cc(Z7, { + style: t, + className: n, + classNames: o, + }), + i = r("spinner"); + return /* @__PURE__ */ $.createElement( + "div", + r, + /* @__PURE__ */ $.createElement( + "div", + i, + /* @__PURE__ */ $.createElement("div", i(["element", "element1"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element2"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element3"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element4"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element5"])), + ), + ); +} +var Z7 = {}; +function Dd(e) { + var t = e.id, + n = e.suggestions, + o = n === void 0 ? {} : n, + r = e.a11ySuggestionsListLabel, + i = e.focusIndex, + a = e.position, + l = e.left, + s = e.right, + u = e.top, + c = e.scrollFocusedIntoView, + d = e.isLoading, + h = e.isOpened, + f = e.onSelect, + m = + f === void 0 + ? function () { + return null; + } + : f, + b = e.ignoreAccents, + y = e.containerRef, + g = e.children, + x = e.style, + C = e.customSuggestionsContainer, + E = e.onMouseDown, + w = e.onMouseEnter, + S = ue(void 0), + _ = ki(S, 2), + A = _[0], + R = _[1]; + ce( + function () { + if (!(!A || A.offsetHeight >= A.scrollHeight || !c)) { + var T = A.scrollTop, + F = A.children[i].getBoundingClientRect(), + I = F.top, + D = F.bottom, + v = A.getBoundingClientRect(), + z = v.top; + (I = I - z + T), + (D = D - z + T), + I < T + ? (A.scrollTop = I) + : D > A.offsetHeight && (A.scrollTop = D - A.offsetHeight); } - }); - }, P = function() { - if (d) - return /* @__PURE__ */ $.createElement(Q7, { - style: x("loadingIndicator") + }, + [i, c, A], + ); + var L = function () { + var F = /* @__PURE__ */ $.createElement( + "ul", + It( + { + ref: R, + id: t, + role: "listbox", + "aria-label": r, + }, + x("list"), + ), + Object.values(o).reduce(function (I, D) { + var v = D.results, + z = D.queryInfo; + return [].concat( + Ei(I), + Ei( + v.map(function (B, M) { + return j(B, z, I.length + M); + }), + ), + ); + }, []), + ); + return C ? C(F) : F; + }, + j = function (F, I, D) { + var v = D === i, + z = I.childIndex, + B = I.query, + M = xo.toArray(g)[z].props.renderSuggestion; + return /* @__PURE__ */ $.createElement($7, { + style: x("item"), + key: "".concat(z, "-").concat(N(F)), + id: Md(t, D), + query: B, + index: D, + ignoreAccents: b, + renderSuggestion: M, + suggestion: F, + focused: v, + onClick: function () { + return k(F, I); + }, + onMouseEnter: function () { + return V(D); + }, }); - }, V = function(D, I) { - w && w(D); - }, k = function(D, I) { - m(D, I); - }, N = function(D) { - return typeof D == "string" ? D : D.id; - }; - return p ? /* @__PURE__ */ $.createElement("div", It({}, S7({ - position: i || "absolute", - left: l, - right: s, - top: u - }, x), { - onMouseDown: S, - ref: y - }), R(), P()) : null; -} -$d.propTypes = { + }, + P = function () { + if (d) + return /* @__PURE__ */ $.createElement(W7, { + style: x("loadingIndicator"), + }); + }, + V = function (F, I) { + w && w(F); + }, + k = function (F, I) { + m(F, I); + }, + N = function (F) { + return typeof F == "string" ? F : F.id; + }; + return h + ? /* @__PURE__ */ $.createElement( + "div", + It( + {}, + m7( + { + position: a || "absolute", + left: l, + right: s, + top: u, + }, + x, + ), + { + onMouseDown: E, + ref: y, + }, + ), + L(), + P(), + ) + : null; +} +Dd.propTypes = { id: q.string.isRequired, suggestions: q.object.isRequired, a11ySuggestionsListLabel: q.string, @@ -14734,571 +18143,951 @@ $d.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 e9 = ni({ - zIndex: 1, - backgroundColor: "white", - marginTop: 14, - minWidth: 100, - list: { - margin: 0, - padding: 0, - listStyleType: "none" - } -}), t9 = e9($d); -function G2(e, t) { +var U7 = Qi({ + zIndex: 1, + backgroundColor: "white", + marginTop: 14, + minWidth: 100, + list: { + margin: 0, + padding: 0, + listStyleType: "none", + }, + }), + q7 = U7(Dd); +function $2(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } -function Ut(e) { +function Zt(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? G2(Object(n), !0).forEach(function(o) { - be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? $2(Object(n), !0).forEach(function (o) { + be(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : $2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -function n9(e) { - var t = o9(); - return function() { - var o = Na(e), r; +function Y7(e) { + var t = G7(); + return function () { + var o = Si(e), + r; if (t) { - var a = Na(this).constructor; - r = Reflect.construct(o, arguments, a); - } else - r = o.apply(this, arguments); - return e7(this, r); + var i = Si(this).constructor; + r = Reflect.construct(o, arguments, i); + } else r = o.apply(this, arguments); + return U8(this, r); }; } -function o9() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; +function G7() { + if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) + return !1; if (typeof Proxy == "function") return !0; try { - return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { - })), !0; + return ( + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}), + ), + !0 + ); } catch { return !1; } } -var r9 = function(t) { - var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - if (t instanceof RegExp) - return t; - var o = n.allowSpaceInQuery, r = ba(t); - return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, a9 = 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; - Pd(s, o, n) >= 0 && a.push(t[i]); - } - return a; - } : t; -}, so = { - TAB: 9, - RETURN: 13, - ESC: 27, - UP: 38, - DOWN: 40 -}, Kr = !1, Wd = { - /** - * 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 -}, yc = /* @__PURE__ */ function(e) { - J8(n, e); - var t = n9(n); - function n(o) { - var r; - return K8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(a) { - r.containerElement = a; - }), be(ve(r), "getInputProps", function() { - var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = Z7( - r.props, - ["style", "classNames", "className"], - // substyle props - W7(Wd) - ); - return Ut(Ut(Ut(Ut({}, 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": Hd(r.uuidSuggestionsOverlay, r.state.focusIndex) - }); - }), be(ve(r), "renderControl", function() { - var a = r.props, i = a.singleLine, l = a.style, s = r.getInputProps(); - return /* @__PURE__ */ $.createElement("div", l("control"), r.renderHighlighter(), i ? r.renderInput(s) : r.renderTextarea(s)); - }), be(ve(r), "renderInput", function(a) { - return /* @__PURE__ */ $.createElement("input", It({ - type: "text", - ref: r.setInputRef - }, a)); - }), be(ve(r), "renderTextarea", function(a) { - return /* @__PURE__ */ $.createElement("textarea", It({ - ref: r.setInputRef - }, a)); - }), be(ve(r), "setInputRef", function(a) { - r.inputElement = a; - var i = r.props.inputRef; - typeof i == "function" ? i(a) : i && (i.current = a); - }), be(ve(r), "setSuggestionsElement", function(a) { - r.suggestionsElement = a; - }), be(ve(r), "renderSuggestionsOverlay", function() { - if (!ms(r.state.selectionStart)) - return null; - var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ $.createElement(t9, { - 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__ */ l4.createPortal(c, r.props.suggestionsPortalHost) : c; - }), be(ve(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, p = s.style; - return /* @__PURE__ */ $.createElement(G7, { - containerRef: r.setHighlighterElement, - style: p("highlighter"), - value: d, - singleLine: u, - selectionStart: i, - selectionEnd: l, - onCaretPositionChange: r.handleCaretPositionChange - }, c); - }), be(ve(r), "setHighlighterElement", function(a) { - r.highlighterElement = a; - }), be(ve(r), "handleCaretPositionChange", function(a) { - r.setState({ - caretPosition: a - }); - }), be(ve(r), "getPlainText", function() { - return Vn(r.props.value || "", On(r.props.children)); - }), be(ve(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)); - } - }), be(ve(r), "handleChange", function(a) { - if (Kr = !1, $7()) { - var i = document.activeElement && document.activeElement.contentDocument || document; - if (i.activeElement !== a.target) - return; - } - var l = r.props.value || "", s = On(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 p = R7(l, u, { - selectionStartBefore: c, - selectionEndBefore: d, - selectionEndAfter: a.target.selectionEnd - }, s); - u = Vn(p, s); - var h = a.target.selectionStart, m = a.target.selectionEnd, b = !1, y = Z2(l, s, h); - y !== void 0 && r.state.selectionEnd > y && (h = y + (a.nativeEvent.data ? a.nativeEvent.data.length : 0), m = h, b = !0), r.setState({ - selectionStart: h, - selectionEnd: m, - setSelectionAfterMentionChange: b - }); - var g = Jo(p, s); - a.nativeEvent.isComposing && h === m && r.updateMentionsQueries(r.inputElement.value, h); - var x = { - target: { - value: p - } - }; - r.executeOnChange(x, p, u, g); - }), be(ve(r), "handleSelect", function(a) { - if (r.setState({ - selectionStart: a.target.selectionStart, - selectionEnd: a.target.selectionEnd - }), !Kr) { - 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); - } - }), be(ve(r), "handleKeyDown", function(a) { - var i = Gr(r.state.suggestions); - if (i === 0 || !r.suggestionsElement) { - r.props.onKeyDown(a); - return; - } - switch (Object.values(so).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { - case so.ESC: { - r.clearSuggestions(); - return; - } - case so.DOWN: { - r.shiftFocus(1); - return; - } - case so.UP: { - r.shiftFocus(-1); - return; - } - case so.RETURN: { - r.selectFocused(); - return; - } - case so.TAB: { - r.selectFocused(); - return; +var K7 = function (t) { + var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (t instanceof RegExp) return t; + var o = n.allowSpaceInQuery, + r = ui(t); + return new RegExp( + "(?:^|\\s)(" + .concat(r, "([^") + .concat(o ? "" : "\\s") + .concat(r, "]*))$"), + ); + }, + X7 = function (t, n) { + return t instanceof Array + ? function (o, r) { + for (var i = [], a = 0, l = t.length; a < l; ++a) { + var s = t[a].display || t[a].id; + Td(s, o, n) >= 0 && i.push(t[a]); + } + return i; } - default: - return; - } - }), be(ve(r), "shiftFocus", function(a) { - var i = Gr(r.state.suggestions); - r.setState({ - focusIndex: (i + r.state.focusIndex + a) % i, - scrollFocusedIntoView: !0 - }); - }), be(ve(r), "selectFocused", function() { - var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, p) { - var h = p.results, m = p.queryInfo; - return [].concat(Oa(d), Oa(h.map(function(b) { - return { - result: b, - queryInfo: m + : t; + }, + ro = { + TAB: 9, + RETURN: 13, + ESC: 27, + UP: 38, + DOWN: 40, + }, + Wr = !1, + Ld = { + /** + * If set to `true` a regular text input element will be rendered + * instead of a textarea + */ + singleLine: q.bool, + allowSpaceInQuery: q.bool, + allowSuggestionsAboveCursor: q.bool, + forceSuggestionsAboveCursor: q.bool, + ignoreAccents: q.bool, + a11ySuggestionsListLabel: q.string, + value: q.string, + onKeyDown: q.func, + customSuggestionsContainer: q.func, + onSelect: q.func, + onBlur: q.func, + onChange: q.func, + suggestionsPortalHost: + typeof Element > "u" ? q.any : q.PropTypes.instanceOf(Element), + inputRef: q.oneOfType([ + q.func, + q.shape({ + current: typeof Element > "u" ? q.any : q.instanceOf(Element), + }), + ]), + children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired, + }, + dc = /* @__PURE__ */ (function (e) { + Z8(n, e); + var t = Y7(n); + function n(o) { + var r; + return ( + V8(this, n), + (r = t.call(this, o)), + be(ve(r), "setContainerElement", function (i) { + r.containerElement = i; + }), + be(ve(r), "getInputProps", function () { + var i = r.props, + a = i.readOnly, + l = i.disabled, + s = i.style, + u = I7( + r.props, + ["style", "classNames", "className"], + // substyle props + j7(Ld), + ); + return Zt( + Zt( + Zt(Zt({}, u), s("input")), + {}, + { + value: r.getPlainText(), + onScroll: r.updateHighlighterScroll, + }, + !a && + !l && { + onChange: r.handleChange, + onSelect: r.handleSelect, + onKeyDown: r.handleKeyDown, + onBlur: r.handleBlur, + onCompositionStart: r.handleCompositionStart, + onCompositionEnd: r.handleCompositionEnd, + }, + ), + r.isOpened() && { + role: "combobox", + "aria-controls": r.uuidSuggestionsOverlay, + "aria-expanded": !0, + "aria-autocomplete": "list", + "aria-haspopup": "listbox", + "aria-activedescendant": Md( + r.uuidSuggestionsOverlay, + r.state.focusIndex, + ), + }, + ); + }), + be(ve(r), "renderControl", function () { + var i = r.props, + a = i.singleLine, + l = i.style, + s = r.getInputProps(); + return /* @__PURE__ */ $.createElement( + "div", + l("control"), + r.renderHighlighter(), + a ? r.renderInput(s) : r.renderTextarea(s), + ); + }), + be(ve(r), "renderInput", function (i) { + return /* @__PURE__ */ $.createElement( + "input", + It( + { + type: "text", + ref: r.setInputRef, + }, + i, + ), + ); + }), + be(ve(r), "renderTextarea", function (i) { + return /* @__PURE__ */ $.createElement( + "textarea", + It( + { + ref: r.setInputRef, + }, + i, + ), + ); + }), + be(ve(r), "setInputRef", function (i) { + r.inputElement = i; + var a = r.props.inputRef; + typeof a == "function" ? a(i) : a && (a.current = i); + }), + be(ve(r), "setSuggestionsElement", function (i) { + r.suggestionsElement = i; + }), + be(ve(r), "renderSuggestionsOverlay", function () { + if (!ds(r.state.selectionStart)) return null; + var i = r.state.suggestionsPosition, + a = i.position, + l = i.left, + s = i.top, + u = i.right, + c = /* @__PURE__ */ $.createElement( + q7, + { + id: r.uuidSuggestionsOverlay, + style: r.props.style("suggestions"), + position: a, + left: l, + top: s, + right: u, + focusIndex: r.state.focusIndex, + scrollFocusedIntoView: r.state.scrollFocusedIntoView, + containerRef: r.setSuggestionsElement, + suggestions: r.state.suggestions, + customSuggestionsContainer: r.props.customSuggestionsContainer, + onSelect: r.addMention, + onMouseDown: r.handleSuggestionsMouseDown, + onMouseEnter: r.handleSuggestionsMouseEnter, + isLoading: r.isLoading(), + isOpened: r.isOpened(), + ignoreAccents: r.props.ignoreAccents, + a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel, + }, + r.props.children, + ); + return r.props.suggestionsPortalHost + ? /* @__PURE__ */ q5.createPortal(c, r.props.suggestionsPortalHost) + : c; + }), + be(ve(r), "renderHighlighter", function () { + var i = r.state, + a = i.selectionStart, + l = i.selectionEnd, + s = r.props, + u = s.singleLine, + c = s.children, + d = s.value, + h = s.style; + return /* @__PURE__ */ $.createElement( + B7, + { + containerRef: r.setHighlighterElement, + style: h("highlighter"), + value: d, + singleLine: u, + selectionStart: a, + selectionEnd: l, + onCaretPositionChange: r.handleCaretPositionChange, + }, + c, + ); + }), + be(ve(r), "setHighlighterElement", function (i) { + r.highlighterElement = i; + }), + be(ve(r), "handleCaretPositionChange", function (i) { + r.setState({ + caretPosition: i, + }); + }), + be(ve(r), "getPlainText", function () { + return Pn(r.props.value || "", Mn(r.props.children)); + }), + be(ve(r), "executeOnChange", function (i) { + for ( + var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), s = 1; + s < a; + s++ + ) + l[s - 1] = arguments[s]; + if (r.props.onChange) { + var u; + return (u = r.props).onChange.apply(u, [i].concat(l)); + } + if (r.props.valueLink) { + var c; + return (c = r.props.valueLink).requestChange.apply( + c, + [i.target.value].concat(l), + ); + } + }), + be(ve(r), "handleChange", function (i) { + if (((Wr = !1), R7())) { + var a = + (document.activeElement && + document.activeElement.contentDocument) || + document; + if (a.activeElement !== i.target) return; + } + var l = r.props.value || "", + s = Mn(r.props.children), + u = i.target.value, + c = r.state.selectionStart; + c == null && (c = i.target.selectionStart); + var d = r.state.selectionEnd; + d == null && (d = i.target.selectionEnd); + var h = M7( + l, + u, + { + selectionStartBefore: c, + selectionEndBefore: d, + selectionEndAfter: i.target.selectionEnd, + }, + s, + ); + u = Pn(h, s); + var f = i.target.selectionStart, + m = i.target.selectionEnd, + b = !1, + y = H2(l, s, f); + y !== void 0 && + r.state.selectionEnd > y && + ((f = y + (i.nativeEvent.data ? i.nativeEvent.data.length : 0)), + (m = f), + (b = !0)), + r.setState({ + selectionStart: f, + selectionEnd: m, + setSelectionAfterMentionChange: b, + }); + var g = Go(h, s); + i.nativeEvent.isComposing && + f === m && + r.updateMentionsQueries(r.inputElement.value, f); + var x = { + target: { + value: h, + }, }; - }))); - }, [])[l], u = s.result, c = s.queryInfo; - r.addMention(u, c), r.setState({ - focusIndex: 0 - }); - }), be(ve(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); - }), be(ve(r), "handleSuggestionsMouseDown", function(a) { - r._suggestionsMouseDown = !0; - }), be(ve(r), "handleSuggestionsMouseEnter", function(a) { - r.setState({ - focusIndex: a, - scrollFocusedIntoView: !1 - }); - }), be(ve(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, p = d.getBoundingClientRect(), h = Al(d, "font-size"), m = { - left: p.left + a.left, - top: p.top + a.top + h - }, b = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); - if (c) { - var y = {}; - if (l) { - y.position = "fixed"; - var g = m.left, x = m.top; - g -= Al(c, "margin-left"), x -= Al(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; - var C = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); - g + c.offsetWidth > C ? y.left = Math.max(0, C - c.offsetWidth) : y.left = g, s && x + c.offsetHeight > b && c.offsetHeight < x - h || u ? y.top = Math.max(0, x - c.offsetHeight - h) : y.top = x; - } else { - var S = a.left - d.scrollLeft, w = a.top - d.scrollTop; - S + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = S, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < p.top - h - d.scrollTop || u ? y.top = w - c.offsetHeight - h : y.top = w; + r.executeOnChange(x, h, u, g); + }), + be(ve(r), "handleSelect", function (i) { + if ( + (r.setState({ + selectionStart: i.target.selectionStart, + selectionEnd: i.target.selectionEnd, + }), + !Wr) + ) { + var a = r.inputElement; + i.target.selectionStart === i.target.selectionEnd + ? r.updateMentionsQueries(a.value, i.target.selectionStart) + : r.clearSuggestions(), + r.updateHighlighterScroll(), + r.props.onSelect(i); + } + }), + be(ve(r), "handleKeyDown", function (i) { + var a = $r(r.state.suggestions); + if (a === 0 || !r.suggestionsElement) { + r.props.onKeyDown(i); + return; + } + switch ( + (Object.values(ro).indexOf(i.keyCode) >= 0 && + (i.preventDefault(), i.stopPropagation()), + i.keyCode) + ) { + case ro.ESC: { + r.clearSuggestions(); + return; + } + case ro.DOWN: { + r.shiftFocus(1); + return; + } + case ro.UP: { + r.shiftFocus(-1); + return; + } + case ro.RETURN: { + r.selectFocused(); + return; + } + case ro.TAB: { + r.selectFocused(); + return; + } + default: + return; } - y.left === r.state.suggestionsPosition.left && y.top === r.state.suggestionsPosition.top && y.position === r.state.suggestionsPosition.position || r.setState({ - suggestionsPosition: y + }), + be(ve(r), "shiftFocus", function (i) { + var a = $r(r.state.suggestions); + r.setState({ + focusIndex: (a + r.state.focusIndex + i) % a, + scrollFocusedIntoView: !0, }); - } - } - }), be(ve(r), "updateHighlighterScroll", function() { - var a = r.inputElement, i = r.highlighterElement; - !a || !i || (i.scrollLeft = a.scrollLeft, i.scrollTop = a.scrollTop, i.height = a.height); - }), be(ve(r), "handleCompositionStart", function() { - Kr = !0; - }), be(ve(r), "handleCompositionEnd", function() { - Kr = !1; - }), be(ve(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(); - } - } - }), be(ve(r), "updateMentionsQueries", function(a, i) { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {} - }); - var l = r.props.value || "", s = r.props.children, u = On(s), c = mt(l, u, i, "NULL"); - if (c !== null) { - var d = I7(l.substring(0, c), u), p = a.substring(d, i); - $.Children.forEach(s, function(h, m) { - if (h) { - var b = r9(h.props.trigger, r.props), y = p.match(b); - if (y) { - var g = d + p.indexOf(y[1], y.index); - r.queryData(y[2], m, g, g + y[1].length, a); + }), + be(ve(r), "selectFocused", function () { + var i = r.state, + a = i.suggestions, + l = i.focusIndex, + s = Object.values(a).reduce(function (d, h) { + var f = h.results, + m = h.queryInfo; + return [].concat( + Ei(d), + Ei( + f.map(function (b) { + return { + result: b, + queryInfo: m, + }; + }), + ), + ); + }, [])[l], + u = s.result, + c = s.queryInfo; + r.addMention(u, c), + r.setState({ + focusIndex: 0, + }); + }), + be(ve(r), "handleBlur", function (i) { + var a = r._suggestionsMouseDown; + (r._suggestionsMouseDown = !1), + a || + r.setState({ + selectionStart: null, + selectionEnd: null, + }), + window.setTimeout(function () { + r.updateHighlighterScroll(); + }, 1), + r.props.onBlur(i, a); + }), + be(ve(r), "handleSuggestionsMouseDown", function (i) { + r._suggestionsMouseDown = !0; + }), + be(ve(r), "handleSuggestionsMouseEnter", function (i) { + r.setState({ + focusIndex: i, + scrollFocusedIntoView: !1, + }); + }), + be(ve(r), "updateSuggestionsPosition", function () { + var i = r.state.caretPosition, + a = r.props, + l = a.suggestionsPortalHost, + s = a.allowSuggestionsAboveCursor, + u = a.forceSuggestionsAboveCursor; + if (!(!i || !r.suggestionsElement)) { + var c = r.suggestionsElement, + d = r.highlighterElement, + h = d.getBoundingClientRect(), + f = El(d, "font-size"), + m = { + left: h.left + i.left, + top: h.top + i.top + f, + }, + b = Math.max( + document.documentElement.clientHeight, + window.innerHeight || 0, + ); + if (c) { + var y = {}; + if (l) { + y.position = "fixed"; + var g = m.left, + x = m.top; + (g -= El(c, "margin-left")), + (x -= El(c, "margin-top")), + (g -= d.scrollLeft), + (x -= d.scrollTop); + var C = Math.max( + document.documentElement.clientWidth, + window.innerWidth || 0, + ); + g + c.offsetWidth > C + ? (y.left = Math.max(0, C - c.offsetWidth)) + : (y.left = g), + (s && x + c.offsetHeight > b && c.offsetHeight < x - f) || u + ? (y.top = Math.max(0, x - c.offsetHeight - f)) + : (y.top = x); + } else { + var E = i.left - d.scrollLeft, + w = i.top - d.scrollTop; + E + c.offsetWidth > r.containerElement.offsetWidth + ? (y.right = 0) + : (y.left = E), + (s && + m.top - d.scrollTop + c.offsetHeight > b && + c.offsetHeight < h.top - f - d.scrollTop) || + u + ? (y.top = w - c.offsetHeight - f) + : (y.top = w); + } + (y.left === r.state.suggestionsPosition.left && + y.top === r.state.suggestionsPosition.top && + y.position === r.state.suggestionsPosition.position) || + r.setState({ + suggestionsPosition: y, + }); } } - }); - } - }), be(ve(r), "clearSuggestions", function() { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {}, - focusIndex: 0 - }); - }), be(ve(r), "queryData", function(a, i, l, s, u) { - var c = r.props, d = c.children, p = c.ignoreAccents, h = ko.toArray(d)[i], m = a9(h.props.data, p), 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); - }), be(ve(r), "updateSuggestions", function(a, i, l, s, u, c, d) { - if (a === r._queryId) { - r.suggestions = Ut(Ut({}, r.suggestions), {}, be({}, i, { - queryInfo: { - childIndex: i, - query: l, - querySequenceStart: s, - querySequenceEnd: u, - plainTextValue: c - }, - results: d - })); - var p = r.state.focusIndex, h = Gr(r.suggestions); - r.setState({ - suggestions: r.suggestions, - focusIndex: p >= h ? Math.max(h - 1, 0) : p - }); - } - }), be(ve(r), "addMention", function(a, i) { - var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, p = i.plainTextValue, h = r.props.value || "", m = On(r.props.children), b = ko.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, S = y.onAdd, w = mt(h, m, c, "START"), E = w + d - c, M = P7(g, l, s); - C && (M += " "); - var _ = or(h, w, E, M); - r.inputElement.focus(); - var L = x(l, s); - C && (L += " "); - var R = c + L.length; - r.setState({ - selectionStart: R, - selectionEnd: R, - setSelectionAfterMentionChange: !0 - }); - var j = { - target: { - value: _ - } - }, P = Jo(_, m), V = or(p, c, d, L); - r.executeOnChange(j, _, V, P), S && S(l, s, w, E), r.clearSuggestions(); - }), be(ve(r), "isLoading", function() { - var a = !1; - return $.Children.forEach(r.props.children, function(i) { - a = a || i && i.props.isLoading; - }), a; - }), be(ve(r), "isOpened", function() { - return ms(r.state.selectionStart) && (Gr(r.state.suggestions) !== 0 || r.isLoading()); - }), be(ve(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(ve(r)), r.handleCut = r.handleCut.bind(ve(r)), r.handlePaste = r.handlePaste.bind(ve(r)), r.state = { - focusIndex: 0, - selectionStart: null, - selectionEnd: null, - suggestions: {}, - caretPosition: null, - suggestionsPosition: {}, - setSelectionAfterHandlePaste: !1 - }, r; - } - return Q8(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__ */ $.createElement("div", It({ - ref: this.setContainerElement - }, this.props.style), this.renderControl(), this.renderSuggestionsOverlay()); - } - }, { - key: "handlePaste", - value: function(r) { - if (r.target === this.inputElement && this.supportsClipboardActions(r)) { - r.preventDefault(); - var a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.value, c = s.children, d = On(c), p = mt(u, d, i, "START"), h = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = or(u, p, h, m || b).replace(/\r/g, ""), g = Vn(y, d), x = { - target: Ut(Ut({}, r.target), {}, { - value: y - }) - }; - this.executeOnChange(x, y, g, Jo(y, d)); - var C = Z2(u, d, i), S = (C || i) + Vn(m || b, d).length; - this.setState({ - selectionStart: S, - selectionEnd: S, - 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 = On(s), d = mt(u, c, a, "START"), p = mt(u, c, i, "END"); - r.clipboardData.setData("text/plain", r.target.value.slice(a, i)), r.clipboardData.setData("text/react-mentions", u.slice(d, p)); - } - }, { - 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 = On(u), p = mt(c, d, i, "START"), h = mt(c, d, l, "END"), m = [c.slice(0, p), c.slice(h)].join(""), b = Vn(m, d), y = { - target: Ut(Ut({}, r.target), {}, { - value: b - }) - }; - this.executeOnChange(y, m, b, Jo(c, d)); - } + }), + be(ve(r), "updateHighlighterScroll", function () { + var i = r.inputElement, + a = r.highlighterElement; + !i || + !a || + ((a.scrollLeft = i.scrollLeft), + (a.scrollTop = i.scrollTop), + (a.height = i.height)); + }), + be(ve(r), "handleCompositionStart", function () { + Wr = !0; + }), + be(ve(r), "handleCompositionEnd", function () { + Wr = !1; + }), + be(ve(r), "setSelection", function (i, a) { + if (!(i === null || a === null)) { + var l = r.inputElement; + if (l.setSelectionRange) l.setSelectionRange(i, a); + else if (l.createTextRange) { + var s = l.createTextRange(); + s.collapse(!0), + s.moveEnd("character", a), + s.moveStart("character", i), + s.select(); + } + } + }), + be(ve(r), "updateMentionsQueries", function (i, a) { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + }); + var l = r.props.value || "", + s = r.props.children, + u = Mn(s), + c = mt(l, u, a, "NULL"); + if (c !== null) { + var d = T7(l.substring(0, c), u), + h = i.substring(d, a); + $.Children.forEach(s, function (f, m) { + if (f) { + var b = K7(f.props.trigger, r.props), + y = h.match(b); + if (y) { + var g = d + h.indexOf(y[1], y.index); + r.queryData(y[2], m, g, g + y[1].length, i); + } + } + }); + } + }), + be(ve(r), "clearSuggestions", function () { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + focusIndex: 0, + }); + }), + be(ve(r), "queryData", function (i, a, l, s, u) { + var c = r.props, + d = c.children, + h = c.ignoreAccents, + f = xo.toArray(d)[a], + m = X7(f.props.data, h), + b = m(i, r.updateSuggestions.bind(null, r._queryId, a, i, l, s, u)); + b instanceof Array && + r.updateSuggestions(r._queryId, a, i, l, s, u, b); + }), + be(ve(r), "updateSuggestions", function (i, a, l, s, u, c, d) { + if (i === r._queryId) { + r.suggestions = Zt( + Zt({}, r.suggestions), + {}, + be({}, a, { + queryInfo: { + childIndex: a, + query: l, + querySequenceStart: s, + querySequenceEnd: u, + plainTextValue: c, + }, + results: d, + }), + ); + var h = r.state.focusIndex, + f = $r(r.suggestions); + r.setState({ + suggestions: r.suggestions, + focusIndex: h >= f ? Math.max(f - 1, 0) : h, + }); + } + }), + be(ve(r), "addMention", function (i, a) { + var l = i.id, + s = i.display, + u = a.childIndex, + c = a.querySequenceStart, + d = a.querySequenceEnd, + h = a.plainTextValue, + f = r.props.value || "", + m = Mn(r.props.children), + b = xo.toArray(r.props.children)[u], + y = b.props, + g = y.markup, + x = y.displayTransform, + C = y.appendSpaceOnAdd, + E = y.onAdd, + w = mt(f, m, c, "START"), + S = w + d - c, + _ = D7(g, l, s); + C && (_ += " "); + var A = er(f, w, S, _); + r.inputElement.focus(); + var R = x(l, s); + C && (R += " "); + var L = c + R.length; + r.setState({ + selectionStart: L, + selectionEnd: L, + setSelectionAfterMentionChange: !0, + }); + var j = { + target: { + value: A, + }, + }, + P = Go(A, m), + V = er(h, c, d, R); + r.executeOnChange(j, A, V, P), + E && E(l, s, w, S), + r.clearSuggestions(); + }), + be(ve(r), "isLoading", function () { + var i = !1; + return ( + $.Children.forEach(r.props.children, function (a) { + i = i || (a && a.props.isLoading); + }), + i + ); + }), + be(ve(r), "isOpened", function () { + return ( + ds(r.state.selectionStart) && + ($r(r.state.suggestions) !== 0 || r.isLoading()) + ); + }), + be(ve(r), "_queryId", 0), + (r.suggestions = {}), + (r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2)), + (r.handleCopy = r.handleCopy.bind(ve(r))), + (r.handleCut = r.handleCut.bind(ve(r))), + (r.handlePaste = r.handlePaste.bind(ve(r))), + (r.state = { + focusIndex: 0, + selectionStart: null, + selectionEnd: null, + suggestions: {}, + caretPosition: null, + suggestionsPosition: {}, + setSelectionAfterHandlePaste: !1, + }), + r + ); } - // Handle input element's change event - }]), n; -}($.Component); -be(yc, "propTypes", Wd); -be(yc, "defaultProps", { + return ( + W8(n, [ + { + key: "componentDidMount", + value: function () { + document.addEventListener("copy", this.handleCopy), + document.addEventListener("cut", this.handleCut), + document.addEventListener("paste", this.handlePaste), + this.updateSuggestionsPosition(); + }, + }, + { + key: "componentDidUpdate", + value: function (r, i) { + i.suggestionsPosition === this.state.suggestionsPosition && + this.updateSuggestionsPosition(), + this.state.setSelectionAfterMentionChange && + (this.setState({ + setSelectionAfterMentionChange: !1, + }), + this.setSelection( + this.state.selectionStart, + this.state.selectionEnd, + )), + this.state.setSelectionAfterHandlePaste && + (this.setState({ + setSelectionAfterHandlePaste: !1, + }), + this.setSelection( + this.state.selectionStart, + this.state.selectionEnd, + )); + }, + }, + { + key: "componentWillUnmount", + value: function () { + document.removeEventListener("copy", this.handleCopy), + document.removeEventListener("cut", this.handleCut), + document.removeEventListener("paste", this.handlePaste); + }, + }, + { + key: "render", + value: function () { + return /* @__PURE__ */ $.createElement( + "div", + It( + { + ref: this.setContainerElement, + }, + this.props.style, + ), + this.renderControl(), + this.renderSuggestionsOverlay(), + ); + }, + }, + { + key: "handlePaste", + value: function (r) { + if ( + r.target === this.inputElement && + this.supportsClipboardActions(r) + ) { + r.preventDefault(); + var i = this.state, + a = i.selectionStart, + l = i.selectionEnd, + s = this.props, + u = s.value, + c = s.children, + d = Mn(c), + h = mt(u, d, a, "START"), + f = mt(u, d, l, "END"), + m = r.clipboardData.getData("text/react-mentions"), + b = r.clipboardData.getData("text/plain"), + y = er(u, h, f, m || b).replace(/\r/g, ""), + g = Pn(y, d), + x = { + target: Zt( + Zt({}, r.target), + {}, + { + value: y, + }, + ), + }; + this.executeOnChange(x, y, g, Go(y, d)); + var C = H2(u, d, a), + E = (C || a) + Pn(m || b, d).length; + this.setState({ + selectionStart: E, + selectionEnd: E, + setSelectionAfterHandlePaste: !0, + }); + } + }, + }, + { + key: "saveSelectionToClipboard", + value: function (r) { + var i = this.inputElement.selectionStart, + a = this.inputElement.selectionEnd, + l = this.props, + s = l.children, + u = l.value, + c = Mn(s), + d = mt(u, c, i, "START"), + h = mt(u, c, a, "END"); + r.clipboardData.setData("text/plain", r.target.value.slice(i, a)), + r.clipboardData.setData("text/react-mentions", u.slice(d, h)); + }, + }, + { + key: "supportsClipboardActions", + value: function (r) { + return !!r.clipboardData; + }, + }, + { + key: "handleCopy", + value: function (r) { + r.target === this.inputElement && + this.supportsClipboardActions(r) && + (r.preventDefault(), this.saveSelectionToClipboard(r)); + }, + }, + { + key: "handleCut", + value: function (r) { + if ( + r.target === this.inputElement && + this.supportsClipboardActions(r) + ) { + r.preventDefault(), this.saveSelectionToClipboard(r); + var i = this.state, + a = i.selectionStart, + l = i.selectionEnd, + s = this.props, + u = s.children, + c = s.value, + d = Mn(u), + h = mt(c, d, a, "START"), + f = mt(c, d, l, "END"), + m = [c.slice(0, h), c.slice(f)].join(""), + b = Pn(m, d), + y = { + target: Zt( + Zt({}, r.target), + {}, + { + value: b, + }, + ), + }; + this.executeOnChange(y, m, b, Go(c, d)); + } + }, + // Handle input element's change event + }, + ]), + n + ); + })($.Component); +be(dc, "propTypes", Ld); +be(dc, "defaultProps", { ignoreAccents: !1, singleLine: !1, allowSuggestionsAboveCursor: !1, - onKeyDown: function() { + onKeyDown: function () { return null; }, - onSelect: function() { + onSelect: function () { return null; }, - onBlur: function() { + onBlur: function () { return null; - } + }, }); -var Al = function(t, n) { - var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); - return isFinite(o) ? o : 0; -}, i9 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), l9 = ni({ - 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: Ut({ - height: "100%", - bottom: 0, - overflow: "hidden", - resize: "none" - }, i9 ? { - marginTop: 1, - marginLeft: -3 - } : null) - } -}, function(e) { - var t = e.singleLine; - return { - "&singleLine": t, - "&multiLine": !t +var El = function (t, n) { + var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); + return isFinite(o) ? o : 0; + }, + Q7 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), + J7 = Qi( + { + position: "relative", + overflowY: "visible", + input: { + display: "block", + width: "100%", + position: "absolute", + margin: 0, + top: 0, + left: 0, + boxSizing: "border-box", + backgroundColor: "transparent", + fontFamily: "inherit", + fontSize: "inherit", + letterSpacing: "inherit", + }, + "&multiLine": { + input: Zt( + { + height: "100%", + bottom: 0, + overflow: "hidden", + resize: "none", + }, + Q7 + ? { + marginTop: 1, + marginLeft: -3, + } + : null, + ), + }, + }, + function (e) { + var t = e.singleLine; + return { + "&singleLine": t, + "&multiLine": !t, + }; + }, + ), + e9 = J7(dc), + t9 = { + fontWeight: "inherit", + }, + fc = function (t) { + var n = t.display, + o = t.style, + r = t.className, + i = t.classNames, + a = cc(t9, { + style: o, + className: r, + classNames: i, + }); + return /* @__PURE__ */ $.createElement("strong", a, n); }; -}), s9 = l9(yc), c9 = { - fontWeight: "inherit" -}, Cc = function(t) { - var n = t.display, o = t.style, r = t.className, a = t.classNames, i = mc(c9, { - style: o, - className: r, - classNames: a - }); - return /* @__PURE__ */ $.createElement("strong", i, n); -}; -Cc.propTypes = { +fc.propTypes = { /** * Called when a new mention is added in the input * @@ -15320,1055 +19109,1395 @@ Cc.propTypes = { * If set to `true` spaces will not interrupt matching suggestions */ allowSpaceInQuery: q.bool, - isLoading: q.bool + isLoading: q.bool, }; -Cc.defaultProps = { +fc.defaultProps = { trigger: "@", markup: "@[__display__](__id__)", - displayTransform: function(t, n) { + displayTransform: function (t, n) { return n || t; }, - onAdd: function() { + onAdd: function () { return null; }, - onRemove: function() { + onRemove: function () { return null; }, renderSuggestion: null, isLoading: !1, - appendSpaceOnAdd: !1 + appendSpaceOnAdd: !1, }; -const u9 = { - "&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", +const n9 = { + "&multiLine": { + minHeight: "40px", + }, + input: { + border: "none", + outline: "none", fontWeight: "500", - "&focused": { - backgroundColor: "var(--background--04)" - } - } - } -}, d9 = ({ - 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( - s9, - { + fontSize: "15px", + color: "rgba(0, 5, 15, 0.85)", + }, + suggestions: { + backgroundColor: "var(--background--01)", + border: "1px solid rgba(0,0,0,0.1)", + borderRadius: "8px", + padding: "5px", + boxShadow: "0px 0px 10px rgba(0,0,0,0.1)", + minWidth: "150px", + maxHeight: "200px", + overflowY: "auto", + item: { + fontSize: "15px", + padding: "4px 11px 4px 11px", + borderRadius: "4px", + fontWeight: "500", + "&focused": { + backgroundColor: "var(--background--04)", + }, + }, + }, + }, + o9 = ({ + value: e, + setValue: t, + users: n, + placeholder: o = "Type your reply here...", + onEnterKeypress: r, + }) => { + const i = n.map((u) => ({ + ...u, + display: u.display_name, + })), + a = (u) => { + u.stopPropagation(), + u.key === "Enter" && + !u.shiftKey && + (u.preventDefault(), r == null || r()); + }, + l = (u, c) => { + console.info("[MentionsInputComponent] on mention select", { + id: u, + display: c, + }); + }, + s = (u) => { + t(u.target.value); + }; + return /* @__PURE__ */ p.jsx(e9, { autoFocus: !0, value: e, onChange: s, style: { - ...u9, + ...n9, minHeight: "40px", - marginBottom: "10px" + marginBottom: "10px", }, placeholder: o, className: "mentions-input", - onKeyDown: i, - children: /* @__PURE__ */ f.jsx( - Cc, - { - 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 - } - ) - } - ); -}, Zd = ({ - comment: e, - setComment: t, - loading: n, - users: o, - currentUser: r, - placeholder: a, - onEnterKeypress: i -}) => /* @__PURE__ */ f.jsxs("div", { className: xn.conversationInputForm, children: [ - r ? /* @__PURE__ */ f.jsx(Md, { user: r }) : null, - /* @__PURE__ */ f.jsx( - d9, - { - value: e, - setValue: t, - users: o, - placeholder: a, - onEnterKeypress: i - } - ), - /* @__PURE__ */ f.jsx(In, { loading: n, color: "primary", children: /* @__PURE__ */ f.jsx(x8, {}) }) -] }), Ud = ({ - 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: xn.highlightText, children: /* @__PURE__ */ f.jsx( - Tr, - { - code: e, - language: n ? "markdown" : "sql", - showLineNumbers: !n, - fileName: r, - theme: "light" - } - ) }); -}, f9 = () => { - const e = ze( - (c) => c.users - ), t = ze( - (c) => c.newConversation - ), n = ze( - (c) => c.currentUserId ? c.users[c.currentUserId] : null - ), o = ze( - (c) => c.shareId - ), r = Pt(), [a, i] = ce(!1), [l, s] = ce(""), 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 k8( - 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; + onKeyDown: a, + children: /* @__PURE__ */ p.jsx(fc, { + displayTransform: (u, c) => `@${c}`, + trigger: "@", + markup: "@[__id__](__display__)", + data: i, + appendSpaceOnAdd: !0, + renderSuggestion: (u, c) => + /* @__PURE__ */ p.jsx("div", { + className: `user ${c ? "focused" : ""}`, + children: u.display, + }), + onAdd: l, + }), + }); + }, + Fd = ({ + comment: e, + setComment: t, + loading: n, + users: o, + currentUser: r, + placeholder: i, + onEnterKeypress: a, + }) => + /* @__PURE__ */ p.jsxs("div", { + className: Cn.conversationInputForm, + children: [ + r ? /* @__PURE__ */ p.jsx(bd, { user: r }) : null, + /* @__PURE__ */ p.jsx(o9, { + value: e, + setValue: t, + users: o, + placeholder: i, + onEnterKeypress: a, + }), + /* @__PURE__ */ p.jsx(Wi, { + loading: n, + color: "primary", + children: /* @__PURE__ */ p.jsx(f8, {}), + }), + ], + }), + Rd = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { + if (!e) return null; + const r = o ? `${t} (${o})` : t; + return /* @__PURE__ */ p.jsx("div", { + className: Cn.highlightText, + children: /* @__PURE__ */ p.jsx(Sr, { + code: e, + language: n ? "markdown" : "sql", + showLineNumbers: !n, + fileName: r, + theme: "light", + }), + }); + }, + r9 = () => { + const e = je((c) => c.users), + t = je((c) => c.newConversation), + n = je((c) => (c.currentUserId ? c.users[c.currentUserId] : null)), + o = je((c) => c.shareId), + r = Ht(), + [i, a] = ue(!1), + [l, s] = ue(""), + u = async (c) => { + if ( + (c == null || c.stopPropagation(), + c == null || c.preventDefault(), + !(!t || !o)) + ) { + a(!0); + try { + console.log("saving conversation", t, l); + const d = await b8( + o, + { + ...t, + message: l, + }, + "dbt-docs", + // this component is used only from dbt docs page + ); + if (!d.conversation_group_id) { + console.error("Unable to create conversation group", d); + return; + } + console.log("Successfully created conversation group", d); + } catch (d) { + console.error("error while saving conversation", t, d); + } + r(cd()), a(!1), r(ic(!0)), r(ac()), s(""); } - console.log( - "Successfully created conversation group", - d - ); - } catch (d) { - console.error("error while saving conversation", t, d); - } - r(vd()), i(!1), r(dc(!0)), r(fc()), s(""); - } + }; + return /* @__PURE__ */ p.jsx(sn, { + className: Cn.newConversationForm, + children: /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ p.jsx("h4", { children: "Add comment" }), + /* @__PURE__ */ p.jsx(Rd, { + meta: (t == null ? void 0 : t.meta) || {}, + }), + /* @__PURE__ */ p.jsx(Fd, { + comment: l, + setComment: s, + loading: i, + users: Object.values(e), + currentUser: n, + placeholder: "Start a conversation or add others with @", + onEnterKeypress: u, + }), + ], + }), + }), + }); }; - return /* @__PURE__ */ f.jsx(zt, { className: xn.newConversationForm, children: /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ f.jsx("h4", { children: "Add comment" }), - /* @__PURE__ */ f.jsx( - Ud, - { - meta: (t == null ? void 0 : t.meta) || {} - } - ), - /* @__PURE__ */ f.jsx( - Zd, - { - comment: l, - setComment: s, - loading: a, - users: Object.values(e), - currentUser: n, - placeholder: "Start a conversation or add others with @", - onEnterKeypress: u - } - ) - ] }) }) }); -}; -var qd = { exports: {} }; -(function(e, t) { - (function(n, o) { +var jd = { exports: {} }; +(function (e, t) { + (function (n, o) { e.exports = o(); - })(Xn, function() { - var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", p = "quarter", h = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { - var N = ["th", "st", "nd", "rd"], T = k % 100; - return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; - } }, C = function(k, N, T) { - var D = String(k); - return !D || D.length >= N ? k : "" + Array(N + 1 - D.length).join(T) + k; - }, S = { s: C, z: function(k) { - var N = -k.utcOffset(), T = Math.abs(N), D = Math.floor(T / 60), I = T % 60; - return (N <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(I, 2, "0"); - }, m: function k(N, T) { - if (N.date() < T.date()) return -k(T, N); - var D = 12 * (T.year() - N.year()) + (T.month() - N.month()), I = N.clone().add(D, d), F = T - I < 0, v = N.clone().add(D + (F ? -1 : 1), d); - return +(-(D + (T - I) / (F ? I - v : v - I)) || 0); - }, a: function(k) { - return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); - }, p: function(k) { - return { M: d, y: h, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: p }[k] || String(k || "").toLowerCase().replace(/s$/, ""); - }, u: function(k) { - return k === void 0; - } }, w = "en", E = {}; - E[w] = x; - var M = "$isDayjsObject", _ = function(k) { - return k instanceof P || !(!k || !k[M]); - }, L = function k(N, T, D) { - var I; - if (!N) return w; - if (typeof N == "string") { - var F = N.toLowerCase(); - E[F] && (I = F), T && (E[F] = T, I = F); - var v = N.split("-"); - if (!I && v.length > 1) return k(v[0]); - } else { - var z = N.name; - E[z] = N, I = z; - } - return !D && I && (w = I), I || !D && w; - }, R = function(k, N) { - if (_(k)) return k.clone(); - var T = typeof N == "object" ? N : {}; - return T.date = k, T.args = arguments, new P(T); - }, j = S; - j.l = L, j.i = _, j.w = function(k, N) { - return R(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); - }; - var P = function() { - function k(T) { - this.$L = L(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[M] = !0; - } - var N = k.prototype; - return N.parse = function(T) { - this.$d = function(D) { - var I = D.date, F = D.utc; - if (I === null) return /* @__PURE__ */ new Date(NaN); - if (j.u(I)) return /* @__PURE__ */ new Date(); - if (I instanceof Date) return new Date(I); - if (typeof I == "string" && !/Z$/i.test(I)) { - var v = I.match(y); - if (v) { - var z = v[2] - 1 || 0, B = (v[7] || "0").substring(0, 3); - return F ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); - } - } - return new Date(I); - }(T), this.init(); - }, N.init = function() { - var T = this.$d; - this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds(); - }, N.$utils = function() { - return j; - }, N.isValid = function() { - return this.$d.toString() !== b; - }, N.isSame = function(T, D) { - var I = R(T); - return this.startOf(D) <= I && I <= this.endOf(D); - }, N.isAfter = function(T, D) { - return R(T) < this.startOf(D); - }, N.isBefore = function(T, D) { - return this.endOf(D) < R(T); - }, N.$g = function(T, D, I) { - return j.u(T) ? this[D] : this.set(I, T); - }, N.unix = function() { - return Math.floor(this.valueOf() / 1e3); - }, N.valueOf = function() { - return this.$d.getTime(); - }, N.startOf = function(T, D) { - var I = this, F = !!j.u(D) || D, v = j.p(T), z = function(oe, U) { - var ge = j.w(I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I); - return F ? ge : ge.endOf(u); - }, B = function(oe, U) { - return j.w(I.toDate()[oe].apply(I.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); - }, A = this.$W, W = this.$M, Y = this.$D, K = "set" + (this.$u ? "UTC" : ""); - switch (v) { - case h: - return F ? z(1, 0) : z(31, 11); - case d: - return F ? z(1, W) : z(0, W + 1); - case c: - var Q = this.$locale().weekStart || 0, ne = (A < Q ? A + 7 : A) - Q; - return z(F ? Y - ne : Y + (6 - ne), W); - case u: - case m: - return B(K + "Hours", 0); - case s: - return B(K + "Minutes", 1); - case l: - return B(K + "Seconds", 2); - case i: - return B(K + "Milliseconds", 3); - default: - return this.clone(); + })(Yn, function () { + var n = 1e3, + o = 6e4, + r = 36e5, + i = "millisecond", + a = "second", + l = "minute", + s = "hour", + u = "day", + c = "week", + d = "month", + h = "quarter", + f = "year", + m = "date", + b = "Invalid Date", + y = + /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, + g = + /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, + x = { + name: "en", + weekdays: + "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), + months: + "January_February_March_April_May_June_July_August_September_October_November_December".split( + "_", + ), + ordinal: function (k) { + var N = ["th", "st", "nd", "rd"], + T = k % 100; + return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; + }, + }, + C = function (k, N, T) { + var F = String(k); + return !F || F.length >= N + ? k + : "" + Array(N + 1 - F.length).join(T) + k; + }, + E = { + s: C, + z: function (k) { + var N = -k.utcOffset(), + T = Math.abs(N), + F = Math.floor(T / 60), + I = T % 60; + return (N <= 0 ? "+" : "-") + C(F, 2, "0") + ":" + C(I, 2, "0"); + }, + m: function k(N, T) { + if (N.date() < T.date()) return -k(T, N); + var F = 12 * (T.year() - N.year()) + (T.month() - N.month()), + I = N.clone().add(F, d), + D = T - I < 0, + v = N.clone().add(F + (D ? -1 : 1), d); + return +(-(F + (T - I) / (D ? I - v : v - I)) || 0); + }, + a: function (k) { + return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); + }, + p: function (k) { + return ( + { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: a, ms: i, Q: h }[ + k + ] || + String(k || "") + .toLowerCase() + .replace(/s$/, "") + ); + }, + u: function (k) { + return k === void 0; + }, + }, + w = "en", + S = {}; + S[w] = x; + var _ = "$isDayjsObject", + A = function (k) { + return k instanceof P || !(!k || !k[_]); + }, + R = function k(N, T, F) { + var I; + if (!N) return w; + if (typeof N == "string") { + var D = N.toLowerCase(); + S[D] && (I = D), T && ((S[D] = T), (I = D)); + var v = N.split("-"); + if (!I && v.length > 1) return k(v[0]); + } else { + var z = N.name; + (S[z] = N), (I = z); } - }, N.endOf = function(T) { - return this.startOf(T, !1); - }, N.$set = function(T, D) { - var I, F = j.p(T), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[h] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[i] = v + "Seconds", I[a] = v + "Milliseconds", I)[F], B = F === u ? this.$D + (D - this.$W) : D; - if (F === d || F === h) { - var A = this.clone().set(m, 1); - A.$d[z](B), A.init(), this.$d = A.set(m, Math.min(this.$D, A.daysInMonth())).$d; - } else z && this.$d[z](B); - return this.init(), this; - }, N.set = function(T, D) { - return this.clone().$set(T, D); - }, N.get = function(T) { - return this[j.p(T)](); - }, N.add = function(T, D) { - var I, F = this; - T = Number(T); - var v = j.p(D), z = function(W) { - var Y = R(F); - return j.w(Y.date(Y.date() + Math.round(W * T)), F); - }; - if (v === d) return this.set(d, this.$M + T); - if (v === h) return this.set(h, this.$y + T); - if (v === u) return z(1); - if (v === c) return z(7); - var B = (I = {}, I[l] = o, I[s] = r, I[i] = n, I)[v] || 1, A = this.$d.getTime() + T * B; - return j.w(A, this); - }, N.subtract = function(T, D) { - return this.add(-1 * T, D); - }, N.format = function(T) { - var D = this, I = this.$locale(); - if (!this.isValid()) return I.invalidDate || b; - var F = T || "YYYY-MM-DDTHH:mm:ssZ", v = j.z(this), z = this.$H, B = this.$m, A = this.$M, W = I.weekdays, Y = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { - return U && (U[ge] || U(D, F)) || J[ge].slice(0, ke); - }, ne = function(U) { - return j.s(z % 12 || 12, U, "0"); - }, oe = K || function(U, ge, J) { - var ke = U < 12 ? "AM" : "PM"; - return J ? ke.toLowerCase() : ke; - }; - return F.replace(g, function(U, ge) { - return ge || function(J) { - switch (J) { - case "YY": - return String(D.$y).slice(-2); - case "YYYY": - return j.s(D.$y, 4, "0"); - case "M": - return A + 1; - case "MM": - return j.s(A + 1, 2, "0"); - case "MMM": - return Q(I.monthsShort, A, Y, 3); - case "MMMM": - return Q(Y, A); - case "D": - return D.$D; - case "DD": - return j.s(D.$D, 2, "0"); - case "d": - return String(D.$W); - case "dd": - return Q(I.weekdaysMin, D.$W, W, 2); - case "ddd": - return Q(I.weekdaysShort, D.$W, W, 3); - case "dddd": - return W[D.$W]; - case "H": - return String(z); - case "HH": - return j.s(z, 2, "0"); - case "h": - return ne(1); - case "hh": - return ne(2); - case "a": - return oe(z, B, !0); - case "A": - return oe(z, B, !1); - case "m": - return String(B); - case "mm": - return j.s(B, 2, "0"); - case "s": - return String(D.$s); - case "ss": - return j.s(D.$s, 2, "0"); - case "SSS": - return j.s(D.$ms, 3, "0"); - case "Z": - return v; + return !F && I && (w = I), I || (!F && w); + }, + L = function (k, N) { + if (A(k)) return k.clone(); + var T = typeof N == "object" ? N : {}; + return (T.date = k), (T.args = arguments), new P(T); + }, + j = E; + (j.l = R), + (j.i = A), + (j.w = function (k, N) { + return L(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); + }); + var P = (function () { + function k(T) { + (this.$L = R(T.locale, null, !0)), + this.parse(T), + (this.$x = this.$x || T.x || {}), + (this[_] = !0); + } + var N = k.prototype; + return ( + (N.parse = function (T) { + (this.$d = (function (F) { + var I = F.date, + D = F.utc; + if (I === null) return /* @__PURE__ */ new Date(NaN); + if (j.u(I)) return /* @__PURE__ */ new Date(); + if (I instanceof Date) return new Date(I); + if (typeof I == "string" && !/Z$/i.test(I)) { + var v = I.match(y); + if (v) { + var z = v[2] - 1 || 0, + B = (v[7] || "0").substring(0, 3); + return D + ? new Date( + Date.UTC( + v[1], + z, + v[3] || 1, + v[4] || 0, + v[5] || 0, + v[6] || 0, + B, + ), + ) + : new Date( + v[1], + z, + v[3] || 1, + v[4] || 0, + v[5] || 0, + v[6] || 0, + B, + ); + } + } + return new Date(I); + })(T)), + this.init(); + }), + (N.init = function () { + var T = this.$d; + (this.$y = T.getFullYear()), + (this.$M = T.getMonth()), + (this.$D = T.getDate()), + (this.$W = T.getDay()), + (this.$H = T.getHours()), + (this.$m = T.getMinutes()), + (this.$s = T.getSeconds()), + (this.$ms = T.getMilliseconds()); + }), + (N.$utils = function () { + return j; + }), + (N.isValid = function () { + return this.$d.toString() !== b; + }), + (N.isSame = function (T, F) { + var I = L(T); + return this.startOf(F) <= I && I <= this.endOf(F); + }), + (N.isAfter = function (T, F) { + return L(T) < this.startOf(F); + }), + (N.isBefore = function (T, F) { + return this.endOf(F) < L(T); + }), + (N.$g = function (T, F, I) { + return j.u(T) ? this[F] : this.set(I, T); + }), + (N.unix = function () { + return Math.floor(this.valueOf() / 1e3); + }), + (N.valueOf = function () { + return this.$d.getTime(); + }), + (N.startOf = function (T, F) { + var I = this, + D = !!j.u(F) || F, + v = j.p(T), + z = function (oe, U) { + var ge = j.w( + I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), + I, + ); + return D ? ge : ge.endOf(u); + }, + B = function (oe, U) { + return j.w( + I.toDate()[oe].apply( + I.toDate("s"), + (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U), + ), + I, + ); + }, + M = this.$W, + W = this.$M, + G = this.$D, + K = "set" + (this.$u ? "UTC" : ""); + switch (v) { + case f: + return D ? z(1, 0) : z(31, 11); + case d: + return D ? z(1, W) : z(0, W + 1); + case c: + var Q = this.$locale().weekStart || 0, + ne = (M < Q ? M + 7 : M) - Q; + return z(D ? G - ne : G + (6 - ne), W); + case u: + case m: + return B(K + "Hours", 0); + case s: + return B(K + "Minutes", 1); + case l: + return B(K + "Seconds", 2); + case a: + return B(K + "Milliseconds", 3); + default: + return this.clone(); } - return null; - }(U) || v.replace(":", ""); - }); - }, N.utcOffset = function() { - return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, N.diff = function(T, D, I) { - var F, v = this, z = j.p(D), B = R(T), A = (B.utcOffset() - this.utcOffset()) * o, W = this - B, Y = function() { - return j.m(v, B); + }), + (N.endOf = function (T) { + return this.startOf(T, !1); + }), + (N.$set = function (T, F) { + var I, + D = j.p(T), + v = "set" + (this.$u ? "UTC" : ""), + z = ((I = {}), + (I[u] = v + "Date"), + (I[m] = v + "Date"), + (I[d] = v + "Month"), + (I[f] = v + "FullYear"), + (I[s] = v + "Hours"), + (I[l] = v + "Minutes"), + (I[a] = v + "Seconds"), + (I[i] = v + "Milliseconds"), + I)[D], + B = D === u ? this.$D + (F - this.$W) : F; + if (D === d || D === f) { + var M = this.clone().set(m, 1); + M.$d[z](B), + M.init(), + (this.$d = M.set(m, Math.min(this.$D, M.daysInMonth())).$d); + } else z && this.$d[z](B); + return this.init(), this; + }), + (N.set = function (T, F) { + return this.clone().$set(T, F); + }), + (N.get = function (T) { + return this[j.p(T)](); + }), + (N.add = function (T, F) { + var I, + D = this; + T = Number(T); + var v = j.p(F), + z = function (W) { + var G = L(D); + return j.w(G.date(G.date() + Math.round(W * T)), D); + }; + if (v === d) return this.set(d, this.$M + T); + if (v === f) return this.set(f, this.$y + T); + if (v === u) return z(1); + if (v === c) return z(7); + var B = ((I = {}), (I[l] = o), (I[s] = r), (I[a] = n), I)[v] || 1, + M = this.$d.getTime() + T * B; + return j.w(M, this); + }), + (N.subtract = function (T, F) { + return this.add(-1 * T, F); + }), + (N.format = function (T) { + var F = this, + I = this.$locale(); + if (!this.isValid()) return I.invalidDate || b; + var D = T || "YYYY-MM-DDTHH:mm:ssZ", + v = j.z(this), + z = this.$H, + B = this.$m, + M = this.$M, + W = I.weekdays, + G = I.months, + K = I.meridiem, + Q = function (U, ge, J, ke) { + return (U && (U[ge] || U(F, D))) || J[ge].slice(0, ke); + }, + ne = function (U) { + return j.s(z % 12 || 12, U, "0"); + }, + oe = + K || + function (U, ge, J) { + var ke = U < 12 ? "AM" : "PM"; + return J ? ke.toLowerCase() : ke; + }; + return D.replace(g, function (U, ge) { + return ( + ge || + (function (J) { + switch (J) { + case "YY": + return String(F.$y).slice(-2); + case "YYYY": + return j.s(F.$y, 4, "0"); + case "M": + return M + 1; + case "MM": + return j.s(M + 1, 2, "0"); + case "MMM": + return Q(I.monthsShort, M, G, 3); + case "MMMM": + return Q(G, M); + case "D": + return F.$D; + case "DD": + return j.s(F.$D, 2, "0"); + case "d": + return String(F.$W); + case "dd": + return Q(I.weekdaysMin, F.$W, W, 2); + case "ddd": + return Q(I.weekdaysShort, F.$W, W, 3); + case "dddd": + return W[F.$W]; + case "H": + return String(z); + case "HH": + return j.s(z, 2, "0"); + case "h": + return ne(1); + case "hh": + return ne(2); + case "a": + return oe(z, B, !0); + case "A": + return oe(z, B, !1); + case "m": + return String(B); + case "mm": + return j.s(B, 2, "0"); + case "s": + return String(F.$s); + case "ss": + return j.s(F.$s, 2, "0"); + case "SSS": + return j.s(F.$ms, 3, "0"); + case "Z": + return v; + } + return null; + })(U) || + v.replace(":", "") + ); + }); + }), + (N.utcOffset = function () { + return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); + }), + (N.diff = function (T, F, I) { + var D, + v = this, + z = j.p(F), + B = L(T), + M = (B.utcOffset() - this.utcOffset()) * o, + W = this - B, + G = function () { + return j.m(v, B); + }; + switch (z) { + case f: + D = G() / 12; + break; + case d: + D = G(); + break; + case h: + D = G() / 3; + break; + case c: + D = (W - M) / 6048e5; + break; + case u: + D = (W - M) / 864e5; + break; + case s: + D = W / r; + break; + case l: + D = W / o; + break; + case a: + D = W / n; + break; + default: + D = W; + } + return I ? D : j.a(D); + }), + (N.daysInMonth = function () { + return this.endOf(d).$D; + }), + (N.$locale = function () { + return S[this.$L]; + }), + (N.locale = function (T, F) { + if (!T) return this.$L; + var I = this.clone(), + D = R(T, F, !0); + return D && (I.$L = D), I; + }), + (N.clone = function () { + return j.w(this.$d, this); + }), + (N.toDate = function () { + return new Date(this.valueOf()); + }), + (N.toJSON = function () { + return this.isValid() ? this.toISOString() : null; + }), + (N.toISOString = function () { + return this.$d.toISOString(); + }), + (N.toString = function () { + return this.$d.toUTCString(); + }), + k + ); + })(), + V = P.prototype; + return ( + (L.prototype = V), + [ + ["$ms", i], + ["$s", a], + ["$m", l], + ["$H", s], + ["$W", u], + ["$M", d], + ["$y", f], + ["$D", m], + ].forEach(function (k) { + V[k[1]] = function (N) { + return this.$g(N, k[0], k[1]); }; - switch (z) { - case h: - F = Y() / 12; - break; - case d: - F = Y(); - break; - case p: - F = Y() / 3; - break; - case c: - F = (W - A) / 6048e5; - break; - case u: - F = (W - A) / 864e5; - break; - case s: - F = W / r; - break; - case l: - F = W / o; - break; - case i: - F = W / n; - break; - default: - F = W; + }), + (L.extend = function (k, N) { + return k.$i || (k(N, P, L), (k.$i = !0)), L; + }), + (L.locale = R), + (L.isDayjs = A), + (L.unix = function (k) { + return L(1e3 * k); + }), + (L.en = S[w]), + (L.Ls = S), + (L.p = {}), + L + ); + }); +})(jd); +var i9 = jd.exports; +const fs = /* @__PURE__ */ un(i9), + a9 = ({ conversationGroupId: e, shareId: t }) => { + const { onResolve: n, source: o } = sr(), + [r, i] = ue(!1), + a = async () => { + e && (i(!0), await x8(t, e, o), n(), i(!1)); + }; + return e + ? /* @__PURE__ */ p.jsx(Zn, { + disabled: r, + className: Cn.resolveButton, + title: "Resolve conversation", + onClick: a, + children: /* @__PURE__ */ p.jsx(s8, {}), + }) + : null; + }, + Id = ({ + user: e, + timestamp: t, + showResolveButton: n, + conversationGroupId: o, + shareId: r, + }) => + /* @__PURE__ */ p.jsxs(Er, { + className: "d-flex align-items-center justify-content-between mb-0", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-1", + children: [ + /* @__PURE__ */ p.jsx(bd, { user: e }), + /* @__PURE__ */ p.jsxs("h4", { + children: [ + e == null ? void 0 : e.first_name, + " ", + e == null ? void 0 : e.last_name, + ], + }), + /* @__PURE__ */ p.jsx("span", { + children: fs(t).format("HH:mm, DD MMM YY"), + }), + ], + }), + n + ? /* @__PURE__ */ p.jsx(a9, { + conversationGroupId: o, + shareId: r, + }) + : null, + ], + }), + l9 = ({ conversation: e, shareId: t }) => { + const { users: n } = sr(), + o = Be(() => { + if (e != null && e.user_id) return n[e.user_id]; + }, [e.user_id, n]); + return /* @__PURE__ */ p.jsxs(sn, { + children: [ + /* @__PURE__ */ p.jsx(Id, { + user: o, + timestamp: e.timestamp, + shareId: t, + }), + /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsx("p", { + children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + }), + ], + }); + }, + s9 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: i } = sr(), + a = Object.values(o), + [l, s] = ue(""), + [u, c] = ue(!1), + d = async (h) => { + if ( + (h == null || h.stopPropagation(), + h == null || h.preventDefault(), + !(!t || !e)) + ) { + c(!0), + console.log("saving reply", t, e, { + message: l, + }); + try { + await y8( + t, + e, + { + message: l, + }, + i, + ), + r(); + } catch (f) { + console.error("error while saving reply", f); + } + c(!1), s(""); } - return I ? F : j.a(F); - }, N.daysInMonth = function() { - return this.endOf(d).$D; - }, N.$locale = function() { - return E[this.$L]; - }, N.locale = function(T, D) { - if (!T) return this.$L; - var I = this.clone(), F = L(T, D, !0); - return F && (I.$L = F), I; - }, N.clone = function() { - return j.w(this.$d, this); - }, N.toDate = function() { - return new Date(this.valueOf()); - }, N.toJSON = function() { - return this.isValid() ? this.toISOString() : null; - }, N.toISOString = function() { - return this.$d.toISOString(); - }, N.toString = function() { - return this.$d.toUTCString(); - }, k; - }(), V = P.prototype; - return R.prototype = V, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", h], ["$D", m]].forEach(function(k) { - V[k[1]] = function(N) { - return this.$g(N, k[0], k[1]); }; - }), R.extend = function(k, N) { - return k.$i || (k(N, P, R), k.$i = !0), R; - }, R.locale = L, R.isDayjs = _, R.unix = function(k) { - return R(1e3 * k); - }, R.en = E[w], R.Ls = E, R.p = {}, R; - }); -})(qd); -var h9 = qd.exports; -const bs = /* @__PURE__ */ fn(h9), p9 = ({ - conversationGroupId: e, - shareId: t -}) => { - const { onResolve: n, source: o } = fr(), [r, a] = ce(!1), i = async () => { - e && (a(!0), await T8(t, e, o), n(), a(!1)); - }; - return e ? /* @__PURE__ */ f.jsx( - jn, - { - disabled: r, - className: xn.resolveButton, - title: "Resolve conversation", - onClick: i, - children: /* @__PURE__ */ f.jsx(b8, {}) - } - ) : null; -}, Yd = ({ - user: e, - timestamp: t, - showResolveButton: n, - conversationGroupId: o, - shareId: r -}) => /* @__PURE__ */ f.jsxs(Ro, { 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(Md, { 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: bs(t).format("HH:mm, DD MMM YY") }) - ] }), - n ? /* @__PURE__ */ f.jsx( - p9, - { - conversationGroupId: o, - shareId: r - } - ) : null -] }), g9 = ({ conversation: e, shareId: t }) => { - const { users: n } = fr(), o = Ve(() => { - if (e != null && e.user_id) - return n[e.user_id]; - }, [e.user_id, n]); - return /* @__PURE__ */ f.jsxs(zt, { children: [ - /* @__PURE__ */ f.jsx( - Yd, - { - user: o, - timestamp: e.timestamp, - shareId: t - } - ), - /* @__PURE__ */ f.jsx(dn, { children: /* @__PURE__ */ f.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) - ] }); -}, m9 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: a } = fr(), i = Object.values(o), [l, s] = ce(""), [u, c] = ce(!1), d = async (p) => { - if (p == null || p.stopPropagation(), p == null || p.preventDefault(), !(!t || !e)) { - c(!0), console.log("saving reply", t, e, { - message: l - }); - try { - await _8( - t, - e, - { - message: l - }, - a - ), r(); - } catch (h) { - console.error("error while saving reply", h); - } - c(!1), s(""); - } - }; - return /* @__PURE__ */ f.jsx("div", { className: xn.replyForm, children: /* @__PURE__ */ f.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ f.jsx( - Zd, - { - comment: l, - setComment: s, - loading: u, - users: Object.values(i), - currentUser: n || null, - onEnterKeypress: d - } - ) }) }); -}, b9 = ({ - conversationGroup: e, - shareId: t, - onSelect: n -}) => { - var p; - const { users: o } = fr(), r = Ve(() => { - if (e.owner) - return o[e.owner]; - }, [e.owner, o]), { isSelected: a } = fr(), [i, l] = ce(!1), s = Te( - (h) => { - !a || !h || (console.log( - "ConversationGroupComponent scrolling", - e.conversation_group_id - ), setTimeout(() => { - h.scrollIntoView({ - behavior: "smooth", - block: "center" + return /* @__PURE__ */ p.jsx("div", { + className: Cn.replyForm, + children: /* @__PURE__ */ p.jsx("form", { + onSubmit: d, + className: "", + children: /* @__PURE__ */ p.jsx(Fd, { + comment: l, + setComment: s, + loading: u, + users: Object.values(a), + currentUser: n || null, + onEnterKeypress: d, + }), + }), + }); + }, + c9 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { + var h; + const { users: o } = sr(), + r = Be(() => { + if (e.owner) return o[e.owner]; + }, [e.owner, o]), + { isSelected: i } = sr(), + [a, l] = ue(!1), + s = Me( + (f) => { + !i || + !f || + (console.log( + "ConversationGroupComponent scrolling", + e.conversation_group_id, + ), + setTimeout(() => { + f.scrollIntoView({ + behavior: "smooth", + block: "center", + }); + }, 1e3)); + }, + [e.conversation_group_id, i], + ); + if ( + !((h = e == null ? void 0 : e.conversations) != null && h.length) || + (e == null ? void 0 : e.status) !== "Pending" + ) + return null; + const [u, ...c] = e.conversations, + d = c.length + ? c.length > 1 + ? `${c.length} replies` + : `${c.length} reply` + : "Reply"; + return /* @__PURE__ */ p.jsx("div", { + ref: s, + className: Cn.conversationGroup, + children: /* @__PURE__ */ p.jsxs(sn, { + className: `${i ? "active" : ""}`, + onClick: n, + children: [ + /* @__PURE__ */ p.jsx(Id, { + user: r, + timestamp: u.timestamp, + showResolveButton: !0, + conversationGroupId: e.conversation_group_id, + shareId: t, + }), + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx(Rd, { meta: e.meta }), + /* @__PURE__ */ p.jsx("p", { + children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + /* @__PURE__ */ p.jsx(Pe, { + onClick: () => l((f) => !f), + color: "link", + children: d, + }), + c.length + ? /* @__PURE__ */ p.jsx(p.Fragment, { + children: a + ? /* @__PURE__ */ p.jsx(p.Fragment, { + children: c.map((f) => + /* @__PURE__ */ p.jsx( + l9, + { + conversation: f, + shareId: t, + }, + f.conversation_id, + ), + ), + }) + : null, + }) + : null, + a + ? /* @__PURE__ */ p.jsx(s9, { + conversationGroupId: e.conversation_group_id, + shareId: t, + }) + : null, + ], + }), + ], + }), + }); + }, + zd = zt({ + users: {}, + conversationGroup: void 0, + currentUser: void 0, + isSelected: !1, + shareId: void 0, + onSelect: () => null, + onResolve: () => null, + onReplyAdd: () => null, + source: Ks.DBT_DOCS, + }), + u9 = ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: i, + onResolve: a, + onReplyAdd: l, + source: s, + }) => { + const u = Be( + () => ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: i, + onResolve: a, + onReplyAdd: l, + source: s, + }), + [e, t, n, o, r, i, a, l, s], + ); + return !t || !n + ? null + : /* @__PURE__ */ p.jsx(zd.Provider, { + value: u, + children: /* @__PURE__ */ p.jsx(c9, { + conversationGroup: t, + shareId: n, + onSelect: o, + }), + }); + }, + sr = () => Je(zd), + d9 = () => { + const e = je((d) => d.source), + t = je((d) => d.conversations), + n = je((d) => d.selectedConversationId), + o = je((d) => d.shareId), + r = je((d) => d.users), + i = je((d) => d.currentUserId), + a = Ht(); + if (!i || !o) return null; + const l = r[i], + s = (d) => { + a(W6({ shareId: o, conversationGroupId: d })); + }, + u = (d) => { + a(rc(d)); + }, + c = (d) => { + console.log("onReplyAdd", d), a(cd()); + }; + return !t || !Object.keys(t).length + ? /* @__PURE__ */ p.jsx("div", { children: "No conversations yet!" }) + : /* @__PURE__ */ p.jsx("div", { + children: Object.values(t).map((d) => + /* @__PURE__ */ p.jsx( + u9, + { + conversationGroup: d, + shareId: o, + isSelected: n === d.conversation_group_id, + currentUser: l, + onResolve: () => s(d.conversation_group_id), + onSelect: () => u(d.conversation_group_id), + users: r, + onReplyAdd: () => c(d.conversation_group_id), + source: e, + }, + d.conversation_group_id, + ), + ), }); - }, 1e3)); - }, - [e.conversation_group_id, a] - ); - if (!((p = e == null ? void 0 : e.conversations) != null && p.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: xn.conversationGroup, children: /* @__PURE__ */ f.jsxs(zt, { className: `${a ? "active" : ""}`, onClick: n, children: [ - /* @__PURE__ */ f.jsx( - Yd, - { - user: r, - timestamp: u.timestamp, - showResolveButton: !0, - conversationGroupId: e.conversation_group_id, - shareId: t - } - ), - /* @__PURE__ */ f.jsxs(dn, { children: [ - /* @__PURE__ */ f.jsx(Ud, { meta: e.meta }), - /* @__PURE__ */ f.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ f.jsx(Re, { onClick: () => l((h) => !h), color: "link", children: d }), - c.length ? /* @__PURE__ */ f.jsx(f.Fragment, { children: i ? /* @__PURE__ */ f.jsx(f.Fragment, { children: c.map((h) => /* @__PURE__ */ f.jsx( - g9, - { - conversation: h, - shareId: t + }, + f9 = () => { + const e = je((a) => a.isRightPanelOpen), + t = je((a) => a.selectedConversationId), + n = je((a) => a.newConversation), + o = Ht(), + r = () => { + o(ic(!1)), o(rc(void 0)), o(ac()); + }; + return !!n || e || t + ? /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(L5, { + onClick: r, + className: Cn.conversationRightPanelCloseButton, + }), + /* @__PURE__ */ p.jsxs("div", { + className: Cn.conversationRightPanel, + children: [ + /* @__PURE__ */ p.jsx("h3", { children: "Comments" }), + n + ? /* @__PURE__ */ p.jsx(r9, {}) + : /* @__PURE__ */ p.jsx(d9, {}), + ], + }), + ], + }) + : null; + }, + p9 = 10, + h9 = () => { + const e = pe(), + t = je((a) => a.shareId), + n = je((a) => a.conversationsLoadingState), + o = Ht(), + r = je((a) => Object.keys(a.conversations || {})), + i = Me( + (a) => { + clearTimeout(e.current), + C8(a) + .then((l) => { + console.log("useConversations", l), + o($6(l == null ? void 0 : l.dbt_docs_share_conversations)), + (e.current = setTimeout(() => { + i(a); + }, p9 * 1e3)); + }) + .catch((l) => + console.error("error while fetching conversations list", l), + ) + .finally(() => { + o(v2(Rt.INITIALIZED)); + }); }, - h.conversation_id - )) }) : null }) : null, - i ? /* @__PURE__ */ f.jsx( - m9, - { - conversationGroupId: e.conversation_group_id, - shareId: t - } - ) : null - ] }) - ] }) }); -}, Gd = Ht({ - users: {}, - conversationGroup: void 0, - currentUser: void 0, - isSelected: !1, - shareId: void 0, - onSelect: () => null, - onResolve: () => null, - onReplyAdd: () => null, - source: nc.DBT_DOCS -}), y9 = ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: a, - onResolve: i, - onReplyAdd: l, - source: s -}) => { - const u = Ve( - () => ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: a, - onResolve: i, - onReplyAdd: l, - source: s - }), - [ + [o], + ); + return ( + ce(() => { + n !== Rt.UNINITIALIZED || !t || (o(v2(Rt.LOADING)), i(t)); + }, [o, n, r, t, i]), + { isLoading: n === Rt.LOADING } + ); + }, + g9 = () => { + const e = Ht(), + t = je((r) => Object.keys(r.users || {})), + [n, o] = ue(Rt.UNINITIALIZED); + return ( + ce(() => { + n !== Rt.UNINITIALIZED || + Object.keys(t).length || + (o(Rt.LOADING), + v8() + .then((r) => { + console.log("useConversationUsers", r), e(V6(r)); + }) + .catch((r) => console.error("error while fetching users list", r)) + .finally(() => { + o(Rt.INITIALIZED); + })); + }, [e, n, t]), + { isLoading: n === Rt.LOADING } + ); + }, + m9 = () => ( + g9(), + h9(), + /* @__PURE__ */ p.jsxs("div", { + children: [/* @__PURE__ */ p.jsx(f9, {}), /* @__PURE__ */ p.jsx(k8, {})], + }) + ), + Hd = ({ target: e, ...t }) => + jn( + /* @__PURE__ */ p.jsx(Zn, { + className: Cn.hotspotButton, + title: "Click to start conversation", + ...t, + children: /* @__PURE__ */ p.jsx(pd, {}), + }), e, - t, - n, - o, - r, - a, - i, - l, - s - ] - ); - return !t || !n ? null : /* @__PURE__ */ f.jsx(Gd.Provider, { value: u, children: /* @__PURE__ */ f.jsx( - b9, - { - conversationGroup: t, - shareId: n, - onSelect: o - } - ) }); -}, fr = () => tt(Gd), C9 = () => { - const e = ze( - (d) => d.source - ), t = ze( - (d) => d.conversations - ), n = ze( - (d) => d.selectedConversationId - ), o = ze( - (d) => d.shareId - ), r = ze( - (d) => d.users - ), a = ze( - (d) => d.currentUserId - ), i = Pt(); - if (!a || !o) - return null; - const l = r[a], s = (d) => { - i(J6({ shareId: o, conversationGroupId: d })); - }, u = (d) => { - i(uc(d)); - }, c = (d) => { - console.log("onReplyAdd", d), i(vd()); - }; - 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( - y9, - { - 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 - )) }); -}, v9 = () => { - const e = ze( - (i) => i.isRightPanelOpen - ), t = ze( - (i) => i.selectedConversationId - ), n = ze( - (i) => i.newConversation - ), o = Pt(), r = () => { - o(dc(!1)), o(uc(void 0)), o(fc()); - }; - return !!n || e || t ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - Z5, - { - onClick: r, - className: xn.conversationRightPanelCloseButton - } ), - /* @__PURE__ */ f.jsxs("div", { className: xn.conversationRightPanel, children: [ - /* @__PURE__ */ f.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ f.jsx(f9, {}) : /* @__PURE__ */ f.jsx(C9, {}) - ] }) - ] }) : null; -}, x9 = 10, w9 = () => { - const e = he(), t = ze( - (i) => i.shareId - ), n = ze( - (i) => i.conversationsLoadingState - ), o = Pt(), r = ze( - (i) => Object.keys(i.conversations || {}) - ), a = Te( - (i) => { - clearTimeout(e.current), A8(i).then((l) => { - console.log("useConversations", l), o(Q6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { - a(i); - }, x9 * 1e3); - }).catch( - (l) => console.error("error while fetching conversations list", l) - ).finally(() => { - o(_2(Ft.INITIALIZED)); - }); - }, - [o] - ); - return ue(() => { - n !== Ft.UNINITIALIZED || !t || (o(_2(Ft.LOADING)), a(t)); - }, [o, n, r, t, a]), { isLoading: n === Ft.LOADING }; -}, E9 = () => { - const e = Pt(), t = ze( - (r) => Object.keys(r.users || {}) - ), [n, o] = ce(Ft.UNINITIALIZED); - return ue(() => { - n !== Ft.UNINITIALIZED || Object.keys(t).length || (o(Ft.LOADING), M8().then((r) => { - console.log("useConversationUsers", r), e(X6(r)); - }).catch((r) => console.error("error while fetching users list", r)).finally(() => { - o(Ft.INITIALIZED); - })); - }, [e, n, t]), { isLoading: n === Ft.LOADING }; -}, S9 = () => (E9(), w9(), /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx(v9, {}), - /* @__PURE__ */ f.jsx(L8, {}) -] })), Kd = ({ target: e, ...t }) => zn( - /* @__PURE__ */ f.jsx( - jn, - { - className: xn.hotspotButton, - title: "Click to start conversation", - ...t, - children: /* @__PURE__ */ f.jsx(Sd, {}) - } - ), - e -), k9 = () => { - var s; - const e = Pt(), t = ze( - (u) => u.codeblockLoaded - ), n = ze( - (u) => u.manifest - ), [o, r] = ce(0), a = (s = rc()) == null ? void 0 : s.parentElement, i = () => { - var p; - if (!a || !n.nodes) - return; - const u = ac(); - if (!u || u.length < 3) { - console.error("Unable to find model parts", u); - return; - } - const d = { - highlight: ((p = n.nodes[u[2]]) == null ? void 0 : p.raw_code).split(` + b9 = () => { + var s; + const e = Ht(), + t = je((u) => u.codeblockLoaded), + n = je((u) => u.manifest), + [o, r] = ue(0), + i = (s = Qs()) == null ? void 0 : s.parentElement, + a = () => { + var h; + if (!i || !n.nodes) return; + const u = Js(); + if (!u || u.length < 3) { + console.error("Unable to find model parts", u); + return; + } + const d = { + highlight: ((h = n.nodes[u[2]]) == null ? void 0 : h.raw_code).split(` `)[o], - range: { - end: { line: o, character: 0 }, - start: { line: o, character: 0 } - } - }; - e(hc({ meta: d })); - }, l = Te( - (u) => { - if (!a) - return; - const c = u.y, d = a.querySelectorAll( - ".line-numbers-rows > span" - ), p = Array.from(d).findIndex((h) => { - const { height: m, y: b } = h.getBoundingClientRect(); - return c >= b && c <= b + m; - }); - r(p); - }, - [a] - ); - return ue(() => { - if (!(!t || !a)) - return a.addEventListener("mousemove", l), () => { - a.removeEventListener("mousemove", l); - }; - }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ f.jsx( - Kd, - { - target: a, - onClick: i, - style: { top: o * 21.2 } - } - ); -}, _9 = () => { - const e = Pt(), t = ze( - (r) => r.codeblockLoaded - ), n = ic(), o = () => { - const r = { - field: "description", - highlight: n == null ? void 0 : n.innerText - }; - e(hc({ meta: r })); - }; - return !t || !n ? null : /* @__PURE__ */ f.jsx(Kd, { target: n, onClick: o }); -}, A9 = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx(_9, {}), - /* @__PURE__ */ f.jsx(k9, {}) -] }), M9 = a4(() => import("./DbtDocsRenderer.js")), T9 = () => { - const { loading: e, shareDetails: t } = O8(), n = Pt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = N8(), i = (l) => { - l.stopPropagation(); - const s = o(); - s && n(hc(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(A9, {}), - /* @__PURE__ */ f.jsx(E8, {}) - ] }), - /* @__PURE__ */ f.jsx(S9, {}), - /* @__PURE__ */ f.jsx( - M9, - { - shareDetails: t, - onSelectionEnd: a - } - ), - r ? /* @__PURE__ */ f.jsx(w8, { pos: r, onAddComment: i }) : null - ] }); -}, pA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ f.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ f.jsx( - t8, - { - shareId: e, - userId: t, - conversationGroupId: n, - source: o, - children: /* @__PURE__ */ f.jsx(T9, {}) - } -) }), O9 = { - 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: {} -}, La = cc({ - name: "lineageState", - initialState: O9, - 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] + range: { + end: { line: o, character: 0 }, + start: { line: o, character: 0 }, + }, + }; + e(lc({ meta: d })); + }, + l = Me( + (u) => { + if (!i) return; + const c = u.y, + d = i.querySelectorAll(".line-numbers-rows > span"), + h = Array.from(d).findIndex((f) => { + const { height: m, y: b } = f.getBoundingClientRect(); + return c >= b && c <= b + m; + }); + r(h); + }, + [i], + ); + return ( + ce(() => { + if (!(!t || !i)) + return ( + i.addEventListener("mousemove", l), + () => { + i.removeEventListener("mousemove", l); + } + ); + }, [t, i, l]), + !t || !i + ? null + : /* @__PURE__ */ p.jsx(Hd, { + target: i, + onClick: a, + style: { top: o * 21.2 }, + }) + ); + }, + y9 = () => { + const e = Ht(), + t = je((r) => r.codeblockLoaded), + n = ec(), + o = () => { + const r = { + field: "description", + highlight: n == null ? void 0 : n.innerText, + }; + e(lc({ meta: r })); }; - }, - 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 + return !t || !n + ? null + : /* @__PURE__ */ p.jsx(Hd, { target: n, onClick: o }); + }, + C9 = () => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [/* @__PURE__ */ p.jsx(y9, {}), /* @__PURE__ */ p.jsx(b9, {})], + }), + v9 = Z5(() => import("./DbtDocsRenderer.js")), + x9 = () => { + const { loading: e, shareDetails: t } = w8(), + n = Ht(), + { getHighlightedSelectionData: o, pos: r, onSelectionEnd: i } = E8(), + a = (l) => { + l.stopPropagation(); + const s = o(); + s && n(lc(s)); }; - for (const r in n) { - const a = n[r]; - if (!(r in o)) { - o[r] = a; - continue; + return e + ? /* @__PURE__ */ p.jsx("div", { children: "Loading..." }) + : !(t != null && t.catalog_presigned_url) || + !(t != null && t.manifest_presigned_url) + ? /* @__PURE__ */ p.jsx("div", { + children: "Unable to load required artifacts. Please try again.", + }) + : /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex justify-content-end mb-2", + children: [ + /* @__PURE__ */ p.jsx(C9, {}), + /* @__PURE__ */ p.jsx(g8, {}), + ], + }), + /* @__PURE__ */ p.jsx(m9, {}), + /* @__PURE__ */ p.jsx(v9, { + shareDetails: t, + onSelectionEnd: i, + }), + r ? /* @__PURE__ */ p.jsx(h8, { pos: r, onAddComment: a }) : null, + ], + }); + }, + nA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => + /* @__PURE__ */ p.jsx("div", { + className: "altimate-component", + children: /* @__PURE__ */ p.jsx(U6, { + shareId: e, + userId: t, + conversationGroupId: n, + source: o, + children: /* @__PURE__ */ p.jsx(x9, {}), + }), + }), + w9 = { + selectedTable: "", + moreTables: {}, + sidebarScreen: "", + selectedColumn: void 0, + collectColumns: {}, + confidence: { confidence: "high" }, + leftExpansion: 0, + rightExpansion: 0, + minRange: [0, 0], + nodeCount: 0, + selectCheck: !0, + nonSelectCheck: !0, + defaultExpansion: 1, + aiEnabled: !1, + modalArgs: null, + theme: "dark", + lineageType: "dynamic", + highlightedNodes: [], + externalSidePanel: !1, + selectedNode: "", + nodeSavingsPerformance: {}, + nodesCost: {}, + errors: {}, + }, + _i = oc({ + name: "lineageState", + initialState: w9, + reducers: { + setAllowSyncColumnsWithDB: (e, t) => { + e.allowSyncColumnsWithDB = t.payload; + }, + setStaticLineage: (e, t) => { + e.sqlLineage = t.payload; + }, + setLineageType: (e, t) => { + e.lineageType = t.payload; + }, + setTheme: (e, t) => { + e.theme = t.payload; + }, + setSelectedTable: (e, t) => { + e.selectedTable = t.payload; + }, + setModalArgs: (e, t) => { + e.modalArgs = t.payload; + }, + setAiEnabled: (e, t) => { + e.aiEnabled = t.payload; + }, + setMoreTables: (e, t) => { + e.moreTables = t.payload; + }, + mergeSeeMoreTables: (e, t) => { + e.moreTables = { + ...e.moreTables, + lineage: [...(e.moreTables.lineage || []), ...t.payload], + }; + }, + setSidebarScreen: (e, t) => { + e.sidebarScreen = t.payload; + }, + setSelectedColumn: (e, t) => { + e.selectedColumn = t.payload; + }, + setCollectColumns: (e, t) => { + e.collectColumns = t.payload; + }, + mergeCollectColumns: (e, t) => { + const n = t.payload, + o = { + ...e.collectColumns, + }; + for (const r in n) { + const i = n[r]; + if (!(r in o)) { + o[r] = i; + continue; + } + const a = i + .map((l) => { + const s = o[r].findIndex((u) => u.column === l.column); + return s === -1 + ? l + : (l.viewsType && (o[r][s].viewsType = l.viewsType), null); + }) + .filter((l) => l !== null); + o[r].push(...a); } - 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; + 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; + }, }, - setErrors: (e, t) => { - e.errors = t.payload; - } - } -}), { - setSelectedTable: eo, - setMoreTables: vc, - mergeSeeMoreTables: xc, - setSidebarScreen: Gt, - setSelectedColumn: Zn, - setCollectColumns: hr, - mergeCollectColumns: wc, - setConfidence: N9, - updateConfidenceWithOperatorList: Ec, - setLeftExpansion: Ml, - setRightExpansion: Tl, - setMinRange: pr, - setNodeCount: Mo, - setSelectCheck: Xd, - setNonSelectCheck: Qd, - setDefaultExpansion: Jd, - setAiEnabled: D9, - setModalArgs: To, - setTheme: L9, - setLineageType: gA, - setStaticLineage: mA, - setAllowSyncColumnsWithDB: bA, - setSqlLineageDetails: j9, - setHighlightedNodes: F9, - setSelectedNode: R9, - setNodesSavingsPerformance: I9, - setNodesCost: z9, - setErrors: Sc -} = La.actions; + }), + { + setSelectedTable: Xn, + setMoreTables: pc, + mergeSeeMoreTables: hc, + setSidebarScreen: Yt, + setSelectedColumn: Vn, + setCollectColumns: cr, + mergeCollectColumns: gc, + setConfidence: E9, + updateConfidenceWithOperatorList: mc, + setLeftExpansion: Sl, + setRightExpansion: kl, + setMinRange: ur, + setNodeCount: So, + setSelectCheck: Pd, + setNonSelectCheck: Bd, + setDefaultExpansion: Vd, + setAiEnabled: S9, + setModalArgs: ko, + setTheme: k9, + setLineageType: oA, + setStaticLineage: rA, + setAllowSyncColumnsWithDB: iA, + setSqlLineageDetails: _9, + setHighlightedNodes: A9, + setSelectedNode: M9, + setNodesSavingsPerformance: T9, + setNodesCost: O9, + setErrors: bc, + } = _i.actions; function bt(e) { if (typeof e == "string" || typeof e == "number") return "" + e; let t = ""; if (Array.isArray(e)) for (let n = 0, o; n < e.length; n++) (o = bt(e[n])) !== "" && (t += (t && " ") + o); - else - for (let n in e) - e[n] && (t += (t && " ") + n); + else for (let n in e) e[n] && (t += (t && " ") + n); return t; } -var ys = { exports: {} }, Ol = {}, Xr = { exports: {} }, Nl = {}; +var ps = { exports: {} }, + _l = {}, + Zr = { exports: {} }, + Al = {}; /** * @license React * use-sync-external-store-shim.production.min.js @@ -16378,42 +20507,72 @@ var ys = { exports: {} }, Ol = {}, Xr = { exports: {} }, Nl = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var K2; -function H9() { - if (K2) return Nl; - K2 = 1; +var W2; +function N9() { + if (W2) return Al; + W2 = 1; var e = $; - function t(d, p) { - return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p; - } - var n = typeof Object.is == "function" ? Object.is : t, o = e.useState, r = e.useEffect, a = e.useLayoutEffect, i = e.useDebugValue; - function l(d, p) { - var h = p(), m = o({ inst: { value: h, getSnapshot: p } }), b = m[0].inst, y = m[1]; - return a(function() { - b.value = h, b.getSnapshot = p, s(b) && y({ inst: b }); - }, [d, h, p]), r(function() { - return s(b) && y({ inst: b }), d(function() { - s(b) && y({ inst: b }); - }); - }, [d]), i(h), h; + function t(d, h) { + return (d === h && (d !== 0 || 1 / d === 1 / h)) || (d !== d && h !== h); + } + var n = typeof Object.is == "function" ? Object.is : t, + o = e.useState, + r = e.useEffect, + i = e.useLayoutEffect, + a = e.useDebugValue; + function l(d, h) { + var f = h(), + m = o({ inst: { value: f, getSnapshot: h } }), + b = m[0].inst, + y = m[1]; + return ( + i( + function () { + (b.value = f), (b.getSnapshot = h), s(b) && y({ inst: b }); + }, + [d, f, h], + ), + r( + function () { + return ( + s(b) && y({ inst: b }), + d(function () { + s(b) && y({ inst: b }); + }) + ); + }, + [d], + ), + a(f), + f + ); } function s(d) { - var p = d.getSnapshot; + var h = d.getSnapshot; d = d.value; try { - var h = p(); - return !n(d, h); + var f = h(); + return !n(d, f); } catch { return !0; } } - function u(d, p) { - return p(); + function u(d, h) { + return h(); } - var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : l; - return Nl.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Nl; + var c = + typeof window > "u" || + typeof window.document > "u" || + typeof window.document.createElement > "u" + ? u + : l; + return ( + (Al.useSyncExternalStore = + e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c), + Al + ); } -var Dl = {}; +var Ml = {}; /** * @license React * use-sync-external-store-shim.development.js @@ -16423,80 +20582,155 @@ var Dl = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var X2; -function P9() { - return X2 || (X2 = 1, process.env.NODE_ENV !== "production" && function() { - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function n(C) { - { - for (var S = arguments.length, w = new Array(S > 1 ? S - 1 : 0), E = 1; E < S; E++) - w[E - 1] = arguments[E]; - o("error", C, w); - } - } - function o(C, S, w) { - { - var E = t.ReactDebugCurrentFrame, M = E.getStackAddendum(); - M !== "" && (S += "%s", w = w.concat([M])); - var _ = w.map(function(L) { - return String(L); - }); - _.unshift("Warning: " + S), Function.prototype.apply.call(console[C], console, _); - } - } - function r(C, S) { - return C === S && (C !== 0 || 1 / C === 1 / S) || C !== C && S !== S; - } - 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 p(C, S, w) { - c || e.startTransition !== void 0 && (c = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.")); - var E = S(); - if (!d) { - var M = S(); - a(E, M) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0); - } - var _ = i({ - inst: { - value: E, - getSnapshot: S - } - }), L = _[0].inst, R = _[1]; - return s(function() { - L.value = E, L.getSnapshot = S, h(L) && R({ - inst: L - }); - }, [C, E, S]), l(function() { - h(L) && R({ - inst: L - }); - var j = function() { - h(L) && R({ - inst: L - }); - }; - return C(j); - }, [C]), u(E), E; - } - function h(C) { - var S = C.getSnapshot, w = C.value; - try { - var E = S(); - return !a(w, E); - } catch { - return !0; - } - } - function m(C, S, w) { - return S(); - } - var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !b, g = y ? m : p, x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; - Dl.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Dl; +var Z2; +function D9() { + return ( + Z2 || + ((Z2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart( + new Error(), + ); + var e = $, + t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function n(C) { + { + for ( + var E = arguments.length, + w = new Array(E > 1 ? E - 1 : 0), + S = 1; + S < E; + S++ + ) + w[S - 1] = arguments[S]; + o("error", C, w); + } + } + function o(C, E, w) { + { + var S = t.ReactDebugCurrentFrame, + _ = S.getStackAddendum(); + _ !== "" && ((E += "%s"), (w = w.concat([_]))); + var A = w.map(function (R) { + return String(R); + }); + A.unshift("Warning: " + E), + Function.prototype.apply.call(console[C], console, A); + } + } + function r(C, E) { + return ( + (C === E && (C !== 0 || 1 / C === 1 / E)) || (C !== C && E !== E) + ); + } + var i = typeof Object.is == "function" ? Object.is : r, + a = e.useState, + l = e.useEffect, + s = e.useLayoutEffect, + u = e.useDebugValue, + c = !1, + d = !1; + function h(C, E, w) { + c || + (e.startTransition !== void 0 && + ((c = !0), + n( + "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.", + ))); + var S = E(); + if (!d) { + var _ = E(); + i(S, _) || + (n( + "The result of getSnapshot should be cached to avoid an infinite loop", + ), + (d = !0)); + } + var A = a({ + inst: { + value: S, + getSnapshot: E, + }, + }), + R = A[0].inst, + L = A[1]; + return ( + s( + function () { + (R.value = S), + (R.getSnapshot = E), + f(R) && + L({ + inst: R, + }); + }, + [C, S, E], + ), + l( + function () { + f(R) && + L({ + inst: R, + }); + var j = function () { + f(R) && + L({ + inst: R, + }); + }; + return C(j); + }, + [C], + ), + u(S), + S + ); + } + function f(C) { + var E = C.getSnapshot, + w = C.value; + try { + var S = E(); + return !i(w, S); + } catch { + return !0; + } + } + function m(C, E, w) { + return E(); + } + var b = + typeof window < "u" && + typeof window.document < "u" && + typeof window.document.createElement < "u", + y = !b, + g = y ? m : h, + x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; + (Ml.useSyncExternalStore = x), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Ml + ); } -var Q2; -function e3() { - return Q2 || (Q2 = 1, process.env.NODE_ENV === "production" ? Xr.exports = H9() : Xr.exports = P9()), Xr.exports; +var U2; +function $d() { + return ( + U2 || + ((U2 = 1), + process.env.NODE_ENV === "production" + ? (Zr.exports = N9()) + : (Zr.exports = D9())), + Zr.exports + ); } /** * @license React @@ -16507,48 +20741,75 @@ function e3() { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var J2; -function B9() { - if (J2) return Ol; - J2 = 1; - var e = $, t = e3(); +var q2; +function L9() { + if (q2) return _l; + q2 = 1; + var e = $, + t = $d(); function n(u, c) { - return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== c; - } - var o = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, a = e.useRef, i = e.useEffect, l = e.useMemo, s = e.useDebugValue; - return Ol.useSyncExternalStoreWithSelector = function(u, c, d, p, h) { - 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 g(E) { - if (!x) { - if (x = !0, C = E, E = p(E), h !== void 0 && b.hasValue) { - var M = b.value; - if (h(M, E)) return S = M; + return (u === c && (u !== 0 || 1 / u === 1 / c)) || (u !== u && c !== c); + } + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + i = e.useRef, + a = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + return ( + (_l.useSyncExternalStoreWithSelector = function (u, c, d, h, f) { + var m = i(null); + if (m.current === null) { + var b = { hasValue: !1, value: null }; + m.current = b; + } else b = m.current; + m = l( + function () { + function g(S) { + if (!x) { + if (((x = !0), (C = S), (S = h(S)), f !== void 0 && b.hasValue)) { + var _ = b.value; + if (f(_, S)) return (E = _); + } + return (E = S); + } + if (((_ = E), o(C, S))) return _; + var A = h(S); + return f !== void 0 && f(_, A) ? _ : ((C = S), (E = A)); } - return S = E; - } - if (M = S, o(C, E)) return M; - var _ = p(E); - return h !== void 0 && h(M, _) ? M : (C = E, S = _); - } - var x = !1, C, S, w = d === void 0 ? null : d; - return [function() { - return g(c()); - }, w === null ? void 0 : function() { - return g(w()); - }]; - }, [c, d, p, h]); - var y = r(u, m[0], m[1]); - return i(function() { - b.hasValue = !0, b.value = y; - }, [y]), s(y), y; - }, Ol; -} -var Ll = {}; + var x = !1, + C, + E, + w = d === void 0 ? null : d; + return [ + function () { + return g(c()); + }, + w === null + ? void 0 + : function () { + return g(w()); + }, + ]; + }, + [c, d, h, f], + ); + var y = r(u, m[0], m[1]); + return ( + a( + function () { + (b.hasValue = !0), (b.value = y); + }, + [y], + ), + s(y), + y + ); + }), + _l + ); +} +var Tl = {}; /** * @license React * use-sync-external-store-shim/with-selector.development.js @@ -16558,1547 +20819,2197 @@ var Ll = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var eu; -function V9() { - return eu || (eu = 1, process.env.NODE_ENV !== "production" && function() { - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = e3(); - 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, p, h, m) { - var b = a(null), y; - b.current === null ? (y = { - hasValue: !1, - value: null - }, b.current = y) : y = b.current; - var g = l(function() { - var w = !1, E, M, _ = function(P) { - if (!w) { - w = !0, E = P; - var V = h(P); - if (m !== void 0 && y.hasValue) { - var k = y.value; - if (m(k, V)) - return M = k, k; - } - return M = V, V; +var Y2; +function F9() { + return ( + Y2 || + ((Y2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart( + new Error(), + ); + var e = $, + t = $d(); + function n(c, d) { + return ( + (c === d && (c !== 0 || 1 / c === 1 / d)) || (c !== c && d !== d) + ); } - var N = E, T = M; - if (o(N, P)) - return T; - var D = h(P); - return m !== void 0 && m(T, D) ? T : (E = P, M = D, D); - }, L = p === void 0 ? null : p, R = function() { - return _(d()); - }, j = L === null ? void 0 : function() { - return _(L()); - }; - return [R, j]; - }, [d, p, h, m]), x = g[0], C = g[1], S = r(c, x, C); - return i(function() { - y.hasValue = !0, y.value = S; - }, [S]), s(S), S; - } - Ll.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Ll; + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + i = e.useRef, + a = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + function u(c, d, h, f, m) { + var b = i(null), + y; + b.current === null + ? ((y = { + hasValue: !1, + value: null, + }), + (b.current = y)) + : (y = b.current); + var g = l( + function () { + var w = !1, + S, + _, + A = function (P) { + if (!w) { + (w = !0), (S = P); + var V = f(P); + if (m !== void 0 && y.hasValue) { + var k = y.value; + if (m(k, V)) return (_ = k), k; + } + return (_ = V), V; + } + var N = S, + T = _; + if (o(N, P)) return T; + var F = f(P); + return m !== void 0 && m(T, F) + ? T + : ((S = P), (_ = F), F); + }, + R = h === void 0 ? null : h, + L = function () { + return A(d()); + }, + j = + R === null + ? void 0 + : function () { + return A(R()); + }; + return [L, j]; + }, + [d, h, f, m], + ), + x = g[0], + C = g[1], + E = r(c, x, C); + return ( + a( + function () { + (y.hasValue = !0), (y.value = E); + }, + [E], + ), + s(E), + E + ); + } + (Tl.useSyncExternalStoreWithSelector = u), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Tl + ); } -process.env.NODE_ENV === "production" ? ys.exports = B9() : ys.exports = V9(); -var $9 = ys.exports; -const W9 = /* @__PURE__ */ fn($9), Z9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, tu = (e) => { - let t; - const n = /* @__PURE__ */ new Set(), o = (c, d) => { - const p = typeof c == "function" ? c(t) : c; - if (!Object.is(p, t)) { - const h = t; - t = d ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((m) => m(t, h)); - } - }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - (Z9 ? "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; -}, U9 = (e) => e ? tu(e) : tu, { useDebugValue: q9 } = $, { useSyncExternalStoreWithSelector: Y9 } = W9, G9 = (e) => e; -function t3(e, t = G9, n) { - const o = Y9( +process.env.NODE_ENV === "production" + ? (ps.exports = L9()) + : (ps.exports = F9()); +var R9 = ps.exports; +const j9 = /* @__PURE__ */ un(R9), + I9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, + G2 = (e) => { + let t; + const n = /* @__PURE__ */ new Set(), + o = (c, d) => { + const h = typeof c == "function" ? c(t) : c; + if (!Object.is(h, t)) { + const f = t; + (t = + (d ?? (typeof h != "object" || h === null)) + ? h + : Object.assign({}, t, h)), + n.forEach((m) => m(t, f)); + } + }, + r = () => t, + s = { + setState: o, + getState: r, + getInitialState: () => u, + subscribe: (c) => (n.add(c), () => n.delete(c)), + destroy: () => { + (I9 ? "production" : void 0) !== "production" && + console.warn( + "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.", + ), + n.clear(); + }, + }, + u = (t = e(o, r, s)); + return s; + }, + z9 = (e) => (e ? G2(e) : G2), + { useDebugValue: H9 } = $, + { useSyncExternalStoreWithSelector: P9 } = j9, + B9 = (e) => e; +function Wd(e, t = B9, n) { + const o = P9( e.subscribe, e.getState, e.getServerState || e.getInitialState, t, - n + n, ); - return q9(o), o; -} -const nu = (e, t) => { - const n = U9(e), o = (r, a = t) => t3(n, r, a); - return Object.assign(o, n), o; -}, K9 = (e, t) => e ? nu(e, t) : nu; -function ut(e, t) { - if (Object.is(e, t)) - return !0; + return H9(o), o; +} +const K2 = (e, t) => { + const n = z9(e), + o = (r, i = t) => Wd(n, r, i); + return Object.assign(o, n), o; + }, + V9 = (e, t) => (e ? K2(e, t) : K2); +function st(e, t) { + if (Object.is(e, t)) return !0; if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; if (e instanceof Map && t instanceof Map) { if (e.size !== t.size) return !1; - for (const [o, r] of e) - if (!Object.is(r, t.get(o))) - return !1; + 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 X9 = { value: () => { -} }; -function oi() { +var $9 = { value: () => {} }; +function Ji() { for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { - if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) throw new Error("illegal type: " + o); + if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) + throw new Error("illegal type: " + o); n[o] = []; } - return new ya(n); + return new di(n); } -function ya(e) { +function di(e) { this._ = e; } -function Q9(e, t) { - return e.trim().split(/^|\s+/).map(function(n) { - var o = "", r = n.indexOf("."); - if (r >= 0 && (o = n.slice(r + 1), n = n.slice(0, r)), n && !t.hasOwnProperty(n)) throw new Error("unknown type: " + n); - return { type: n, name: o }; - }); +function W9(e, t) { + return e + .trim() + .split(/^|\s+/) + .map(function (n) { + var o = "", + r = n.indexOf("."); + if ( + (r >= 0 && ((o = n.slice(r + 1)), (n = n.slice(0, r))), + n && !t.hasOwnProperty(n)) + ) + throw new Error("unknown type: " + n); + return { type: n, name: o }; + }); } -ya.prototype = oi.prototype = { - constructor: ya, - on: function(e, t) { - var n = this._, o = Q9(e + "", n), r, a = -1, i = o.length; +di.prototype = Ji.prototype = { + constructor: di, + on: function (e, t) { + var n = this._, + o = W9(e + "", n), + r, + i = -1, + a = o.length; if (arguments.length < 2) { - for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = J9(n[r], e.name))) return r; + for (; ++i < a; ) + if ((r = (e = o[i]).type) && (r = Z9(n[r], e.name))) return r; return; } - if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); - for (; ++a < i; ) - if (r = (e = o[a]).type) n[r] = ou(n[r], e.name, t); - else if (t == null) for (r in n) n[r] = ou(n[r], e.name, null); + if (t != null && typeof t != "function") + throw new Error("invalid callback: " + t); + for (; ++i < a; ) + if ((r = (e = o[i]).type)) n[r] = X2(n[r], e.name, t); + else if (t == null) for (r in n) n[r] = X2(n[r], e.name, null); return this; }, - copy: function() { - var e = {}, t = this._; + copy: function () { + var e = {}, + t = this._; for (var n in t) e[n] = t[n].slice(); - return new ya(e); + return new di(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, i; 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); + for (i = this._[e], o = 0, r = i.length; o < r; ++o) i[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, i = o.length; r < i; ++r) + o[r].value.apply(t, n); + }, }; -function J9(e, t) { +function Z9(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 ou(e, t, n) { +function X2(e, t, n) { for (var o = 0, r = e.length; o < r; ++o) if (e[o].name === t) { - e[o] = X9, e = e.slice(0, o).concat(e.slice(o + 1)); + (e[o] = $9), (e = e.slice(0, o).concat(e.slice(o + 1))); break; } return n != null && e.push({ name: t, value: n }), e; } -var Cs = "http://www.w3.org/1999/xhtml"; -const ru = { +var hs = "http://www.w3.org/1999/xhtml"; +const Q2 = { svg: "http://www.w3.org/2000/svg", - xhtml: Cs, + xhtml: hs, 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 ri(e) { - var t = e += "", n = t.indexOf(":"); - return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), ru.hasOwnProperty(t) ? { space: ru[t], local: e } : e; +function ea(e) { + var t = (e += ""), + n = t.indexOf(":"); + return ( + n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), + Q2.hasOwnProperty(t) ? { space: Q2[t], local: e } : e + ); } -function eh(e) { - return function() { - var t = this.ownerDocument, n = this.namespaceURI; - return n === Cs && t.documentElement.namespaceURI === Cs ? t.createElement(e) : t.createElementNS(n, e); +function U9(e) { + return function () { + var t = this.ownerDocument, + n = this.namespaceURI; + return n === hs && t.documentElement.namespaceURI === hs + ? t.createElement(e) + : t.createElementNS(n, e); }; } -function th(e) { - return function() { +function q9(e) { + return function () { return this.ownerDocument.createElementNS(e.space, e.local); }; } -function n3(e) { - var t = ri(e); - return (t.local ? th : eh)(t); -} -function nh() { +function Zd(e) { + var t = ea(e); + return (t.local ? q9 : U9)(t); } -function kc(e) { - return e == null ? nh : function() { - return this.querySelector(e); - }; +function Y9() {} +function yc(e) { + return e == null + ? Y9 + : function () { + return this.querySelector(e); + }; } -function oh(e) { - typeof e != "function" && (e = kc(e)); +function G9(e) { + typeof e != "function" && (e = yc(e)); for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var 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 i = t[r], a = i.length, l = (o[r] = new Array(a)), s, u, c = 0; + c < a; + ++c + ) + (s = i[c]) && + (u = e.call(s, s.__data__, c, i)) && + ("__data__" in s && (u.__data__ = s.__data__), (l[c] = u)); return new Tt(o, this._parents); } -function rh(e) { +function K9(e) { return e == null ? [] : Array.isArray(e) ? e : Array.from(e); } -function ah() { +function X9() { return []; } -function o3(e) { - return e == null ? ah : function() { - return this.querySelectorAll(e); - }; +function Ud(e) { + return e == null + ? X9 + : function () { + return this.querySelectorAll(e); + }; } -function ih(e) { - return function() { - return rh(e.apply(this, arguments)); +function Q9(e) { + return function () { + return K9(e.apply(this, arguments)); }; } -function lh(e) { - typeof e == "function" ? e = ih(e) : e = o3(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)); +function J9(e) { + typeof e == "function" ? (e = Q9(e)) : (e = Ud(e)); + for (var t = this._groups, n = t.length, o = [], r = [], i = 0; i < n; ++i) + for (var a = t[i], l = a.length, s, u = 0; u < l; ++u) + (s = a[u]) && (o.push(e.call(s, s.__data__, u, a)), r.push(s)); return new Tt(o, r); } -function r3(e) { - return function() { +function qd(e) { + return function () { return this.matches(e); }; } -function a3(e) { - return function(t) { +function Yd(e) { + return function (t) { return t.matches(e); }; } -var sh = Array.prototype.find; -function ch(e) { - return function() { - return sh.call(this.children, e); +var ep = Array.prototype.find; +function tp(e) { + return function () { + return ep.call(this.children, e); }; } -function uh() { +function np() { return this.firstElementChild; } -function dh(e) { - return this.select(e == null ? uh : ch(typeof e == "function" ? e : a3(e))); +function op(e) { + return this.select(e == null ? np : tp(typeof e == "function" ? e : Yd(e))); } -var fh = Array.prototype.filter; -function hh() { +var rp = Array.prototype.filter; +function ip() { return Array.from(this.children); } -function ph(e) { - return function() { - return fh.call(this.children, e); +function ap(e) { + return function () { + return rp.call(this.children, e); }; } -function gh(e) { - return this.selectAll(e == null ? hh : ph(typeof e == "function" ? e : a3(e))); +function lp(e) { + return this.selectAll( + e == null ? ip : ap(typeof e == "function" ? e : Yd(e)), + ); } -function mh(e) { - typeof e != "function" && (e = r3(e)); +function sp(e) { + typeof e != "function" && (e = qd(e)); for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var 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); + for (var i = t[r], a = i.length, l = (o[r] = []), s, u = 0; u < a; ++u) + (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); return new Tt(o, this._parents); } -function i3(e) { +function Gd(e) { return new Array(e.length); } -function bh() { - return new Tt(this._enter || this._groups.map(i3), this._parents); -} -function ja(e, t) { - this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; -} -ja.prototype = { - constructor: ja, - appendChild: function(e) { +function cp() { + return new Tt(this._enter || this._groups.map(Gd), this._parents); +} +function Ai(e, t) { + (this.ownerDocument = e.ownerDocument), + (this.namespaceURI = e.namespaceURI), + (this._next = null), + (this._parent = e), + (this.__data__ = t); +} +Ai.prototype = { + constructor: Ai, + appendChild: function (e) { return this._parent.insertBefore(e, this._next); }, - 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 yh(e) { - return function() { +function up(e) { + return function () { return e; }; } -function Ch(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 ja(e, a[i]); - for (; i < s; ++i) - (l = t[i]) && (r[i] = l); +function dp(e, t, n, o, r, i) { + for (var a = 0, l, s = t.length, u = i.length; a < u; ++a) + (l = t[a]) ? ((l.__data__ = i[a]), (o[a] = l)) : (n[a] = new Ai(e, i[a])); + for (; a < s; ++a) (l = t[a]) && (r[a] = l); } -function vh(e, t, n, o, r, a, i) { - var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, p = new Array(c), h; +function fp(e, t, n, o, r, i, a) { + var l, + s, + u = /* @__PURE__ */ new Map(), + c = t.length, + d = i.length, + h = new Array(c), + f; for (l = 0; l < c; ++l) - (s = t[l]) && (p[l] = h = i.call(s, s.__data__, l, t) + "", u.has(h) ? r[l] = s : u.set(h, s)); + (s = t[l]) && + ((h[l] = f = a.call(s, s.__data__, l, t) + ""), + u.has(f) ? (r[l] = s) : u.set(f, s)); for (l = 0; l < d; ++l) - h = i.call(e, a[l], l, a) + "", (s = u.get(h)) ? (o[l] = s, s.__data__ = a[l], u.delete(h)) : n[l] = new ja(e, a[l]); - for (l = 0; l < c; ++l) - (s = t[l]) && u.get(p[l]) === s && (r[l] = s); + (f = a.call(e, i[l], l, i) + ""), + (s = u.get(f)) + ? ((o[l] = s), (s.__data__ = i[l]), u.delete(f)) + : (n[l] = new Ai(e, i[l])); + for (l = 0; l < c; ++l) (s = t[l]) && u.get(h[l]) === s && (r[l] = s); } -function xh(e) { +function pp(e) { return e.__data__; } -function wh(e, t) { - if (!arguments.length) return Array.from(this, xh); - var n = t ? vh : Ch, o = this._parents, r = this._groups; - typeof e != "function" && (e = yh(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], p = d.length, h = Eh(e.call(c, c && c.__data__, u, o)), m = h.length, b = l[u] = new Array(m), y = i[u] = new Array(m), g = s[u] = new Array(p); - n(c, d, b, y, g, h, t); - for (var x = 0, C = 0, S, w; x < m; ++x) - if (S = b[x]) { - for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ) ; - S._next = w || null; +function hp(e, t) { + if (!arguments.length) return Array.from(this, pp); + var n = t ? fp : dp, + o = this._parents, + r = this._groups; + typeof e != "function" && (e = up(e)); + for ( + var i = r.length, + a = new Array(i), + l = new Array(i), + s = new Array(i), + u = 0; + u < i; + ++u + ) { + var c = o[u], + d = r[u], + h = d.length, + f = gp(e.call(c, c && c.__data__, u, o)), + m = f.length, + b = (l[u] = new Array(m)), + y = (a[u] = new Array(m)), + g = (s[u] = new Array(h)); + n(c, d, b, y, g, f, t); + for (var x = 0, C = 0, E, w; x < m; ++x) + if ((E = b[x])) { + for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ); + E._next = w || null; } } - return i = new Tt(i, o), i._enter = l, i._exit = s, i; + return (a = new Tt(a, o)), (a._enter = l), (a._exit = s), a; } -function Eh(e) { +function gp(e) { return typeof e == "object" && "length" in e ? e : Array.from(e); } -function Sh() { - return new Tt(this._exit || this._groups.map(i3), this._parents); +function mp() { + return new Tt(this._exit || this._groups.map(Gd), this._parents); } -function kh(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; +function bp(e, t, n) { + var o = this.enter(), + r = this, + i = this.exit(); + return ( + typeof e == "function" + ? ((o = e(o)), o && (o = o.selection())) + : (o = o.append(e + "")), + t != null && ((r = t(r)), r && (r = r.selection())), + n == null ? i.remove() : n(i), + o && r ? o.merge(r).order() : r + ); } -function _h(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, p = l[s] = new Array(d), h, m = 0; m < d; ++m) - (h = u[m] || c[m]) && (p[m] = h); - for (; s < r; ++s) - l[s] = n[s]; +function yp(e) { + for ( + var t = e.selection ? e.selection() : e, + n = this._groups, + o = t._groups, + r = n.length, + i = o.length, + a = Math.min(r, i), + l = new Array(r), + s = 0; + s < a; + ++s + ) + for ( + var u = n[s], c = o[s], d = u.length, h = (l[s] = new Array(d)), f, m = 0; + m < d; + ++m + ) + (f = u[m] || c[m]) && (h[m] = f); + for (; s < r; ++s) l[s] = n[s]; return new Tt(l, this._parents); } -function Ah() { +function Cp() { 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); + for (var o = e[t], r = o.length - 1, i = o[r], a; --r >= 0; ) + (a = o[r]) && + (i && + a.compareDocumentPosition(i) ^ 4 && + i.parentNode.insertBefore(a, i), + (i = a)); return this; } -function Mh(e) { - e || (e = Th); - function t(d, p) { - return d && p ? e(d.__data__, p.__data__) : !d - !p; - } - 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); +function vp(e) { + e || (e = xp); + function t(d, h) { + return d && h ? e(d.__data__, h.__data__) : !d - !h; + } + for ( + var n = this._groups, o = n.length, r = new Array(o), i = 0; + i < o; + ++i + ) { + for ( + var a = n[i], l = a.length, s = (r[i] = new Array(l)), u, c = 0; + c < l; + ++c + ) + (u = a[c]) && (s[c] = u); s.sort(t); } return new Tt(r, this._parents).order(); } -function Th(e, t) { +function xp(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function Oh() { +function wp() { var e = arguments[0]; - return arguments[0] = this, e.apply(null, arguments), this; + return (arguments[0] = this), e.apply(null, arguments), this; } -function Nh() { +function Ep() { return Array.from(this); } -function Dh() { +function Sp() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) - for (var o = e[t], r = 0, a = o.length; r < a; ++r) { - var i = o[r]; - if (i) return i; + for (var o = e[t], r = 0, i = o.length; r < i; ++r) { + var a = o[r]; + if (a) return a; } return null; } -function Lh() { +function kp() { let e = 0; for (const t of this) ++e; return e; } -function jh() { +function _p() { return !this.node(); } -function Fh(e) { +function Ap(e) { for (var t = this._groups, n = 0, o = t.length; n < o; ++n) - for (var r = t[n], a = 0, i = r.length, l; a < i; ++a) - (l = r[a]) && e.call(l, l.__data__, a, r); + for (var r = t[n], i = 0, a = r.length, l; i < a; ++i) + (l = r[i]) && e.call(l, l.__data__, i, r); return this; } -function Rh(e) { - return function() { +function Mp(e) { + return function () { this.removeAttribute(e); }; } -function Ih(e) { - return function() { +function Tp(e) { + return function () { this.removeAttributeNS(e.space, e.local); }; } -function zh(e, t) { - return function() { +function Op(e, t) { + return function () { this.setAttribute(e, t); }; } -function Hh(e, t) { - return function() { +function Np(e, t) { + return function () { this.setAttributeNS(e.space, e.local, t); }; } -function Ph(e, t) { - return function() { +function Dp(e, t) { + return function () { var n = t.apply(this, arguments); n == null ? this.removeAttribute(e) : this.setAttribute(e, n); }; } -function Bh(e, t) { - return function() { +function Lp(e, t) { + return function () { var n = t.apply(this, arguments); - n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); + n == null + ? this.removeAttributeNS(e.space, e.local) + : this.setAttributeNS(e.space, e.local, n); }; } -function Vh(e, t) { - var n = ri(e); +function Fp(e, t) { + var n = ea(e); if (arguments.length < 2) { var o = this.node(); return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - return this.each((t == null ? n.local ? Ih : Rh : typeof t == "function" ? n.local ? Bh : Ph : n.local ? Hh : zh)(n, t)); + return this.each( + (t == null + ? n.local + ? Tp + : Mp + : typeof t == "function" + ? n.local + ? Lp + : Dp + : n.local + ? Np + : Op)(n, t), + ); } -function l3(e) { - return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; +function Kd(e) { + return ( + (e.ownerDocument && e.ownerDocument.defaultView) || + (e.document && e) || + e.defaultView + ); } -function $h(e) { - return function() { +function Rp(e) { + return function () { this.style.removeProperty(e); }; } -function Wh(e, t, n) { - return function() { +function jp(e, t, n) { + return function () { this.style.setProperty(e, t, n); }; } -function Zh(e, t, n) { - return function() { +function Ip(e, t, n) { + return function () { var o = t.apply(this, arguments); o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; } -function Uh(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? $h : typeof t == "function" ? Zh : Wh)(e, t, n ?? "")) : Oo(this.node(), e); +function zp(e, t, n) { + return arguments.length > 1 + ? this.each( + (t == null ? Rp : typeof t == "function" ? Ip : jp)(e, t, n ?? ""), + ) + : _o(this.node(), e); } -function Oo(e, t) { - return e.style.getPropertyValue(t) || l3(e).getComputedStyle(e, null).getPropertyValue(t); +function _o(e, t) { + return ( + e.style.getPropertyValue(t) || + Kd(e).getComputedStyle(e, null).getPropertyValue(t) + ); } -function qh(e) { - return function() { +function Hp(e) { + return function () { delete this[e]; }; } -function Yh(e, t) { - return function() { +function Pp(e, t) { + return function () { this[e] = t; }; } -function Gh(e, t) { - return function() { +function Bp(e, t) { + 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 Kh(e, t) { - return arguments.length > 1 ? this.each((t == null ? qh : typeof t == "function" ? Gh : Yh)(e, t)) : this.node()[e]; +function Vp(e, t) { + return arguments.length > 1 + ? this.each((t == null ? Hp : typeof t == "function" ? Bp : Pp)(e, t)) + : this.node()[e]; } -function s3(e) { +function Xd(e) { return e.trim().split(/^|\s+/); } -function _c(e) { - return e.classList || new c3(e); +function Cc(e) { + return e.classList || new Qd(e); } -function c3(e) { - this._node = e, this._names = s3(e.getAttribute("class") || ""); +function Qd(e) { + (this._node = e), (this._names = Xd(e.getAttribute("class") || "")); } -c3.prototype = { - add: function(e) { +Qd.prototype = { + add: function (e) { var t = this._names.indexOf(e); - t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" "))); + 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 u3(e, t) { - for (var n = _c(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); +function Jd(e, t) { + for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); } -function d3(e, t) { - for (var n = _c(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); +function e3(e, t) { + for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); } -function Xh(e) { - return function() { - u3(this, e); +function $p(e) { + return function () { + Jd(this, e); }; } -function Qh(e) { - return function() { - d3(this, e); +function Wp(e) { + return function () { + e3(this, e); }; } -function Jh(e, t) { - return function() { - (t.apply(this, arguments) ? u3 : d3)(this, e); +function Zp(e, t) { + return function () { + (t.apply(this, arguments) ? Jd : e3)(this, e); }; } -function ep(e, t) { - var n = s3(e + ""); +function Up(e, t) { + var n = Xd(e + ""); if (arguments.length < 2) { - for (var o = _c(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; + for (var o = Cc(this.node()), r = -1, i = n.length; ++r < i; ) + if (!o.contains(n[r])) return !1; return !0; } - return this.each((typeof t == "function" ? Jh : t ? Xh : Qh)(n, t)); + return this.each((typeof t == "function" ? Zp : t ? $p : Wp)(n, t)); } -function tp() { +function qp() { this.textContent = ""; } -function np(e) { - return function() { +function Yp(e) { + return function () { this.textContent = e; }; } -function op(e) { - return function() { +function Gp(e) { + return function () { var t = e.apply(this, arguments); this.textContent = t ?? ""; }; } -function rp(e) { - return arguments.length ? this.each(e == null ? tp : (typeof e == "function" ? op : np)(e)) : this.node().textContent; +function Kp(e) { + return arguments.length + ? this.each(e == null ? qp : (typeof e == "function" ? Gp : Yp)(e)) + : this.node().textContent; } -function ap() { +function Xp() { this.innerHTML = ""; } -function ip(e) { - return function() { +function Qp(e) { + return function () { this.innerHTML = e; }; } -function lp(e) { - return function() { +function Jp(e) { + return function () { var t = e.apply(this, arguments); this.innerHTML = t ?? ""; }; } -function sp(e) { - return arguments.length ? this.each(e == null ? ap : (typeof e == "function" ? lp : ip)(e)) : this.node().innerHTML; +function eh(e) { + return arguments.length + ? this.each(e == null ? Xp : (typeof e == "function" ? Jp : Qp)(e)) + : this.node().innerHTML; } -function cp() { +function th() { this.nextSibling && this.parentNode.appendChild(this); } -function up() { - return this.each(cp); +function nh() { + return this.each(th); } -function dp() { - this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); +function oh() { + this.previousSibling && + this.parentNode.insertBefore(this, this.parentNode.firstChild); } -function fp() { - return this.each(dp); +function rh() { + return this.each(oh); } -function hp(e) { - var t = typeof e == "function" ? e : n3(e); - return this.select(function() { +function ih(e) { + var t = typeof e == "function" ? e : Zd(e); + return this.select(function () { return this.appendChild(t.apply(this, arguments)); }); } -function pp() { +function ah() { return null; } -function gp(e, t) { - var n = typeof e == "function" ? e : n3(e), o = t == null ? pp : typeof t == "function" ? t : kc(t); - return this.select(function() { - return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); +function lh(e, t) { + var n = typeof e == "function" ? e : Zd(e), + o = t == null ? ah : typeof t == "function" ? t : yc(t); + return this.select(function () { + return this.insertBefore( + n.apply(this, arguments), + o.apply(this, arguments) || null, + ); }); } -function mp() { +function sh() { var e = this.parentNode; e && e.removeChild(this); } -function bp() { - return this.each(mp); +function ch() { + return this.each(sh); } -function yp() { - var e = this.cloneNode(!1), t = this.parentNode; +function uh() { + var e = this.cloneNode(!1), + t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function Cp() { - var e = this.cloneNode(!0), t = this.parentNode; +function dh() { + var e = this.cloneNode(!0), + t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } -function vp(e) { - return this.select(e ? Cp : yp); +function fh(e) { + return this.select(e ? dh : uh); } -function xp(e) { +function ph(e) { return arguments.length ? this.property("__data__", e) : this.node().__data__; } -function wp(e) { - return function(t) { +function hh(e) { + return function (t) { e.call(this, t, this.__data__); }; } -function Ep(e) { - return e.trim().split(/^|\s+/).map(function(t) { - var n = "", o = t.indexOf("."); - return o >= 0 && (n = t.slice(o + 1), t = t.slice(0, o)), { type: t, name: n }; - }); +function gh(e) { + return e + .trim() + .split(/^|\s+/) + .map(function (t) { + var n = "", + o = t.indexOf("."); + return ( + o >= 0 && ((n = t.slice(o + 1)), (t = t.slice(0, o))), + { type: t, name: n } + ); + }); } -function Sp(e) { - return function() { +function mh(e) { + 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; + for (var n = 0, o = -1, r = t.length, i; n < r; ++n) + (i = t[n]), + (!e.type || i.type === e.type) && i.name === e.name + ? this.removeEventListener(i.type, i.listener, i.options) + : (t[++o] = i); + ++o ? (t.length = o) : delete this.__on; } }; } -function kp(e, t, n) { - return function() { - var o = this.__on, r, a = wp(t); +function bh(e, t, n) { + return function () { + var o = this.__on, + r, + i = hh(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; + for (var a = 0, l = o.length; a < l; ++a) + if ((r = o[a]).type === e.type && r.name === e.name) { + this.removeEventListener(r.type, r.listener, r.options), + this.addEventListener(r.type, (r.listener = i), (r.options = n)), + (r.value = t); return; } } - this.addEventListener(e.type, 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, i, n), + (r = { type: e.type, name: e.name, value: t, listener: i, options: n }), + o ? o.push(r) : (this.__on = [r]); }; } -function _p(e, t, n) { - var o = Ep(e + ""), r, a = o.length, i; +function yh(e, t, n) { + var o = gh(e + ""), + r, + i = o.length, + a; if (arguments.length < 2) { var l = this.node().__on; if (l) { for (var s = 0, u = l.length, c; s < u; ++s) - for (r = 0, c = l[s]; r < a; ++r) - if ((i = o[r]).type === c.type && i.name === c.name) - return c.value; + for (r = 0, c = l[s]; r < i; ++r) + if ((a = o[r]).type === c.type && a.name === c.name) return c.value; } return; } - for (l = t ? kp : Sp, r = 0; r < a; ++r) this.each(l(o[r], t, n)); + for (l = t ? bh : mh, r = 0; r < i; ++r) this.each(l(o[r], t, n)); return this; } -function f3(e, t, n) { - var o = l3(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 t3(e, t, n) { + var o = Kd(e), + r = o.CustomEvent; + typeof r == "function" + ? (r = new r(t, n)) + : ((r = o.document.createEvent("Event")), + n + ? (r.initEvent(t, n.bubbles, n.cancelable), (r.detail = n.detail)) + : r.initEvent(t, !1, !1)), + e.dispatchEvent(r); } -function Ap(e, t) { - return function() { - return f3(this, e, t); +function Ch(e, t) { + return function () { + return t3(this, e, t); }; } -function Mp(e, t) { - return function() { - return f3(this, e, t.apply(this, arguments)); +function vh(e, t) { + return function () { + return t3(this, e, t.apply(this, arguments)); }; } -function Tp(e, t) { - return this.each((typeof t == "function" ? Mp : Ap)(e, t)); +function xh(e, t) { + return this.each((typeof t == "function" ? vh : Ch)(e, t)); } -function* Op() { +function* wh() { for (var e = this._groups, t = 0, n = e.length; t < n; ++t) - for (var o = e[t], r = 0, a = o.length, i; r < a; ++r) - (i = o[r]) && (yield i); + for (var o = e[t], r = 0, i = o.length, a; r < i; ++r) + (a = o[r]) && (yield a); } -var h3 = [null]; +var n3 = [null]; function Tt(e, t) { - this._groups = e, this._parents = t; + (this._groups = e), (this._parents = t); } -function Nr() { - return new Tt([[document.documentElement]], h3); +function _r() { + return new Tt([[document.documentElement]], n3); } -function Np() { +function Eh() { return this; } -Tt.prototype = Nr.prototype = { +Tt.prototype = _r.prototype = { constructor: Tt, - select: oh, - selectAll: lh, - selectChild: dh, - selectChildren: gh, - filter: mh, - data: wh, - enter: bh, - exit: Sh, - join: kh, - merge: _h, - selection: Np, - order: Ah, - sort: Mh, - call: Oh, - nodes: Nh, - node: Dh, - size: Lh, - empty: jh, - each: Fh, - attr: Vh, - style: Uh, - property: Kh, - classed: ep, - text: rp, - html: sp, - raise: up, - lower: fp, - append: hp, - insert: gp, - remove: bp, - clone: vp, - datum: xp, - on: _p, - dispatch: Tp, - [Symbol.iterator]: Op + select: G9, + selectAll: J9, + selectChild: op, + selectChildren: lp, + filter: sp, + data: hp, + enter: cp, + exit: mp, + join: bp, + merge: yp, + selection: Eh, + order: Cp, + sort: vp, + call: wp, + nodes: Ep, + node: Sp, + size: kp, + empty: _p, + each: Ap, + attr: Fp, + style: zp, + property: Vp, + classed: Up, + text: Kp, + html: eh, + raise: nh, + lower: rh, + append: ih, + insert: lh, + remove: ch, + clone: fh, + datum: ph, + on: yh, + dispatch: xh, + [Symbol.iterator]: wh, }; -function qt(e) { - return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], h3); +function Ut(e) { + return typeof e == "string" + ? new Tt([[document.querySelector(e)]], [document.documentElement]) + : new Tt([[e]], n3); } -function Dp(e) { +function Sh(e) { let t; - for (; t = e.sourceEvent; ) e = t; + for (; (t = e.sourceEvent); ) e = t; return e; } -function an(e, t) { - if (e = Dp(e), t === void 0 && (t = e.currentTarget), t) { +function on(e, t) { + if (((e = Sh(e)), t === void 0 && (t = e.currentTarget), t)) { var n = t.ownerSVGElement || t; if (n.createSVGPoint) { var o = n.createSVGPoint(); - return o.x = e.clientX, o.y = e.clientY, o = o.matrixTransform(t.getScreenCTM().inverse()), [o.x, o.y]; + 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 Lp = { passive: !1 }, gr = { capture: !0, passive: !1 }; -function jl(e) { +const kh = { passive: !1 }, + dr = { capture: !0, passive: !1 }; +function Ol(e) { e.stopImmediatePropagation(); } -function yo(e) { +function ho(e) { e.preventDefault(), e.stopImmediatePropagation(); } -function p3(e) { - var t = e.document.documentElement, n = qt(e).on("dragstart.drag", yo, gr); - "onselectstart" in t ? n.on("selectstart.drag", yo, gr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); -} -function g3(e, t) { - var n = e.document.documentElement, o = qt(e).on("dragstart.drag", null); - t && (o.on("click.drag", yo, gr), 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 Qr = (e) => () => e; -function vs(e, { - sourceEvent: t, - subject: n, - target: o, - identifier: r, - active: a, - x: i, - y: l, - dx: s, - dy: u, - dispatch: c -}) { +function o3(e) { + var t = e.document.documentElement, + n = Ut(e).on("dragstart.drag", ho, dr); + "onselectstart" in t + ? n.on("selectstart.drag", ho, dr) + : ((t.__noselect = t.style.MozUserSelect), + (t.style.MozUserSelect = "none")); +} +function r3(e, t) { + var n = e.document.documentElement, + o = Ut(e).on("dragstart.drag", null); + t && + (o.on("click.drag", ho, dr), + setTimeout(function () { + o.on("click.drag", null); + }, 0)), + "onselectstart" in n + ? o.on("selectstart.drag", null) + : ((n.style.MozUserSelect = n.__noselect), delete n.__noselect); +} +const Ur = (e) => () => e; +function gs( + e, + { + sourceEvent: t, + subject: n, + target: o, + identifier: r, + active: i, + x: a, + y: l, + dx: s, + dy: u, + dispatch: c, + }, +) { Object.defineProperties(this, { type: { value: e, enumerable: !0, configurable: !0 }, sourceEvent: { value: t, enumerable: !0, configurable: !0 }, subject: { value: n, enumerable: !0, configurable: !0 }, target: { value: o, enumerable: !0, configurable: !0 }, identifier: { value: r, enumerable: !0, configurable: !0 }, - active: { value: a, enumerable: !0, configurable: !0 }, - x: { value: i, enumerable: !0, configurable: !0 }, + active: { value: i, enumerable: !0, configurable: !0 }, + x: { value: a, enumerable: !0, configurable: !0 }, y: { value: l, enumerable: !0, configurable: !0 }, dx: { value: s, enumerable: !0, configurable: !0 }, dy: { value: u, enumerable: !0, configurable: !0 }, - _: { value: c } + _: { value: c }, }); } -vs.prototype.on = function() { +gs.prototype.on = function () { var e = this._.on.apply(this._, arguments); return e === this._ ? this : e; }; -function jp(e) { +function _h(e) { return !e.ctrlKey && !e.button; } -function Fp() { +function Ah() { return this.parentNode; } -function Rp(e, t) { +function Mh(e, t) { return t ?? { x: e.x, y: e.y }; } -function Ip() { +function Th() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function zp() { - var e = jp, t = Fp, n = Rp, o = Ip, r = {}, a = oi("start", "drag", "end"), i = 0, l, s, u, c, d = 0; - function p(S) { - S.on("mousedown.drag", h).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, Lp).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); - } - function h(S, w) { - if (!(c || !e.call(this, S, w))) { - var E = C(this, t.call(this, S, w), S, w, "mouse"); - E && (qt(S.view).on("mousemove.drag", m, gr).on("mouseup.drag", b, gr), p3(S.view), jl(S), u = !1, l = S.clientX, s = S.clientY, E("start", S)); +function Oh() { + var e = _h, + t = Ah, + n = Mh, + o = Th, + r = {}, + i = Ji("start", "drag", "end"), + a = 0, + l, + s, + u, + c, + d = 0; + function h(E) { + E.on("mousedown.drag", f) + .filter(o) + .on("touchstart.drag", y) + .on("touchmove.drag", g, kh) + .on("touchend.drag touchcancel.drag", x) + .style("touch-action", "none") + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + } + function f(E, w) { + if (!(c || !e.call(this, E, w))) { + var S = C(this, t.call(this, E, w), E, w, "mouse"); + S && + (Ut(E.view).on("mousemove.drag", m, dr).on("mouseup.drag", b, dr), + o3(E.view), + Ol(E), + (u = !1), + (l = E.clientX), + (s = E.clientY), + S("start", E)); } } - function m(S) { - if (yo(S), !u) { - var w = S.clientX - l, E = S.clientY - s; - u = w * w + E * E > d; + function m(E) { + if ((ho(E), !u)) { + var w = E.clientX - l, + S = E.clientY - s; + u = w * w + S * S > d; } r.mouse("drag", S); } - function b(S) { - qt(S.view).on("mousemove.drag mouseup.drag", null), g3(S.view, u), yo(S), r.mouse("end", S); - } - function y(S, w) { - if (e.call(this, S, w)) { - var E = S.changedTouches, M = t.call(this, S, w), _ = E.length, L, R; - for (L = 0; L < _; ++L) - (R = C(this, M, S, w, E[L].identifier, E[L])) && (jl(S), R("start", S, E[L])); + function b(E) { + Ut(E.view).on("mousemove.drag mouseup.drag", null), + r3(E.view, u), + ho(E), + r.mouse("end", E); + } + function y(E, w) { + if (e.call(this, E, w)) { + var S = E.changedTouches, + _ = t.call(this, E, w), + A = S.length, + R, + L; + for (R = 0; R < A; ++R) + (L = C(this, _, E, w, S[R].identifier, S[R])) && + (Ol(E), L("start", E, S[R])); } } - function g(S) { - var w = S.changedTouches, E = w.length, M, _; - for (M = 0; M < E; ++M) - (_ = r[w[M].identifier]) && (yo(S), _("drag", S, w[M])); + function g(E) { + var w = E.changedTouches, + S = w.length, + _, + A; + for (_ = 0; _ < S; ++_) + (A = r[w[_].identifier]) && (ho(E), A("drag", E, w[_])); } - function x(S) { - var w = S.changedTouches, E = w.length, M, _; - for (c && clearTimeout(c), c = setTimeout(function() { - c = null; - }, 500), M = 0; M < E; ++M) - (_ = r[w[M].identifier]) && (jl(S), _("end", S, w[M])); - } - function C(S, w, E, M, _, L) { - var R = a.copy(), j = an(L || E, w), P, V, k; - if ((k = n.call(S, new vs("beforestart", { - sourceEvent: E, - target: p, - identifier: _, - active: i, - x: j[0], - y: j[1], - dx: 0, - dy: 0, - dispatch: R - }), M)) != null) - return P = k.x - j[0] || 0, V = k.y - j[1] || 0, function N(T, D, I) { - var F = j, v; - switch (T) { - case "start": - r[_] = N, v = i++; - break; - case "end": - delete r[_], --i; - case "drag": - j = an(I || D, w), v = i; - break; + function x(E) { + var w = E.changedTouches, + S = w.length, + _, + A; + for ( + c && clearTimeout(c), + c = setTimeout(function () { + c = null; + }, 500), + _ = 0; + _ < S; + ++_ + ) + (A = r[w[_].identifier]) && (Ol(E), A("end", E, w[_])); + } + function C(E, w, S, _, A, R) { + var L = i.copy(), + j = on(R || S, w), + P, + V, + k; + if ( + (k = n.call( + E, + new gs("beforestart", { + sourceEvent: S, + target: h, + identifier: A, + active: a, + x: j[0], + y: j[1], + dx: 0, + dy: 0, + dispatch: L, + }), + _, + )) != null + ) + return ( + (P = k.x - j[0] || 0), + (V = k.y - j[1] || 0), + function N(T, F, I) { + var D = j, + v; + switch (T) { + case "start": + (r[A] = N), (v = a++); + break; + case "end": + delete r[A], --a; + case "drag": + (j = on(I || F, w)), (v = a); + break; + } + L.call( + T, + E, + new gs(T, { + sourceEvent: F, + subject: k, + target: h, + identifier: A, + active: v, + x: j[0] + P, + y: j[1] + V, + dx: j[0] - D[0], + dy: j[1] - D[1], + dispatch: L, + }), + _, + ); } - R.call( - T, - S, - new vs(T, { - sourceEvent: D, - subject: k, - target: p, - identifier: _, - active: v, - x: j[0] + P, - y: j[1] + V, - dx: j[0] - F[0], - dy: j[1] - F[1], - dispatch: R - }), - M - ); - }; + ); } - return p.filter = function(S) { - return arguments.length ? (e = typeof S == "function" ? S : Qr(!!S), p) : e; - }, p.container = function(S) { - return arguments.length ? (t = typeof S == "function" ? S : Qr(S), p) : t; - }, p.subject = function(S) { - return arguments.length ? (n = typeof S == "function" ? S : Qr(S), p) : n; - }, p.touchable = function(S) { - return arguments.length ? (o = typeof S == "function" ? S : Qr(!!S), p) : o; - }, p.on = function() { - var S = a.on.apply(a, arguments); - return S === a ? p : S; - }, p.clickDistance = function(S) { - return arguments.length ? (d = (S = +S) * S, p) : Math.sqrt(d); - }, p; -} -function Ac(e, t, n) { - e.prototype = t.prototype = n, n.constructor = e; -} -function m3(e, t) { + return ( + (h.filter = function (E) { + return arguments.length + ? ((e = typeof E == "function" ? E : Ur(!!E)), h) + : e; + }), + (h.container = function (E) { + return arguments.length + ? ((t = typeof E == "function" ? E : Ur(E)), h) + : t; + }), + (h.subject = function (E) { + return arguments.length + ? ((n = typeof E == "function" ? E : Ur(E)), h) + : n; + }), + (h.touchable = function (E) { + return arguments.length + ? ((o = typeof E == "function" ? E : Ur(!!E)), h) + : o; + }), + (h.on = function () { + var E = i.on.apply(i, arguments); + return E === i ? h : E; + }), + (h.clickDistance = function (E) { + return arguments.length ? ((d = (E = +E) * E), h) : Math.sqrt(d); + }), + h + ); +} +function vc(e, t, n) { + (e.prototype = t.prototype = n), (n.constructor = e); +} +function i3(e, t) { var n = Object.create(e.prototype); for (var o in t) n[o] = t[o]; return n; } -function Dr() { -} -var mr = 0.7, Fa = 1 / mr, Co = "\\s*([+-]?\\d+)\\s*", br = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", cn = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Hp = /^#([0-9a-f]{3,8})$/, Pp = new RegExp(`^rgb\\(${Co},${Co},${Co}\\)$`), Bp = new RegExp(`^rgb\\(${cn},${cn},${cn}\\)$`), Vp = new RegExp(`^rgba\\(${Co},${Co},${Co},${br}\\)$`), $p = new RegExp(`^rgba\\(${cn},${cn},${cn},${br}\\)$`), Wp = new RegExp(`^hsl\\(${br},${cn},${cn}\\)$`), Zp = new RegExp(`^hsla\\(${br},${cn},${cn},${br}\\)$`), au = { - 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 -}; -Ac(Dr, yr, { +function Ar() {} +var fr = 0.7, + Mi = 1 / fr, + go = "\\s*([+-]?\\d+)\\s*", + pr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", + ln = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", + Nh = /^#([0-9a-f]{3,8})$/, + Dh = new RegExp(`^rgb\\(${go},${go},${go}\\)$`), + Lh = new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`), + Fh = new RegExp(`^rgba\\(${go},${go},${go},${pr}\\)$`), + Rh = new RegExp(`^rgba\\(${ln},${ln},${ln},${pr}\\)$`), + jh = new RegExp(`^hsl\\(${pr},${ln},${ln}\\)$`), + Ih = new RegExp(`^hsla\\(${pr},${ln},${ln},${pr}\\)$`), + J2 = { + aliceblue: 15792383, + antiquewhite: 16444375, + aqua: 65535, + aquamarine: 8388564, + azure: 15794175, + beige: 16119260, + bisque: 16770244, + black: 0, + blanchedalmond: 16772045, + blue: 255, + blueviolet: 9055202, + brown: 10824234, + burlywood: 14596231, + cadetblue: 6266528, + chartreuse: 8388352, + chocolate: 13789470, + coral: 16744272, + cornflowerblue: 6591981, + cornsilk: 16775388, + crimson: 14423100, + cyan: 65535, + darkblue: 139, + darkcyan: 35723, + darkgoldenrod: 12092939, + darkgray: 11119017, + darkgreen: 25600, + darkgrey: 11119017, + darkkhaki: 12433259, + darkmagenta: 9109643, + darkolivegreen: 5597999, + darkorange: 16747520, + darkorchid: 10040012, + darkred: 9109504, + darksalmon: 15308410, + darkseagreen: 9419919, + darkslateblue: 4734347, + darkslategray: 3100495, + darkslategrey: 3100495, + darkturquoise: 52945, + darkviolet: 9699539, + deeppink: 16716947, + deepskyblue: 49151, + dimgray: 6908265, + dimgrey: 6908265, + dodgerblue: 2003199, + firebrick: 11674146, + floralwhite: 16775920, + forestgreen: 2263842, + fuchsia: 16711935, + gainsboro: 14474460, + ghostwhite: 16316671, + gold: 16766720, + goldenrod: 14329120, + gray: 8421504, + green: 32768, + greenyellow: 11403055, + grey: 8421504, + honeydew: 15794160, + hotpink: 16738740, + indianred: 13458524, + indigo: 4915330, + ivory: 16777200, + khaki: 15787660, + lavender: 15132410, + lavenderblush: 16773365, + lawngreen: 8190976, + lemonchiffon: 16775885, + lightblue: 11393254, + lightcoral: 15761536, + lightcyan: 14745599, + lightgoldenrodyellow: 16448210, + lightgray: 13882323, + lightgreen: 9498256, + lightgrey: 13882323, + lightpink: 16758465, + lightsalmon: 16752762, + lightseagreen: 2142890, + lightskyblue: 8900346, + lightslategray: 7833753, + lightslategrey: 7833753, + lightsteelblue: 11584734, + lightyellow: 16777184, + lime: 65280, + limegreen: 3329330, + linen: 16445670, + magenta: 16711935, + maroon: 8388608, + mediumaquamarine: 6737322, + mediumblue: 205, + mediumorchid: 12211667, + mediumpurple: 9662683, + mediumseagreen: 3978097, + mediumslateblue: 8087790, + mediumspringgreen: 64154, + mediumturquoise: 4772300, + mediumvioletred: 13047173, + midnightblue: 1644912, + mintcream: 16121850, + mistyrose: 16770273, + moccasin: 16770229, + navajowhite: 16768685, + navy: 128, + oldlace: 16643558, + olive: 8421376, + olivedrab: 7048739, + orange: 16753920, + orangered: 16729344, + orchid: 14315734, + palegoldenrod: 15657130, + palegreen: 10025880, + paleturquoise: 11529966, + palevioletred: 14381203, + papayawhip: 16773077, + peachpuff: 16767673, + peru: 13468991, + pink: 16761035, + plum: 14524637, + powderblue: 11591910, + purple: 8388736, + rebeccapurple: 6697881, + red: 16711680, + rosybrown: 12357519, + royalblue: 4286945, + saddlebrown: 9127187, + salmon: 16416882, + sandybrown: 16032864, + seagreen: 3050327, + seashell: 16774638, + sienna: 10506797, + silver: 12632256, + skyblue: 8900331, + slateblue: 6970061, + slategray: 7372944, + slategrey: 7372944, + snow: 16775930, + springgreen: 65407, + steelblue: 4620980, + tan: 13808780, + teal: 32896, + thistle: 14204888, + tomato: 16737095, + turquoise: 4251856, + violet: 15631086, + wheat: 16113331, + white: 16777215, + whitesmoke: 16119285, + yellow: 16776960, + yellowgreen: 10145074, + }; +vc(Ar, hr, { copy(e) { return Object.assign(new this.constructor(), this, e); }, displayable() { return this.rgb().displayable(); }, - hex: iu, + hex: eu, // Deprecated! Use color.formatHex. - formatHex: iu, - formatHex8: Up, - formatHsl: qp, - formatRgb: lu, - toString: lu + formatHex: eu, + formatHex8: zh, + formatHsl: Hh, + formatRgb: tu, + toString: tu, }); -function iu() { +function eu() { return this.rgb().formatHex(); } -function Up() { +function zh() { return this.rgb().formatHex8(); } -function qp() { - return b3(this).formatHsl(); +function Hh() { + return a3(this).formatHsl(); } -function lu() { +function tu() { return this.rgb().formatRgb(); } -function yr(e) { +function hr(e) { var t, n; - return e = (e + "").trim().toLowerCase(), (t = Hp.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? su(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Jr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Jr(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 = Pp.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Bp.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vp.exec(e)) ? Jr(t[1], t[2], t[3], t[4]) : (t = $p.exec(e)) ? Jr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Wp.exec(e)) ? du(t[1], t[2] / 100, t[3] / 100, 1) : (t = Zp.exec(e)) ? du(t[1], t[2] / 100, t[3] / 100, t[4]) : au.hasOwnProperty(e) ? su(au[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; + return ( + (e = (e + "").trim().toLowerCase()), + (t = Nh.exec(e)) + ? ((n = t[1].length), + (t = parseInt(t[1], 16)), + n === 6 + ? nu(t) + : n === 3 + ? new xt( + ((t >> 8) & 15) | ((t >> 4) & 240), + ((t >> 4) & 15) | (t & 240), + ((t & 15) << 4) | (t & 15), + 1, + ) + : n === 8 + ? qr( + (t >> 24) & 255, + (t >> 16) & 255, + (t >> 8) & 255, + (t & 255) / 255, + ) + : n === 4 + ? qr( + ((t >> 12) & 15) | ((t >> 8) & 240), + ((t >> 8) & 15) | ((t >> 4) & 240), + ((t >> 4) & 15) | (t & 240), + (((t & 15) << 4) | (t & 15)) / 255, + ) + : null) + : (t = Dh.exec(e)) + ? new xt(t[1], t[2], t[3], 1) + : (t = Lh.exec(e)) + ? new xt( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + 1, + ) + : (t = Fh.exec(e)) + ? qr(t[1], t[2], t[3], t[4]) + : (t = Rh.exec(e)) + ? qr( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + t[4], + ) + : (t = jh.exec(e)) + ? iu(t[1], t[2] / 100, t[3] / 100, 1) + : (t = Ih.exec(e)) + ? iu(t[1], t[2] / 100, t[3] / 100, t[4]) + : J2.hasOwnProperty(e) + ? nu(J2[e]) + : e === "transparent" + ? new xt(NaN, NaN, NaN, 0) + : null + ); } -function su(e) { - return new xt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); +function nu(e) { + return new xt((e >> 16) & 255, (e >> 8) & 255, e & 255, 1); } -function Jr(e, t, n, o) { +function qr(e, t, n, o) { return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); } -function Yp(e) { - return e instanceof Dr || (e = yr(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); +function Ph(e) { + return ( + e instanceof Ar || (e = hr(e)), + e ? ((e = e.rgb()), new xt(e.r, e.g, e.b, e.opacity)) : new xt() + ); } -function xs(e, t, n, o) { - return arguments.length === 1 ? Yp(e) : new xt(e, t, n, o ?? 1); +function ms(e, t, n, o) { + return arguments.length === 1 ? Ph(e) : new xt(e, t, n, o ?? 1); } function xt(e, t, n, o) { - this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; -} -Ac(xt, xs, m3(Dr, { - brighter(e) { - return e = e == null ? Fa : Math.pow(Fa, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); - }, - darker(e) { - return e = e == null ? mr : Math.pow(mr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); - }, - rgb() { - return this; - }, - clamp() { - return new xt(Yn(this.r), Yn(this.g), Yn(this.b), Ra(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: cu, - // Deprecated! Use color.formatHex. - formatHex: cu, - formatHex8: Gp, - formatRgb: uu, - toString: uu -})); -function cu() { - return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}`; + (this.r = +e), (this.g = +t), (this.b = +n), (this.opacity = +o); +} +vc( + xt, + ms, + i3(Ar, { + brighter(e) { + return ( + (e = e == null ? Mi : Math.pow(Mi, e)), + new xt(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? fr : Math.pow(fr, e)), + new xt(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + rgb() { + return this; + }, + clamp() { + return new xt(Un(this.r), Un(this.g), Un(this.b), Ti(this.opacity)); + }, + displayable() { + return ( + -0.5 <= this.r && + this.r < 255.5 && + -0.5 <= this.g && + this.g < 255.5 && + -0.5 <= this.b && + this.b < 255.5 && + 0 <= this.opacity && + this.opacity <= 1 + ); + }, + hex: ou, + // Deprecated! Use color.formatHex. + formatHex: ou, + formatHex8: Bh, + formatRgb: ru, + toString: ru, + }), +); +function ou() { + return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}`; } -function Gp() { - return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; +function Bh() { + return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}${$n((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; } -function uu() { - const e = Ra(this.opacity); - return `${e === 1 ? "rgb(" : "rgba("}${Yn(this.r)}, ${Yn(this.g)}, ${Yn(this.b)}${e === 1 ? ")" : `, ${e})`}`; +function ru() { + const e = Ti(this.opacity); + return `${e === 1 ? "rgb(" : "rgba("}${Un(this.r)}, ${Un(this.g)}, ${Un(this.b)}${e === 1 ? ")" : `, ${e})`}`; } -function Ra(e) { +function Ti(e) { return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); } -function Yn(e) { +function Un(e) { return Math.max(0, Math.min(255, Math.round(e) || 0)); } -function Un(e) { - return e = Yn(e), (e < 16 ? "0" : "") + e.toString(16); +function $n(e) { + return (e = Un(e)), (e < 16 ? "0" : "") + e.toString(16); } -function du(e, t, n, o) { - return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Yt(e, t, n, o); +function iu(e, t, n, o) { + return ( + o <= 0 + ? (e = t = n = NaN) + : n <= 0 || n >= 1 + ? (e = t = NaN) + : t <= 0 && (e = NaN), + new qt(e, t, n, o) + ); } -function b3(e) { - if (e instanceof Yt) return new Yt(e.h, e.s, e.l, e.opacity); - if (e instanceof Dr || (e = yr(e)), !e) return new Yt(); - if (e instanceof Yt) return e; +function a3(e) { + if (e instanceof qt) return new qt(e.h, e.s, e.l, e.opacity); + if ((e instanceof Ar || (e = hr(e)), !e)) return new qt(); + if (e instanceof qt) return e; e = e.rgb(); - var t = e.r / 255, n = e.g / 255, o = e.b / 255, r = Math.min(t, n, o), 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 Yt(i, l, s, e.opacity); + var t = e.r / 255, + n = e.g / 255, + o = e.b / 255, + r = Math.min(t, n, o), + i = Math.max(t, n, o), + a = NaN, + l = i - r, + s = (i + r) / 2; + return ( + l + ? (t === i + ? (a = (n - o) / l + (n < o) * 6) + : n === i + ? (a = (o - t) / l + 2) + : (a = (t - n) / l + 4), + (l /= s < 0.5 ? i + r : 2 - i - r), + (a *= 60)) + : (l = s > 0 && s < 1 ? 0 : a), + new qt(a, l, s, e.opacity) + ); } -function Kp(e, t, n, o) { - return arguments.length === 1 ? b3(e) : new Yt(e, t, n, o ?? 1); +function Vh(e, t, n, o) { + return arguments.length === 1 ? a3(e) : new qt(e, t, n, o ?? 1); } -function Yt(e, t, n, o) { - this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; +function qt(e, t, n, o) { + (this.h = +e), (this.s = +t), (this.l = +n), (this.opacity = +o); } -Ac(Yt, Kp, m3(Dr, { - brighter(e) { - return e = e == null ? Fa : Math.pow(Fa, e), new Yt(this.h, this.s, this.l * e, this.opacity); - }, - darker(e) { - return e = e == null ? mr : Math.pow(mr, e), new Yt(this.h, this.s, this.l * e, this.opacity); - }, - rgb() { - var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, o = n + (n < 0.5 ? n : 1 - n) * t, r = 2 * n - o; - return new xt( - Fl(e >= 240 ? e - 240 : e + 120, r, o), - Fl(e, r, o), - Fl(e < 120 ? e + 240 : e - 120, r, o), - this.opacity - ); - }, - clamp() { - return new Yt(fu(this.h), ea(this.s), ea(this.l), Ra(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 = Ra(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${fu(this.h)}, ${ea(this.s) * 100}%, ${ea(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; - } -})); -function fu(e) { - return e = (e || 0) % 360, e < 0 ? e + 360 : e; +vc( + qt, + Vh, + i3(Ar, { + brighter(e) { + return ( + (e = e == null ? Mi : Math.pow(Mi, e)), + new qt(this.h, this.s, this.l * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? fr : Math.pow(fr, e)), + new qt(this.h, this.s, this.l * e, this.opacity) + ); + }, + rgb() { + var e = (this.h % 360) + (this.h < 0) * 360, + t = isNaN(e) || isNaN(this.s) ? 0 : this.s, + n = this.l, + o = n + (n < 0.5 ? n : 1 - n) * t, + r = 2 * n - o; + return new xt( + Nl(e >= 240 ? e - 240 : e + 120, r, o), + Nl(e, r, o), + Nl(e < 120 ? e + 240 : e - 120, r, o), + this.opacity, + ); + }, + clamp() { + return new qt(au(this.h), Yr(this.s), Yr(this.l), Ti(this.opacity)); + }, + displayable() { + return ( + ((0 <= this.s && this.s <= 1) || isNaN(this.s)) && + 0 <= this.l && + this.l <= 1 && + 0 <= this.opacity && + this.opacity <= 1 + ); + }, + formatHsl() { + const e = Ti(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${au(this.h)}, ${Yr(this.s) * 100}%, ${Yr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + }, + }), +); +function au(e) { + return (e = (e || 0) % 360), e < 0 ? e + 360 : e; } -function ea(e) { +function Yr(e) { return Math.max(0, Math.min(1, e || 0)); } -function Fl(e, t, n) { - return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; +function Nl(e, t, n) { + return ( + (e < 60 + ? t + ((n - t) * e) / 60 + : e < 180 + ? n + : e < 240 + ? t + ((n - t) * (240 - e)) / 60 + : t) * 255 + ); } -const y3 = (e) => () => e; -function Xp(e, t) { - return function(n) { +const l3 = (e) => () => e; +function $h(e, t) { + return function (n) { return e + n * t; }; } -function Qp(e, t, n) { - return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(o) { - return Math.pow(e + o * t, n); - }; +function Wh(e, t, n) { + return ( + (e = Math.pow(e, n)), + (t = Math.pow(t, n) - e), + (n = 1 / n), + function (o) { + return Math.pow(e + o * t, n); + } + ); } -function Jp(e) { - return (e = +e) == 1 ? C3 : function(t, n) { - return n - t ? Qp(t, n, e) : y3(isNaN(t) ? n : t); - }; +function Zh(e) { + return (e = +e) == 1 + ? s3 + : function (t, n) { + return n - t ? Wh(t, n, e) : l3(isNaN(t) ? n : t); + }; } -function C3(e, t) { +function s3(e, t) { var n = t - e; - return n ? Xp(e, n) : y3(isNaN(e) ? t : e); -} -const hu = function e(t) { - var n = Jp(t); - function o(r, a) { - var i = n((r = xs(r)).r, (a = xs(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = C3(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 n ? $h(e, n) : l3(isNaN(e) ? t : e); +} +const lu = (function e(t) { + var n = Zh(t); + function o(r, i) { + var a = n((r = ms(r)).r, (i = ms(i)).r), + l = n(r.g, i.g), + s = n(r.b, i.b), + u = s3(r.opacity, i.opacity); + return function (c) { + return ( + (r.r = a(c)), (r.g = l(c)), (r.b = s(c)), (r.opacity = u(c)), r + "" + ); }; } - return o.gamma = e, o; -}(1); -function Nn(e, t) { - return e = +e, t = +t, function(n) { - return e * (1 - n) + t * n; - }; + return (o.gamma = e), o; +})(1); +function Tn(e, t) { + return ( + (e = +e), + (t = +t), + function (n) { + return e * (1 - n) + t * n; + } + ); } -var ws = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Rl = new RegExp(ws.source, "g"); -function eg(e) { - return function() { +var bs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, + Dl = new RegExp(bs.source, "g"); +function Uh(e) { + return function () { return e; }; } -function tg(e) { - return function(t) { +function qh(e) { + return function (t) { return e(t) + ""; }; } -function ng(e, t) { - var n = ws.lastIndex = Rl.lastIndex = 0, o, r, a, i = -1, l = [], s = []; - for (e = e + "", t = t + ""; (o = ws.exec(e)) && (r = Rl.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 = Rl.lastIndex; - return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? tg(s[0].x) : eg(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(""); - }); +function Yh(e, t) { + var n = (bs.lastIndex = Dl.lastIndex = 0), + o, + r, + i, + a = -1, + l = [], + s = []; + for (e = e + "", t = t + ""; (o = bs.exec(e)) && (r = Dl.exec(t)); ) + (i = r.index) > n && + ((i = t.slice(n, i)), l[a] ? (l[a] += i) : (l[++a] = i)), + (o = o[0]) === (r = r[0]) + ? l[a] + ? (l[a] += r) + : (l[++a] = r) + : ((l[++a] = null), s.push({ i: a, x: Tn(o, r) })), + (n = Dl.lastIndex); + return ( + n < t.length && ((i = t.slice(n)), l[a] ? (l[a] += i) : (l[++a] = i)), + l.length < 2 + ? s[0] + ? qh(s[0].x) + : Uh(t) + : ((t = s.length), + function (u) { + for (var c = 0, d; c < t; ++c) l[(d = s[c]).i] = d.x(u); + return l.join(""); + }) + ); } -var pu = 180 / Math.PI, Es = { - translateX: 0, - translateY: 0, - rotate: 0, - skewX: 0, - scaleX: 1, - scaleY: 1 -}; -function v3(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) * pu, - skewX: Math.atan(s) * pu, - scaleX: i, - scaleY: l +var su = 180 / Math.PI, + ys = { + translateX: 0, + translateY: 0, + rotate: 0, + skewX: 0, + scaleX: 1, + scaleY: 1, }; +function c3(e, t, n, o, r, i) { + var a, l, s; + return ( + (a = Math.sqrt(e * e + t * t)) && ((e /= a), (t /= a)), + (s = e * n + t * o) && ((n -= e * s), (o -= t * s)), + (l = Math.sqrt(n * n + o * o)) && ((n /= l), (o /= l), (s /= l)), + e * o < t * n && ((e = -e), (t = -t), (s = -s), (a = -a)), + { + translateX: r, + translateY: i, + rotate: Math.atan2(t, e) * su, + skewX: Math.atan(s) * su, + scaleX: a, + scaleY: l, + } + ); } -var ta; -function og(e) { - const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); - return t.isIdentity ? Es : v3(t.a, t.b, t.c, t.d, t.e, t.f); +var Gr; +function Gh(e) { + const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)( + e + "", + ); + return t.isIdentity ? ys : c3(t.a, t.b, t.c, t.d, t.e, t.f); } -function rg(e) { - return e == null || (ta || (ta = document.createElementNS("http://www.w3.org/2000/svg", "g")), ta.setAttribute("transform", e), !(e = ta.transform.baseVal.consolidate())) ? Es : (e = e.matrix, v3(e.a, e.b, e.c, e.d, e.e, e.f)); +function Kh(e) { + return e == null || + (Gr || (Gr = document.createElementNS("http://www.w3.org/2000/svg", "g")), + Gr.setAttribute("transform", e), + !(e = Gr.transform.baseVal.consolidate())) + ? ys + : ((e = e.matrix), c3(e.a, e.b, e.c, e.d, e.e, e.f)); } -function x3(e, t, n, o) { +function u3(e, t, n, o) { function r(u) { return u.length ? u.pop() + " " : ""; } - function a(u, c, d, p, h, m) { - if (u !== d || c !== p) { - var b = h.push("translate(", null, t, null, n); - m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); - } else (d || p) && h.push("translate(" + d + t + p + n); - } - function i(u, c, d, p) { - u !== c ? (u - c > 180 ? c += 360 : c - u > 180 && (u += 360), p.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, p) { - u !== c ? p.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, p, h, m) { - if (u !== d || c !== p) { - var b = h.push(r(h) + "scale(", null, ",", null, ")"); - m.push({ i: b - 4, x: Nn(u, d) }, { i: b - 2, x: Nn(c, p) }); - } else (d !== 1 || p !== 1) && h.push(r(h) + "scale(" + d + "," + p + ")"); - } - return function(u, c) { - var d = [], p = []; - return u = e(u), c = e(c), a(u.translateX, u.translateY, c.translateX, c.translateY, d, p), i(u.rotate, c.rotate, d, p), l(u.skewX, c.skewX, d, p), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, p), u = c = null, function(h) { - for (var m = -1, b = p.length, y; ++m < b; ) d[(y = p[m]).i] = y.x(h); - return d.join(""); - }; + function i(u, c, d, h, f, m) { + if (u !== d || c !== h) { + var b = f.push("translate(", null, t, null, n); + m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); + } else (d || h) && f.push("translate(" + d + t + h + n); + } + function a(u, c, d, h) { + u !== c + ? (u - c > 180 ? (c += 360) : c - u > 180 && (u += 360), + h.push({ i: d.push(r(d) + "rotate(", null, o) - 2, x: Tn(u, c) })) + : c && d.push(r(d) + "rotate(" + c + o); + } + function l(u, c, d, h) { + u !== c + ? h.push({ i: d.push(r(d) + "skewX(", null, o) - 2, x: Tn(u, c) }) + : c && d.push(r(d) + "skewX(" + c + o); + } + function s(u, c, d, h, f, m) { + if (u !== d || c !== h) { + var b = f.push(r(f) + "scale(", null, ",", null, ")"); + m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); + } else (d !== 1 || h !== 1) && f.push(r(f) + "scale(" + d + "," + h + ")"); + } + return function (u, c) { + var d = [], + h = []; + return ( + (u = e(u)), + (c = e(c)), + i(u.translateX, u.translateY, c.translateX, c.translateY, d, h), + a(u.rotate, c.rotate, d, h), + l(u.skewX, c.skewX, d, h), + s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, h), + (u = c = null), + function (f) { + for (var m = -1, b = h.length, y; ++m < b; ) d[(y = h[m]).i] = y.x(f); + return d.join(""); + } + ); }; } -var ag = x3(og, "px, ", "px)", "deg)"), ig = x3(rg, ", ", ")", ")"), lg = 1e-12; -function gu(e) { +var Xh = u3(Gh, "px, ", "px)", "deg)"), + Qh = u3(Kh, ", ", ")", ")"), + Jh = 1e-12; +function cu(e) { return ((e = Math.exp(e)) + 1 / e) / 2; } -function sg(e) { +function eg(e) { return ((e = Math.exp(e)) - 1 / e) / 2; } -function cg(e) { +function tg(e) { return ((e = Math.exp(2 * e)) - 1) / (e + 1); } -const ug = 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], p = i[2], h = c - l, m = d - s, b = h * h + m * m, y, g; - if (b < lg) - g = Math.log(p / u) / t, y = function(M) { - return [ - l + M * h, - s + M * m, - u * Math.exp(t * M * g) - ]; - }; +const ng = (function e(t, n, o) { + function r(i, a) { + var l = i[0], + s = i[1], + u = i[2], + c = a[0], + d = a[1], + h = a[2], + f = c - l, + m = d - s, + b = f * f + m * m, + y, + g; + if (b < Jh) + (g = Math.log(h / u) / t), + (y = function (_) { + return [l + _ * f, s + _ * m, u * Math.exp(t * _ * g)]; + }); else { - var x = Math.sqrt(b), C = (p * p - u * u + o * b) / (2 * u * n * x), S = (p * p - u * u - o * b) / (2 * p * n * x), w = Math.log(Math.sqrt(C * C + 1) - C), E = Math.log(Math.sqrt(S * S + 1) - S); - g = (E - w) / t, y = function(M) { - var _ = M * g, L = gu(w), R = u / (n * x) * (L * cg(t * _ + w) - sg(w)); - return [ - l + R * h, - s + R * m, - u * L / gu(t * _ + w) - ]; - }; + var x = Math.sqrt(b), + C = (h * h - u * u + o * b) / (2 * u * n * x), + E = (h * h - u * u - o * b) / (2 * h * n * x), + w = Math.log(Math.sqrt(C * C + 1) - C), + S = Math.log(Math.sqrt(E * E + 1) - E); + (g = (S - w) / t), + (y = function (_) { + var A = _ * g, + R = cu(w), + L = (u / (n * x)) * (R * tg(t * A + w) - eg(w)); + return [l + L * f, s + L * m, (u * R) / cu(t * A + w)]; + }); } - return y.duration = g * 1e3 * t / Math.SQRT2, y; - } - return r.rho = function(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 No = 0, er = 0, Uo = 0, w3 = 1e3, Ia, tr, za = 0, to = 0, ai = 0, Cr = typeof performance == "object" && performance.now ? performance : Date, E3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { - setTimeout(e, 17); -}; -function Mc() { - return to || (E3(dg), to = Cr.now() + ai); + return (y.duration = (g * 1e3 * t) / Math.SQRT2), y; + } + return ( + (r.rho = function (i) { + var a = Math.max(1e-3, +i), + l = a * a, + s = l * l; + return e(a, l, s); + }), + r + ); +})(Math.SQRT2, 2, 4); +var Ao = 0, + Ko = 0, + Vo = 0, + d3 = 1e3, + Oi, + Xo, + Ni = 0, + Qn = 0, + ta = 0, + gr = typeof performance == "object" && performance.now ? performance : Date, + f3 = + typeof window == "object" && window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : function (e) { + setTimeout(e, 17); + }; +function xc() { + return Qn || (f3(og), (Qn = gr.now() + ta)); } -function dg() { - to = 0; +function og() { + Qn = 0; } -function Ha() { +function Di() { this._call = this._time = this._next = null; } -Ha.prototype = S3.prototype = { - constructor: Ha, - restart: function(e, t, n) { - if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? Mc() : +n) + (t == null ? 0 : +t), !this._next && tr !== this && (tr ? tr._next = this : Ia = this, tr = this), this._call = e, this._time = n, Ss(); +Di.prototype = p3.prototype = { + constructor: Di, + restart: function (e, t, n) { + if (typeof e != "function") + throw new TypeError("callback is not a function"); + (n = (n == null ? xc() : +n) + (t == null ? 0 : +t)), + !this._next && + Xo !== this && + (Xo ? (Xo._next = this) : (Oi = this), (Xo = this)), + (this._call = e), + (this._time = n), + Cs(); + }, + stop: function () { + this._call && ((this._call = null), (this._time = 1 / 0), Cs()); }, - stop: function() { - this._call && (this._call = null, this._time = 1 / 0, Ss()); - } }; -function S3(e, t, n) { - var o = new Ha(); +function p3(e, t, n) { + var o = new Di(); return o.restart(e, t, n), o; } -function fg() { - Mc(), ++No; - for (var e = Ia, t; e; ) - (t = to - e._time) >= 0 && e._call.call(void 0, t), e = e._next; - --No; +function rg() { + xc(), ++Ao; + for (var e = Oi, t; e; ) + (t = Qn - e._time) >= 0 && e._call.call(void 0, t), (e = e._next); + --Ao; } -function mu() { - to = (za = Cr.now()) + ai, No = er = 0; +function uu() { + (Qn = (Ni = gr.now()) + ta), (Ao = Ko = 0); try { - fg(); + rg(); } finally { - No = 0, pg(), to = 0; + (Ao = 0), ag(), (Qn = 0); } } -function hg() { - var e = Cr.now(), t = e - za; - t > w3 && (ai -= t, za = e); +function ig() { + var e = gr.now(), + t = e - Ni; + t > d3 && ((ta -= t), (Ni = e)); } -function pg() { - for (var e, t = Ia, 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 : Ia = n); - tr = e, Ss(o); +function ag() { + for (var e, t = Oi, n, o = 1 / 0; t; ) + t._call + ? (o > t._time && (o = t._time), (e = t), (t = t._next)) + : ((n = t._next), (t._next = null), (t = e ? (e._next = n) : (Oi = n))); + (Xo = e), Cs(o); } -function Ss(e) { - if (!No) { - er && (er = clearTimeout(er)); - var t = e - to; - t > 24 ? (e < 1 / 0 && (er = setTimeout(mu, e - Cr.now() - ai)), Uo && (Uo = clearInterval(Uo))) : (Uo || (za = Cr.now(), Uo = setInterval(hg, w3)), No = 1, E3(mu)); +function Cs(e) { + if (!Ao) { + Ko && (Ko = clearTimeout(Ko)); + var t = e - Qn; + t > 24 + ? (e < 1 / 0 && (Ko = setTimeout(uu, e - gr.now() - ta)), + Vo && (Vo = clearInterval(Vo))) + : (Vo || ((Ni = gr.now()), (Vo = setInterval(ig, d3))), (Ao = 1), f3(uu)); } } -function bu(e, t, n) { - var o = new Ha(); - return t = t == null ? 0 : +t, o.restart((r) => { - o.stop(), e(r + t); - }, t, n), o; +function du(e, t, n) { + var o = new Di(); + return ( + (t = t == null ? 0 : +t), + o.restart( + (r) => { + o.stop(), e(r + t); + }, + t, + n, + ), + o + ); } -var gg = oi("start", "end", "cancel", "interrupt"), mg = [], k3 = 0, yu = 1, ks = 2, Ca = 3, Cu = 4, _s = 5, va = 6; -function ii(e, t, n, o, r, a) { - var i = e.__transition; - if (!i) e.__transition = {}; - else if (n in i) return; - bg(e, n, { +var lg = Ji("start", "end", "cancel", "interrupt"), + sg = [], + h3 = 0, + fu = 1, + vs = 2, + fi = 3, + pu = 4, + xs = 5, + pi = 6; +function na(e, t, n, o, r, i) { + var a = e.__transition; + if (!a) e.__transition = {}; + else if (n in a) return; + cg(e, n, { name: t, index: o, // For context during callback. group: r, // For context during callback. - on: gg, - tween: mg, - time: a.time, - delay: a.delay, - duration: a.duration, - ease: a.ease, + on: lg, + tween: sg, + time: i.time, + delay: i.delay, + duration: i.duration, + ease: i.ease, timer: null, - state: k3 + state: h3, }); } -function Tc(e, t) { - var n = Jt(e, t); - if (n.state > k3) throw new Error("too late; already scheduled"); +function wc(e, t) { + var n = Xt(e, t); + if (n.state > h3) throw new Error("too late; already scheduled"); return n; } -function hn(e, t) { - var n = Jt(e, t); - if (n.state > Ca) throw new Error("too late; already running"); +function dn(e, t) { + var n = Xt(e, t); + if (n.state > fi) throw new Error("too late; already running"); return n; } -function Jt(e, t) { +function Xt(e, t) { var n = e.__transition; if (!n || !(n = n[t])) throw new Error("transition not found"); return n; } -function bg(e, t, n) { - var o = e.__transition, r; - o[t] = n, n.timer = S3(a, 0, n.time); - function a(u) { - n.state = yu, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); - } +function cg(e, t, n) { + var o = e.__transition, + r; + (o[t] = n), (n.timer = p3(i, 0, n.time)); function i(u) { - var c, d, p, h; - if (n.state !== yu) return s(); + (n.state = fu), + n.timer.restart(a, n.delay, n.time), + n.delay <= u && a(u - n.delay); + } + function a(u) { + var c, d, h, f; + if (n.state !== fu) return s(); for (c in o) - if (h = o[c], h.name === n.name) { - if (h.state === Ca) return bu(i); - h.state === Cu ? (h.state = va, h.timer.stop(), h.on.call("interrupt", e, e.__data__, h.index, h.group), delete o[c]) : +c < t && (h.state = va, h.timer.stop(), h.on.call("cancel", e, e.__data__, h.index, h.group), delete o[c]); + if (((f = o[c]), f.name === n.name)) { + if (f.state === fi) return du(a); + f.state === pu + ? ((f.state = pi), + f.timer.stop(), + f.on.call("interrupt", e, e.__data__, f.index, f.group), + delete o[c]) + : +c < t && + ((f.state = pi), + f.timer.stop(), + f.on.call("cancel", e, e.__data__, f.index, f.group), + delete o[c]); } - if (bu(function() { - n.state === Ca && (n.state = Cu, n.timer.restart(l, n.delay, n.time), l(u)); - }), n.state = ks, n.on.call("start", e, e.__data__, n.index, n.group), n.state === ks) { - for (n.state = Ca, r = new Array(p = n.tween.length), c = 0, d = -1; c < p; ++c) - (h = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = h); + if ( + (du(function () { + n.state === fi && + ((n.state = pu), n.timer.restart(l, n.delay, n.time), l(u)); + }), + (n.state = vs), + n.on.call("start", e, e.__data__, n.index, n.group), + n.state === vs) + ) { + for ( + n.state = fi, r = new Array((h = n.tween.length)), c = 0, d = -1; + c < h; + ++c + ) + (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && + (r[++d] = f); r.length = d + 1; } } function l(u) { - for (var c = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(s), n.state = _s, 1), d = -1, p = r.length; ++d < p; ) + for ( + var c = + u < n.duration + ? n.ease.call(null, u / n.duration) + : (n.timer.restart(s), (n.state = xs), 1), + d = -1, + h = r.length; + ++d < h; + + ) r[d].call(e, c); - n.state === _s && (n.on.call("end", e, e.__data__, n.index, n.group), s()); + n.state === xs && (n.on.call("end", e, e.__data__, n.index, n.group), s()); } function s() { - n.state = va, n.timer.stop(), delete o[t]; + (n.state = pi), n.timer.stop(), delete o[t]; for (var u in o) return; delete e.__transition; } } -function xa(e, t) { - var n = e.__transition, o, r, a = !0, i; +function hi(e, t) { + var n = e.__transition, + o, + r, + i = !0, + a; if (n) { t = t == null ? null : t + ""; - for (i in n) { - if ((o = n[i]).name !== t) { - a = !1; + for (a in n) { + if ((o = n[a]).name !== t) { + i = !1; continue; } - r = o.state > ks && o.state < _s, o.state = va, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; + (r = o.state > vs && o.state < xs), + (o.state = pi), + o.timer.stop(), + o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), + delete n[a]; } - a && delete e.__transition; + i && delete e.__transition; } } -function yg(e) { - return this.each(function() { - xa(this, e); +function ug(e) { + return this.each(function () { + hi(this, e); }); } -function Cg(e, t) { +function dg(e, t) { var n, o; - return function() { - var r = hn(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); + return function () { + var r = dn(this, e), + i = r.tween; + if (i !== n) { + o = n = i; + for (var a = 0, l = o.length; a < l; ++a) + if (o[a].name === t) { + (o = o.slice()), o.splice(a, 1); break; } } r.tween = o; }; } -function vg(e, t, n) { +function fg(e, t, n) { var o, r; if (typeof n != "function") throw new Error(); - return function() { - var a = hn(this, e), i = a.tween; - if (i !== o) { - r = (o = i).slice(); + return function () { + var i = dn(this, e), + a = i.tween; + if (a !== o) { + r = (o = a).slice(); for (var l = { name: t, value: n }, s = 0, u = r.length; s < u; ++s) if (r[s].name === t) { r[s] = l; @@ -18106,7659 +23017,13934 @@ function vg(e, t, n) { } s === u && r.push(l); } - a.tween = r; + i.tween = r; }; } -function xg(e, t) { +function pg(e, t) { var n = this._id; - if (e += "", arguments.length < 2) { - for (var o = Jt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) - if ((i = o[r]).name === e) - return i.value; + if (((e += ""), arguments.length < 2)) { + for (var o = Xt(this.node(), n).tween, r = 0, i = o.length, a; r < i; ++r) + if ((a = o[r]).name === e) return a.value; return null; } - return this.each((t == null ? Cg : vg)(n, e, t)); + return this.each((t == null ? dg : fg)(n, e, t)); +} +function Ec(e, t, n) { + var o = e._id; + return ( + e.each(function () { + var r = dn(this, o); + (r.value || (r.value = {}))[t] = n.apply(this, arguments); + }), + function (r) { + return Xt(r, o).value[t]; + } + ); +} +function g3(e, t) { + var n; + return ( + typeof t == "number" + ? Tn + : t instanceof hr + ? lu + : (n = hr(t)) + ? ((t = n), lu) + : Yh + )(e, t); +} +function hg(e) { + return function () { + this.removeAttribute(e); + }; +} +function gg(e) { + return function () { + this.removeAttributeNS(e.space, e.local); + }; +} +function mg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = this.getAttribute(e); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function bg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = this.getAttributeNS(e.space, e.local); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function yg(e, t, n) { + var o, r, i; + return function () { + var a, + l = n(this), + s; + return l == null + ? void this.removeAttribute(e) + : ((a = this.getAttribute(e)), + (s = l + ""), + a === s + ? null + : a === o && s === r + ? i + : ((r = s), (i = t((o = a), l)))); + }; +} +function Cg(e, t, n) { + var o, r, i; + return function () { + var a, + l = n(this), + s; + return l == null + ? void this.removeAttributeNS(e.space, e.local) + : ((a = this.getAttributeNS(e.space, e.local)), + (s = l + ""), + a === s + ? null + : a === o && s === r + ? i + : ((r = s), (i = t((o = a), l)))); + }; +} +function vg(e, t) { + var n = ea(e), + o = n === "transform" ? Qh : g3; + return this.attrTween( + e, + typeof t == "function" + ? (n.local ? Cg : yg)(n, o, Ec(this, "attr." + e, t)) + : t == null + ? (n.local ? gg : hg)(n) + : (n.local ? bg : mg)(n, o, t), + ); +} +function xg(e, t) { + return function (n) { + this.setAttribute(e, t.call(this, n)); + }; +} +function wg(e, t) { + return function (n) { + this.setAttributeNS(e.space, e.local, t.call(this, n)); + }; +} +function Eg(e, t) { + var n, o; + function r() { + var i = t.apply(this, arguments); + return i !== o && (n = (o = i) && wg(e, i)), n; + } + return (r._value = t), r; +} +function Sg(e, t) { + var n, o; + function r() { + var i = t.apply(this, arguments); + return i !== o && (n = (o = i) && xg(e, i)), n; + } + return (r._value = t), r; +} +function kg(e, t) { + var n = "attr." + e; + if (arguments.length < 2) return (n = this.tween(n)) && n._value; + if (t == null) return this.tween(n, null); + if (typeof t != "function") throw new Error(); + var o = ea(e); + return this.tween(n, (o.local ? Eg : Sg)(o, t)); +} +function _g(e, t) { + return function () { + wc(this, e).delay = +t.apply(this, arguments); + }; +} +function Ag(e, t) { + return ( + (t = +t), + function () { + wc(this, e).delay = t; + } + ); +} +function Mg(e) { + var t = this._id; + return arguments.length + ? this.each((typeof e == "function" ? _g : Ag)(t, e)) + : Xt(this.node(), t).delay; +} +function Tg(e, t) { + return function () { + dn(this, e).duration = +t.apply(this, arguments); + }; +} +function Og(e, t) { + return ( + (t = +t), + function () { + dn(this, e).duration = t; + } + ); +} +function Ng(e) { + var t = this._id; + return arguments.length + ? this.each((typeof e == "function" ? Tg : Og)(t, e)) + : Xt(this.node(), t).duration; +} +function Dg(e, t) { + if (typeof t != "function") throw new Error(); + return function () { + dn(this, e).ease = t; + }; +} +function Lg(e) { + var t = this._id; + return arguments.length ? this.each(Dg(t, e)) : Xt(this.node(), t).ease; +} +function Fg(e, t) { + return function () { + var n = t.apply(this, arguments); + if (typeof n != "function") throw new Error(); + dn(this, e).ease = n; + }; +} +function Rg(e) { + if (typeof e != "function") throw new Error(); + return this.each(Fg(this._id, e)); +} +function jg(e) { + typeof e != "function" && (e = qd(e)); + for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) + for (var i = t[r], a = i.length, l = (o[r] = []), s, u = 0; u < a; ++u) + (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); + return new vn(o, this._parents, this._name, this._id); +} +function Ig(e) { + if (e._id !== this._id) throw new Error(); + for ( + var t = this._groups, + n = e._groups, + o = t.length, + r = n.length, + i = Math.min(o, r), + a = new Array(o), + l = 0; + l < i; + ++l + ) + for ( + var s = t[l], u = n[l], c = s.length, d = (a[l] = new Array(c)), h, f = 0; + f < c; + ++f + ) + (h = s[f] || u[f]) && (d[f] = h); + for (; l < o; ++l) a[l] = t[l]; + return new vn(a, this._parents, this._name, this._id); +} +function zg(e) { + return (e + "") + .trim() + .split(/^|\s+/) + .every(function (t) { + var n = t.indexOf("."); + return n >= 0 && (t = t.slice(0, n)), !t || t === "start"; + }); +} +function Hg(e, t, n) { + var o, + r, + i = zg(t) ? wc : dn; + return function () { + var a = i(this, e), + l = a.on; + l !== o && (r = (o = l).copy()).on(t, n), (a.on = r); + }; +} +function Pg(e, t) { + var n = this._id; + return arguments.length < 2 + ? Xt(this.node(), n).on.on(e) + : this.each(Hg(n, e, t)); +} +function Bg(e) { + return function () { + var t = this.parentNode; + for (var n in this.__transition) if (+n !== e) return; + t && t.removeChild(this); + }; +} +function Vg() { + return this.on("end.remove", Bg(this._id)); +} +function $g(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = yc(e)); + for (var o = this._groups, r = o.length, i = new Array(r), a = 0; a < r; ++a) + for ( + var l = o[a], s = l.length, u = (i[a] = new Array(s)), c, d, h = 0; + h < s; + ++h + ) + (c = l[h]) && + (d = e.call(c, c.__data__, h, l)) && + ("__data__" in c && (d.__data__ = c.__data__), + (u[h] = d), + na(u[h], t, n, h, u, Xt(c, n))); + return new vn(i, this._parents, t, n); +} +function Wg(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = Ud(e)); + for (var o = this._groups, r = o.length, i = [], a = [], l = 0; l < r; ++l) + for (var s = o[l], u = s.length, c, d = 0; d < u; ++d) + if ((c = s[d])) { + for ( + var h = e.call(c, c.__data__, d, s), + f, + m = Xt(c, n), + b = 0, + y = h.length; + b < y; + ++b + ) + (f = h[b]) && na(f, t, n, b, h, m); + i.push(h), a.push(c); + } + return new vn(i, a, t, n); +} +var Zg = _r.prototype.constructor; +function Ug() { + return new Zg(this._groups, this._parents); +} +function qg(e, t) { + var n, o, r; + return function () { + var i = _o(this, e), + a = (this.style.removeProperty(e), _o(this, e)); + return i === a ? null : i === n && a === o ? r : (r = t((n = i), (o = a))); + }; +} +function m3(e) { + return function () { + this.style.removeProperty(e); + }; +} +function Yg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = _o(this, e); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function Gg(e, t, n) { + var o, r, i; + return function () { + var a = _o(this, e), + l = n(this), + s = l + ""; + return ( + l == null && (s = l = (this.style.removeProperty(e), _o(this, e))), + a === s ? null : a === o && s === r ? i : ((r = s), (i = t((o = a), l))) + ); + }; +} +function Kg(e, t) { + var n, + o, + r, + i = "style." + t, + a = "end." + i, + l; + return function () { + var s = dn(this, e), + u = s.on, + c = s.value[i] == null ? l || (l = m3(t)) : void 0; + (u !== n || r !== c) && (o = (n = u).copy()).on(a, (r = c)), (s.on = o); + }; +} +function Xg(e, t, n) { + var o = (e += "") == "transform" ? Xh : g3; + return t == null + ? this.styleTween(e, qg(e, o)).on("end.style." + e, m3(e)) + : typeof t == "function" + ? this.styleTween(e, Gg(e, o, Ec(this, "style." + e, t))).each( + Kg(this._id, e), + ) + : this.styleTween(e, Yg(e, o, t), n).on("end.style." + e, null); +} +function Qg(e, t, n) { + return function (o) { + this.style.setProperty(e, t.call(this, o), n); + }; +} +function Jg(e, t, n) { + var o, r; + function i() { + var a = t.apply(this, arguments); + return a !== r && (o = (r = a) && Qg(e, a, n)), o; + } + return (i._value = t), i; +} +function em(e, t, n) { + var o = "style." + (e += ""); + if (arguments.length < 2) return (o = this.tween(o)) && o._value; + if (t == null) return this.tween(o, null); + if (typeof t != "function") throw new Error(); + return this.tween(o, Jg(e, t, n ?? "")); +} +function tm(e) { + return function () { + this.textContent = e; + }; +} +function nm(e) { + return function () { + var t = e(this); + this.textContent = t ?? ""; + }; +} +function om(e) { + return this.tween( + "text", + typeof e == "function" + ? nm(Ec(this, "text", e)) + : tm(e == null ? "" : e + ""), + ); +} +function rm(e) { + return function (t) { + this.textContent = e.call(this, t); + }; +} +function im(e) { + var t, n; + function o() { + var r = e.apply(this, arguments); + return r !== n && (t = (n = r) && rm(r)), t; + } + return (o._value = e), o; +} +function am(e) { + var t = "text"; + if (arguments.length < 1) return (t = this.tween(t)) && t._value; + if (e == null) return this.tween(t, null); + if (typeof e != "function") throw new Error(); + return this.tween(t, im(e)); +} +function lm() { + for ( + var e = this._name, + t = this._id, + n = b3(), + o = this._groups, + r = o.length, + i = 0; + i < r; + ++i + ) + for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) + if ((s = a[u])) { + var c = Xt(s, t); + na(s, e, n, u, a, { + time: c.time + c.delay + c.duration, + delay: 0, + duration: c.duration, + ease: c.ease, + }); + } + return new vn(o, this._parents, e, n); +} +function sm() { + var e, + t, + n = this, + o = n._id, + r = n.size(); + return new Promise(function (i, a) { + var l = { value: a }, + s = { + value: function () { + --r === 0 && i(); + }, + }; + n.each(function () { + var u = dn(this, o), + c = u.on; + c !== e && + ((t = (e = c).copy()), + t._.cancel.push(l), + t._.interrupt.push(l), + t._.end.push(s)), + (u.on = t); + }), + r === 0 && i(); + }); +} +var cm = 0; +function vn(e, t, n, o) { + (this._groups = e), (this._parents = t), (this._name = n), (this._id = o); +} +function b3() { + return ++cm; +} +var hn = _r.prototype; +vn.prototype = { + constructor: vn, + select: $g, + selectAll: Wg, + selectChild: hn.selectChild, + selectChildren: hn.selectChildren, + filter: jg, + merge: Ig, + selection: Ug, + transition: lm, + call: hn.call, + nodes: hn.nodes, + node: hn.node, + size: hn.size, + empty: hn.empty, + each: hn.each, + on: Pg, + attr: vg, + attrTween: kg, + style: Xg, + styleTween: em, + text: om, + textTween: am, + remove: Vg, + tween: pg, + delay: Mg, + duration: Ng, + ease: Lg, + easeVarying: Rg, + end: sm, + [Symbol.iterator]: hn[Symbol.iterator], +}; +function um(e) { + return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; } -function Oc(e, t, n) { - var o = e._id; - return e.each(function() { - var r = hn(this, o); - (r.value || (r.value = {}))[t] = n.apply(this, arguments); - }), function(r) { - return Jt(r, o).value[t]; - }; +var dm = { + time: null, + // Set on use. + delay: 0, + duration: 250, + ease: um, +}; +function fm(e, t) { + for (var n; !(n = e.__transition) || !(n = n[t]); ) + if (!(e = e.parentNode)) throw new Error(`transition ${t} not found`); + return n; } -function _3(e, t) { - var n; - return (typeof t == "number" ? Nn : t instanceof yr ? hu : (n = yr(t)) ? (t = n, hu) : ng)(e, t); +function pm(e) { + var t, n; + e instanceof vn + ? ((t = e._id), (e = e._name)) + : ((t = b3()), ((n = dm).time = xc()), (e = e == null ? null : e + "")); + for (var o = this._groups, r = o.length, i = 0; i < r; ++i) + for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) + (s = a[u]) && na(s, e, t, u, a, n || fm(s, t)); + return new vn(o, this._parents, e, t); +} +_r.prototype.interrupt = ug; +_r.prototype.transition = pm; +const Kr = (e) => () => e; +function hm(e, { sourceEvent: t, target: n, transform: o, dispatch: r }) { + Object.defineProperties(this, { + type: { value: e, enumerable: !0, configurable: !0 }, + sourceEvent: { value: t, enumerable: !0, configurable: !0 }, + target: { value: n, enumerable: !0, configurable: !0 }, + transform: { value: o, enumerable: !0, configurable: !0 }, + _: { value: r }, + }); } -function wg(e) { - return function() { - this.removeAttribute(e); - }; +function mn(e, t, n) { + (this.k = e), (this.x = t), (this.y = n); } -function Eg(e) { - return function() { - this.removeAttributeNS(e.space, e.local); - }; +mn.prototype = { + constructor: mn, + scale: function (e) { + return e === 1 ? this : new mn(this.k * e, this.x, this.y); + }, + translate: function (e, t) { + return (e === 0) & (t === 0) + ? this + : new mn(this.k, this.x + this.k * e, this.y + this.k * t); + }, + apply: function (e) { + return [e[0] * this.k + this.x, e[1] * this.k + this.y]; + }, + applyX: function (e) { + return e * this.k + this.x; + }, + applyY: function (e) { + return e * this.k + this.y; + }, + invert: function (e) { + return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k]; + }, + invertX: function (e) { + return (e - this.x) / this.k; + }, + invertY: function (e) { + return (e - this.y) / this.k; + }, + rescaleX: function (e) { + return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e)); + }, + rescaleY: function (e) { + return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e)); + }, + toString: function () { + return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; + }, +}; +var Dn = new mn(1, 0, 0); +mn.prototype; +function Ll(e) { + e.stopImmediatePropagation(); } -function Sg(e, t, n) { - var o, r = n + "", a; - return function() { - var i = this.getAttribute(e); - return i === r ? null : i === o ? a : a = t(o = i, n); - }; +function $o(e) { + e.preventDefault(), e.stopImmediatePropagation(); } -function kg(e, t, n) { - 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); - }; +function gm(e) { + return (!e.ctrlKey || e.type === "wheel") && !e.button; } -function _g(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))); - }; +function mm() { + var e = this; + return e instanceof SVGElement + ? ((e = e.ownerSVGElement || e), + e.hasAttribute("viewBox") + ? ((e = e.viewBox.baseVal), + [ + [e.x, e.y], + [e.x + e.width, e.y + e.height], + ]) + : [ + [0, 0], + [e.width.baseVal.value, e.height.baseVal.value], + ]) + : [ + [0, 0], + [e.clientWidth, e.clientHeight], + ]; } -function Ag(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))); - }; +function hu() { + return this.__zoom || Dn; } -function Mg(e, t) { - var n = ri(e), o = n === "transform" ? ig : _3; - return this.attrTween(e, typeof t == "function" ? (n.local ? Ag : _g)(n, o, Oc(this, "attr." + e, t)) : t == null ? (n.local ? Eg : wg)(n) : (n.local ? kg : Sg)(n, o, t)); +function bm(e) { + return ( + -e.deltaY * + (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * + (e.ctrlKey ? 10 : 1) + ); } -function Tg(e, t) { - return function(n) { - this.setAttribute(e, t.call(this, n)); - }; +function ym() { + return navigator.maxTouchPoints || "ontouchstart" in this; } -function Og(e, t) { - return function(n) { - this.setAttributeNS(e.space, e.local, t.call(this, n)); - }; +function Cm(e, t, n) { + var o = e.invertX(t[0][0]) - n[0][0], + r = e.invertX(t[1][0]) - n[1][0], + i = e.invertY(t[0][1]) - n[0][1], + a = e.invertY(t[1][1]) - n[1][1]; + return e.translate( + r > o ? (o + r) / 2 : Math.min(0, o) || Math.max(0, r), + a > i ? (i + a) / 2 : Math.min(0, i) || Math.max(0, a), + ); } -function Ng(e, t) { - var n, o; - function r() { - var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Og(e, a)), n; +function vm() { + var e = gm, + t = mm, + n = Cm, + o = bm, + r = ym, + i = [0, 1 / 0], + a = [ + [-1 / 0, -1 / 0], + [1 / 0, 1 / 0], + ], + l = 250, + s = ng, + u = Ji("start", "zoom", "end"), + c, + d, + h, + f = 500, + m = 150, + b = 0, + y = 10; + function g(k) { + k.property("__zoom", hu) + .on("wheel.zoom", A, { passive: !1 }) + .on("mousedown.zoom", R) + .on("dblclick.zoom", L) + .filter(r) + .on("touchstart.zoom", j) + .on("touchmove.zoom", P) + .on("touchend.zoom touchcancel.zoom", V) + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + } + (g.transform = function (k, N, T, F) { + var I = k.selection ? k.selection() : k; + I.property("__zoom", hu), + k !== I + ? w(k, N, T, F) + : I.interrupt().each(function () { + S(this, arguments) + .event(F) + .start() + .zoom(null, typeof N == "function" ? N.apply(this, arguments) : N) + .end(); + }); + }), + (g.scaleBy = function (k, N, T, F) { + g.scaleTo( + k, + function () { + var I = this.__zoom.k, + D = typeof N == "function" ? N.apply(this, arguments) : N; + return I * D; + }, + T, + F, + ); + }), + (g.scaleTo = function (k, N, T, F) { + g.transform( + k, + function () { + var I = t.apply(this, arguments), + D = this.__zoom, + v = + T == null + ? E(I) + : typeof T == "function" + ? T.apply(this, arguments) + : T, + z = D.invert(v), + B = typeof N == "function" ? N.apply(this, arguments) : N; + return n(C(x(D, B), v, z), I, a); + }, + T, + F, + ); + }), + (g.translateBy = function (k, N, T, F) { + g.transform( + k, + function () { + return n( + this.__zoom.translate( + typeof N == "function" ? N.apply(this, arguments) : N, + typeof T == "function" ? T.apply(this, arguments) : T, + ), + t.apply(this, arguments), + a, + ); + }, + null, + F, + ); + }), + (g.translateTo = function (k, N, T, F, I) { + g.transform( + k, + function () { + var D = t.apply(this, arguments), + v = this.__zoom, + z = + F == null + ? E(D) + : typeof F == "function" + ? F.apply(this, arguments) + : F; + return n( + Dn.translate(z[0], z[1]) + .scale(v.k) + .translate( + typeof N == "function" ? -N.apply(this, arguments) : -N, + typeof T == "function" ? -T.apply(this, arguments) : -T, + ), + D, + a, + ); + }, + F, + I, + ); + }); + function x(k, N) { + return ( + (N = Math.max(i[0], Math.min(i[1], N))), + N === k.k ? k : new mn(N, k.x, k.y) + ); } - return r._value = t, r; -} -function Dg(e, t) { - var n, o; - function r() { - var a = t.apply(this, arguments); - return a !== o && (n = (o = a) && Tg(e, a)), n; + function C(k, N, T) { + var F = N[0] - T[0] * k.k, + I = N[1] - T[1] * k.k; + return F === k.x && I === k.y ? k : new mn(k.k, F, I); } - return r._value = t, r; -} -function Lg(e, t) { - var n = "attr." + e; - if (arguments.length < 2) return (n = this.tween(n)) && n._value; - if (t == null) return this.tween(n, null); - if (typeof t != "function") throw new Error(); - var o = ri(e); - return this.tween(n, (o.local ? Ng : Dg)(o, t)); -} -function jg(e, t) { - return function() { - Tc(this, e).delay = +t.apply(this, arguments); - }; -} -function Fg(e, t) { - return t = +t, function() { - Tc(this, e).delay = t; + function E(k) { + return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; + } + function w(k, N, T, F) { + k.on("start.zoom", function () { + S(this, arguments).event(F).start(); + }) + .on("interrupt.zoom end.zoom", function () { + S(this, arguments).event(F).end(); + }) + .tween("zoom", function () { + var I = this, + D = arguments, + v = S(I, D).event(F), + z = t.apply(I, D), + B = T == null ? E(z) : typeof T == "function" ? T.apply(I, D) : T, + M = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), + W = I.__zoom, + G = typeof N == "function" ? N.apply(I, D) : N, + K = s(W.invert(B).concat(M / W.k), G.invert(B).concat(M / G.k)); + return function (Q) { + if (Q === 1) Q = G; + else { + var ne = K(Q), + oe = M / ne[2]; + Q = new mn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); + } + v.zoom(null, Q); + }; + }); + } + function S(k, N, T) { + return (!T && k.__zooming) || new _(k, N); + } + function _(k, N) { + (this.that = k), + (this.args = N), + (this.active = 0), + (this.sourceEvent = null), + (this.extent = t.apply(k, N)), + (this.taps = 0); + } + _.prototype = { + event: function (k) { + return k && (this.sourceEvent = k), this; + }, + start: function () { + return ( + ++this.active === 1 && + ((this.that.__zooming = this), this.emit("start")), + this + ); + }, + zoom: function (k, N) { + return ( + this.mouse && + k !== "mouse" && + (this.mouse[1] = N.invert(this.mouse[0])), + this.touch0 && + k !== "touch" && + (this.touch0[1] = N.invert(this.touch0[0])), + this.touch1 && + k !== "touch" && + (this.touch1[1] = N.invert(this.touch1[0])), + (this.that.__zoom = N), + this.emit("zoom"), + this + ); + }, + end: function () { + return ( + --this.active === 0 && (delete this.that.__zooming, this.emit("end")), + this + ); + }, + emit: function (k) { + var N = Ut(this.that).datum(); + u.call( + k, + this.that, + new hm(k, { + sourceEvent: this.sourceEvent, + target: g, + type: k, + transform: this.that.__zoom, + dispatch: u, + }), + N, + ); + }, }; + function A(k, ...N) { + if (!e.apply(this, arguments)) return; + var T = S(this, N).event(k), + F = this.__zoom, + I = Math.max( + i[0], + Math.min(i[1], F.k * Math.pow(2, o.apply(this, arguments))), + ), + D = on(k); + if (T.wheel) + (T.mouse[0][0] !== D[0] || T.mouse[0][1] !== D[1]) && + (T.mouse[1] = F.invert((T.mouse[0] = D))), + clearTimeout(T.wheel); + else { + if (F.k === I) return; + (T.mouse = [D, F.invert(D)]), hi(this), T.start(); + } + $o(k), + (T.wheel = setTimeout(v, m)), + T.zoom("mouse", n(C(x(F, I), T.mouse[0], T.mouse[1]), T.extent, a)); + function v() { + (T.wheel = null), T.end(); + } + } + function R(k, ...N) { + if (h || !e.apply(this, arguments)) return; + var T = k.currentTarget, + F = S(this, N, !0).event(k), + I = Ut(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", M, !0), + D = on(k, T), + v = k.clientX, + z = k.clientY; + o3(k.view), + Ll(k), + (F.mouse = [D, this.__zoom.invert(D)]), + hi(this), + F.start(); + function B(W) { + if (($o(W), !F.moved)) { + var G = W.clientX - v, + K = W.clientY - z; + F.moved = G * G + K * K > b; + } + F.event(W).zoom( + "mouse", + n(C(F.that.__zoom, (F.mouse[0] = on(W, T)), F.mouse[1]), F.extent, a), + ); + } + function M(W) { + I.on("mousemove.zoom mouseup.zoom", null), + r3(W.view, F.moved), + $o(W), + F.event(W).end(); + } + } + function L(k, ...N) { + if (e.apply(this, arguments)) { + var T = this.__zoom, + F = on(k.changedTouches ? k.changedTouches[0] : k, this), + I = T.invert(F), + D = T.k * (k.shiftKey ? 0.5 : 2), + v = n(C(x(T, D), F, I), t.apply(this, N), a); + $o(k), + l > 0 + ? Ut(this).transition().duration(l).call(w, v, F, k) + : Ut(this).call(g.transform, v, F, k); + } + } + function j(k, ...N) { + if (e.apply(this, arguments)) { + var T = k.touches, + F = T.length, + I = S(this, N, k.changedTouches.length === F).event(k), + D, + v, + z, + B; + for (Ll(k), v = 0; v < F; ++v) + (z = T[v]), + (B = on(z, this)), + (B = [B, this.__zoom.invert(B), z.identifier]), + I.touch0 + ? !I.touch1 && + I.touch0[2] !== B[2] && + ((I.touch1 = B), (I.taps = 0)) + : ((I.touch0 = B), (D = !0), (I.taps = 1 + !!c)); + c && (c = clearTimeout(c)), + D && + (I.taps < 2 && + ((d = B[0]), + (c = setTimeout(function () { + c = null; + }, f))), + hi(this), + I.start()); + } + } + function P(k, ...N) { + if (this.__zooming) { + var T = S(this, N).event(k), + F = k.changedTouches, + I = F.length, + D, + v, + z, + B; + for ($o(k), D = 0; D < I; ++D) + (v = F[D]), + (z = on(v, this)), + T.touch0 && T.touch0[2] === v.identifier + ? (T.touch0[0] = z) + : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); + if (((v = T.that.__zoom), T.touch1)) { + var M = T.touch0[0], + W = T.touch0[1], + G = T.touch1[0], + K = T.touch1[1], + Q = (Q = G[0] - M[0]) * Q + (Q = G[1] - M[1]) * Q, + ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; + (v = x(v, Math.sqrt(Q / ne))), + (z = [(M[0] + G[0]) / 2, (M[1] + G[1]) / 2]), + (B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]); + } else if (T.touch0) (z = T.touch0[0]), (B = T.touch0[1]); + else return; + T.zoom("touch", n(C(v, z, B), T.extent, a)); + } + } + function V(k, ...N) { + if (this.__zooming) { + var T = S(this, N).event(k), + F = k.changedTouches, + I = F.length, + D, + v; + for ( + Ll(k), + h && clearTimeout(h), + h = setTimeout(function () { + h = null; + }, f), + D = 0; + D < I; + ++D + ) + (v = F[D]), + T.touch0 && T.touch0[2] === v.identifier + ? delete T.touch0 + : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; + if ( + (T.touch1 && !T.touch0 && ((T.touch0 = T.touch1), delete T.touch1), + T.touch0) + ) + T.touch0[1] = this.__zoom.invert(T.touch0[0]); + else if ( + (T.end(), + T.taps === 2 && + ((v = on(v, this)), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) + ) { + var z = Ut(this).on("dblclick.zoom"); + z && z.apply(this, arguments); + } + } + } + return ( + (g.wheelDelta = function (k) { + return arguments.length + ? ((o = typeof k == "function" ? k : Kr(+k)), g) + : o; + }), + (g.filter = function (k) { + return arguments.length + ? ((e = typeof k == "function" ? k : Kr(!!k)), g) + : e; + }), + (g.touchable = function (k) { + return arguments.length + ? ((r = typeof k == "function" ? k : Kr(!!k)), g) + : r; + }), + (g.extent = function (k) { + return arguments.length + ? ((t = + typeof k == "function" + ? k + : Kr([ + [+k[0][0], +k[0][1]], + [+k[1][0], +k[1][1]], + ])), + g) + : t; + }), + (g.scaleExtent = function (k) { + return arguments.length + ? ((i[0] = +k[0]), (i[1] = +k[1]), g) + : [i[0], i[1]]; + }), + (g.translateExtent = function (k) { + return arguments.length + ? ((a[0][0] = +k[0][0]), + (a[1][0] = +k[1][0]), + (a[0][1] = +k[0][1]), + (a[1][1] = +k[1][1]), + g) + : [ + [a[0][0], a[0][1]], + [a[1][0], a[1][1]], + ]; + }), + (g.constrain = function (k) { + return arguments.length ? ((n = k), g) : n; + }), + (g.duration = function (k) { + return arguments.length ? ((l = +k), g) : l; + }), + (g.interpolate = function (k) { + return arguments.length ? ((s = k), g) : s; + }), + (g.on = function () { + var k = u.on.apply(u, arguments); + return k === u ? g : k; + }), + (g.clickDistance = function (k) { + return arguments.length ? ((b = (k = +k) * k), g) : Math.sqrt(b); + }), + (g.tapDistance = function (k) { + return arguments.length ? ((y = +k), g) : y; + }), + g + ); } -function Rg(e) { - var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? jg : Fg)(t, e)) : Jt(this.node(), t).delay; -} -function Ig(e, t) { - return function() { - hn(this, e).duration = +t.apply(this, arguments); - }; +const oa = zt(null), + xm = oa.Provider, + Kt = { + error001: () => + "[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001", + error002: () => + "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.", + error003: (e) => + `Node type "${e}" not found. Using fallback type "default".`, + error004: () => + "The React Flow parent container needs a width and a height to render the graph.", + error005: () => "Only child nodes can use a parent extent.", + error006: () => "Can't create edge. An edge needs a source and a target.", + error007: (e) => `The old edge with id=${e} does not exist.`, + error009: (e) => `Marker type "${e}" doesn't exist.`, + error008: (e, t) => + `Couldn't create edge for ${e ? "target" : "source"} handle id: "${e ? t.targetHandle : t.sourceHandle}", edge id: ${t.id}.`, + error010: () => + "Handle: No node id found. Make sure to only use a Handle inside a custom Node.", + error011: (e) => + `Edge type "${e}" not found. Using fallback type "default".`, + error012: (e) => + `Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`, + }, + y3 = Kt.error001(); +function Ze(e, t) { + const n = Je(oa); + if (n === null) throw new Error(y3); + return Wd(n, e, t); +} +const nt = () => { + const e = Je(oa); + if (e === null) throw new Error(y3); + return Be( + () => ({ + getState: e.getState, + setState: e.setState, + subscribe: e.subscribe, + destroy: e.destroy, + }), + [e], + ); + }, + wm = (e) => (e.userSelectionActive ? "none" : "all"); +function C3({ position: e, children: t, className: n, style: o, ...r }) { + const i = Ze(wm), + a = `${e}`.split("-"); + return $.createElement( + "div", + { + className: bt(["react-flow__panel", n, ...a]), + style: { ...o, pointerEvents: i }, + ...r, + }, + t, + ); } -function zg(e, t) { - return t = +t, function() { - hn(this, e).duration = t; - }; +function Em({ proOptions: e, position: t = "bottom-right" }) { + return e != null && e.hideAttribution + ? null + : $.createElement( + C3, + { + position: t, + className: "react-flow__attribution", + "data-message": + "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro", + }, + $.createElement( + "a", + { + href: "https://reactflow.dev", + target: "_blank", + rel: "noopener noreferrer", + "aria-label": "React Flow attribution", + }, + "React Flow", + ), + ); } -function Hg(e) { - var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Ig : zg)(t, e)) : Jt(this.node(), t).duration; +const Sm = ({ + x: e, + y: t, + label: n, + labelStyle: o = {}, + labelShowBg: r = !0, + labelBgStyle: i = {}, + labelBgPadding: a = [2, 4], + labelBgBorderRadius: l = 2, + children: s, + className: u, + ...c +}) => { + const d = pe(null), + [h, f] = ue({ x: 0, y: 0, width: 0, height: 0 }), + m = bt(["react-flow__edge-textwrapper", u]); + return ( + ce(() => { + if (d.current) { + const b = d.current.getBBox(); + f({ + x: b.x, + y: b.y, + width: b.width, + height: b.height, + }); + } + }, [n]), + typeof n > "u" || !n + ? null + : $.createElement( + "g", + { + transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, + className: m, + visibility: h.width ? "visible" : "hidden", + ...c, + }, + r && + $.createElement("rect", { + width: h.width + 2 * a[0], + x: -a[0], + y: -a[1], + height: h.height + 2 * a[1], + className: "react-flow__edge-textbg", + style: i, + rx: l, + ry: l, + }), + $.createElement( + "text", + { + className: "react-flow__edge-text", + y: h.height / 2, + dy: "0.3em", + ref: d, + style: o, + }, + n, + ), + s, + ) + ); +}; +var km = Ye(Sm); +const Sc = (e) => ({ + width: e.offsetWidth, + height: e.offsetHeight, + }), + Mo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), + kc = (e = { x: 0, y: 0 }, t) => ({ + x: Mo(e.x, t[0][0], t[1][0]), + y: Mo(e.y, t[0][1], t[1][1]), + }), + gu = (e, t, n) => + e < t + ? Mo(Math.abs(e - t), 1, 50) / 50 + : e > n + ? -Mo(Math.abs(e - n), 1, 50) / 50 + : 0, + v3 = (e, t) => { + const n = gu(e.x, 35, t.width - 35) * 20, + o = gu(e.y, 35, t.height - 35) * 20; + return [n, o]; + }, + x3 = (e) => { + var t; + return ( + ((t = e.getRootNode) == null ? void 0 : t.call(e)) || + (window == null ? void 0 : window.document) + ); + }, + _m = (e, t) => ({ + x: Math.min(e.x, t.x), + y: Math.min(e.y, t.y), + x2: Math.max(e.x2, t.x2), + y2: Math.max(e.y2, t.y2), + }), + _c = ({ x: e, y: t, width: n, height: o }) => ({ + x: e, + y: t, + x2: e + n, + y2: t + o, + }), + Am = ({ x: e, y: t, x2: n, y2: o }) => ({ + x: e, + y: t, + width: n - e, + height: o - t, + }), + mu = (e) => ({ + ...(e.positionAbsolute || { x: 0, y: 0 }), + width: e.width || 0, + height: e.height || 0, + }), + ws = (e, t) => { + const n = Math.max( + 0, + Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x), + ), + o = Math.max( + 0, + Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y), + ); + return Math.ceil(n * o); + }, + Mm = (e) => jt(e.width) && jt(e.height) && jt(e.x) && jt(e.y), + jt = (e) => !isNaN(e) && isFinite(e), + qe = Symbol.for("internals"), + w3 = ["Enter", " ", "Escape"], + E3 = (e, t) => { + process.env.NODE_ENV === "development" && + console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); + }, + Tm = (e) => "nativeEvent" in e; +function Es(e) { + var r, i; + const t = Tm(e) ? e.nativeEvent : e, + n = + ((i = (r = t.composedPath) == null ? void 0 : r.call(t)) == null + ? void 0 + : i[0]) || e.target; + return ( + ["INPUT", "SELECT", "TEXTAREA"].includes(n == null ? void 0 : n.nodeName) || + (n == null ? void 0 : n.hasAttribute("contenteditable")) || + !!(n != null && n.closest(".nokey")) + ); } -function Pg(e, t) { - if (typeof t != "function") throw new Error(); - return function() { - hn(this, e).ease = t; - }; +const S3 = (e) => "clientX" in e, + Ln = (e, t) => { + var i, a; + const n = S3(e), + o = n ? e.clientX : (i = e.touches) == null ? void 0 : i[0].clientX, + r = n ? e.clientY : (a = e.touches) == null ? void 0 : a[0].clientY; + return { + x: o - ((t == null ? void 0 : t.left) ?? 0), + y: r - ((t == null ? void 0 : t.top) ?? 0), + }; + }, + Li = () => { + var e; + return ( + typeof navigator < "u" && + ((e = navigator == null ? void 0 : navigator.userAgent) == null + ? void 0 + : e.indexOf("Mac")) >= 0 + ); + }, + Fo = ({ + id: e, + path: t, + labelX: n, + labelY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f = 20, + }) => + $.createElement( + $.Fragment, + null, + $.createElement("path", { + id: e, + style: c, + d: t, + fill: "none", + className: "react-flow__edge-path", + markerEnd: d, + markerStart: h, + }), + f && + $.createElement("path", { + d: t, + fill: "none", + strokeOpacity: 0, + strokeWidth: f, + className: "react-flow__edge-interaction", + }), + r && jt(n) && jt(o) + ? $.createElement(km, { + x: n, + y: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + }) + : null, + ); +Fo.displayName = "BaseEdge"; +function Wo(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().edges.find((i) => i.id === e); + r && n(o, { ...r }); + }; } -function Bg(e) { - var t = this._id; - return arguments.length ? this.each(Pg(t, e)) : Jt(this.node(), t).ease; +function k3({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const r = Math.abs(n - e) / 2, + i = n < e ? n + r : n - r, + a = Math.abs(o - t) / 2, + l = o < t ? o + a : o - a; + return [i, l, r, a]; +} +function _3({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourceControlX: r, + sourceControlY: i, + targetControlX: a, + targetControlY: l, +}) { + const s = e * 0.125 + r * 0.375 + a * 0.375 + n * 0.125, + u = t * 0.125 + i * 0.375 + l * 0.375 + o * 0.125, + c = Math.abs(s - e), + d = Math.abs(u - t); + return [s, u, c, d]; } -function Vg(e, t) { - return function() { - var n = t.apply(this, arguments); - if (typeof n != "function") throw new Error(); - hn(this, e).ease = n; - }; +var Jn; +(function (e) { + (e.Strict = "strict"), (e.Loose = "loose"); +})(Jn || (Jn = {})); +var Wn; +(function (e) { + (e.Free = "free"), (e.Vertical = "vertical"), (e.Horizontal = "horizontal"); +})(Wn || (Wn = {})); +var mr; +(function (e) { + (e.Partial = "partial"), (e.Full = "full"); +})(mr || (mr = {})); +var Nn; +(function (e) { + (e.Bezier = "default"), + (e.Straight = "straight"), + (e.Step = "step"), + (e.SmoothStep = "smoothstep"), + (e.SimpleBezier = "simplebezier"); +})(Nn || (Nn = {})); +var Fi; +(function (e) { + (e.Arrow = "arrow"), (e.ArrowClosed = "arrowclosed"); +})(Fi || (Fi = {})); +var ae; +(function (e) { + (e.Left = "left"), + (e.Top = "top"), + (e.Right = "right"), + (e.Bottom = "bottom"); +})(ae || (ae = {})); +function bu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { + return e === ae.Left || e === ae.Right + ? [0.5 * (t + o), n] + : [t, 0.5 * (n + r)]; +} +function A3({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, +}) { + const [a, l] = bu({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + }), + [s, u] = bu({ + pos: i, + x1: o, + y1: r, + x2: e, + y2: t, + }), + [c, d, h, f] = _3({ + sourceX: e, + sourceY: t, + targetX: o, + targetY: r, + sourceControlX: a, + sourceControlY: l, + targetControlX: s, + targetControlY: u, + }); + return [`M${e},${t} C${a},${l} ${s},${u} ${o},${r}`, c, d, h, f]; } -function $g(e) { - if (typeof e != "function") throw new Error(); - return this.each(Vg(this._id, e)); +const Ac = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ae.Bottom, + targetPosition: i = ae.Top, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: b, + }) => { + const [y, g, x] = A3({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: i, + }); + return $.createElement(Fo, { + path: y, + labelX: g, + labelY: x, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: b, + }); + }, +); +Ac.displayName = "SimpleBezierEdge"; +const yu = { + [ae.Left]: { x: -1, y: 0 }, + [ae.Right]: { x: 1, y: 0 }, + [ae.Top]: { x: 0, y: -1 }, + [ae.Bottom]: { x: 0, y: 1 }, + }, + Om = ({ source: e, sourcePosition: t = ae.Bottom, target: n }) => + t === ae.Left || t === ae.Right + ? e.x < n.x + ? { x: 1, y: 0 } + : { x: -1, y: 0 } + : e.y < n.y + ? { x: 0, y: 1 } + : { x: 0, y: -1 }, + Cu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function Nm({ + source: e, + sourcePosition: t = ae.Bottom, + target: n, + targetPosition: o = ae.Top, + center: r, + offset: i, +}) { + const a = yu[t], + l = yu[o], + s = { x: e.x + a.x * i, y: e.y + a.y * i }, + u = { x: n.x + l.x * i, y: n.y + l.y * i }, + c = Om({ + source: s, + sourcePosition: t, + target: u, + }), + d = c.x !== 0 ? "x" : "y", + h = c[d]; + let f = [], + m, + b; + const y = { x: 0, y: 0 }, + g = { x: 0, y: 0 }, + [x, C, E, w] = k3({ + sourceX: e.x, + sourceY: e.y, + targetX: n.x, + targetY: n.y, + }); + if (a[d] * l[d] === -1) { + (m = r.x ?? x), (b = r.y ?? C); + const _ = [ + { x: m, y: s.y }, + { x: m, y: u.y }, + ], + A = [ + { x: s.x, y: b }, + { x: u.x, y: b }, + ]; + a[d] === h ? (f = d === "x" ? _ : A) : (f = d === "x" ? A : _); + } else { + const _ = [{ x: s.x, y: u.y }], + A = [{ x: u.x, y: s.y }]; + if ( + (d === "x" ? (f = a.x === h ? A : _) : (f = a.y === h ? _ : A), t === o) + ) { + const V = Math.abs(e[d] - n[d]); + if (V <= i) { + const k = Math.min(i - 1, i - V); + a[d] === h + ? (y[d] = (s[d] > e[d] ? -1 : 1) * k) + : (g[d] = (u[d] > n[d] ? -1 : 1) * k); + } + } + if (t !== o) { + const V = d === "x" ? "y" : "x", + k = a[d] === l[V], + N = s[V] > u[V], + T = s[V] < u[V]; + ((a[d] === 1 && ((!k && N) || (k && T))) || + (a[d] !== 1 && ((!k && T) || (k && N)))) && + (f = d === "x" ? _ : A); + } + const R = { x: s.x + y.x, y: s.y + y.y }, + L = { x: u.x + g.x, y: u.y + g.y }, + j = Math.max(Math.abs(R.x - f[0].x), Math.abs(L.x - f[0].x)), + P = Math.max(Math.abs(R.y - f[0].y), Math.abs(L.y - f[0].y)); + j >= P + ? ((m = (R.x + L.x) / 2), (b = f[0].y)) + : ((m = f[0].x), (b = (R.y + L.y) / 2)); + } + return [ + [ + e, + { x: s.x + y.x, y: s.y + y.y }, + ...f, + { x: u.x + g.x, y: u.y + g.y }, + n, + ], + m, + b, + E, + w, + ]; } -function Wg(e) { - typeof e != "function" && (e = r3(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 wn(o, this._parents, this._name, this._id); +function Dm(e, t, n, o) { + const r = Math.min(Cu(e, t) / 2, Cu(t, n) / 2, o), + { x: i, y: a } = t; + if ((e.x === i && i === n.x) || (e.y === a && a === n.y)) return `L${i} ${a}`; + if (e.y === a) { + const u = e.x < n.x ? -1 : 1, + c = e.y < n.y ? 1 : -1; + return `L ${i + r * u},${a}Q ${i},${a} ${i},${a + r * c}`; + } + const l = e.x < n.x ? 1 : -1, + s = e.y < n.y ? -1 : 1; + return `L ${i},${a + r * s}Q ${i},${a} ${i + r * l},${a}`; +} +function Ss({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, + borderRadius: a = 5, + centerX: l, + centerY: s, + offset: u = 20, +}) { + const [c, d, h, f, m] = Nm({ + source: { x: e, y: t }, + sourcePosition: n, + target: { x: o, y: r }, + targetPosition: i, + center: { x: l, y: s }, + offset: u, + }); + return [ + c.reduce((y, g, x) => { + let C = ""; + return ( + x > 0 && x < c.length - 1 + ? (C = Dm(c[x - 1], g, c[x + 1], a)) + : (C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`), + (y += C), + y + ); + }, ""), + d, + h, + f, + m, + ]; } -function Zg(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), p, h = 0; h < c; ++h) - (p = s[h] || u[h]) && (d[h] = p); - for (; l < o; ++l) - i[l] = t[l]; - return new wn(i, this._parents, this._name, this._id); -} -function Ug(e) { - return (e + "").trim().split(/^|\s+/).every(function(t) { - var n = t.indexOf("."); - return n >= 0 && (t = t.slice(0, n)), !t || t === "start"; +const ra = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + sourcePosition: d = ae.Bottom, + targetPosition: h = ae.Top, + markerEnd: f, + markerStart: m, + pathOptions: b, + interactionWidth: y, + }) => { + const [g, x, C] = Ss({ + sourceX: e, + sourceY: t, + sourcePosition: d, + targetX: n, + targetY: o, + targetPosition: h, + borderRadius: b == null ? void 0 : b.borderRadius, + offset: b == null ? void 0 : b.offset, + }); + return $.createElement(Fo, { + path: g, + labelX: x, + labelY: C, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: f, + markerStart: m, + interactionWidth: y, + }); + }, +); +ra.displayName = "SmoothStepEdge"; +const Mc = Ye((e) => { + var t; + return $.createElement(ra, { + ...e, + pathOptions: Be(() => { + var n; + return { + borderRadius: 0, + offset: (n = e.pathOptions) == null ? void 0 : n.offset, + }; + }, [(t = e.pathOptions) == null ? void 0 : t.offset]), + }); +}); +Mc.displayName = "StepEdge"; +function Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const [r, i, a, l] = k3({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, }); + return [`M ${e},${t}L ${n},${o}`, r, i, a, l]; } -function qg(e, t, n) { - var o, r, a = Ug(t) ? Tc : hn; - return function() { - var i = a(this, e), l = i.on; - l !== o && (r = (o = l).copy()).on(t, n), i.on = r; - }; +const Tc = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f, + }) => { + const [m, b, y] = Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return $.createElement(Fo, { + path: m, + labelX: b, + labelY: y, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f, + }); + }, +); +Tc.displayName = "StraightEdge"; +function Xr(e, t) { + return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); } -function Yg(e, t) { - var n = this._id; - return arguments.length < 2 ? Jt(this.node(), n).on.on(e) : this.each(qg(n, e, t)); +function vu({ pos: e, x1: t, y1: n, x2: o, y2: r, c: i }) { + switch (e) { + case ae.Left: + return [t - Xr(t - o, i), n]; + case ae.Right: + return [t + Xr(o - t, i), n]; + case ae.Top: + return [t, n - Xr(n - r, i)]; + case ae.Bottom: + return [t, n + Xr(r - n, i)]; + } +} +function M3({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, + curvature: a = 0.25, +}) { + const [l, s] = vu({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + c: a, + }), + [u, c] = vu({ + pos: i, + x1: o, + y1: r, + x2: e, + y2: t, + c: a, + }), + [d, h, f, m] = _3({ + sourceX: e, + sourceY: t, + targetX: o, + targetY: r, + sourceControlX: l, + sourceControlY: s, + targetControlX: u, + targetControlY: c, + }); + return [`M${e},${t} C${l},${s} ${u},${c} ${o},${r}`, d, h, f, m]; } -function Gg(e) { - return function() { - var t = this.parentNode; - for (var n in this.__transition) if (+n !== e) return; - t && t.removeChild(this); - }; +const Ri = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ae.Bottom, + targetPosition: i = ae.Top, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + pathOptions: b, + interactionWidth: y, + }) => { + const [g, x, C] = M3({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: i, + curvature: b == null ? void 0 : b.curvature, + }); + return $.createElement(Fo, { + path: g, + labelX: x, + labelY: C, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: y, + }); + }, +); +Ri.displayName = "BezierEdge"; +const Oc = zt(null), + Fm = Oc.Provider; +Oc.Consumer; +const Rm = () => Je(Oc), + jm = (e) => "id" in e && "source" in e && "target" in e, + Im = (e) => "id" in e && !("source" in e) && !("target" in e), + zm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => + `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, + ks = (e, t) => + typeof e > "u" + ? "" + : typeof e == "string" + ? e + : `${t ? `${t}__` : ""}${Object.keys(e) + .sort() + .map((o) => `${o}=${e[o]}`) + .join("&")}`, + Hm = (e, t) => + t.some( + (n) => + n.source === e.source && + n.target === e.target && + (n.sourceHandle === e.sourceHandle || + (!n.sourceHandle && !e.sourceHandle)) && + (n.targetHandle === e.targetHandle || + (!n.targetHandle && !e.targetHandle)), + ), + Pm = (e, t) => { + if (!e.source || !e.target) return E3("006", Kt.error006()), t; + let n; + return ( + jm(e) + ? (n = { ...e }) + : (n = { + ...e, + id: zm(e), + }), + Hm(n, t) ? t : t.concat(n) + ); + }, + _s = ({ x: e, y: t }, [n, o, r], i, [a, l]) => { + const s = { + x: (e - n) / r, + y: (t - o) / r, + }; + return i + ? { + x: a * Math.round(s.x / a), + y: l * Math.round(s.y / l), + } + : s; + }, + T3 = ({ x: e, y: t }, [n, o, r]) => ({ + x: e * r + n, + y: t * r + o, + }), + mo = (e, t = [0, 0]) => { + if (!e) + return { + x: 0, + y: 0, + positionAbsolute: { + x: 0, + y: 0, + }, + }; + const n = (e.width ?? 0) * t[0], + o = (e.height ?? 0) * t[1], + r = { + x: e.position.x - n, + y: e.position.y - o, + }; + return { + ...r, + positionAbsolute: e.positionAbsolute + ? { + x: e.positionAbsolute.x - n, + y: e.positionAbsolute.y - o, + } + : r, + }; + }, + Nc = (e, t = [0, 0]) => { + if (e.length === 0) return { x: 0, y: 0, width: 0, height: 0 }; + const n = e.reduce( + (o, r) => { + const { x: i, y: a } = mo(r, t).positionAbsolute; + return _m( + o, + _c({ + x: i, + y: a, + width: r.width || 0, + height: r.height || 0, + }), + ); + }, + { x: 1 / 0, y: 1 / 0, x2: -1 / 0, y2: -1 / 0 }, + ); + return Am(n); + }, + O3 = (e, t, [n, o, r] = [0, 0, 1], i = !1, a = !1, l = [0, 0]) => { + const s = { + x: (t.x - n) / r, + y: (t.y - o) / r, + width: t.width / r, + height: t.height / r, + }, + u = []; + return ( + e.forEach((c) => { + const { width: d, height: h, selectable: f = !0, hidden: m = !1 } = c; + if ((a && !f) || m) return !1; + const { positionAbsolute: b } = mo(c, l), + y = { + x: b.x, + y: b.y, + width: d || 0, + height: h || 0, + }, + g = ws(s, y), + x = typeof d > "u" || typeof h > "u" || d === null || h === null, + C = i && g > 0, + E = (d || 0) * (h || 0); + (x || C || g >= E || c.dragging) && u.push(c); + }), + u + ); + }, + N3 = (e, t) => { + const n = e.map((o) => o.id); + return t.filter((o) => n.includes(o.source) || n.includes(o.target)); + }, + D3 = (e, t, n, o, r, i = 0.1) => { + const a = t / (e.width * (1 + i)), + l = n / (e.height * (1 + i)), + s = Math.min(a, l), + u = Mo(s, o, r), + c = e.x + e.width / 2, + d = e.y + e.height / 2, + h = t / 2 - c * u, + f = n / 2 - d * u; + return { x: h, y: f, zoom: u }; + }, + Hn = (e, t = 0) => e.transition().duration(t); +function xu(e, t, n, o) { + return (t[n] || []).reduce((r, i) => { + var a, l; + return ( + `${e.id}-${i.id}-${n}` !== o && + r.push({ + id: i.id || null, + type: n, + nodeId: e.id, + x: + (((a = e.positionAbsolute) == null ? void 0 : a.x) ?? 0) + + i.x + + i.width / 2, + y: + (((l = e.positionAbsolute) == null ? void 0 : l.y) ?? 0) + + i.y + + i.height / 2, + }), + r + ); + }, []); } -function Kg() { - return this.on("end.remove", Gg(this._id)); -} -function Xg(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = kc(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, p = 0; p < s; ++p) - (c = l[p]) && (d = e.call(c, c.__data__, p, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[p] = d, ii(u[p], t, n, p, u, Jt(c, n))); - return new wn(a, this._parents, t, n); -} -function Qg(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = o3(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 p = e.call(c, c.__data__, d, s), h, m = Jt(c, n), b = 0, y = p.length; b < y; ++b) - (h = p[b]) && ii(h, t, n, b, p, m); - a.push(p), i.push(c); +function Bm(e, t, n, o, r, i) { + const { x: a, y: l } = Ln(e), + u = t + .elementsFromPoint(a, l) + .find((m) => m.classList.contains("react-flow__handle")); + if (u) { + const m = u.getAttribute("data-nodeid"); + if (m) { + const b = Dc(void 0, u), + y = u.getAttribute("data-handleid"), + g = i({ nodeId: m, id: y, type: b }); + if (g) { + const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); + return { + handle: { + id: y, + type: b, + nodeId: m, + x: (x == null ? void 0 : x.x) || n.x, + y: (x == null ? void 0 : x.y) || n.y, + }, + validHandleResult: g, + }; } - return new wn(a, i, t, n); -} -var Jg = Nr.prototype.constructor; -function em() { - return new Jg(this._groups, this._parents); -} -function tm(e, t) { - var n, o, r; - return function() { - var a = Oo(this, e), i = (this.style.removeProperty(e), Oo(this, e)); - return a === i ? null : a === n && i === o ? r : r = t(n = a, o = i); - }; -} -function A3(e) { - return function() { - this.style.removeProperty(e); - }; -} -function nm(e, t, n) { - var o, r = n + "", a; - return function() { - var i = Oo(this, e); - return i === r ? null : i === o ? a : a = t(o = i, 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 y = i(m); + b <= d && + (b < d + ? (c = [{ handle: m, validHandleResult: y }]) + : b === d && + c.push({ + handle: m, + validHandleResult: y, + }), + (d = b)); + } + }), + !c.length) + ) + return { handle: null, validHandleResult: L3() }; + if (c.length === 1) return c[0]; + const h = c.some(({ validHandleResult: m }) => m.isValid), + f = c.some(({ handle: m }) => m.type === "target"); + return ( + c.find(({ handle: m, validHandleResult: b }) => + f ? m.type === "target" : h ? b.isValid : !0, + ) || c[0] + ); } -function om(e, t, n) { - var o, r, a; - return function() { - var i = Oo(this, e), l = n(this), s = l + ""; - return l == null && (s = l = (this.style.removeProperty(e), Oo(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); - }; +const Vm = { + source: null, + target: null, + sourceHandle: null, + targetHandle: null, + }, + L3 = () => ({ + handleDomNode: null, + isValid: !1, + connection: Vm, + endHandle: null, + }); +function F3(e, t, n, o, r, i, a) { + const l = r === "target", + s = a.querySelector( + `.react-flow__handle[data-id="${e == null ? void 0 : e.nodeId}-${e == null ? void 0 : e.id}-${e == null ? void 0 : e.type}"]`, + ), + u = { + ...L3(), + handleDomNode: s, + }; + if (s) { + const c = Dc(void 0, s), + d = s.getAttribute("data-nodeid"), + h = s.getAttribute("data-handleid"), + f = s.classList.contains("connectable"), + m = s.classList.contains("connectableend"), + b = { + source: l ? d : n, + sourceHandle: l ? h : o, + target: l ? n : d, + targetHandle: l ? o : h, + }; + (u.connection = b), + f && + m && + (t === Jn.Strict + ? (l && c === "source") || (!l && c === "target") + : d !== n || h !== o) && + ((u.endHandle = { + nodeId: d, + handleId: h, + type: c, + }), + (u.isValid = i(b))); + } + return u; } -function rm(e, t) { - var n, o, r, a = "style." + t, i = "end." + a, l; - return function() { - var s = hn(this, e), u = s.on, c = s.value[a] == null ? l || (l = A3(t)) : void 0; - (u !== n || r !== c) && (o = (n = u).copy()).on(i, r = c), s.on = o; - }; +function $m({ nodes: e, nodeId: t, handleId: n, handleType: o }) { + return e.reduce((r, i) => { + if (i[qe]) { + const { handleBounds: a } = i[qe]; + let l = [], + s = []; + a && + ((l = xu(i, a, "source", `${t}-${n}-${o}`)), + (s = xu(i, a, "target", `${t}-${n}-${o}`))), + r.push(...l, ...s); + } + return r; + }, []); } -function am(e, t, n) { - var o = (e += "") == "transform" ? ag : _3; - return t == null ? this.styleTween(e, tm(e, o)).on("end.style." + e, A3(e)) : typeof t == "function" ? this.styleTween(e, om(e, o, Oc(this, "style." + e, t))).each(rm(this._id, e)) : this.styleTween(e, nm(e, o, t), n).on("end.style." + e, null); +function Dc(e, t) { + return ( + e || + (t != null && t.classList.contains("target") + ? "target" + : t != null && t.classList.contains("source") + ? "source" + : null) + ); } -function im(e, t, n) { - return function(o) { - this.style.setProperty(e, t.call(this, o), n); - }; +function Fl(e) { + e == null || + e.classList.remove( + "valid", + "connecting", + "react-flow__handle-valid", + "react-flow__handle-connecting", + ); } -function lm(e, t, n) { - var o, r; - function a() { - var i = t.apply(this, arguments); - return i !== r && (o = (r = i) && im(e, i, n)), o; +function Wm(e, t) { + let n = null; + return t ? (n = "valid") : e && !t && (n = "invalid"), n; +} +function R3({ + event: e, + handleId: t, + nodeId: n, + onConnect: o, + isTarget: r, + getState: i, + setState: a, + isValidConnection: l, + edgeUpdaterType: s, + onReconnectEnd: u, +}) { + const c = x3(e.target), + { + connectionMode: d, + domNode: h, + autoPanOnConnect: f, + connectionRadius: m, + onConnectStart: b, + panBy: y, + getNodes: g, + cancelConnection: x, + } = i(); + let C = 0, + E; + const { x: w, y: S } = Ln(e), + _ = c == null ? void 0 : c.elementFromPoint(w, S), + A = Dc(s, _), + R = h == null ? void 0 : h.getBoundingClientRect(); + if (!R || !A) return; + let L, + j = Ln(e, R), + P = !1, + V = null, + k = !1, + N = null; + const T = $m({ + nodes: g(), + nodeId: n, + handleId: t, + handleType: A, + }), + F = () => { + if (!f) return; + const [v, z] = v3(j, R); + y({ x: v, y: z }), (C = requestAnimationFrame(F)); + }; + a({ + connectionPosition: j, + connectionStatus: null, + // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle + connectionNodeId: n, + connectionHandleId: t, + connectionHandleType: A, + connectionStartHandle: { + nodeId: n, + handleId: t, + type: A, + }, + connectionEndHandle: null, + }), + b == null || b(e, { nodeId: n, handleId: t, handleType: A }); + function I(v) { + const { transform: z } = i(); + j = Ln(v, R); + const { handle: B, validHandleResult: M } = Bm( + v, + c, + _s(j, z, !1, [1, 1]), + m, + T, + (W) => F3(W, d, n, t, r ? "target" : "source", l, c), + ); + if ( + ((E = B), + P || (F(), (P = !0)), + (N = M.handleDomNode), + (V = M.connection), + (k = M.isValid), + a({ + connectionPosition: + E && k + ? T3( + { + x: E.x, + y: E.y, + }, + z, + ) + : j, + connectionStatus: Wm(!!E, k), + connectionEndHandle: M.endHandle, + }), + !E && !k && !N) + ) + return Fl(L); + V.source !== V.target && + N && + (Fl(L), + (L = N), + N.classList.add("connecting", "react-flow__handle-connecting"), + N.classList.toggle("valid", k), + N.classList.toggle("react-flow__handle-valid", k)); } - return a._value = t, a; -} -function sm(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, lm(e, t, n ?? "")); + function D(v) { + var z, B; + (E || N) && V && k && (o == null || o(V)), + (B = (z = i()).onConnectEnd) == null || B.call(z, v), + s && (u == null || u(v)), + Fl(L), + x(), + cancelAnimationFrame(C), + (P = !1), + (k = !1), + (V = null), + (N = null), + c.removeEventListener("mousemove", I), + c.removeEventListener("mouseup", D), + c.removeEventListener("touchmove", I), + c.removeEventListener("touchend", D); + } + c.addEventListener("mousemove", I), + c.addEventListener("mouseup", D), + c.addEventListener("touchmove", I), + c.addEventListener("touchend", D); +} +const wu = () => !0, + Zm = (e) => ({ + connectionStartHandle: e.connectionStartHandle, + connectOnClick: e.connectOnClick, + noPanClassName: e.noPanClassName, + }), + Um = (e, t, n) => (o) => { + const { + connectionStartHandle: r, + connectionEndHandle: i, + connectionClickStartHandle: a, + } = o; + return { + connecting: + ((r == null ? void 0 : r.nodeId) === e && + (r == null ? void 0 : r.handleId) === t && + (r == null ? void 0 : r.type) === n) || + ((i == null ? void 0 : i.nodeId) === e && + (i == null ? void 0 : i.handleId) === t && + (i == null ? void 0 : i.type) === n), + clickConnecting: + (a == null ? void 0 : a.nodeId) === e && + (a == null ? void 0 : a.handleId) === t && + (a == null ? void 0 : a.type) === n, + }; + }, + j3 = Ys( + ( + { + type: e = "source", + position: t = ae.Top, + isValidConnection: n, + isConnectable: o = !0, + isConnectableStart: r = !0, + isConnectableEnd: i = !0, + id: a, + onConnect: l, + children: s, + className: u, + onMouseDown: c, + onTouchStart: d, + ...h + }, + f, + ) => { + var R, L; + const m = a || null, + b = e === "target", + y = nt(), + g = Rm(), + { connectOnClick: x, noPanClassName: C } = Ze(Zm, st), + { connecting: E, clickConnecting: w } = Ze(Um(g, m, e), st); + g || + (L = (R = y.getState()).onError) == null || + L.call(R, "010", Kt.error010()); + const S = (j) => { + const { + defaultEdgeOptions: P, + onConnect: V, + hasDefaultEdges: k, + } = y.getState(), + N = { + ...P, + ...j, + }; + if (k) { + const { edges: T, setEdges: F } = y.getState(); + F(Pm(N, T)); + } + V == null || V(N), l == null || l(N); + }, + _ = (j) => { + if (!g) return; + const P = S3(j); + r && + ((P && j.button === 0) || !P) && + R3({ + event: j, + handleId: m, + nodeId: g, + onConnect: S, + isTarget: b, + getState: y.getState, + setState: y.setState, + isValidConnection: n || y.getState().isValidConnection || wu, + }), + P ? c == null || c(j) : d == null || d(j); + }, + A = (j) => { + const { + onClickConnectStart: P, + onClickConnectEnd: V, + connectionClickStartHandle: k, + connectionMode: N, + isValidConnection: T, + } = y.getState(); + if (!g || (!k && !r)) return; + if (!k) { + P == null || P(j, { nodeId: g, handleId: m, handleType: e }), + y.setState({ + connectionClickStartHandle: { nodeId: g, type: e, handleId: m }, + }); + return; + } + const F = x3(j.target), + I = n || T || wu, + { connection: D, isValid: v } = F3( + { + nodeId: g, + id: m, + type: e, + }, + N, + k.nodeId, + k.handleId || null, + k.type, + I, + F, + ); + v && S(D), + V == null || V(j), + y.setState({ connectionClickStartHandle: null }); + }; + return $.createElement( + "div", + { + "data-handleid": m, + "data-nodeid": g, + "data-handlepos": t, + "data-id": `${g}-${m}-${e}`, + className: bt([ + "react-flow__handle", + `react-flow__handle-${t}`, + "nodrag", + C, + u, + { + source: !b, + target: b, + connectable: o, + connectablestart: r, + connectableend: i, + connecting: w, + // this class is used to style the handle when the user is connecting + connectionindicator: o && ((r && !E) || (i && E)), + }, + ]), + onMouseDown: _, + onTouchStart: _, + onClick: x ? A : void 0, + ref: f, + ...h, + }, + s, + ); + }, + ); +j3.displayName = "Handle"; +var Lt = Ye(j3); +const I3 = ({ + data: e, + isConnectable: t, + targetPosition: n = ae.Top, + sourcePosition: o = ae.Bottom, +}) => + $.createElement( + $.Fragment, + null, + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + $.createElement(Lt, { type: "source", position: o, isConnectable: t }), + ); +I3.displayName = "DefaultNode"; +var As = Ye(I3); +const z3 = ({ data: e, isConnectable: t, sourcePosition: n = ae.Bottom }) => + $.createElement( + $.Fragment, + null, + e == null ? void 0 : e.label, + $.createElement(Lt, { type: "source", position: n, isConnectable: t }), + ); +z3.displayName = "InputNode"; +var H3 = Ye(z3); +const P3 = ({ data: e, isConnectable: t, targetPosition: n = ae.Top }) => + $.createElement( + $.Fragment, + null, + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + ); +P3.displayName = "OutputNode"; +var B3 = Ye(P3); +const Lc = () => null; +Lc.displayName = "GroupNode"; +const qm = (e) => ({ + selectedNodes: e.getNodes().filter((t) => t.selected), + selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })), + }), + Qr = (e) => e.id; +function Ym(e, t) { + return ( + st(e.selectedNodes.map(Qr), t.selectedNodes.map(Qr)) && + st(e.selectedEdges.map(Qr), t.selectedEdges.map(Qr)) + ); } -function cm(e) { - return function() { - this.textContent = e; - }; +const V3 = Ye(({ onSelectionChange: e }) => { + const t = nt(), + { selectedNodes: n, selectedEdges: o } = Ze(qm, Ym); + return ( + ce(() => { + const r = { nodes: n, edges: o }; + e == null || e(r), t.getState().onSelectionChange.forEach((i) => i(r)); + }, [n, o, e]), + null + ); +}); +V3.displayName = "SelectionListener"; +const Gm = (e) => !!e.onSelectionChange; +function Km({ onSelectionChange: e }) { + const t = Ze(Gm); + return e || t ? $.createElement(V3, { onSelectionChange: e }) : null; } -function um(e) { - return function() { - var t = e(this); - this.textContent = t ?? ""; - }; +const Xm = (e) => ({ + setNodes: e.setNodes, + setEdges: e.setEdges, + setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, + setMinZoom: e.setMinZoom, + setMaxZoom: e.setMaxZoom, + setTranslateExtent: e.setTranslateExtent, + setNodeExtent: e.setNodeExtent, + reset: e.reset, +}); +function io(e, t) { + ce(() => { + typeof e < "u" && t(e); + }, [e]); } -function dm(e) { - return this.tween("text", typeof e == "function" ? um(Oc(this, "text", e)) : cm(e == null ? "" : e + "")); +function Ce(e, t, n) { + ce(() => { + typeof t < "u" && n({ [e]: t }); + }, [t]); } -function fm(e) { - return function(t) { - this.textContent = e.call(this, t); - }; +const Qm = ({ + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: r, + onConnectStart: i, + onConnectEnd: a, + onClickConnectStart: l, + onClickConnectEnd: s, + nodesDraggable: u, + nodesConnectable: c, + nodesFocusable: d, + edgesFocusable: h, + edgesUpdatable: f, + elevateNodesOnSelect: m, + minZoom: b, + maxZoom: y, + nodeExtent: g, + onNodesChange: x, + onEdgesChange: C, + elementsSelectable: E, + connectionMode: w, + snapGrid: S, + snapToGrid: _, + translateExtent: A, + connectOnClick: R, + defaultEdgeOptions: L, + fitView: j, + fitViewOptions: P, + onNodesDelete: V, + onEdgesDelete: k, + onNodeDrag: N, + onNodeDragStart: T, + onNodeDragStop: F, + onSelectionDrag: I, + onSelectionDragStart: D, + onSelectionDragStop: v, + noPanClassName: z, + nodeOrigin: B, + rfId: M, + autoPanOnConnect: W, + autoPanOnNodeDrag: G, + onError: K, + connectionRadius: Q, + isValidConnection: ne, + nodeDragThreshold: oe, + }) => { + const { + setNodes: U, + setEdges: ge, + setDefaultNodesAndEdges: J, + setMinZoom: ke, + setMaxZoom: ie, + setTranslateExtent: _e, + setNodeExtent: $e, + reset: Ee, + } = Ze(Xm, st), + le = nt(); + return ( + ce(() => { + const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...L })); + return ( + J(n, Ge), + () => { + Ee(); + } + ); + }, []), + Ce("defaultEdgeOptions", L, le.setState), + Ce("connectionMode", w, le.setState), + Ce("onConnect", r, le.setState), + Ce("onConnectStart", i, le.setState), + Ce("onConnectEnd", a, le.setState), + Ce("onClickConnectStart", l, le.setState), + Ce("onClickConnectEnd", s, le.setState), + Ce("nodesDraggable", u, le.setState), + Ce("nodesConnectable", c, le.setState), + Ce("nodesFocusable", d, le.setState), + Ce("edgesFocusable", h, le.setState), + Ce("edgesUpdatable", f, le.setState), + Ce("elementsSelectable", E, le.setState), + Ce("elevateNodesOnSelect", m, le.setState), + Ce("snapToGrid", _, le.setState), + Ce("snapGrid", S, le.setState), + Ce("onNodesChange", x, le.setState), + Ce("onEdgesChange", C, le.setState), + Ce("connectOnClick", R, le.setState), + Ce("fitViewOnInit", j, le.setState), + Ce("fitViewOnInitOptions", P, le.setState), + Ce("onNodesDelete", V, le.setState), + Ce("onEdgesDelete", k, le.setState), + Ce("onNodeDrag", N, le.setState), + Ce("onNodeDragStart", T, le.setState), + Ce("onNodeDragStop", F, le.setState), + Ce("onSelectionDrag", I, le.setState), + Ce("onSelectionDragStart", D, le.setState), + Ce("onSelectionDragStop", v, le.setState), + Ce("noPanClassName", z, le.setState), + Ce("nodeOrigin", B, le.setState), + Ce("rfId", M, le.setState), + Ce("autoPanOnConnect", W, le.setState), + Ce("autoPanOnNodeDrag", G, le.setState), + Ce("onError", K, le.setState), + Ce("connectionRadius", Q, le.setState), + Ce("isValidConnection", ne, le.setState), + Ce("nodeDragThreshold", oe, le.setState), + io(e, U), + io(t, ge), + io(b, ke), + io(y, ie), + io(A, _e), + io(g, $e), + null + ); + }, + Eu = { display: "none" }, + Jm = { + position: "absolute", + width: 1, + height: 1, + margin: -1, + border: 0, + padding: 0, + overflow: "hidden", + clip: "rect(0px, 0px, 0px, 0px)", + clipPath: "inset(100%)", + }, + $3 = "react-flow__node-desc", + W3 = "react-flow__edge-desc", + eb = "react-flow__aria-live", + tb = (e) => e.ariaLiveMessage; +function nb({ rfId: e }) { + const t = Ze(tb); + return $.createElement( + "div", + { + id: `${eb}-${e}`, + "aria-live": "assertive", + "aria-atomic": "true", + style: Jm, + }, + t, + ); } -function hm(e) { - var t, n; - function o() { - var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && fm(r)), t; - } - return o._value = e, o; +function ob({ rfId: e, disableKeyboardA11y: t }) { + return $.createElement( + $.Fragment, + null, + $.createElement( + "div", + { id: `${$3}-${e}`, style: Eu }, + "Press enter or space to select a node.", + !t && "You can then use the arrow keys to move the node around.", + " Press delete to remove it and escape to cancel.", + " ", + ), + $.createElement( + "div", + { id: `${W3}-${e}`, style: Eu }, + "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.", + ), + !t && $.createElement(nb, { rfId: e }), + ); } -function pm(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, hm(e)); -} -function gm() { - for (var e = this._name, t = this._id, n = M3(), 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 = Jt(s, t); - ii(s, e, n, u, i, { - time: c.time + c.delay + c.duration, - delay: 0, - duration: c.duration, - ease: c.ease - }); +var br = (e = null, t = { actInsideInputWithModifier: !0 }) => { + const [n, o] = ue(!1), + r = pe(!1), + i = pe(/* @__PURE__ */ new Set([])), + [a, l] = Be(() => { + if (e !== null) { + const u = (Array.isArray(e) ? e : [e]) + .filter((d) => typeof d == "string") + .map((d) => d.split("+")), + c = u.reduce((d, h) => d.concat(...h), []); + return [u, c]; } - return new wn(o, this._parents, e, n); -} -function mm() { - 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 = hn(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 bm = 0; -function wn(e, t, n, o) { - this._groups = e, this._parents = t, this._name = n, this._id = o; -} -function M3() { - return ++bm; -} -var mn = Nr.prototype; -wn.prototype = { - constructor: wn, - select: Xg, - selectAll: Qg, - selectChild: mn.selectChild, - selectChildren: mn.selectChildren, - filter: Wg, - merge: Zg, - selection: em, - transition: gm, - call: mn.call, - nodes: mn.nodes, - node: mn.node, - size: mn.size, - empty: mn.empty, - each: mn.each, - on: Yg, - attr: Mg, - attrTween: Lg, - style: am, - styleTween: sm, - text: dm, - textTween: pm, - remove: Kg, - tween: xg, - delay: Rg, - duration: Hg, - ease: Bg, - easeVarying: $g, - end: mm, - [Symbol.iterator]: mn[Symbol.iterator] + return [[], []]; + }, [e]); + return ( + ce(() => { + const s = typeof document < "u" ? document : null, + u = (t == null ? void 0 : t.target) || s; + if (e !== null) { + const c = (f) => { + if ( + ((r.current = f.ctrlKey || f.metaKey || f.shiftKey), + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + Es(f)) + ) + return !1; + const b = ku(f.code, l); + i.current.add(f[b]), + Su(a, i.current, !1) && (f.preventDefault(), o(!0)); + }, + d = (f) => { + if ( + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + Es(f) + ) + return !1; + const b = ku(f.code, l); + Su(a, i.current, !0) + ? (o(!1), i.current.clear()) + : i.current.delete(f[b]), + f.key === "Meta" && i.current.clear(), + (r.current = !1); + }, + h = () => { + i.current.clear(), o(!1); + }; + return ( + u == null || u.addEventListener("keydown", c), + u == null || u.addEventListener("keyup", d), + window.addEventListener("blur", h), + () => { + u == null || u.removeEventListener("keydown", c), + u == null || u.removeEventListener("keyup", d), + window.removeEventListener("blur", h); + } + ); + } + }, [e, o]), + n + ); }; -function ym(e) { - return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; +function Su(e, t, n) { + return e + .filter((o) => n || o.length === t.size) + .some((o) => o.every((r) => t.has(r))); } -var Cm = { - time: null, - // Set on use. - delay: 0, - duration: 250, - ease: ym -}; -function vm(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 ku(e, t) { + return t.includes(e) ? "code" : "key"; } -function xm(e) { - var t, n; - e instanceof wn ? (t = e._id, e = e._name) : (t = M3(), (n = Cm).time = Mc(), 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]) && ii(s, e, t, u, i, n || vm(s, t)); - return new wn(o, this._parents, e, t); -} -Nr.prototype.interrupt = yg; -Nr.prototype.transition = xm; -const na = (e) => () => e; -function wm(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 Z3(e, t, n, o) { + var l, s; + const r = e.parentNode || e.parentId; + if (!r) return n; + const i = t.get(r), + a = mo(i, o); + return Z3( + i, + t, + { + x: (n.x ?? 0) + a.x, + y: (n.y ?? 0) + a.y, + z: + (((l = i[qe]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) + ? (((s = i[qe]) == null ? void 0 : s.z) ?? 0) + : (n.z ?? 0), + }, + o, + ); +} +function U3(e, t, n) { + e.forEach((o) => { + var i; + const r = o.parentNode || o.parentId; + if (r && !e.has(r)) throw new Error(`Parent node ${r} not found`); + if (r || (n != null && n[o.id])) { + const { + x: a, + y: l, + z: s, + } = Z3( + o, + e, + { + ...o.position, + z: ((i = o[qe]) == null ? void 0 : i.z) ?? 0, + }, + t, + ); + (o.positionAbsolute = { + x: a, + y: l, + }), + (o[qe].z = s), + n != null && n[o.id] && (o[qe].isParent = !0); + } }); } -function yn(e, t, n) { - this.k = e, this.x = t, this.y = n; +function Rl(e, t, n, o) { + const r = /* @__PURE__ */ new Map(), + i = {}, + a = o ? 1e3 : 0; + return ( + e.forEach((l) => { + var f; + const s = (jt(l.zIndex) ? l.zIndex : 0) + (l.selected ? a : 0), + u = t.get(l.id), + c = { + ...l, + positionAbsolute: { + x: l.position.x, + y: l.position.y, + }, + }, + d = l.parentNode || l.parentId; + d && (i[d] = !0); + const h = + (u == null ? void 0 : u.type) && + (u == null ? void 0 : u.type) !== l.type; + Object.defineProperty(c, qe, { + enumerable: !1, + value: { + handleBounds: + h || (f = u == null ? void 0 : u[qe]) == null + ? void 0 + : f.handleBounds, + z: s, + }, + }), + r.set(l.id, c); + }), + U3(r, n, i), + r + ); } -yn.prototype = { - constructor: yn, - scale: function(e) { - return e === 1 ? this : new yn(this.k * e, this.x, this.y); - }, - translate: function(e, t) { - return e === 0 & t === 0 ? this : new yn(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 + ")"; +function q3(e, t = {}) { + const { + getNodes: n, + width: o, + height: r, + minZoom: i, + maxZoom: a, + d3Zoom: l, + d3Selection: s, + fitViewOnInitDone: u, + fitViewOnInit: c, + nodeOrigin: d, + } = e(), + h = t.initial && !u && c; + if (l && s && (h || !t.initial)) { + const m = n().filter((y) => { + var x; + const g = t.includeHiddenNodes ? y.width && y.height : !y.hidden; + return (x = t.nodes) != null && x.length + ? g && t.nodes.some((C) => C.id === y.id) + : g; + }), + b = m.every((y) => y.width && y.height); + if (m.length > 0 && b) { + const y = Nc(m, d), + { + x: g, + y: x, + zoom: C, + } = D3(y, o, r, t.minZoom ?? i, t.maxZoom ?? a, t.padding ?? 0.1), + E = Dn.translate(g, x).scale(C); + return ( + typeof t.duration == "number" && t.duration > 0 + ? l.transform(Hn(s, t.duration), E) + : l.transform(s, E), + !0 + ); + } } -}; -var Fn = new yn(1, 0, 0); -yn.prototype; -function Il(e) { - e.stopImmediatePropagation(); -} -function qo(e) { - e.preventDefault(), e.stopImmediatePropagation(); -} -function Em(e) { - return (!e.ctrlKey || e.type === "wheel") && !e.button; -} -function Sm() { - 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 vu() { - return this.__zoom || Fn; -} -function km(e) { - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); -} -function _m() { - return navigator.maxTouchPoints || "ontouchstart" in this; + return !1; } -function Am(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 rb(e, t) { + return ( + e.forEach((n) => { + const o = t.get(n.id); + o && + t.set(o.id, { + ...o, + [qe]: o[qe], + selected: n.selected, + }); + }), + new Map(t) ); } -function Mm() { - var e = Em, t = Sm, n = Am, o = km, r = _m, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = ug, u = oi("start", "zoom", "end"), c, d, p, h = 500, m = 150, b = 0, y = 10; - function g(k) { - k.property("__zoom", vu).on("wheel.zoom", _, { passive: !1 }).on("mousedown.zoom", L).on("dblclick.zoom", R).filter(r).on("touchstart.zoom", j).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); - } - g.transform = function(k, N, T, D) { - var I = k.selection ? k.selection() : k; - I.property("__zoom", vu), k !== I ? w(k, N, T, D) : I.interrupt().each(function() { - E(this, arguments).event(D).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end(); - }); - }, g.scaleBy = function(k, N, T, D) { - g.scaleTo(k, function() { - var I = this.__zoom.k, F = typeof N == "function" ? N.apply(this, arguments) : N; - return I * F; - }, T, D); - }, g.scaleTo = function(k, N, T, D) { - g.transform(k, function() { - var I = t.apply(this, arguments), F = this.__zoom, v = T == null ? S(I) : typeof T == "function" ? T.apply(this, arguments) : T, z = F.invert(v), B = typeof N == "function" ? N.apply(this, arguments) : N; - return n(C(x(F, B), v, z), I, i); - }, T, D); - }, g.translateBy = function(k, N, T, D) { - g.transform(k, function() { - return n(this.__zoom.translate( - typeof N == "function" ? N.apply(this, arguments) : N, - typeof T == "function" ? T.apply(this, arguments) : T - ), t.apply(this, arguments), i); - }, null, D); - }, g.translateTo = function(k, N, T, D, I) { - g.transform(k, function() { - var F = t.apply(this, arguments), v = this.__zoom, z = D == null ? S(F) : typeof D == "function" ? D.apply(this, arguments) : D; - return n(Fn.translate(z[0], z[1]).scale(v.k).translate( - typeof N == "function" ? -N.apply(this, arguments) : -N, - typeof T == "function" ? -T.apply(this, arguments) : -T - ), F, i); - }, D, I); - }; - function x(k, N) { - return N = Math.max(a[0], Math.min(a[1], N)), N === k.k ? k : new yn(N, k.x, k.y); - } - function C(k, N, T) { - var D = N[0] - T[0] * k.k, I = N[1] - T[1] * k.k; - return D === k.x && I === k.y ? k : new yn(k.k, D, I); - } - function S(k) { - return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; - } - function w(k, N, T, D) { - k.on("start.zoom", function() { - E(this, arguments).event(D).start(); - }).on("interrupt.zoom end.zoom", function() { - E(this, arguments).event(D).end(); - }).tween("zoom", function() { - var I = this, F = arguments, v = E(I, F).event(D), z = t.apply(I, F), B = T == null ? S(z) : typeof T == "function" ? T.apply(I, F) : T, A = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, Y = typeof N == "function" ? N.apply(I, F) : N, K = s(W.invert(B).concat(A / W.k), Y.invert(B).concat(A / Y.k)); - return function(Q) { - if (Q === 1) Q = Y; - else { - var ne = K(Q), oe = A / ne[2]; - Q = new yn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); - } - v.zoom(null, Q); - }; - }); - } - function E(k, N, T) { - return !T && k.__zooming || new M(k, N); - } - function M(k, N) { - this.that = k, this.args = N, this.active = 0, this.sourceEvent = null, this.extent = t.apply(k, N), this.taps = 0; - } - M.prototype = { - event: function(k) { - return k && (this.sourceEvent = k), this; - }, - start: function() { - return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this; - }, - zoom: function(k, N) { - return this.mouse && k !== "mouse" && (this.mouse[1] = N.invert(this.mouse[0])), this.touch0 && k !== "touch" && (this.touch0[1] = N.invert(this.touch0[0])), this.touch1 && k !== "touch" && (this.touch1[1] = N.invert(this.touch1[0])), this.that.__zoom = N, this.emit("zoom"), this; - }, - end: function() { - return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this; - }, - emit: function(k) { - var N = qt(this.that).datum(); - u.call( - k, - this.that, - new wm(k, { - sourceEvent: this.sourceEvent, - target: g, - type: k, - transform: this.that.__zoom, - dispatch: u - }), - N - ); - } +function ib(e, t) { + return t.map((n) => { + const o = e.find((r) => r.id === n.id); + return o && (n.selected = o.selected), n; + }); +} +function Jr({ changedNodes: e, changedEdges: t, get: n, set: o }) { + const { + nodeInternals: r, + edges: i, + onNodesChange: a, + onEdgesChange: l, + hasDefaultNodes: s, + hasDefaultEdges: u, + } = n(); + e != null && + e.length && + (s && o({ nodeInternals: rb(e, r) }), a == null || a(e)), + t != null && t.length && (u && o({ edges: ib(t, i) }), l == null || l(t)); +} +const ao = () => {}, + ab = { + zoomIn: ao, + zoomOut: ao, + zoomTo: ao, + getZoom: () => 1, + setViewport: ao, + getViewport: () => ({ x: 0, y: 0, zoom: 1 }), + fitView: () => !1, + setCenter: ao, + fitBounds: ao, + project: (e) => e, + screenToFlowPosition: (e) => e, + flowToScreenPosition: (e) => e, + viewportInitialized: !1, + }, + lb = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + }), + sb = () => { + const e = nt(), + { d3Zoom: t, d3Selection: n } = Ze(lb, st); + return Be( + () => + n && t + ? { + zoomIn: (r) => + t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), + zoomOut: (r) => + t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), + zoomTo: (r, i) => + t.scaleTo(Hn(n, i == null ? void 0 : i.duration), r), + getZoom: () => e.getState().transform[2], + setViewport: (r, i) => { + const [a, l, s] = e.getState().transform, + u = Dn.translate(r.x ?? a, r.y ?? l).scale(r.zoom ?? s); + t.transform(Hn(n, i == null ? void 0 : i.duration), u); + }, + getViewport: () => { + const [r, i, a] = e.getState().transform; + return { x: r, y: i, zoom: a }; + }, + fitView: (r) => q3(e.getState, r), + setCenter: (r, i, a) => { + const { width: l, height: s, maxZoom: u } = e.getState(), + c = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, + d = l / 2 - r * c, + h = s / 2 - i * c, + f = Dn.translate(d, h).scale(c); + t.transform(Hn(n, a == null ? void 0 : a.duration), f); + }, + fitBounds: (r, i) => { + const { + width: a, + height: l, + minZoom: s, + maxZoom: u, + } = e.getState(), + { + x: c, + y: d, + zoom: h, + } = D3( + r, + a, + l, + s, + u, + (i == null ? void 0 : i.padding) ?? 0.1, + ), + f = Dn.translate(c, d).scale(h); + t.transform(Hn(n, i == null ? void 0 : i.duration), f); + }, + // @deprecated Use `screenToFlowPosition`. + project: (r) => { + const { + transform: i, + snapToGrid: a, + snapGrid: l, + } = e.getState(); + return ( + console.warn( + "[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position", + ), + _s(r, i, a, l) + ); + }, + screenToFlowPosition: (r) => { + const { + transform: i, + snapToGrid: a, + snapGrid: l, + domNode: s, + } = e.getState(); + if (!s) return r; + const { x: u, y: c } = s.getBoundingClientRect(), + d = { + x: r.x - u, + y: r.y - c, + }; + return _s(d, i, a, l); + }, + flowToScreenPosition: (r) => { + const { transform: i, domNode: a } = e.getState(); + if (!a) return r; + const { x: l, y: s } = a.getBoundingClientRect(), + u = T3(r, i); + return { + x: u.x + l, + y: u.y + s, + }; + }, + viewportInitialized: !0, + } + : ab, + [t, n], + ); }; - function _(k, ...N) { - if (!e.apply(this, arguments)) return; - var T = E(this, N).event(k), D = this.__zoom, I = Math.max(a[0], Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments)))), F = an(k); - if (T.wheel) - (T.mouse[0][0] !== F[0] || T.mouse[0][1] !== F[1]) && (T.mouse[1] = D.invert(T.mouse[0] = F)), clearTimeout(T.wheel); - else { - if (D.k === I) return; - T.mouse = [F, D.invert(F)], xa(this), T.start(); - } - qo(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(D, I), T.mouse[0], T.mouse[1]), T.extent, i)); - function v() { - T.wheel = null, T.end(); - } - } - function L(k, ...N) { - if (p || !e.apply(this, arguments)) return; - var T = k.currentTarget, D = E(this, N, !0).event(k), I = qt(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", A, !0), F = an(k, T), v = k.clientX, z = k.clientY; - p3(k.view), Il(k), D.mouse = [F, this.__zoom.invert(F)], xa(this), D.start(); - function B(W) { - if (qo(W), !D.moved) { - var Y = W.clientX - v, K = W.clientY - z; - D.moved = Y * Y + K * K > b; +function Qt() { + const e = sb(), + t = nt(), + n = Me( + () => + t + .getState() + .getNodes() + .map((b) => ({ ...b })), + [], + ), + o = Me((b) => t.getState().nodeInternals.get(b), []), + r = Me(() => { + const { edges: b = [] } = t.getState(); + return b.map((y) => ({ ...y })); + }, []), + i = Me((b) => { + const { edges: y = [] } = t.getState(); + return y.find((g) => g.id === b); + }, []), + a = Me((b) => { + const { + getNodes: y, + setNodes: g, + hasDefaultNodes: x, + onNodesChange: C, + } = t.getState(), + E = y(), + w = typeof b == "function" ? b(E) : b; + if (x) g(w); + else if (C) { + const S = + w.length === 0 + ? E.map((_) => ({ type: "remove", id: _.id })) + : w.map((_) => ({ item: _, type: "reset" })); + C(S); + } + }, []), + l = Me((b) => { + const { + edges: y = [], + setEdges: g, + hasDefaultEdges: x, + onEdgesChange: C, + } = t.getState(), + E = typeof b == "function" ? b(y) : b; + if (x) g(E); + else if (C) { + const w = + E.length === 0 + ? y.map((S) => ({ type: "remove", id: S.id })) + : E.map((S) => ({ item: S, type: "reset" })); + C(w); + } + }, []), + s = Me((b) => { + const y = Array.isArray(b) ? b : [b], + { + getNodes: g, + setNodes: x, + hasDefaultNodes: C, + onNodesChange: E, + } = t.getState(); + if (C) { + const S = [...g(), ...y]; + x(S); + } else if (E) { + const w = y.map((S) => ({ item: S, type: "add" })); + E(w); + } + }, []), + u = Me((b) => { + const y = Array.isArray(b) ? b : [b], + { + edges: g = [], + setEdges: x, + hasDefaultEdges: C, + onEdgesChange: E, + } = t.getState(); + if (C) x([...g, ...y]); + else if (E) { + const w = y.map((S) => ({ item: S, type: "add" })); + E(w); } - D.event(W).zoom("mouse", n(C(D.that.__zoom, D.mouse[0] = an(W, T), D.mouse[1]), D.extent, i)); - } - function A(W) { - I.on("mousemove.zoom mouseup.zoom", null), g3(W.view, D.moved), qo(W), D.event(W).end(); - } - } - function R(k, ...N) { - if (e.apply(this, arguments)) { - var T = this.__zoom, D = an(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(D), F = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, F), D, I), t.apply(this, N), i); - qo(k), l > 0 ? qt(this).transition().duration(l).call(w, v, D, k) : qt(this).call(g.transform, v, D, k); - } - } - function j(k, ...N) { - if (e.apply(this, arguments)) { - var T = k.touches, D = T.length, I = E(this, N, k.changedTouches.length === D).event(k), F, v, z, B; - for (Il(k), v = 0; v < D; ++v) - z = T[v], B = an(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, F = !0, I.taps = 1 + !!c); - c && (c = clearTimeout(c)), F && (I.taps < 2 && (d = B[0], c = setTimeout(function() { - c = null; - }, h)), xa(this), I.start()); - } - } - function P(k, ...N) { - if (this.__zooming) { - var T = E(this, N).event(k), D = k.changedTouches, I = D.length, F, v, z, B; - for (qo(k), F = 0; F < I; ++F) - v = D[F], z = an(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); - if (v = T.that.__zoom, T.touch1) { - var A = T.touch0[0], W = T.touch0[1], Y = T.touch1[0], K = T.touch1[1], Q = (Q = Y[0] - A[0]) * Q + (Q = Y[1] - A[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; - v = x(v, Math.sqrt(Q / ne)), z = [(A[0] + Y[0]) / 2, (A[1] + Y[1]) / 2], B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]; - } else if (T.touch0) z = T.touch0[0], B = T.touch0[1]; - else return; - T.zoom("touch", n(C(v, z, B), T.extent, i)); - } - } - function V(k, ...N) { - if (this.__zooming) { - var T = E(this, N).event(k), D = k.changedTouches, I = D.length, F, v; - for (Il(k), p && clearTimeout(p), p = setTimeout(function() { - p = null; - }, h), F = 0; F < I; ++F) - v = D[F], T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; - if (T.touch1 && !T.touch0 && (T.touch0 = T.touch1, delete T.touch1), T.touch0) T.touch0[1] = this.__zoom.invert(T.touch0[0]); - else if (T.end(), T.taps === 2 && (v = an(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { - var z = qt(this).on("dblclick.zoom"); - z && z.apply(this, arguments); + }, []), + c = Me(() => { + const { getNodes: b, edges: y = [], transform: g } = t.getState(), + [x, C, E] = g; + return { + nodes: b().map((w) => ({ ...w })), + edges: y.map((w) => ({ ...w })), + viewport: { + x, + y: C, + zoom: E, + }, + }; + }, []), + d = Me(({ nodes: b, edges: y }) => { + const { + nodeInternals: g, + getNodes: x, + edges: C, + hasDefaultNodes: E, + hasDefaultEdges: w, + onNodesDelete: S, + onEdgesDelete: _, + onNodesChange: A, + onEdgesChange: R, + } = t.getState(), + L = (b || []).map((N) => N.id), + j = (y || []).map((N) => N.id), + P = x().reduce((N, T) => { + const F = T.parentNode || T.parentId, + I = !L.includes(T.id) && F && N.find((v) => v.id === F); + return ( + (typeof T.deletable == "boolean" ? T.deletable : !0) && + (L.includes(T.id) || I) && + N.push(T), + N + ); + }, []), + V = C.filter((N) => + typeof N.deletable == "boolean" ? N.deletable : !0, + ), + k = V.filter((N) => j.includes(N.id)); + if (P || k) { + const N = N3(P, V), + T = [...k, ...N], + F = T.reduce((I, D) => (I.includes(D.id) || I.push(D.id), I), []); + if ( + ((w || E) && + (w && + t.setState({ + edges: C.filter((I) => !F.includes(I.id)), + }), + E && + (P.forEach((I) => { + g.delete(I.id); + }), + t.setState({ + nodeInternals: new Map(g), + }))), + F.length > 0 && + (_ == null || _(T), + R && + R( + F.map((I) => ({ + id: I, + type: "remove", + })), + )), + P.length > 0 && (S == null || S(P), A)) + ) { + const I = P.map((D) => ({ id: D.id, type: "remove" })); + A(I); + } } - } - } - return g.wheelDelta = function(k) { - return arguments.length ? (o = typeof k == "function" ? k : na(+k), g) : o; - }, g.filter = function(k) { - return arguments.length ? (e = typeof k == "function" ? k : na(!!k), g) : e; - }, g.touchable = function(k) { - return arguments.length ? (r = typeof k == "function" ? k : na(!!k), g) : r; - }, g.extent = function(k) { - return arguments.length ? (t = typeof k == "function" ? k : na([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; - }, g.scaleExtent = function(k) { - return arguments.length ? (a[0] = +k[0], a[1] = +k[1], g) : [a[0], a[1]]; - }, g.translateExtent = function(k) { - return arguments.length ? (i[0][0] = +k[0][0], i[1][0] = +k[1][0], i[0][1] = +k[0][1], i[1][1] = +k[1][1], g) : [[i[0][0], i[0][1]], [i[1][0], i[1][1]]]; - }, g.constrain = function(k) { - return arguments.length ? (n = k, g) : n; - }, g.duration = function(k) { - return arguments.length ? (l = +k, g) : l; - }, g.interpolate = function(k) { - return arguments.length ? (s = k, g) : s; - }, g.on = function() { - var k = u.on.apply(u, arguments); - return k === u ? g : k; - }, g.clickDistance = function(k) { - return arguments.length ? (b = (k = +k) * k, g) : Math.sqrt(b); - }, g.tapDistance = function(k) { - return arguments.length ? (y = +k, g) : y; - }, g; -} -const li = Ht(null), Tm = li.Provider, Qt = { - 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.` -}, T3 = Qt.error001(); -function Ue(e, t) { - const n = tt(li); - if (n === null) - throw new Error(T3); - return t3(n, e, t); -} -const rt = () => { - const e = tt(li); - if (e === null) - throw new Error(T3); - return Ve(() => ({ - getState: e.getState, - setState: e.setState, - subscribe: e.subscribe, - destroy: e.destroy - }), [e]); -}, Om = (e) => e.userSelectionActive ? "none" : "all"; -function O3({ position: e, children: t, className: n, style: o, ...r }) { - const a = Ue(Om), i = `${e}`.split("-"); - return $.createElement("div", { className: bt(["react-flow__panel", n, ...i]), style: { ...o, pointerEvents: a }, ...r }, t); -} -function Nm({ proOptions: e, position: t = "bottom-right" }) { - return e != null && e.hideAttribution ? null : $.createElement( - O3, - { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" }, - $.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") + }, []), + h = Me((b) => { + const y = Mm(b), + g = y ? null : t.getState().nodeInternals.get(b.id); + return !y && !g ? [null, null, y] : [y ? b : mu(g), g, y]; + }, []), + f = Me((b, y = !0, g) => { + const [x, C, E] = h(b); + return x + ? (g || t.getState().getNodes()).filter((w) => { + if (!E && (w.id === C.id || !w.positionAbsolute)) return !1; + const S = mu(w), + _ = ws(S, x); + return (y && _ > 0) || _ >= x.width * x.height; + }) + : []; + }, []), + m = Me((b, y, g = !0) => { + const [x] = h(b); + if (!x) return !1; + const C = ws(x, y); + return (g && C > 0) || C >= x.width * x.height; + }, []); + return Be( + () => ({ + ...e, + getNodes: n, + getNode: o, + getEdges: r, + getEdge: i, + setNodes: a, + setEdges: l, + addNodes: s, + addEdges: u, + toObject: c, + deleteElements: d, + getIntersectingNodes: f, + isNodeIntersecting: m, + }), + [e, n, o, r, i, a, l, s, u, c, d, f, m], ); } -const Dm = ({ 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 = he(null), [p, h] = ce({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); - return ue(() => { - if (d.current) { - const b = d.current.getBBox(); - h({ - x: b.x, - y: b.y, - width: b.width, - height: b.height - }); +const cb = { actInsideInputWithModifier: !1 }; +var ub = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = nt(), + { deleteElements: o } = Qt(), + r = br(e, cb), + i = br(t); + ce(() => { + if (r) { + const { edges: a, getNodes: l } = n.getState(), + s = l().filter((c) => c.selected), + u = a.filter((c) => c.selected); + o({ nodes: s, edges: u }), n.setState({ nodesSelectionActive: !1 }); } - }, [n]), typeof n > "u" || !n ? null : $.createElement( - "g", - { transform: `translate(${e - p.width / 2} ${t - p.height / 2})`, className: m, visibility: p.width ? "visible" : "hidden", ...c }, - r && $.createElement("rect", { width: p.width + 2 * i[0], x: -i[0], y: -i[1], height: p.height + 2 * i[1], className: "react-flow__edge-textbg", style: a, rx: l, ry: l }), - $.createElement("text", { className: "react-flow__edge-text", y: p.height / 2, dy: "0.3em", ref: d, style: o }, n), - s - ); + }, [r]), + ce(() => { + n.setState({ multiSelectionActive: i }); + }, [i]); }; -var Lm = Ge(Dm); -const Nc = (e) => ({ - width: e.offsetWidth, - height: e.offsetHeight -}), Do = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Dc = (e = { x: 0, y: 0 }, t) => ({ - x: Do(e.x, t[0][0], t[1][0]), - y: Do(e.y, t[0][1], t[1][1]) -}), xu = (e, t, n) => e < t ? Do(Math.abs(e - t), 1, 50) / 50 : e > n ? -Do(Math.abs(e - n), 1, 50) / 50 : 0, N3 = (e, t) => { - const n = xu(e.x, 35, t.width - 35) * 20, o = xu(e.y, 35, t.height - 35) * 20; - return [n, o]; -}, D3 = (e) => { - var t; - return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, jm = (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) -}), Lc = ({ x: e, y: t, width: n, height: o }) => ({ - x: e, - y: t, - x2: e + n, - y2: t + o -}), Fm = ({ x: e, y: t, x2: n, y2: o }) => ({ - x: e, - y: t, - width: n - e, - height: o - t -}), wu = (e) => ({ - ...e.positionAbsolute || { x: 0, y: 0 }, - width: e.width || 0, - height: e.height || 0 -}), As = (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); -}, Rm = (e) => Rt(e.width) && Rt(e.height) && Rt(e.x) && Rt(e.y), Rt = (e) => !isNaN(e) && isFinite(e), Ye = Symbol.for("internals"), L3 = ["Enter", " ", "Escape"], j3 = (e, t) => { - process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, Im = (e) => "nativeEvent" in e; -function Ms(e) { - var r, a; - const t = Im(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")); -} -const F3 = (e) => "clientX" in e, Rn = (e, t) => { - var a, i; - const n = F3(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) - }; -}, Pa = () => { - var e; - return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0; -}, zo = ({ 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: p, interactionWidth: h = 20 }) => $.createElement( - $.Fragment, - null, - $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: p }), - h && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: h, className: "react-flow__edge-interaction" }), - r && Rt(n) && Rt(o) ? $.createElement(Lm, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null -); -zo.displayName = "BaseEdge"; -function Yo(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().edges.find((a) => a.id === e); - r && n(o, { ...r }); - }; -} -function R3({ 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 I3({ 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 db(e) { + const t = nt(); + ce(() => { + let n; + const o = () => { + var i, a; + if (!e.current) return; + const r = Sc(e.current); + (r.height === 0 || r.width === 0) && + ((a = (i = t.getState()).onError) == null || + a.call(i, "004", Kt.error004())), + t.setState({ width: r.width || 500, height: r.height || 500 }); + }; + return ( + o(), + window.addEventListener("resize", o), + e.current && ((n = new ResizeObserver(() => o())), n.observe(e.current)), + () => { + window.removeEventListener("resize", o), + n && e.current && n.unobserve(e.current); + } + ); + }, []); } -var no; -(function(e) { - e.Strict = "strict", e.Loose = "loose"; -})(no || (no = {})); -var qn; -(function(e) { - e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})(qn || (qn = {})); -var vr; -(function(e) { - e.Partial = "partial", e.Full = "full"; -})(vr || (vr = {})); -var Ln; -(function(e) { - e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; -})(Ln || (Ln = {})); -var Ba; -(function(e) { - e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Ba || (Ba = {})); -var ie; -(function(e) { - e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; -})(ie || (ie = {})); -function Eu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { - return e === ie.Left || e === ie.Right ? [0.5 * (t + o), n] : [t, 0.5 * (n + r)]; -} -function z3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top }) { - const [i, l] = Eu({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r - }), [s, u] = Eu({ - pos: a, - x1: o, - y1: r, - x2: e, - y2: t - }), [c, d, p, h] = I3({ - sourceX: e, - sourceY: t, - targetX: o, - targetY: r, - sourceControlX: i, - sourceControlY: l, - targetControlX: s, - targetControlY: u +const Fc = { + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + fb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, + ei = (e) => ({ + x: e.x, + y: e.y, + zoom: e.k, + }), + lo = (e, t) => e.target.closest(`.${t}`), + _u = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), + Au = (e) => { + const t = e.ctrlKey && Li() ? 10 : 1; + return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; + }, + pb = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + d3ZoomHandler: e.d3ZoomHandler, + userSelectionActive: e.userSelectionActive, + }), + hb = ({ + onMove: e, + onMoveStart: t, + onMoveEnd: n, + onPaneContextMenu: o, + zoomOnScroll: r = !0, + zoomOnPinch: i = !0, + panOnScroll: a = !1, + panOnScrollSpeed: l = 0.5, + panOnScrollMode: s = Wn.Free, + zoomOnDoubleClick: u = !0, + elementsSelectable: c, + panOnDrag: d = !0, + defaultViewport: h, + translateExtent: f, + minZoom: m, + maxZoom: b, + zoomActivationKeyCode: y, + preventScrolling: g = !0, + children: x, + noWheelClassName: C, + noPanClassName: E, + }) => { + const w = pe(), + S = nt(), + _ = pe(!1), + A = pe(!1), + R = pe(null), + L = pe({ x: 0, y: 0, zoom: 0 }), + { + d3Zoom: j, + d3Selection: P, + d3ZoomHandler: V, + userSelectionActive: k, + } = Ze(pb, st), + N = br(y), + T = pe(0), + F = pe(!1), + I = pe(); + return ( + db(R), + ce(() => { + if (R.current) { + const D = R.current.getBoundingClientRect(), + v = vm().scaleExtent([m, b]).translateExtent(f), + z = Ut(R.current).call(v), + B = Dn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), + M = [ + [0, 0], + [D.width, D.height], + ], + W = v.constrain()(B, M, f); + v.transform(z, W), + v.wheelDelta(Au), + S.setState({ + d3Zoom: v, + d3Selection: z, + d3ZoomHandler: z.on("wheel.zoom"), + // we need to pass transform because zoom handler is not registered when we set the initial transform + transform: [W.x, W.y, W.k], + domNode: R.current.closest(".react-flow"), + }); + } + }, []), + ce(() => { + P && + j && + (a && !N && !k + ? P.on( + "wheel.zoom", + (D) => { + if (lo(D, C)) return !1; + D.preventDefault(), D.stopImmediatePropagation(); + const v = P.property("__zoom").k || 1; + if (D.ctrlKey && i) { + const ne = on(D), + oe = Au(D), + U = v * Math.pow(2, oe); + j.scaleTo(P, U, ne, D); + return; + } + const z = D.deltaMode === 1 ? 20 : 1; + let B = s === Wn.Vertical ? 0 : D.deltaX * z, + M = s === Wn.Horizontal ? 0 : D.deltaY * z; + !Li() && + D.shiftKey && + s !== Wn.Vertical && + ((B = D.deltaY * z), (M = 0)), + j.translateBy( + P, + -(B / v) * l, + -(M / v) * l, + // @ts-ignore + { internal: !0 }, + ); + const W = ei(P.property("__zoom")), + { + onViewportChangeStart: G, + onViewportChange: K, + onViewportChangeEnd: Q, + } = S.getState(); + clearTimeout(I.current), + F.current || + ((F.current = !0), + t == null || t(D, W), + G == null || G(W)), + F.current && + (e == null || e(D, W), + K == null || K(W), + (I.current = setTimeout(() => { + n == null || n(D, W), + Q == null || Q(W), + (F.current = !1); + }, 150))); + }, + { passive: !1 }, + ) + : typeof V < "u" && + P.on( + "wheel.zoom", + function (D, v) { + if ((!g && D.type === "wheel" && !D.ctrlKey) || lo(D, C)) + return null; + D.preventDefault(), V.call(this, D, v); + }, + { passive: !1 }, + )); + }, [k, a, s, P, j, V, N, i, g, C, t, e, n]), + ce(() => { + j && + j.on("start", (D) => { + var B, M; + if (!D.sourceEvent || D.sourceEvent.internal) return null; + T.current = (B = D.sourceEvent) == null ? void 0 : B.button; + const { onViewportChangeStart: v } = S.getState(), + z = ei(D.transform); + (_.current = !0), + (L.current = z), + ((M = D.sourceEvent) == null ? void 0 : M.type) === "mousedown" && + S.setState({ paneDragging: !0 }), + v == null || v(z), + t == null || t(D.sourceEvent, z); + }); + }, [j, t]), + ce(() => { + j && + (k && !_.current + ? j.on("zoom", null) + : k || + j.on("zoom", (D) => { + var z; + const { onViewportChange: v } = S.getState(); + if ( + (S.setState({ + transform: [D.transform.x, D.transform.y, D.transform.k], + }), + (A.current = !!(o && _u(d, T.current ?? 0))), + (e || v) && !((z = D.sourceEvent) != null && z.internal)) + ) { + const B = ei(D.transform); + v == null || v(B), e == null || e(D.sourceEvent, B); + } + })); + }, [k, j, e, d, o]), + ce(() => { + j && + j.on("end", (D) => { + if (!D.sourceEvent || D.sourceEvent.internal) return null; + const { onViewportChangeEnd: v } = S.getState(); + if ( + ((_.current = !1), + S.setState({ paneDragging: !1 }), + o && _u(d, T.current ?? 0) && !A.current && o(D.sourceEvent), + (A.current = !1), + (n || v) && fb(L.current, D.transform)) + ) { + const z = ei(D.transform); + (L.current = z), + clearTimeout(w.current), + (w.current = setTimeout( + () => { + v == null || v(z), n == null || n(D.sourceEvent, z); + }, + a ? 150 : 0, + )); + } + }); + }, [j, a, d, n, o]), + ce(() => { + j && + j.filter((D) => { + const v = N || r, + z = i && D.ctrlKey; + if ( + (d === !0 || (Array.isArray(d) && d.includes(1))) && + D.button === 1 && + D.type === "mousedown" && + (lo(D, "react-flow__node") || lo(D, "react-flow__edge")) + ) + return !0; + if ( + (!d && !v && !a && !u && !i) || + k || + (!u && D.type === "dblclick") || + (lo(D, C) && D.type === "wheel") || + (lo(D, E) && + (D.type !== "wheel" || (a && D.type === "wheel" && !N))) || + (!i && D.ctrlKey && D.type === "wheel") || + (!v && !a && !z && D.type === "wheel") || + (!d && (D.type === "mousedown" || D.type === "touchstart")) || + (Array.isArray(d) && + !d.includes(D.button) && + D.type === "mousedown") + ) + return !1; + const B = + (Array.isArray(d) && d.includes(D.button)) || + !D.button || + D.button <= 1; + return (!D.ctrlKey || D.type === "wheel") && B; + }); + }, [k, j, r, i, a, u, d, c, N]), + $.createElement( + "div", + { className: "react-flow__renderer", ref: R, style: Fc }, + x, + ) + ); + }, + gb = (e) => ({ + userSelectionActive: e.userSelectionActive, + userSelectionRect: e.userSelectionRect, }); - return [ - `M${e},${t} C${i},${l} ${s},${u} ${o},${r}`, - c, - d, - p, - h - ]; +function mb() { + const { userSelectionActive: e, userSelectionRect: t } = Ze(gb, st); + return e && t + ? $.createElement("div", { + className: "react-flow__selection react-flow__container", + style: { + width: t.width, + height: t.height, + transform: `translate(${t.x}px, ${t.y}px)`, + }, + }) + : null; } -const jc = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: b }) => { - const [y, g, x] = z3({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: a - }); - return $.createElement(zo, { path: y, labelX: g, labelY: x, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: b }); -}); -jc.displayName = "SimpleBezierEdge"; -const Su = { - [ie.Left]: { x: -1, y: 0 }, - [ie.Right]: { x: 1, y: 0 }, - [ie.Top]: { x: 0, y: -1 }, - [ie.Bottom]: { x: 0, y: 1 } -}, zm = ({ source: e, sourcePosition: t = ie.Bottom, target: n }) => t === ie.Left || t === ie.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 }, ku = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function Hm({ source: e, sourcePosition: t = ie.Bottom, target: n, targetPosition: o = ie.Top, center: r, offset: a }) { - const i = Su[t], l = Su[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 = zm({ - source: s, - sourcePosition: t, - target: u - }), d = c.x !== 0 ? "x" : "y", p = c[d]; - let h = [], m, b; - const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, S, w] = R3({ - sourceX: e.x, - sourceY: e.y, - targetX: n.x, - targetY: n.y - }); - if (i[d] * l[d] === -1) { - m = r.x ?? x, b = r.y ?? C; - const M = [ - { x: m, y: s.y }, - { x: m, y: u.y } - ], _ = [ - { x: s.x, y: b }, - { x: u.x, y: b } - ]; - i[d] === p ? h = d === "x" ? M : _ : h = d === "x" ? _ : M; - } else { - const M = [{ x: s.x, y: u.y }], _ = [{ x: u.x, y: s.y }]; - if (d === "x" ? h = i.x === p ? _ : M : h = i.y === p ? M : _, t === o) { - const V = Math.abs(e[d] - n[d]); - if (V <= a) { - const k = Math.min(a - 1, a - V); - i[d] === p ? y[d] = (s[d] > e[d] ? -1 : 1) * k : g[d] = (u[d] > n[d] ? -1 : 1) * k; +function Mu(e, t) { + const n = t.parentNode || t.parentId, + o = e.find((r) => r.id === n); + if (o) { + const r = t.position.x + t.width - o.width, + i = t.position.y + t.height - o.height; + if (r > 0 || i > 0 || t.position.x < 0 || t.position.y < 0) { + if ( + ((o.style = { ...o.style }), + (o.style.width = o.style.width ?? o.width), + (o.style.height = o.style.height ?? o.height), + r > 0 && (o.style.width += r), + i > 0 && (o.style.height += i), + t.position.x < 0) + ) { + const a = Math.abs(t.position.x); + (o.position.x = o.position.x - a), + (o.style.width += a), + (t.position.x = 0); } + if (t.position.y < 0) { + const a = Math.abs(t.position.y); + (o.position.y = o.position.y - a), + (o.style.height += a), + (t.position.y = 0); + } + (o.width = o.style.width), (o.height = o.style.height); } - if (t !== o) { - const V = d === "x" ? "y" : "x", k = i[d] === l[V], N = s[V] > u[V], T = s[V] < u[V]; - (i[d] === 1 && (!k && N || k && T) || i[d] !== 1 && (!k && T || k && N)) && (h = d === "x" ? M : _); - } - const L = { x: s.x + y.x, y: s.y + y.y }, R = { x: u.x + g.x, y: u.y + g.y }, j = Math.max(Math.abs(L.x - h[0].x), Math.abs(R.x - h[0].x)), P = Math.max(Math.abs(L.y - h[0].y), Math.abs(R.y - h[0].y)); - j >= P ? (m = (L.x + R.x) / 2, b = h[0].y) : (m = h[0].x, b = (L.y + R.y) / 2); } - return [[ - e, - { x: s.x + y.x, y: s.y + y.y }, - ...h, - { x: u.x + g.x, y: u.y + g.y }, - n - ], m, b, S, w]; } -function Pm(e, t, n, o) { - const r = Math.min(ku(e, t) / 2, ku(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 bb(e, t) { + if (e.some((o) => o.type === "reset")) + return e.filter((o) => o.type === "reset").map((o) => o.item); + const n = e.filter((o) => o.type === "add").map((o) => o.item); + return t.reduce((o, r) => { + const i = e.filter((l) => l.id === r.id); + if (i.length === 0) return o.push(r), o; + const a = { ...r }; + for (const l of i) + if (l) + switch (l.type) { + case "select": { + a.selected = l.selected; + break; + } + case "position": { + typeof l.position < "u" && (a.position = l.position), + typeof l.positionAbsolute < "u" && + (a.positionAbsolute = l.positionAbsolute), + typeof l.dragging < "u" && (a.dragging = l.dragging), + a.expandParent && Mu(o, a); + break; + } + case "dimensions": { + typeof l.dimensions < "u" && + ((a.width = l.dimensions.width), + (a.height = l.dimensions.height)), + typeof l.updateStyle < "u" && + (a.style = { ...(a.style || {}), ...l.dimensions }), + typeof l.resizing == "boolean" && (a.resizing = l.resizing), + a.expandParent && Mu(o, a); + break; + } + case "remove": + return o; + } + return o.push(a), o; + }, n); } -function Ts({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, p, h, m] = Hm({ - source: { x: e, y: t }, - sourcePosition: n, - target: { x: o, y: r }, - targetPosition: a, - center: { x: l, y: s }, - offset: u - }); - return [c.reduce((y, g, x) => { - let C = ""; - return x > 0 && x < c.length - 1 ? C = Pm(c[x - 1], g, c[x + 1], i) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; - }, ""), d, p, h, m]; +function yb(e, t) { + return bb(e, t); } -const si = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ie.Bottom, targetPosition: p = ie.Top, markerEnd: h, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = Ts({ - sourceX: e, - sourceY: t, - sourcePosition: d, - targetX: n, - targetY: o, - targetPosition: p, - borderRadius: b == null ? void 0 : b.borderRadius, - offset: b == null ? void 0 : b.offset - }); - return $.createElement(zo, { path: g, labelX: x, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: h, markerStart: m, interactionWidth: y }); -}); -si.displayName = "SmoothStepEdge"; -const Fc = Ge((e) => { - var t; - return $.createElement(si, { ...e, pathOptions: Ve(() => { - var n; - return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; - }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); +const On = (e, t) => ({ + id: e, + type: "select", + selected: t, }); -Fc.displayName = "StepEdge"; -function Bm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const [r, a, i, l] = R3({ - sourceX: e, - sourceY: t, - targetX: n, - targetY: o - }); - return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; +function co(e, t) { + return e.reduce((n, o) => { + const r = t.includes(o.id); + return ( + !o.selected && r + ? ((o.selected = !0), n.push(On(o.id, !0))) + : o.selected && !r && ((o.selected = !1), n.push(On(o.id, !1))), + n + ); + }, []); } -const Rc = Ge(({ 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: p, interactionWidth: h }) => { - const [m, b, y] = Bm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return $.createElement(zo, { path: m, labelX: b, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: p, interactionWidth: h }); -}); -Rc.displayName = "StraightEdge"; -function oa(e, t) { - return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); +const jl = (e, t) => (n) => { + n.target === t.current && (e == null || e(n)); + }, + Cb = (e) => ({ + userSelectionActive: e.userSelectionActive, + elementsSelectable: e.elementsSelectable, + dragging: e.paneDragging, + }), + Y3 = Ye( + ({ + isSelecting: e, + selectionMode: t = mr.Full, + panOnDrag: n, + onSelectionStart: o, + onSelectionEnd: r, + onPaneClick: i, + onPaneContextMenu: a, + onPaneScroll: l, + onPaneMouseEnter: s, + onPaneMouseMove: u, + onPaneMouseLeave: c, + children: d, + }) => { + const h = pe(null), + f = nt(), + m = pe(0), + b = pe(0), + y = pe(), + { + userSelectionActive: g, + elementsSelectable: x, + dragging: C, + } = Ze(Cb, st), + E = () => { + f.setState({ userSelectionActive: !1, userSelectionRect: null }), + (m.current = 0), + (b.current = 0); + }, + w = (V) => { + i == null || i(V), + f.getState().resetSelectedElements(), + f.setState({ nodesSelectionActive: !1 }); + }, + S = (V) => { + if (Array.isArray(n) && n != null && n.includes(2)) { + V.preventDefault(); + return; + } + a == null || a(V); + }, + _ = l ? (V) => l(V) : void 0, + A = (V) => { + const { resetSelectedElements: k, domNode: N } = f.getState(); + if ( + ((y.current = N == null ? void 0 : N.getBoundingClientRect()), + !x || !e || V.button !== 0 || V.target !== h.current || !y.current) + ) + return; + const { x: T, y: F } = Ln(V, y.current); + k(), + f.setState({ + userSelectionRect: { + width: 0, + height: 0, + startX: T, + startY: F, + x: T, + y: F, + }, + }), + o == null || o(V); + }, + R = (V) => { + const { + userSelectionRect: k, + nodeInternals: N, + edges: T, + transform: F, + onNodesChange: I, + onEdgesChange: D, + nodeOrigin: v, + getNodes: z, + } = f.getState(); + if (!e || !y.current || !k) return; + f.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); + const B = Ln(V, y.current), + M = k.startX ?? 0, + W = k.startY ?? 0, + G = { + ...k, + x: B.x < M ? B.x : M, + y: B.y < W ? B.y : W, + width: Math.abs(B.x - M), + height: Math.abs(B.y - W), + }, + K = z(), + Q = O3(N, G, F, t === mr.Partial, !0, v), + ne = N3(Q, T).map((U) => U.id), + oe = Q.map((U) => U.id); + if (m.current !== oe.length) { + m.current = oe.length; + const U = co(K, oe); + U.length && (I == null || I(U)); + } + if (b.current !== ne.length) { + b.current = ne.length; + const U = co(T, ne); + U.length && (D == null || D(U)); + } + f.setState({ + userSelectionRect: G, + }); + }, + L = (V) => { + if (V.button !== 0) return; + const { userSelectionRect: k } = f.getState(); + !g && k && V.target === h.current && (w == null || w(V)), + f.setState({ nodesSelectionActive: m.current > 0 }), + E(), + r == null || r(V); + }, + j = (V) => { + g && + (f.setState({ nodesSelectionActive: m.current > 0 }), + r == null || r(V)), + E(); + }, + P = x && (e || g); + return $.createElement( + "div", + { + className: bt(["react-flow__pane", { dragging: C, selection: e }]), + onClick: P ? void 0 : jl(w, h), + onContextMenu: jl(S, h), + onWheel: jl(_, h), + onMouseEnter: P ? void 0 : s, + onMouseDown: P ? A : void 0, + onMouseMove: P ? R : u, + onMouseUp: P ? L : void 0, + onMouseLeave: P ? j : c, + ref: h, + style: Fc, + }, + d, + $.createElement(mb, null), + ); + }, + ); +Y3.displayName = "Pane"; +function G3(e, t) { + const n = e.parentNode || e.parentId; + if (!n) return !1; + const o = t.get(n); + return o ? (o.selected ? !0 : G3(o, t)) : !1; } -function _u({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { - switch (e) { - case ie.Left: - return [t - oa(t - o, a), n]; - case ie.Right: - return [t + oa(o - t, a), n]; - case ie.Top: - return [t, n - oa(n - r, a)]; - case ie.Bottom: - return [t, n + oa(r - n, a)]; - } -} -function H3({ sourceX: e, sourceY: t, sourcePosition: n = ie.Bottom, targetX: o, targetY: r, targetPosition: a = ie.Top, curvature: i = 0.25 }) { - const [l, s] = _u({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r, - c: i - }), [u, c] = _u({ - pos: a, - x1: o, - y1: r, - x2: e, - y2: t, - c: i - }), [d, p, h, m] = I3({ - 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, - p, - h, - m - ]; +function Tu(e, t, n) { + let o = e; + do { + if (o != null && o.matches(t)) return !0; + if (o === n.current) return !1; + o = o.parentElement; + } while (o); + return !1; } -const Va = Ge(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ie.Bottom, targetPosition: a = ie.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = H3({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: a, - curvature: b == null ? void 0 : b.curvature - }); - return $.createElement(zo, { path: g, labelX: x, labelY: C, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: p, markerEnd: h, markerStart: m, interactionWidth: y }); -}); -Va.displayName = "BezierEdge"; -const Ic = Ht(null), Vm = Ic.Provider; -Ic.Consumer; -const $m = () => tt(Ic), Wm = (e) => "id" in e && "source" in e && "target" in e, Zm = (e) => "id" in e && !("source" in e) && !("target" in e), Um = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, Os = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, qm = (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)), Ym = (e, t) => { - if (!e.source || !e.target) - return j3("006", Qt.error006()), t; - let n; - return Wm(e) ? n = { ...e } : n = { - ...e, - id: Um(e) - }, qm(n, t) ? t : t.concat(n); -}, Ns = ({ 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; -}, P3 = ({ x: e, y: t }, [n, o, r]) => ({ - x: e * r + n, - y: t * r + o -}), vo = (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 - }; -}, zc = (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 } = vo(r, t).positionAbsolute; - return jm(o, Lc({ - 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 Fm(n); -}, B3 = (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: p, selectable: h = !0, hidden: m = !1 } = c; - if (i && !h || m) - return !1; - const { positionAbsolute: b } = vo(c, l), y = { - x: b.x, - y: b.y, - width: d || 0, - height: p || 0 - }, g = As(s, y), x = typeof d > "u" || typeof p > "u" || d === null || p === null, C = a && g > 0, S = (d || 0) * (p || 0); - (x || C || g >= S || c.dragging) && u.push(c); - }), u; -}, V3 = (e, t) => { - const n = e.map((o) => o.id); - return t.filter((o) => n.includes(o.source) || n.includes(o.target)); -}, $3 = (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 = Do(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, p = t / 2 - c * u, h = n / 2 - d * u; - return { x: p, y: h, zoom: u }; -}, Bn = (e, t = 0) => e.transition().duration(t); -function Au(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 vb(e, t, n, o) { + return Array.from(e.values()) + .filter( + (r) => + (r.selected || r.id === o) && + (!r.parentNode || r.parentId || !G3(r, e)) && + (r.draggable || (t && typeof r.draggable > "u")), + ) + .map((r) => { + var i, a; + return { + id: r.id, + position: r.position || { x: 0, y: 0 }, + positionAbsolute: r.positionAbsolute || { x: 0, y: 0 }, + distance: { + x: n.x - (((i = r.positionAbsolute) == null ? void 0 : i.x) ?? 0), + y: n.y - (((a = r.positionAbsolute) == null ? void 0 : a.y) ?? 0), + }, + delta: { + x: 0, + y: 0, + }, + extent: r.extent, + parentNode: r.parentNode || r.parentId, + parentId: r.parentNode || r.parentId, + width: r.width, + height: r.height, + expandParent: r.expandParent, + }; + }); } -function Gm(e, t, n, o, r, a) { - const { x: i, y: l } = Rn(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 = Hc(void 0, u), y = u.getAttribute("data-handleid"), g = a({ nodeId: m, id: y, type: b }); - if (g) { - const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); - return { - handle: { - id: y, - type: b, - nodeId: m, - x: (x == null ? void 0 : x.x) || n.x, - y: (x == null ? void 0 : x.y) || n.y - }, - validHandleResult: g - }; - } - } +function xb(e, t) { + return !t || t === "parent" + ? t + : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; +} +function K3(e, t, n, o, r = [0, 0], i) { + const a = xb(e, e.extent || o); + let l = a; + const s = e.parentNode || e.parentId; + if (e.extent === "parent" && !e.expandParent) + if (s && e.width && e.height) { + const d = n.get(s), + { x: h, y: f } = mo(d, r).positionAbsolute; + l = + d && jt(h) && jt(f) && jt(d.width) && jt(d.height) + ? [ + [h + e.width * r[0], f + e.height * r[1]], + [ + h + d.width - e.width + e.width * r[0], + f + d.height - e.height + e.height * r[1], + ], + ] + : l; + } else i == null || i("005", Kt.error005()), (l = a); + else if (e.extent && s && e.extent !== "parent") { + const d = n.get(s), + { x: h, y: f } = mo(d, r).positionAbsolute; + l = [ + [e.extent[0][0] + h, e.extent[0][1] + f], + [e.extent[1][0] + h, e.extent[1][1] + f], + ]; + } + let u = { x: 0, y: 0 }; + if (s) { + const d = n.get(s); + u = mo(d, r).positionAbsolute; } - let c = [], d = 1 / 0; - if (r.forEach((m) => { - const b = Math.sqrt((m.x - n.x) ** 2 + (m.y - n.y) ** 2); - if (b <= o) { - const y = a(m); - b <= d && (b < d ? c = [{ handle: m, validHandleResult: y }] : b === d && c.push({ - handle: m, - validHandleResult: y - }), d = b); - } - }), !c.length) - return { handle: null, validHandleResult: W3() }; - if (c.length === 1) - return c[0]; - const p = c.some(({ validHandleResult: m }) => m.isValid), h = c.some(({ handle: m }) => m.type === "target"); - return c.find(({ handle: m, validHandleResult: b }) => h ? m.type === "target" : p ? b.isValid : !0) || c[0]; -} -const Km = { source: null, target: null, sourceHandle: null, targetHandle: null }, W3 = () => ({ - handleDomNode: null, - isValid: !1, - connection: Km, - endHandle: null -}); -function Z3(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 = { - ...W3(), - handleDomNode: s + const c = l && l !== "parent" ? kc(t, l) : t; + return { + position: { + x: c.x - u.x, + y: c.y - u.y, + }, + positionAbsolute: c, }; - if (s) { - const c = Hc(void 0, s), d = s.getAttribute("data-nodeid"), p = s.getAttribute("data-handleid"), h = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { - source: l ? d : n, - sourceHandle: l ? p : o, - target: l ? n : d, - targetHandle: l ? o : p +} +function Il({ nodeId: e, dragItems: t, nodeInternals: n }) { + const o = t.map((r) => ({ + ...n.get(r.id), + position: r.position, + positionAbsolute: r.positionAbsolute, + })); + return [e ? o.find((r) => r.id === e) : o[0], o]; +} +const Ou = (e, t, n, o) => { + const r = t.querySelectorAll(e); + if (!r || !r.length) return null; + const i = Array.from(r), + a = t.getBoundingClientRect(), + l = { + x: a.width * o[0], + y: a.height * o[1], }; - u.connection = b, h && m && (t === no.Strict ? l && c === "source" || !l && c === "target" : d !== n || p !== o) && (u.endHandle = { - nodeId: d, - handleId: p, - type: c - }, u.isValid = a(b)); - } - return u; + return i.map((s) => { + const u = s.getBoundingClientRect(); + return { + id: s.getAttribute("data-handleid"), + position: s.getAttribute("data-handlepos"), + x: (u.left - a.left - l.x) / n, + y: (u.top - a.top - l.y) / n, + ...Sc(s), + }; + }); +}; +function Zo(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().nodeInternals.get(e); + r && n(o, { ...r }); + }; } -function Xm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { - return e.reduce((r, a) => { - if (a[Ye]) { - const { handleBounds: i } = a[Ye]; - let l = [], s = []; - i && (l = Au(a, i, "source", `${t}-${n}-${o}`), s = Au(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); - } - return r; +function Ms({ id: e, store: t, unselect: n = !1, nodeRef: o }) { + const { + addSelectedNodes: r, + unselectNodesAndEdges: i, + multiSelectionActive: a, + nodeInternals: l, + onError: s, + } = t.getState(), + u = l.get(e); + if (!u) { + s == null || s("012", Kt.error012(e)); + return; + } + t.setState({ nodesSelectionActive: !1 }), + u.selected + ? (n || (u.selected && a)) && + (i({ nodes: [u], edges: [] }), + requestAnimationFrame(() => { + var c; + return (c = o == null ? void 0 : o.current) == null + ? void 0 + : c.blur(); + })) + : r([e]); +} +function wb() { + const e = nt(); + return Me(({ sourceEvent: n }) => { + const { transform: o, snapGrid: r, snapToGrid: i } = e.getState(), + a = n.touches ? n.touches[0].clientX : n.clientX, + l = n.touches ? n.touches[0].clientY : n.clientY, + s = { + x: (a - o[0]) / o[2], + y: (l - o[1]) / o[2], + }; + return { + xSnapped: i ? r[0] * Math.round(s.x / r[0]) : s.x, + ySnapped: i ? r[1] * Math.round(s.y / r[1]) : s.y, + ...s, + }; }, []); } -function Hc(e, t) { - return e || (t != null && t.classList.contains("target") ? "target" : t != null && t.classList.contains("source") ? "source" : null); -} function zl(e) { - e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); + return (t, n, o) => (e == null ? void 0 : e(t, o)); +} +function X3({ + nodeRef: e, + disabled: t = !1, + noDragClassName: n, + handleSelector: o, + nodeId: r, + isSelectable: i, + selectNodesOnDrag: a, +}) { + const l = nt(), + [s, u] = ue(!1), + c = pe([]), + d = pe({ x: null, y: null }), + h = pe(0), + f = pe(null), + m = pe({ x: 0, y: 0 }), + b = pe(null), + y = pe(!1), + g = pe(!1), + x = pe(!1), + C = wb(); + return ( + ce(() => { + if (e != null && e.current) { + const E = Ut(e.current), + w = ({ x: A, y: R }) => { + const { + nodeInternals: L, + onNodeDrag: j, + onSelectionDrag: P, + updateNodePositions: V, + nodeExtent: k, + snapGrid: N, + snapToGrid: T, + nodeOrigin: F, + onError: I, + } = l.getState(); + d.current = { x: A, y: R }; + let D = !1, + v = { x: 0, y: 0, x2: 0, y2: 0 }; + if (c.current.length > 1 && k) { + const B = Nc(c.current, F); + v = _c(B); + } + if ( + ((c.current = c.current.map((B) => { + const M = { x: A - B.distance.x, y: R - B.distance.y }; + T && + ((M.x = N[0] * Math.round(M.x / N[0])), + (M.y = N[1] * Math.round(M.y / N[1]))); + const W = [ + [k[0][0], k[0][1]], + [k[1][0], k[1][1]], + ]; + c.current.length > 1 && + k && + !B.extent && + ((W[0][0] = B.positionAbsolute.x - v.x + k[0][0]), + (W[1][0] = + B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0]), + (W[0][1] = B.positionAbsolute.y - v.y + k[0][1]), + (W[1][1] = + B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1])); + const G = K3(B, M, L, W, F, I); + return ( + (D = + D || + B.position.x !== G.position.x || + B.position.y !== G.position.y), + (B.position = G.position), + (B.positionAbsolute = G.positionAbsolute), + B + ); + })), + !D) + ) + return; + V(c.current, !0, !0), u(!0); + const z = r ? j : zl(P); + if (z && b.current) { + const [B, M] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: L, + }); + z(b.current, B, M); + } + }, + S = () => { + if (!f.current) return; + const [A, R] = v3(m.current, f.current); + if (A !== 0 || R !== 0) { + const { transform: L, panBy: j } = l.getState(); + (d.current.x = (d.current.x ?? 0) - A / L[2]), + (d.current.y = (d.current.y ?? 0) - R / L[2]), + j({ x: A, y: R }) && w(d.current); + } + h.current = requestAnimationFrame(S); + }, + _ = (A) => { + var F; + const { + nodeInternals: R, + multiSelectionActive: L, + nodesDraggable: j, + unselectNodesAndEdges: P, + onNodeDragStart: V, + onSelectionDragStart: k, + } = l.getState(); + g.current = !0; + const N = r ? V : zl(k); + (!a || !i) && + !L && + r && + (((F = R.get(r)) != null && F.selected) || P()), + r && + i && + a && + Ms({ + id: r, + store: l, + nodeRef: e, + }); + const T = C(A); + if ( + ((d.current = T), (c.current = vb(R, j, T, r)), N && c.current) + ) { + const [I, D] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: R, + }); + N(A.sourceEvent, I, D); + } + }; + if (t) E.on(".drag", null); + else { + const A = Oh() + .on("start", (R) => { + const { domNode: L, nodeDragThreshold: j } = l.getState(); + j === 0 && _(R), (x.current = !1); + const P = C(R); + (d.current = P), + (f.current = + (L == null ? void 0 : L.getBoundingClientRect()) || null), + (m.current = Ln(R.sourceEvent, f.current)); + }) + .on("drag", (R) => { + var V, k; + const L = C(R), + { autoPanOnNodeDrag: j, nodeDragThreshold: P } = l.getState(); + if ( + (R.sourceEvent.type === "touchmove" && + R.sourceEvent.touches.length > 1 && + (x.current = !0), + !x.current) + ) { + if ( + (!y.current && g.current && j && ((y.current = !0), S()), + !g.current) + ) { + const N = + L.xSnapped - + (((V = d == null ? void 0 : d.current) == null + ? void 0 + : V.x) ?? 0), + T = + L.ySnapped - + (((k = d == null ? void 0 : d.current) == null + ? void 0 + : k.y) ?? 0); + Math.sqrt(N * N + T * T) > P && _(R); + } + (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && + c.current && + g.current && + ((b.current = R.sourceEvent), + (m.current = Ln(R.sourceEvent, f.current)), + w(L)); + } + }) + .on("end", (R) => { + if ( + !(!g.current || x.current) && + (u(!1), + (y.current = !1), + (g.current = !1), + cancelAnimationFrame(h.current), + c.current) + ) { + const { + updateNodePositions: L, + nodeInternals: j, + onNodeDragStop: P, + onSelectionDragStop: V, + } = l.getState(), + k = r ? P : zl(V); + if ((L(c.current, !1, !1), k)) { + const [N, T] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: j, + }); + k(R.sourceEvent, N, T); + } + } + }) + .filter((R) => { + const L = R.target; + return ( + !R.button && (!n || !Tu(L, `.${n}`, e)) && (!o || Tu(L, o, e)) + ); + }); + return ( + E.call(A), + () => { + E.on(".drag", null); + } + ); + } + } + }, [e, t, n, o, i, l, r, a, C]), + s + ); } -function Qm(e, t) { - let n = null; - return t ? n = "valid" : e && !t && (n = "invalid"), n; +function Q3() { + const e = nt(); + return Me((n) => { + const { + nodeInternals: o, + nodeExtent: r, + updateNodePositions: i, + getNodes: a, + snapToGrid: l, + snapGrid: s, + onError: u, + nodesDraggable: c, + } = e.getState(), + d = a().filter( + (x) => x.selected && (x.draggable || (c && typeof x.draggable > "u")), + ), + h = l ? s[0] : 5, + f = l ? s[1] : 5, + m = n.isShiftPressed ? 4 : 1, + b = n.x * h * m, + y = n.y * f * m, + g = d.map((x) => { + if (x.positionAbsolute) { + const C = { + x: x.positionAbsolute.x + b, + y: x.positionAbsolute.y + y, + }; + l && + ((C.x = s[0] * Math.round(C.x / s[0])), + (C.y = s[1] * Math.round(C.y / s[1]))); + const { positionAbsolute: E, position: w } = K3( + x, + C, + o, + r, + void 0, + u, + ); + (x.position = w), (x.positionAbsolute = E); + } + return x; + }); + i(g, !0, !1); + }, []); } -function U3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { - const c = D3(e.target), { connectionMode: d, domNode: p, autoPanOnConnect: h, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = a(); - let C = 0, S; - const { x: w, y: E } = Rn(e), M = c == null ? void 0 : c.elementFromPoint(w, E), _ = Hc(s, M), L = p == null ? void 0 : p.getBoundingClientRect(); - if (!L || !_) - return; - let R, j = Rn(e, L), P = !1, V = null, k = !1, N = null; - const T = Xm({ - nodes: g(), - nodeId: n, - handleId: t, - handleType: _ - }), D = () => { - if (!h) - return; - const [v, z] = N3(j, L); - y({ x: v, y: z }), C = requestAnimationFrame(D); - }; - i({ - connectionPosition: j, - connectionStatus: null, - // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle - connectionNodeId: n, - connectionHandleId: t, - connectionHandleType: _, - connectionStartHandle: { +const bo = { + ArrowUp: { x: 0, y: -1 }, + ArrowDown: { x: 0, y: 1 }, + ArrowLeft: { x: -1, y: 0 }, + ArrowRight: { x: 1, y: 0 }, +}; +var Uo = (e) => { + const t = ({ + id: n, + type: o, + data: r, + xPos: i, + yPos: a, + xPosOrigin: l, + yPosOrigin: s, + selected: u, + onClick: c, + onMouseEnter: d, + onMouseMove: h, + onMouseLeave: f, + onContextMenu: m, + onDoubleClick: b, + style: y, + className: g, + isDraggable: x, + isSelectable: C, + isConnectable: E, + isFocusable: w, + selectNodesOnDrag: S, + sourcePosition: _, + targetPosition: A, + hidden: R, + resizeObserver: L, + dragHandle: j, + zIndex: P, + isParent: V, + noDragClassName: k, + noPanClassName: N, + initialized: T, + disableKeyboardA11y: F, + ariaLabel: I, + rfId: D, + hasHandleBounds: v, + }) => { + const z = nt(), + B = pe(null), + M = pe(null), + W = pe(_), + G = pe(A), + K = pe(o), + Q = C || x || c || d || h || f, + ne = Q3(), + oe = Zo(n, z.getState, d), + U = Zo(n, z.getState, h), + ge = Zo(n, z.getState, f), + J = Zo(n, z.getState, m), + ke = Zo(n, z.getState, b), + ie = (Ee) => { + const { nodeDragThreshold: le } = z.getState(); + if ( + (C && + (!S || !x || le > 0) && + Ms({ + id: n, + store: z, + nodeRef: B, + }), + c) + ) { + const Ge = z.getState().nodeInternals.get(n); + Ge && c(Ee, { ...Ge }); + } + }, + _e = (Ee) => { + if (!Es(Ee) && !F) + if (w3.includes(Ee.key) && C) { + const le = Ee.key === "Escape"; + Ms({ + id: n, + store: z, + unselect: le, + nodeRef: B, + }); + } else + x && + u && + Object.prototype.hasOwnProperty.call(bo, Ee.key) && + (z.setState({ + ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~i}, y: ${~~a}`, + }), + ne({ + x: bo[Ee.key].x, + y: bo[Ee.key].y, + isShiftPressed: Ee.shiftKey, + })); + }; + ce( + () => () => { + M.current && (L == null || L.unobserve(M.current), (M.current = null)); + }, + [], + ), + ce(() => { + if (B.current && !R) { + const Ee = B.current; + (!T || !v || M.current !== Ee) && + (M.current && (L == null || L.unobserve(M.current)), + L == null || L.observe(Ee), + (M.current = Ee)); + } + }, [R, T, v]), + ce(() => { + const Ee = K.current !== o, + le = W.current !== _, + Ge = G.current !== A; + B.current && + (Ee || le || Ge) && + (Ee && (K.current = o), + le && (W.current = _), + Ge && (G.current = A), + z + .getState() + .updateNodeDimensions([ + { id: n, nodeElement: B.current, forceUpdate: !0 }, + ])); + }, [n, o, _, A]); + const $e = X3({ + nodeRef: B, + disabled: R || !x, + noDragClassName: k, + handleSelector: j, nodeId: n, - handleId: t, - type: _ - }, - connectionEndHandle: null - }), b == null || b(e, { nodeId: n, handleId: t, handleType: _ }); - function I(v) { - const { transform: z } = a(); - j = Rn(v, L); - const { handle: B, validHandleResult: A } = Gm(v, c, Ns(j, z, !1, [1, 1]), m, T, (W) => Z3(W, d, n, t, r ? "target" : "source", l, c)); - if (S = B, P || (D(), P = !0), N = A.handleDomNode, V = A.connection, k = A.isValid, i({ - connectionPosition: S && k ? P3({ - x: S.x, - y: S.y - }, z) : j, - connectionStatus: Qm(!!S, k), - connectionEndHandle: A.endHandle - }), !S && !k && !N) - return zl(R); - V.source !== V.target && N && (zl(R), R = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", k), N.classList.toggle("react-flow__handle-valid", k)); - } - function F(v) { - var z, B; - (S || N) && V && k && (o == null || o(V)), (B = (z = a()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), zl(R), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, N = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", F), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", F); - } - c.addEventListener("mousemove", I), c.addEventListener("mouseup", F), c.addEventListener("touchmove", I), c.addEventListener("touchend", F); -} -const Mu = () => !0, Jm = (e) => ({ - connectionStartHandle: e.connectionStartHandle, - connectOnClick: e.connectOnClick, - noPanClassName: e.noPanClassName -}), eb = (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: C, + selectNodesOnDrag: S, + }); + return R + ? null + : $.createElement( + "div", + { + className: bt([ + "react-flow__node", + `react-flow__node-${o}`, + { + // this is overwritable by passing `nopan` as a class name + [N]: x, + }, + g, + { + selected: u, + selectable: C, + parent: V, + dragging: $e, + }, + ]), + ref: B, + style: { + zIndex: P, + transform: `translate(${l}px,${s}px)`, + pointerEvents: Q ? "all" : "none", + visibility: T ? "visible" : "hidden", + ...y, + }, + "data-id": n, + "data-testid": `rf__node-${n}`, + onMouseEnter: oe, + onMouseMove: U, + onMouseLeave: ge, + onContextMenu: J, + onClick: ie, + onDoubleClick: ke, + onKeyDown: w ? _e : void 0, + tabIndex: w ? 0 : void 0, + role: w ? "button" : void 0, + "aria-describedby": F ? void 0 : `${$3}-${D}`, + "aria-label": I, + }, + $.createElement( + Fm, + { value: n }, + $.createElement(e, { + id: n, + data: r, + type: o, + xPos: i, + yPos: a, + selected: u, + isConnectable: E, + sourcePosition: _, + targetPosition: A, + dragging: $e, + dragHandle: j, + zIndex: P, + }), + ), + ); }; -}, q3 = Js(({ type: e = "source", position: t = ie.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...p }, h) => { - var L, R; - const m = i || null, b = e === "target", y = rt(), g = $m(), { connectOnClick: x, noPanClassName: C } = Ue(Jm, ut), { connecting: S, clickConnecting: w } = Ue(eb(g, m, e), ut); - g || (R = (L = y.getState()).onError) == null || R.call(L, "010", Qt.error010()); - const E = (j) => { - const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), N = { - ...P, - ...j - }; - if (k) { - const { edges: T, setEdges: D } = y.getState(); - D(Ym(N, T)); - } - V == null || V(N), l == null || l(N); - }, M = (j) => { - if (!g) - return; - const P = F3(j); - r && (P && j.button === 0 || !P) && U3({ - event: j, - handleId: m, - nodeId: g, - onConnect: E, - isTarget: b, - getState: y.getState, - setState: y.setState, - isValidConnection: n || y.getState().isValidConnection || Mu - }), P ? c == null || c(j) : d == null || d(j); - }, _ = (j) => { - const { onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, connectionMode: N, isValidConnection: T } = y.getState(); - if (!g || !k && !r) - return; - if (!k) { - P == null || P(j, { nodeId: g, handleId: m, handleType: e }), y.setState({ connectionClickStartHandle: { nodeId: g, type: e, handleId: m } }); - return; - } - const D = D3(j.target), I = n || T || Mu, { connection: F, isValid: v } = Z3({ - nodeId: g, - id: m, - type: e - }, N, k.nodeId, k.handleId || null, k.type, I, D); - v && E(F), V == null || V(j), y.setState({ connectionClickStartHandle: null }); + return (t.displayName = "NodeWrapper"), Ye(t); +}; +const Eb = (e) => { + const t = e.getNodes().filter((n) => n.selected); + return { + ...Nc(t, e.nodeOrigin), + transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, + userSelectionActive: e.userSelectionActive, }; - return $.createElement("div", { "data-handleid": m, "data-nodeid": g, "data-handlepos": t, "data-id": `${g}-${m}-${e}`, className: bt([ - "react-flow__handle", - `react-flow__handle-${t}`, - "nodrag", - C, - u, +}; +function Sb({ + onSelectionContextMenu: e, + noPanClassName: t, + disableKeyboardA11y: n, +}) { + const o = nt(), { - source: !b, - target: b, - connectable: o, - connectablestart: r, - connectableend: a, - connecting: w, - // this class is used to style the handle when the user is connecting - connectionindicator: o && (r && !S || a && S) - } - ]), onMouseDown: M, onTouchStart: M, onClick: x ? _ : void 0, ref: h, ...p }, s); -}); -q3.displayName = "Handle"; -var Lt = Ge(q3); -const Y3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top, sourcePosition: o = ie.Bottom }) => $.createElement( - $.Fragment, - null, - $.createElement(Lt, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label, - $.createElement(Lt, { type: "source", position: o, isConnectable: t }) -); -Y3.displayName = "DefaultNode"; -var Ds = Ge(Y3); -const G3 = ({ data: e, isConnectable: t, sourcePosition: n = ie.Bottom }) => $.createElement( - $.Fragment, - null, - e == null ? void 0 : e.label, - $.createElement(Lt, { type: "source", position: n, isConnectable: t }) -); -G3.displayName = "InputNode"; -var K3 = Ge(G3); -const X3 = ({ data: e, isConnectable: t, targetPosition: n = ie.Top }) => $.createElement( - $.Fragment, - null, - $.createElement(Lt, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label -); -X3.displayName = "OutputNode"; -var Q3 = Ge(X3); -const Pc = () => null; -Pc.displayName = "GroupNode"; -const tb = (e) => ({ - selectedNodes: e.getNodes().filter((t) => t.selected), - selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), ra = (e) => e.id; -function nb(e, t) { - return ut(e.selectedNodes.map(ra), t.selectedNodes.map(ra)) && ut(e.selectedEdges.map(ra), t.selectedEdges.map(ra)); -} -const J3 = Ge(({ onSelectionChange: e }) => { - const t = rt(), { selectedNodes: n, selectedEdges: o } = Ue(tb, nb); - return ue(() => { - const r = { nodes: n, edges: o }; - e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); - }, [n, o, e]), null; -}); -J3.displayName = "SelectionListener"; -const ob = (e) => !!e.onSelectionChange; -function rb({ onSelectionChange: e }) { - const t = Ue(ob); - return e || t ? $.createElement(J3, { onSelectionChange: e }) : null; -} -const ab = (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 co(e, t) { - ue(() => { - typeof e < "u" && t(e); - }, [e]); -} -function Ce(e, t, n) { - ue(() => { - typeof t < "u" && n({ [e]: t }); - }, [t]); -} -const ib = ({ 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: p, edgesUpdatable: h, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: S, connectionMode: w, snapGrid: E, snapToGrid: M, translateExtent: _, connectOnClick: L, defaultEdgeOptions: R, fitView: j, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: D, onSelectionDrag: I, onSelectionDragStart: F, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: A, autoPanOnConnect: W, autoPanOnNodeDrag: Y, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { - const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ae, setTranslateExtent: _e, setNodeExtent: We, reset: Ee } = Ue(ab, ut), le = rt(); - return ue(() => { - const Xe = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...R })); - return J(n, Xe), () => { - Ee(); + width: r, + height: i, + x: a, + y: l, + transformString: s, + userSelectionActive: u, + } = Ze(Eb, st), + c = Q3(), + d = pe(null); + if ( + (ce(() => { + var m; + n || + (m = d.current) == null || + m.focus({ + preventScroll: !0, + }); + }, [n]), + X3({ + nodeRef: d, + }), + u || !r || !i) + ) + return null; + const h = e + ? (m) => { + const b = o + .getState() + .getNodes() + .filter((y) => y.selected); + e(m, b); + } + : void 0, + f = (m) => { + Object.prototype.hasOwnProperty.call(bo, m.key) && + c({ + x: bo[m.key].x, + y: bo[m.key].y, + isShiftPressed: m.shiftKey, + }); }; - }, []), Ce("defaultEdgeOptions", R, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", a, le.setState), Ce("onConnectEnd", i, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", p, le.setState), Ce("edgesUpdatable", h, le.setState), Ce("elementsSelectable", S, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", M, le.setState), Ce("snapGrid", E, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", L, le.setState), Ce("fitViewOnInit", j, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", D, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", F, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", A, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", Y, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), co(e, U), co(t, ge), co(b, ke), co(y, ae), co(_, _e), co(g, We), null; -}, Tu = { display: "none" }, lb = { - position: "absolute", - width: 1, - height: 1, - margin: -1, - border: 0, - padding: 0, - overflow: "hidden", - clip: "rect(0px, 0px, 0px, 0px)", - clipPath: "inset(100%)" -}, ef = "react-flow__node-desc", tf = "react-flow__edge-desc", sb = "react-flow__aria-live", cb = (e) => e.ariaLiveMessage; -function ub({ rfId: e }) { - const t = Ue(cb); - return $.createElement("div", { id: `${sb}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: lb }, t); -} -function db({ rfId: e, disableKeyboardA11y: t }) { return $.createElement( - $.Fragment, - null, - $.createElement( - "div", - { id: `${ef}-${e}`, style: Tu }, - "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: bt(["react-flow__nodesselection", "react-flow__container", t]), + style: { + transform: s, + }, + }, + $.createElement("div", { + ref: d, + className: "react-flow__nodesselection-rect", + onContextMenu: h, + tabIndex: n ? void 0 : -1, + onKeyDown: n ? void 0 : f, + style: { + width: r, + height: i, + top: l, + left: a, + }, + }), + ); +} +var kb = Ye(Sb); +const _b = (e) => e.nodesSelectionActive, + J3 = ({ + children: e, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: i, + onPaneScroll: a, + deleteKeyCode: l, + onMove: s, + onMoveStart: u, + onMoveEnd: c, + selectionKeyCode: d, + selectionOnDrag: h, + selectionMode: f, + onSelectionStart: m, + onSelectionEnd: b, + multiSelectionKeyCode: y, + panActivationKeyCode: g, + zoomActivationKeyCode: x, + elementsSelectable: C, + zoomOnScroll: E, + zoomOnPinch: w, + panOnScroll: S, + panOnScrollSpeed: _, + panOnScrollMode: A, + zoomOnDoubleClick: R, + panOnDrag: L, + defaultViewport: j, + translateExtent: P, + minZoom: V, + maxZoom: k, + preventScrolling: N, + onSelectionContextMenu: T, + noWheelClassName: F, + noPanClassName: I, + disableKeyboardA11y: D, + }) => { + const v = Ze(_b), + z = br(d), + B = br(g), + M = B || L, + W = B || S, + G = z || (h && M !== !0); + return ( + ub({ deleteKeyCode: l, multiSelectionKeyCode: y }), + $.createElement( + hb, + { + onMove: s, + onMoveStart: u, + onMoveEnd: c, + onPaneContextMenu: i, + elementsSelectable: C, + zoomOnScroll: E, + zoomOnPinch: w, + panOnScroll: W, + panOnScrollSpeed: _, + panOnScrollMode: A, + zoomOnDoubleClick: R, + panOnDrag: !z && M, + defaultViewport: j, + translateExtent: P, + minZoom: V, + maxZoom: k, + zoomActivationKeyCode: x, + preventScrolling: N, + noWheelClassName: F, + noPanClassName: I, + }, + $.createElement( + Y3, + { + onSelectionStart: m, + onSelectionEnd: b, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: i, + onPaneScroll: a, + panOnDrag: M, + isSelecting: !!G, + selectionMode: f, + }, + e, + v && + $.createElement(kb, { + onSelectionContextMenu: T, + noPanClassName: I, + disableKeyboardA11y: D, + }), + ), + ) + ); + }; +J3.displayName = "FlowRenderer"; +var Ab = Ye(J3); +function Mb(e) { + return Ze( + Me( + (n) => + e + ? O3( + n.nodeInternals, + { x: 0, y: 0, width: n.width, height: n.height }, + n.transform, + !0, + ) + : n.getNodes(), + [e], ), - $.createElement("div", { id: `${tf}-${e}`, style: Tu }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && $.createElement(ub, { rfId: e }) ); } -var xr = (e = null, t = { actInsideInputWithModifier: !0 }) => { - const [n, o] = ce(!1), r = he(!1), a = he(/* @__PURE__ */ new Set([])), [i, l] = Ve(() => { - if (e !== null) { - const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, p) => d.concat(...p), []); - return [u, c]; - } - return [[], []]; - }, [e]); - return ue(() => { - const s = typeof document < "u" ? document : null, u = (t == null ? void 0 : t.target) || s; - if (e !== null) { - const c = (h) => { - if (r.current = h.ctrlKey || h.metaKey || h.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && Ms(h)) - return !1; - const b = Nu(h.code, l); - a.current.add(h[b]), Ou(i, a.current, !1) && (h.preventDefault(), o(!0)); - }, d = (h) => { - if ((!r.current || r.current && !t.actInsideInputWithModifier) && Ms(h)) - return !1; - const b = Nu(h.code, l); - Ou(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(h[b]), h.key === "Meta" && a.current.clear(), r.current = !1; - }, p = () => { - a.current.clear(), o(!1); +function Tb(e) { + const t = { + input: Uo(e.input || H3), + default: Uo(e.default || As), + output: Uo(e.output || B3), + group: Uo(e.group || Lc), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["input", "default", "output", "group"].includes(r)) + .reduce((r, i) => ((r[i] = Uo(e[i] || As)), r), n); + return { + ...t, + ...o, + }; +} +const Ob = ({ x: e, y: t, width: n, height: o, origin: r }) => + !n || !o + ? { x: e, y: t } + : r[0] < 0 || r[1] < 0 || r[0] > 1 || r[1] > 1 + ? { x: e, y: t } + : { + x: e - n * r[0], + y: t - o * r[1], + }, + Nb = (e) => ({ + nodesDraggable: e.nodesDraggable, + nodesConnectable: e.nodesConnectable, + nodesFocusable: e.nodesFocusable, + elementsSelectable: e.elementsSelectable, + updateNodeDimensions: e.updateNodeDimensions, + onError: e.onError, + }), + ef = (e) => { + const { + nodesDraggable: t, + nodesConnectable: n, + nodesFocusable: o, + elementsSelectable: r, + updateNodeDimensions: i, + onError: a, + } = Ze(Nb, st), + l = Mb(e.onlyRenderVisibleElements), + s = pe(), + u = Be(() => { + if (typeof ResizeObserver > "u") return null; + const c = new ResizeObserver((d) => { + const h = d.map((f) => ({ + id: f.target.getAttribute("data-id"), + nodeElement: f.target, + forceUpdate: !0, + })); + i(h); + }); + return (s.current = c), c; + }, []); + return ( + ce( + () => () => { + var c; + (c = s == null ? void 0 : s.current) == null || c.disconnect(); + }, + [], + ), + $.createElement( + "div", + { className: "react-flow__nodes", style: Fc }, + l.map((c) => { + var w, S, _; + let d = c.type || "default"; + e.nodeTypes[d] || + (a == null || a("003", Kt.error003(d)), (d = "default")); + const h = e.nodeTypes[d] || e.nodeTypes.default, + f = !!(c.draggable || (t && typeof c.draggable > "u")), + m = !!(c.selectable || (r && typeof c.selectable > "u")), + b = !!(c.connectable || (n && typeof c.connectable > "u")), + y = !!(c.focusable || (o && typeof c.focusable > "u")), + g = e.nodeExtent + ? kc(c.positionAbsolute, e.nodeExtent) + : c.positionAbsolute, + x = (g == null ? void 0 : g.x) ?? 0, + C = (g == null ? void 0 : g.y) ?? 0, + E = Ob({ + x, + y: C, + width: c.width ?? 0, + height: c.height ?? 0, + origin: e.nodeOrigin, + }); + return $.createElement(h, { + key: c.id, + id: c.id, + className: c.className, + style: c.style, + type: d, + data: c.data, + sourcePosition: c.sourcePosition || ae.Bottom, + targetPosition: c.targetPosition || ae.Top, + hidden: c.hidden, + xPos: x, + yPos: C, + xPosOrigin: E.x, + yPosOrigin: E.y, + selectNodesOnDrag: e.selectNodesOnDrag, + onClick: e.onNodeClick, + onMouseEnter: e.onNodeMouseEnter, + onMouseMove: e.onNodeMouseMove, + onMouseLeave: e.onNodeMouseLeave, + onContextMenu: e.onNodeContextMenu, + onDoubleClick: e.onNodeDoubleClick, + selected: !!c.selected, + isDraggable: f, + isSelectable: m, + isConnectable: b, + isFocusable: y, + resizeObserver: u, + dragHandle: c.dragHandle, + zIndex: ((w = c[qe]) == null ? void 0 : w.z) ?? 0, + isParent: !!((S = c[qe]) != null && S.isParent), + noDragClassName: e.noDragClassName, + noPanClassName: e.noPanClassName, + initialized: !!c.width && !!c.height, + rfId: e.rfId, + disableKeyboardA11y: e.disableKeyboardA11y, + ariaLabel: c.ariaLabel, + hasHandleBounds: !!((_ = c[qe]) != null && _.handleBounds), + }); + }), + ) + ); + }; +ef.displayName = "NodeRenderer"; +var Db = Ye(ef); +const Lb = (e, t, n) => (n === ae.Left ? e - t : n === ae.Right ? e + t : e), + Fb = (e, t, n) => (n === ae.Top ? e - t : n === ae.Bottom ? e + t : e), + Nu = "react-flow__edgeupdater", + Du = ({ + position: e, + centerX: t, + centerY: n, + radius: o = 10, + onMouseDown: r, + onMouseEnter: i, + onMouseOut: a, + type: l, + }) => + $.createElement("circle", { + onMouseDown: r, + onMouseEnter: i, + onMouseOut: a, + className: bt([Nu, `${Nu}-${l}`]), + cx: Lb(t, o, e), + cy: Fb(n, o, e), + r: o, + stroke: "transparent", + fill: "transparent", + }), + Rb = () => !0; +var so = (e) => { + const t = ({ + id: n, + className: o, + type: r, + data: i, + onClick: a, + onEdgeDoubleClick: l, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: f, + labelBgPadding: m, + labelBgBorderRadius: b, + style: y, + source: g, + target: x, + sourceX: C, + sourceY: E, + targetX: w, + targetY: S, + sourcePosition: _, + targetPosition: A, + elementsSelectable: R, + hidden: L, + sourceHandleId: j, + targetHandleId: P, + onContextMenu: V, + onMouseEnter: k, + onMouseMove: N, + onMouseLeave: T, + reconnectRadius: F, + onReconnect: I, + onReconnectStart: D, + onReconnectEnd: v, + markerEnd: z, + markerStart: B, + rfId: M, + ariaLabel: W, + isFocusable: G, + isReconnectable: K, + pathOptions: Q, + interactionWidth: ne, + disableKeyboardA11y: oe, + }) => { + const U = pe(null), + [ge, J] = ue(!1), + [ke, ie] = ue(!1), + _e = nt(), + $e = Be(() => `url('#${ks(B, M)}')`, [B, M]), + Ee = Be(() => `url('#${ks(z, M)}')`, [z, M]); + if (L) return null; + const le = (de) => { + var Se; + const { + edges: Ve, + addSelectedEdges: et, + unselectNodesAndEdges: Qe, + multiSelectionActive: ft, + } = _e.getState(), + rt = Ve.find(($t) => $t.id === n); + rt && + (R && + (_e.setState({ nodesSelectionActive: !1 }), + rt.selected && ft + ? (Qe({ nodes: [], edges: [rt] }), + (Se = U.current) == null || Se.blur()) + : et([n])), + a && a(de, rt)); + }, + Ge = Wo(n, _e.getState, l), + Ot = Wo(n, _e.getState, V), + Jt = Wo(n, _e.getState, k), + Nt = Wo(n, _e.getState, N), + en = Wo(n, _e.getState, T), + St = (de, Ve) => { + if (de.button !== 0) return; + const { edges: et, isValidConnection: Qe } = _e.getState(), + ft = Ve ? x : g, + rt = (Ve ? P : j) || null, + Se = Ve ? "target" : "source", + $t = Qe || Rb, + it = Ve, + En = et.find((Wt) => Wt.id === n); + ie(!0), D == null || D(de, En, Se); + const tn = (Wt) => { + ie(!1), v == null || v(Wt, En, Se); + }; + R3({ + event: de, + handleId: rt, + nodeId: ft, + onConnect: (Wt) => (I == null ? void 0 : I(En, Wt)), + isTarget: it, + getState: _e.getState, + setState: _e.setState, + isValidConnection: $t, + edgeUpdaterType: Se, + onReconnectEnd: tn, + }); + }, + Vt = (de) => St(de, !0), + Dt = (de) => St(de, !1), + Z = () => J(!0), + ee = () => J(!1), + se = !R && !a, + xe = (de) => { + var Ve; + if (!oe && w3.includes(de.key) && R) { + const { + unselectNodesAndEdges: et, + addSelectedEdges: Qe, + edges: ft, + } = _e.getState(); + de.key === "Escape" + ? ((Ve = U.current) == null || Ve.blur(), + et({ edges: [ft.find((Se) => Se.id === n)] })) + : Qe([n]); + } + }; + return $.createElement( + "g", + { + className: bt([ + "react-flow__edge", + `react-flow__edge-${r}`, + o, + { selected: s, animated: u, inactive: se, updating: ge }, + ]), + onClick: le, + onDoubleClick: Ge, + onContextMenu: Ot, + onMouseEnter: Jt, + onMouseMove: Nt, + onMouseLeave: en, + onKeyDown: G ? xe : void 0, + tabIndex: G ? 0 : void 0, + role: G ? "button" : "img", + "data-testid": `rf__edge-${n}`, + "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, + "aria-describedby": G ? `${W3}-${M}` : void 0, + ref: U, + }, + !ke && + $.createElement(e, { + id: n, + source: g, + target: x, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: f, + labelBgPadding: m, + labelBgBorderRadius: b, + data: i, + style: y, + sourceX: C, + sourceY: E, + targetX: w, + targetY: S, + sourcePosition: _, + targetPosition: A, + sourceHandleId: j, + targetHandleId: P, + markerStart: $e, + markerEnd: Ee, + pathOptions: Q, + interactionWidth: ne, + }), + K && + $.createElement( + $.Fragment, + null, + (K === "source" || K === !0) && + $.createElement(Du, { + position: _, + centerX: C, + centerY: E, + radius: F, + onMouseDown: Vt, + onMouseEnter: Z, + onMouseOut: ee, + type: "source", + }), + (K === "target" || K === !0) && + $.createElement(Du, { + position: A, + centerX: w, + centerY: S, + radius: F, + onMouseDown: Dt, + onMouseEnter: Z, + onMouseOut: ee, + type: "target", + }), + ), + ); + }; + return (t.displayName = "EdgeWrapper"), Ye(t); +}; +function jb(e) { + const t = { + default: so(e.default || Ri), + straight: so(e.bezier || Tc), + step: so(e.step || Mc), + smoothstep: so(e.step || ra), + simplebezier: so(e.simplebezier || Ac), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["default", "bezier"].includes(r)) + .reduce((r, i) => ((r[i] = so(e[i] || Ri)), r), n); + return { + ...t, + ...o, + }; +} +function Lu(e, t, n = null) { + const o = ((n == null ? void 0 : n.x) || 0) + t.x, + r = ((n == null ? void 0 : n.y) || 0) + t.y, + i = (n == null ? void 0 : n.width) || t.width, + a = (n == null ? void 0 : n.height) || t.height; + switch (e) { + case ae.Top: + return { + x: o + i / 2, + y: r, + }; + case ae.Right: + return { + x: o + i, + y: r + a / 2, }; - return u == null || u.addEventListener("keydown", c), u == null || u.addEventListener("keyup", d), window.addEventListener("blur", p), () => { - u == null || u.removeEventListener("keydown", c), u == null || u.removeEventListener("keyup", d), window.removeEventListener("blur", p); + case ae.Bottom: + return { + x: o + i / 2, + y: r + a, }; - } - }, [e, o]), n; -}; -function Ou(e, t, n) { - return e.filter((o) => n || o.length === t.size).some((o) => o.every((r) => t.has(r))); + case ae.Left: + return { + x: o, + y: r + a / 2, + }; + } } -function Nu(e, t) { - return t.includes(e) ? "code" : "key"; +function Fu(e, t) { + return e + ? e.length === 1 || !t + ? e[0] + : (t && e.find((n) => n.id === t)) || null + : null; } -function nf(e, t, n, o) { - var l, s; - const r = e.parentNode || e.parentId; - if (!r) - return n; - const a = t.get(r), i = vo(a, o); - return nf(a, t, { - x: (n.x ?? 0) + i.x, - y: (n.y ?? 0) + i.y, - z: (((l = a[Ye]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = a[Ye]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 - }, o); -} -function of(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 } = nf(o, e, { - ...o.position, - z: ((a = o[Ye]) == null ? void 0 : a.z) ?? 0 - }, t); - o.positionAbsolute = { - x: i, - y: l - }, o[Ye].z = s, n != null && n[o.id] && (o[Ye].isParent = !0); - } - }); +const Ib = (e, t, n, o, r, i) => { + const a = Lu(n, e, t), + l = Lu(i, o, r); + return { + sourceX: a.x, + sourceY: a.y, + targetX: l.x, + targetY: l.y, + }; +}; +function zb({ + sourcePos: e, + targetPos: t, + sourceWidth: n, + sourceHeight: o, + targetWidth: r, + targetHeight: i, + width: a, + height: l, + transform: s, +}) { + const u = { + x: Math.min(e.x, t.x), + y: Math.min(e.y, t.y), + x2: Math.max(e.x + n, t.x + r), + y2: Math.max(e.y + o, t.y + i), + }; + u.x === u.x2 && (u.x2 += 1), u.y === u.y2 && (u.y2 += 1); + const c = _c({ + x: (0 - s[0]) / s[2], + y: (0 - s[1]) / s[2], + width: a / s[2], + height: l / s[2], + }), + d = Math.max(0, Math.min(c.x2, u.x2) - Math.max(c.x, u.x)), + h = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); + return Math.ceil(d * h) > 0; +} +function Ru(e) { + var o, r, i, a, l; + const t = + ((o = e == null ? void 0 : e[qe]) == null ? void 0 : o.handleBounds) || + null, + n = + t && + (e == null ? void 0 : e.width) && + (e == null ? void 0 : e.height) && + typeof ((r = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : r.x) < "u" && + typeof ((i = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : i.y) < "u"; + return [ + { + x: + ((a = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : a.x) || 0, + y: + ((l = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : l.y) || 0, + width: (e == null ? void 0 : e.width) || 0, + height: (e == null ? void 0 : e.height) || 0, + }, + t, + !!n, + ]; } -function Hl(e, t, n, o) { - const r = /* @__PURE__ */ new Map(), a = {}, i = o ? 1e3 : 0; - return e.forEach((l) => { - var h; - const s = (Rt(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 p = (u == null ? void 0 : u.type) && (u == null ? void 0 : u.type) !== l.type; - Object.defineProperty(c, Ye, { - enumerable: !1, - value: { - handleBounds: p || (h = u == null ? void 0 : u[Ye]) == null ? void 0 : h.handleBounds, - z: s +const Hb = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function Pb(e, t, n = !1) { + let o = -1; + const r = e.reduce((a, l) => { + var c, d; + const s = jt(l.zIndex); + let u = s ? l.zIndex : 0; + if (n) { + const h = t.get(l.target), + f = t.get(l.source), + m = + l.selected || + (h == null ? void 0 : h.selected) || + (f == null ? void 0 : f.selected), + b = Math.max( + ((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, + ((d = h == null ? void 0 : h[qe]) == null ? void 0 : d.z) || 0, + 1e3, + ); + u = (s ? l.zIndex : 0) + (m ? b : 0); } - }), r.set(l.id, c); - }), of(r, n, a), r; -} -function rf(e, t = {}) { - const { getNodes: n, width: o, height: r, minZoom: a, maxZoom: i, d3Zoom: l, d3Selection: s, fitViewOnInitDone: u, fitViewOnInit: c, nodeOrigin: d } = e(), p = t.initial && !u && c; - if (l && s && (p || !t.initial)) { - const m = n().filter((y) => { - var x; - const g = t.includeHiddenNodes ? y.width && y.height : !y.hidden; - return (x = t.nodes) != null && x.length ? g && t.nodes.some((C) => C.id === y.id) : g; - }), b = m.every((y) => y.width && y.height); - if (m.length > 0 && b) { - const y = zc(m, d), { x: g, y: x, zoom: C } = $3(y, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), S = Fn.translate(g, x).scale(C); - return typeof t.duration == "number" && t.duration > 0 ? l.transform(Bn(s, t.duration), S) : l.transform(s, S), !0; - } - } - return !1; -} -function fb(e, t) { - return e.forEach((n) => { - const o = t.get(n.id); - o && t.set(o.id, { - ...o, - [Ye]: o[Ye], - selected: n.selected + return a[u] ? a[u].push(l) : (a[u] = [l]), (o = u > o ? u : o), a; + }, {}), + i = Object.entries(r).map(([a, l]) => { + const s = +a; + return { + edges: l, + level: s, + isMaxLevel: s === o, + }; }); - }), new Map(t); + return i.length === 0 ? Hb : i; +} +function Bb(e, t, n) { + const o = Ze( + Me( + (r) => + e + ? r.edges.filter((i) => { + const a = t.get(i.source), + l = t.get(i.target); + return ( + (a == null ? void 0 : a.width) && + (a == null ? void 0 : a.height) && + (l == null ? void 0 : l.width) && + (l == null ? void 0 : l.height) && + zb({ + sourcePos: a.positionAbsolute || { x: 0, y: 0 }, + targetPos: l.positionAbsolute || { x: 0, y: 0 }, + sourceWidth: a.width, + sourceHeight: a.height, + targetWidth: l.width, + targetHeight: l.height, + width: r.width, + height: r.height, + transform: r.transform, + }) + ); + }) + : r.edges, + [e, t], + ), + ); + return Pb(o, t, n); } -function hb(e, t) { - return t.map((n) => { - const o = e.find((r) => r.id === n.id); - return o && (n.selected = o.selected), n; - }); +const Vb = ({ color: e = "none", strokeWidth: t = 1 }) => + $.createElement("polyline", { + style: { + stroke: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + fill: "none", + points: "-5,-4 0,0 -5,4", + }), + $b = ({ color: e = "none", strokeWidth: t = 1 }) => + $.createElement("polyline", { + style: { + stroke: e, + fill: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + points: "-5,-4 0,0 -5,4 -5,-4", + }), + ju = { + [Fi.Arrow]: Vb, + [Fi.ArrowClosed]: $b, + }; +function Wb(e) { + const t = nt(); + return Be(() => { + var r, i; + return Object.prototype.hasOwnProperty.call(ju, e) + ? ju[e] + : ((i = (r = t.getState()).onError) == null || + i.call(r, "009", Kt.error009(e)), + null); + }, [e]); } -function aa({ 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: fb(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: hb(t, a) }), l == null || l(t)); -} -const uo = () => { -}, pb = { - zoomIn: uo, - zoomOut: uo, - zoomTo: uo, - getZoom: () => 1, - setViewport: uo, - getViewport: () => ({ x: 0, y: 0, zoom: 1 }), - fitView: () => !1, - setCenter: uo, - fitBounds: uo, - project: (e) => e, - screenToFlowPosition: (e) => e, - flowToScreenPosition: (e) => e, - viewportInitialized: !1 -}, gb = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection -}), mb = () => { - const e = rt(), { d3Zoom: t, d3Selection: n } = Ue(gb, ut); - return Ve(() => n && t ? { - zoomIn: (r) => t.scaleBy(Bn(n, r == null ? void 0 : r.duration), 1.2), - zoomOut: (r) => t.scaleBy(Bn(n, r == null ? void 0 : r.duration), 1 / 1.2), - zoomTo: (r, a) => t.scaleTo(Bn(n, a == null ? void 0 : a.duration), r), - getZoom: () => e.getState().transform[2], - setViewport: (r, a) => { - const [i, l, s] = e.getState().transform, u = Fn.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); - t.transform(Bn(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) => rf(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, p = s / 2 - a * c, h = Fn.translate(d, p).scale(c); - t.transform(Bn(n, i == null ? void 0 : i.duration), h); - }, - fitBounds: (r, a) => { - const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: p } = $3(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), h = Fn.translate(c, d).scale(p); - t.transform(Bn(n, a == null ? void 0 : a.duration), h); - }, - // @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"), Ns(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 Ns(d, a, i, l); +const Zb = ({ + id: e, + type: t, + color: n, + width: o = 12.5, + height: r = 12.5, + markerUnits: i = "strokeWidth", + strokeWidth: a, + orient: l = "auto-start-reverse", + }) => { + const s = Wb(t); + return s + ? $.createElement( + "marker", + { + className: "react-flow__arrowhead", + id: e, + markerWidth: `${o}`, + markerHeight: `${r}`, + viewBox: "-10 -10 20 20", + markerUnits: i, + orient: l, + refX: "0", + refY: "0", + }, + $.createElement(s, { color: n, strokeWidth: a }), + ) + : null; + }, + Ub = + ({ defaultColor: e, rfId: t }) => + (n) => { + const o = []; + return n.edges + .reduce( + (r, i) => ( + [i.markerStart, i.markerEnd].forEach((a) => { + if (a && typeof a == "object") { + const l = ks(a, t); + o.includes(l) || + (r.push({ id: l, color: a.color || e, ...a }), o.push(l)); + } + }), + r + ), + [], + ) + .sort((r, i) => r.id.localeCompare(i.id)); }, - flowToScreenPosition: (r) => { - const { transform: a, domNode: i } = e.getState(); - if (!i) - return r; - const { x: l, y: s } = i.getBoundingClientRect(), u = P3(r, a); - return { - x: u.x + l, - y: u.y + s - }; + tf = ({ defaultColor: e, rfId: t }) => { + const n = Ze( + Me(Ub({ defaultColor: e, rfId: t }), [e, t]), + // the id includes all marker options, so we just need to look at that part of the marker + (o, r) => !(o.length !== r.length || o.some((i, a) => i.id !== r[a].id)), + ); + return $.createElement( + "defs", + null, + n.map((o) => + $.createElement(Zb, { + id: o.id, + key: o.id, + type: o.type, + color: o.color, + width: o.width, + height: o.height, + markerUnits: o.markerUnits, + strokeWidth: o.strokeWidth, + orient: o.orient, + }), + ), + ); + }; +tf.displayName = "MarkerDefinitions"; +var qb = Ye(tf); +const Yb = (e) => ({ + nodesConnectable: e.nodesConnectable, + edgesFocusable: e.edgesFocusable, + edgesUpdatable: e.edgesUpdatable, + elementsSelectable: e.elementsSelectable, + width: e.width, + height: e.height, + connectionMode: e.connectionMode, + nodeInternals: e.nodeInternals, + onError: e.onError, + }), + nf = ({ + defaultMarkerColor: e, + onlyRenderVisibleElements: t, + elevateEdgesOnSelect: n, + rfId: o, + edgeTypes: r, + noPanClassName: i, + onEdgeContextMenu: a, + onEdgeMouseEnter: l, + onEdgeMouseMove: s, + onEdgeMouseLeave: u, + onEdgeClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: f, + onReconnectEnd: m, + reconnectRadius: b, + children: y, + disableKeyboardA11y: g, + }) => { + const { + edgesFocusable: x, + edgesUpdatable: C, + elementsSelectable: E, + width: w, + height: S, + connectionMode: _, + nodeInternals: A, + onError: R, + } = Ze(Yb, st), + L = Bb(t, A, n); + return w + ? $.createElement( + $.Fragment, + null, + L.map(({ level: j, edges: P, isMaxLevel: V }) => + $.createElement( + "svg", + { + key: j, + style: { zIndex: j }, + width: w, + height: S, + className: "react-flow__edges react-flow__container", + }, + V && $.createElement(qb, { defaultColor: e, rfId: o }), + $.createElement( + "g", + null, + P.map((k) => { + const [N, T, F] = Ru(A.get(k.source)), + [I, D, v] = Ru(A.get(k.target)); + if (!F || !v) return null; + let z = k.type || "default"; + r[z] || + (R == null || R("011", Kt.error011(z)), (z = "default")); + const B = r[z] || r.default, + M = + _ === Jn.Strict + ? D.target + : (D.target ?? []).concat(D.source ?? []), + W = Fu(T.source, k.sourceHandle), + G = Fu(M, k.targetHandle), + K = (W == null ? void 0 : W.position) || ae.Bottom, + Q = (G == null ? void 0 : G.position) || ae.Top, + ne = !!(k.focusable || (x && typeof k.focusable > "u")), + oe = k.reconnectable || k.updatable, + U = typeof h < "u" && (oe || (C && typeof oe > "u")); + if (!W || !G) + return R == null || R("008", Kt.error008(W, k)), null; + const { + sourceX: ge, + sourceY: J, + targetX: ke, + targetY: ie, + } = Ib(N, W, K, I, G, Q); + return $.createElement(B, { + key: k.id, + id: k.id, + className: bt([k.className, i]), + type: z, + data: k.data, + selected: !!k.selected, + animated: !!k.animated, + hidden: !!k.hidden, + label: k.label, + labelStyle: k.labelStyle, + labelShowBg: k.labelShowBg, + labelBgStyle: k.labelBgStyle, + labelBgPadding: k.labelBgPadding, + labelBgBorderRadius: k.labelBgBorderRadius, + style: k.style, + source: k.source, + target: k.target, + sourceHandleId: k.sourceHandle, + targetHandleId: k.targetHandle, + markerEnd: k.markerEnd, + markerStart: k.markerStart, + sourceX: ge, + sourceY: J, + targetX: ke, + targetY: ie, + sourcePosition: K, + targetPosition: Q, + elementsSelectable: E, + onContextMenu: a, + onMouseEnter: l, + onMouseMove: s, + onMouseLeave: u, + onClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: f, + onReconnectEnd: m, + reconnectRadius: b, + rfId: o, + ariaLabel: k.ariaLabel, + isFocusable: ne, + isReconnectable: U, + pathOptions: "pathOptions" in k ? k.pathOptions : void 0, + interactionWidth: k.interactionWidth, + disableKeyboardA11y: g, + }); + }), + ), + ), + ), + y, + ) + : null; + }; +nf.displayName = "EdgeRenderer"; +var Gb = Ye(nf); +const Kb = (e) => + `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function Xb({ children: e }) { + const t = Ze(Kb); + return $.createElement( + "div", + { + className: "react-flow__viewport react-flow__container", + style: { transform: t }, }, - viewportInitialized: !0 - } : pb, [t, n]); -}; -function en() { - const e = mb(), t = rt(), n = Te(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Te((b) => t.getState().nodeInternals.get(b), []), r = Te(() => { - const { edges: b = [] } = t.getState(); - return b.map((y) => ({ ...y })); - }, []), a = Te((b) => { - const { edges: y = [] } = t.getState(); - return y.find((g) => g.id === b); - }, []), i = Te((b) => { - const { getNodes: y, setNodes: g, hasDefaultNodes: x, onNodesChange: C } = t.getState(), S = y(), w = typeof b == "function" ? b(S) : b; - if (x) - g(w); - else if (C) { - const E = w.length === 0 ? S.map((M) => ({ type: "remove", id: M.id })) : w.map((M) => ({ item: M, type: "reset" })); - C(E); - } - }, []), l = Te((b) => { - const { edges: y = [], setEdges: g, hasDefaultEdges: x, onEdgesChange: C } = t.getState(), S = typeof b == "function" ? b(y) : b; - if (x) - g(S); - else if (C) { - const w = S.length === 0 ? y.map((E) => ({ type: "remove", id: E.id })) : S.map((E) => ({ item: E, type: "reset" })); - C(w); - } - }, []), s = Te((b) => { - const y = Array.isArray(b) ? b : [b], { getNodes: g, setNodes: x, hasDefaultNodes: C, onNodesChange: S } = t.getState(); - if (C) { - const E = [...g(), ...y]; - x(E); - } else if (S) { - const w = y.map((E) => ({ item: E, type: "add" })); - S(w); - } - }, []), u = Te((b) => { - const y = Array.isArray(b) ? b : [b], { edges: g = [], setEdges: x, hasDefaultEdges: C, onEdgesChange: S } = t.getState(); - if (C) - x([...g, ...y]); - else if (S) { - const w = y.map((E) => ({ item: E, type: "add" })); - S(w); - } - }, []), c = Te(() => { - const { getNodes: b, edges: y = [], transform: g } = t.getState(), [x, C, S] = g; - return { - nodes: b().map((w) => ({ ...w })), - edges: y.map((w) => ({ ...w })), - viewport: { - x, - y: C, - zoom: S - } - }; - }, []), d = Te(({ nodes: b, edges: y }) => { - const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: S, hasDefaultEdges: w, onNodesDelete: E, onEdgesDelete: M, onNodesChange: _, onEdgesChange: L } = t.getState(), R = (b || []).map((N) => N.id), j = (y || []).map((N) => N.id), P = x().reduce((N, T) => { - const D = T.parentNode || T.parentId, I = !R.includes(T.id) && D && N.find((v) => v.id === D); - return (typeof T.deletable == "boolean" ? T.deletable : !0) && (R.includes(T.id) || I) && N.push(T), N; - }, []), V = C.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), k = V.filter((N) => j.includes(N.id)); - if (P || k) { - const N = V3(P, V), T = [...k, ...N], D = T.reduce((I, F) => (I.includes(F.id) || I.push(F.id), I), []); - if ((w || S) && (w && t.setState({ - edges: C.filter((I) => !D.includes(I.id)) - }), S && (P.forEach((I) => { - g.delete(I.id); - }), t.setState({ - nodeInternals: new Map(g) - }))), D.length > 0 && (M == null || M(T), L && L(D.map((I) => ({ - id: I, - type: "remove" - })))), P.length > 0 && (E == null || E(P), _)) { - const I = P.map((F) => ({ id: F.id, type: "remove" })); - _(I); - } - } - }, []), p = Te((b) => { - const y = Rm(b), g = y ? null : t.getState().nodeInternals.get(b.id); - return !y && !g ? [null, null, y] : [y ? b : wu(g), g, y]; - }, []), h = Te((b, y = !0, g) => { - const [x, C, S] = p(b); - return x ? (g || t.getState().getNodes()).filter((w) => { - if (!S && (w.id === C.id || !w.positionAbsolute)) - return !1; - const E = wu(w), M = As(E, x); - return y && M > 0 || M >= x.width * x.height; - }) : []; - }, []), m = Te((b, y, g = !0) => { - const [x] = p(b); - if (!x) - return !1; - const C = As(x, y); - return g && C > 0 || C >= x.width * x.height; - }, []); - return Ve(() => ({ - ...e, - getNodes: n, - getNode: o, - getEdges: r, - getEdge: a, - setNodes: i, - setEdges: l, - addNodes: s, - addEdges: u, - toObject: c, - deleteElements: d, - getIntersectingNodes: h, - isNodeIntersecting: m - }), [ e, - n, - o, - r, - a, - i, - l, - s, - u, - c, - d, - h, - m - ]); + ); } -const bb = { actInsideInputWithModifier: !1 }; -var yb = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = rt(), { deleteElements: o } = en(), r = xr(e, bb), a = xr(t); - ue(() => { - 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]), ue(() => { - n.setState({ multiSelectionActive: a }); - }, [a]); -}; -function Cb(e) { - const t = rt(); - ue(() => { - let n; - const o = () => { - var a, i; - if (!e.current) - return; - const r = Nc(e.current); - (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", Qt.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); - }; - }, []); +function Qb(e) { + const t = Qt(), + n = pe(!1); + ce(() => { + !n.current && + t.viewportInitialized && + e && + (setTimeout(() => e(t), 1), (n.current = !0)); + }, [e, t.viewportInitialized]); } -const Bc = { - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 -}, vb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ia = (e) => ({ - x: e.x, - y: e.y, - zoom: e.k -}), fo = (e, t) => e.target.closest(`.${t}`), Du = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Lu = (e) => { - const t = e.ctrlKey && Pa() ? 10 : 1; - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, xb = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection, - d3ZoomHandler: e.d3ZoomHandler, - userSelectionActive: e.userSelectionActive -}), wb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = qn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: p, translateExtent: h, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: S }) => { - const w = he(), E = rt(), M = he(!1), _ = he(!1), L = he(null), R = he({ x: 0, y: 0, zoom: 0 }), { d3Zoom: j, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ue(xb, ut), N = xr(y), T = he(0), D = he(!1), I = he(); - return Cb(L), ue(() => { - if (L.current) { - const F = L.current.getBoundingClientRect(), v = Mm().scaleExtent([m, b]).translateExtent(h), z = qt(L.current).call(v), B = Fn.translate(p.x, p.y).scale(Do(p.zoom, m, b)), A = [ - [0, 0], - [F.width, F.height] - ], W = v.constrain()(B, A, h); - v.transform(z, W), v.wheelDelta(Lu), E.setState({ - d3Zoom: v, - d3Selection: z, - d3ZoomHandler: z.on("wheel.zoom"), - // we need to pass transform because zoom handler is not registered when we set the initial transform - transform: [W.x, W.y, W.k], - domNode: L.current.closest(".react-flow") +const Jb = { + [ae.Left]: ae.Right, + [ae.Right]: ae.Left, + [ae.Top]: ae.Bottom, + [ae.Bottom]: ae.Top, + }, + of = ({ + nodeId: e, + handleType: t, + style: n, + type: o = Nn.Bezier, + CustomComponent: r, + connectionStatus: i, + }) => { + var S, _, A; + const { + fromNode: a, + handleId: l, + toX: s, + toY: u, + connectionMode: c, + } = Ze( + Me( + (R) => ({ + fromNode: R.nodeInternals.get(e), + handleId: R.connectionHandleId, + toX: (R.connectionPosition.x - R.transform[0]) / R.transform[2], + toY: (R.connectionPosition.y - R.transform[1]) / R.transform[2], + connectionMode: R.connectionMode, + }), + [e], + ), + st, + ), + d = (S = a == null ? void 0 : a[qe]) == null ? void 0 : S.handleBounds; + let h = d == null ? void 0 : d[t]; + if ( + (c === Jn.Loose && + (h = + h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), + !a || !h) + ) + return null; + const f = l ? h.find((R) => R.id === l) : h[0], + m = f ? f.x + f.width / 2 : (a.width ?? 0) / 2, + b = f ? f.y + f.height / 2 : (a.height ?? 0), + y = (((_ = a.positionAbsolute) == null ? void 0 : _.x) ?? 0) + m, + g = (((A = a.positionAbsolute) == null ? void 0 : A.y) ?? 0) + b, + x = f == null ? void 0 : f.position, + C = x ? Jb[x] : null; + if (!x || !C) return null; + if (r) + return $.createElement(r, { + connectionLineType: o, + connectionLineStyle: n, + fromNode: a, + fromHandle: f, + fromX: y, + fromY: g, + toX: s, + toY: u, + fromPosition: x, + toPosition: C, + connectionStatus: i, }); - } - }, []), ue(() => { - P && j && (i && !N && !k ? P.on("wheel.zoom", (F) => { - if (fo(F, C)) - return !1; - F.preventDefault(), F.stopImmediatePropagation(); - const v = P.property("__zoom").k || 1; - if (F.ctrlKey && a) { - const ne = an(F), oe = Lu(F), U = v * Math.pow(2, oe); - j.scaleTo(P, U, ne, F); - return; - } - const z = F.deltaMode === 1 ? 20 : 1; - let B = s === qn.Vertical ? 0 : F.deltaX * z, A = s === qn.Horizontal ? 0 : F.deltaY * z; - !Pa() && F.shiftKey && s !== qn.Vertical && (B = F.deltaY * z, A = 0), j.translateBy( - P, - -(B / v) * l, - -(A / v) * l, - // @ts-ignore - { internal: !0 } - ); - const W = ia(P.property("__zoom")), { onViewportChangeStart: Y, onViewportChange: K, onViewportChangeEnd: Q } = E.getState(); - clearTimeout(I.current), D.current || (D.current = !0, t == null || t(F, W), Y == null || Y(W)), D.current && (e == null || e(F, W), K == null || K(W), I.current = setTimeout(() => { - n == null || n(F, W), Q == null || Q(W), D.current = !1; - }, 150)); - }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(F, v) { - if (!g && F.type === "wheel" && !F.ctrlKey || fo(F, C)) - return null; - F.preventDefault(), V.call(this, F, v); - }, { passive: !1 })); - }, [ - k, - i, - s, - P, - j, - V, - N, - a, - g, - C, - t, - e, - n - ]), ue(() => { - j && j.on("start", (F) => { - var B, A; - if (!F.sourceEvent || F.sourceEvent.internal) - return null; - T.current = (B = F.sourceEvent) == null ? void 0 : B.button; - const { onViewportChangeStart: v } = E.getState(), z = ia(F.transform); - M.current = !0, R.current = z, ((A = F.sourceEvent) == null ? void 0 : A.type) === "mousedown" && E.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(F.sourceEvent, z); - }); - }, [j, t]), ue(() => { - j && (k && !M.current ? j.on("zoom", null) : k || j.on("zoom", (F) => { - var z; - const { onViewportChange: v } = E.getState(); - if (E.setState({ transform: [F.transform.x, F.transform.y, F.transform.k] }), _.current = !!(o && Du(d, T.current ?? 0)), (e || v) && !((z = F.sourceEvent) != null && z.internal)) { - const B = ia(F.transform); - v == null || v(B), e == null || e(F.sourceEvent, B); - } - })); - }, [k, j, e, d, o]), ue(() => { - j && j.on("end", (F) => { - if (!F.sourceEvent || F.sourceEvent.internal) - return null; - const { onViewportChangeEnd: v } = E.getState(); - if (M.current = !1, E.setState({ paneDragging: !1 }), o && Du(d, T.current ?? 0) && !_.current && o(F.sourceEvent), _.current = !1, (n || v) && vb(R.current, F.transform)) { - const z = ia(F.transform); - R.current = z, clearTimeout(w.current), w.current = setTimeout(() => { - v == null || v(z), n == null || n(F.sourceEvent, z); - }, i ? 150 : 0); - } - }); - }, [j, i, d, n, o]), ue(() => { - j && j.filter((F) => { - const v = N || r, z = a && F.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && F.button === 1 && F.type === "mousedown" && (fo(F, "react-flow__node") || fo(F, "react-flow__edge"))) - return !0; - if (!d && !v && !i && !u && !a || k || !u && F.type === "dblclick" || fo(F, C) && F.type === "wheel" || fo(F, S) && (F.type !== "wheel" || i && F.type === "wheel" && !N) || !a && F.ctrlKey && F.type === "wheel" || !v && !i && !z && F.type === "wheel" || !d && (F.type === "mousedown" || F.type === "touchstart") || Array.isArray(d) && !d.includes(F.button) && F.type === "mousedown") - return !1; - const B = Array.isArray(d) && d.includes(F.button) || !F.button || F.button <= 1; - return (!F.ctrlKey || F.type === "wheel") && B; - }); - }, [ - k, - j, - r, - a, - i, - u, - d, - c, - N - ]), $.createElement("div", { className: "react-flow__renderer", ref: L, style: Bc }, x); -}, Eb = (e) => ({ - userSelectionActive: e.userSelectionActive, - userSelectionRect: e.userSelectionRect + let E = ""; + const w = { + sourceX: y, + sourceY: g, + sourcePosition: x, + targetX: s, + targetY: u, + targetPosition: C, + }; + return ( + o === Nn.Bezier + ? ([E] = M3(w)) + : o === Nn.Step + ? ([E] = Ss({ + ...w, + borderRadius: 0, + })) + : o === Nn.SmoothStep + ? ([E] = Ss(w)) + : o === Nn.SimpleBezier + ? ([E] = A3(w)) + : (E = `M${y},${g} ${s},${u}`), + $.createElement("path", { + d: E, + fill: "none", + className: "react-flow__connection-path", + style: n, + }) + ); + }; +of.displayName = "ConnectionLine"; +const ey = (e) => ({ + nodeId: e.connectionNodeId, + handleType: e.connectionHandleType, + nodesConnectable: e.nodesConnectable, + connectionStatus: e.connectionStatus, + width: e.width, + height: e.height, }); -function Sb() { - const { userSelectionActive: e, userSelectionRect: t } = Ue(Eb, ut); - return e && t ? $.createElement("div", { className: "react-flow__selection react-flow__container", style: { - width: t.width, - height: t.height, - transform: `translate(${t.x}px, ${t.y}px)` - } }) : null; -} -function ju(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 ty({ containerStyle: e, style: t, type: n, component: o }) { + const { + nodeId: r, + handleType: i, + nodesConnectable: a, + width: l, + height: s, + connectionStatus: u, + } = Ze(ey, st); + return !(r && i && l && a) + ? null + : $.createElement( + "svg", + { + style: e, + width: l, + height: s, + className: + "react-flow__edges react-flow__connectionline react-flow__container", + }, + $.createElement( + "g", + { className: bt(["react-flow__connection", u]) }, + $.createElement(of, { + nodeId: r, + handleType: i, + style: t, + type: n, + CustomComponent: o, + connectionStatus: u, + }), + ), + ); +} +function Iu(e, t) { + const n = pe(null), + o = nt(); + return Be(() => { + var i, a; + if (process.env.NODE_ENV === "development") { + const l = Object.keys(e); + st(n.current, l) && + ((a = (i = o.getState()).onError) == null || + a.call(i, "002", Kt.error002())), + (n.current = l); } - } + return t(e); + }, [e]); } -function kb(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 && ju(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 && ju(o, i); - break; +const rf = ({ + nodeTypes: e, + edgeTypes: t, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + onInit: i, + onNodeClick: a, + onEdgeClick: l, + onNodeDoubleClick: s, + onEdgeDoubleClick: u, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: f, + onSelectionContextMenu: m, + onSelectionStart: b, + onSelectionEnd: y, + connectionLineType: g, + connectionLineStyle: x, + connectionLineComponent: C, + connectionLineContainerStyle: E, + selectionKeyCode: w, + selectionOnDrag: S, + selectionMode: _, + multiSelectionKeyCode: A, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + deleteKeyCode: j, + onlyRenderVisibleElements: P, + elementsSelectable: V, + selectNodesOnDrag: k, + defaultViewport: N, + translateExtent: T, + minZoom: F, + maxZoom: I, + preventScrolling: D, + defaultMarkerColor: v, + zoomOnScroll: z, + zoomOnPinch: B, + panOnScroll: M, + panOnScrollSpeed: W, + panOnScrollMode: G, + zoomOnDoubleClick: K, + panOnDrag: Q, + onPaneClick: ne, + onPaneMouseEnter: oe, + onPaneMouseMove: U, + onPaneMouseLeave: ge, + onPaneScroll: J, + onPaneContextMenu: ke, + onEdgeContextMenu: ie, + onEdgeMouseEnter: _e, + onEdgeMouseMove: $e, + onEdgeMouseLeave: Ee, + onReconnect: le, + onReconnectStart: Ge, + onReconnectEnd: Ot, + reconnectRadius: Jt, + noDragClassName: Nt, + noWheelClassName: en, + noPanClassName: St, + elevateEdgesOnSelect: Vt, + disableKeyboardA11y: Dt, + nodeOrigin: Z, + nodeExtent: ee, + rfId: se, +}) => { + const xe = Iu(e, Tb), + de = Iu(t, jb); + return ( + Qb(i), + $.createElement( + Ab, + { + onPaneClick: ne, + onPaneMouseEnter: oe, + onPaneMouseMove: U, + onPaneMouseLeave: ge, + onPaneContextMenu: ke, + onPaneScroll: J, + deleteKeyCode: j, + selectionKeyCode: w, + selectionOnDrag: S, + selectionMode: _, + onSelectionStart: b, + onSelectionEnd: y, + multiSelectionKeyCode: A, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + elementsSelectable: V, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + zoomOnScroll: z, + zoomOnPinch: B, + zoomOnDoubleClick: K, + panOnScroll: M, + panOnScrollSpeed: W, + panOnScrollMode: G, + panOnDrag: Q, + defaultViewport: N, + translateExtent: T, + minZoom: F, + maxZoom: I, + onSelectionContextMenu: m, + preventScrolling: D, + noDragClassName: Nt, + noWheelClassName: en, + noPanClassName: St, + disableKeyboardA11y: Dt, + }, + $.createElement( + Xb, + null, + $.createElement( + Gb, + { + edgeTypes: de, + onEdgeClick: l, + onEdgeDoubleClick: u, + onlyRenderVisibleElements: P, + onEdgeContextMenu: ie, + onEdgeMouseEnter: _e, + onEdgeMouseMove: $e, + onEdgeMouseLeave: Ee, + onReconnect: le, + onReconnectStart: Ge, + onReconnectEnd: Ot, + reconnectRadius: Jt, + defaultMarkerColor: v, + noPanClassName: St, + elevateEdgesOnSelect: !!Vt, + disableKeyboardA11y: Dt, + rfId: se, + }, + $.createElement(ty, { + style: x, + type: g, + component: C, + containerStyle: E, + }), + ), + $.createElement("div", { className: "react-flow__edgelabel-renderer" }), + $.createElement(Db, { + nodeTypes: xe, + onNodeClick: a, + onNodeDoubleClick: s, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: f, + selectNodesOnDrag: k, + onlyRenderVisibleElements: P, + noPanClassName: St, + noDragClassName: Nt, + disableKeyboardA11y: Dt, + nodeOrigin: Z, + nodeExtent: ee, + rfId: se, + }), + ), + ) + ); +}; +rf.displayName = "GraphView"; +var ny = Ye(rf); +const Ts = [ + [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], + [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY], + ], + kn = { + rfId: "1", + width: 0, + height: 0, + transform: [0, 0, 1], + nodeInternals: /* @__PURE__ */ new Map(), + edges: [], + onNodesChange: null, + onEdgesChange: null, + hasDefaultNodes: !1, + hasDefaultEdges: !1, + d3Zoom: null, + d3Selection: null, + d3ZoomHandler: void 0, + minZoom: 0.5, + maxZoom: 2, + translateExtent: Ts, + nodeExtent: Ts, + nodesSelectionActive: !1, + userSelectionActive: !1, + userSelectionRect: null, + connectionNodeId: null, + connectionHandleId: null, + connectionHandleType: "source", + connectionPosition: { x: 0, y: 0 }, + connectionStatus: null, + connectionMode: Jn.Strict, + domNode: null, + paneDragging: !1, + noPanClassName: "nopan", + nodeOrigin: [0, 0], + nodeDragThreshold: 0, + snapGrid: [15, 15], + snapToGrid: !1, + nodesDraggable: !0, + nodesConnectable: !0, + nodesFocusable: !0, + edgesFocusable: !0, + edgesUpdatable: !0, + elementsSelectable: !0, + elevateNodesOnSelect: !0, + fitViewOnInit: !1, + fitViewOnInitDone: !1, + fitViewOnInitOptions: void 0, + onSelectionChange: [], + multiSelectionActive: !1, + connectionStartHandle: null, + connectionEndHandle: null, + connectionClickStartHandle: null, + connectOnClick: !0, + ariaLiveMessage: "", + autoPanOnConnect: !0, + autoPanOnNodeDrag: !0, + connectionRadius: 20, + onError: E3, + isValidConnection: void 0, + }, + oy = () => + V9( + (e, t) => ({ + ...kn, + setNodes: (n) => { + const { + nodeInternals: o, + nodeOrigin: r, + elevateNodesOnSelect: i, + } = t(); + e({ nodeInternals: Rl(n, o, r, i) }); + }, + getNodes: () => Array.from(t().nodeInternals.values()), + setEdges: (n) => { + const { defaultEdgeOptions: o = {} } = t(); + e({ edges: n.map((r) => ({ ...o, ...r })) }); + }, + setDefaultNodesAndEdges: (n, o) => { + const r = typeof n < "u", + i = typeof o < "u", + a = r + ? Rl( + n, + /* @__PURE__ */ new Map(), + t().nodeOrigin, + t().elevateNodesOnSelect, + ) + : /* @__PURE__ */ new Map(); + e({ + nodeInternals: a, + edges: i ? o : [], + hasDefaultNodes: r, + hasDefaultEdges: i, + }); + }, + updateNodeDimensions: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + fitViewOnInit: i, + fitViewOnInitDone: a, + fitViewOnInitOptions: l, + domNode: s, + nodeOrigin: u, + } = t(), + c = s == null ? void 0 : s.querySelector(".react-flow__viewport"); + if (!c) return; + const d = window.getComputedStyle(c), + { m22: h } = new window.DOMMatrixReadOnly(d.transform), + f = n.reduce((b, y) => { + const g = r.get(y.id); + if (g != null && g.hidden) + r.set(g.id, { + ...g, + [qe]: { + ...g[qe], + // we need to reset the handle bounds when the node is hidden + // in order to force a new observation when the node is shown again + handleBounds: void 0, + }, + }); + else if (g) { + const x = Sc(y.nodeElement); + !!( + x.width && + x.height && + (g.width !== x.width || + g.height !== x.height || + y.forceUpdate) + ) && + (r.set(g.id, { + ...g, + [qe]: { + ...g[qe], + handleBounds: { + source: Ou(".source", y.nodeElement, h, u), + target: Ou(".target", y.nodeElement, h, u), + }, + }, + ...x, + }), + b.push({ + id: g.id, + type: "dimensions", + dimensions: x, + })); + } + return b; + }, []); + U3(r, u); + const m = a || (i && !a && q3(t, { initial: !0, ...l })); + e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), + (f == null ? void 0 : f.length) > 0 && (o == null || o(f)); + }, + updateNodePositions: (n, o = !0, r = !1) => { + const { triggerNodeChanges: i } = t(), + a = n.map((l) => { + const s = { + id: l.id, + type: "position", + dragging: r, + }; + return ( + o && + ((s.positionAbsolute = l.positionAbsolute), + (s.position = l.position)), + s + ); + }); + i(a); + }, + triggerNodeChanges: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + hasDefaultNodes: i, + nodeOrigin: a, + getNodes: l, + elevateNodesOnSelect: s, + } = t(); + if (n != null && n.length) { + if (i) { + const u = yb(n, l()), + c = Rl(u, r, a, s); + e({ nodeInternals: c }); + } + o == null || o(n); } - case "remove": - return o; - } - return o.push(i), o; - }, n); + }, + addSelectedNodes: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: i } = t(); + let a, + l = null; + o + ? (a = n.map((s) => On(s, !0))) + : ((a = co(i(), n)), (l = co(r, []))), + Jr({ + changedNodes: a, + changedEdges: l, + get: t, + set: e, + }); + }, + addSelectedEdges: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: i } = t(); + let a, + l = null; + o + ? (a = n.map((s) => On(s, !0))) + : ((a = co(r, n)), (l = co(i(), []))), + Jr({ + changedNodes: l, + changedEdges: a, + get: t, + set: e, + }); + }, + unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { + const { edges: r, getNodes: i } = t(), + a = n || i(), + l = o || r, + s = a.map((c) => ((c.selected = !1), On(c.id, !1))), + u = l.map((c) => On(c.id, !1)); + Jr({ + changedNodes: s, + changedEdges: u, + get: t, + set: e, + }); + }, + setMinZoom: (n) => { + const { d3Zoom: o, maxZoom: r } = t(); + o == null || o.scaleExtent([n, r]), e({ minZoom: n }); + }, + setMaxZoom: (n) => { + const { d3Zoom: o, minZoom: r } = t(); + o == null || o.scaleExtent([r, n]), e({ maxZoom: n }); + }, + setTranslateExtent: (n) => { + var o; + (o = t().d3Zoom) == null || o.translateExtent(n), + e({ translateExtent: n }); + }, + resetSelectedElements: () => { + const { edges: n, getNodes: o } = t(), + i = o() + .filter((l) => l.selected) + .map((l) => On(l.id, !1)), + a = n.filter((l) => l.selected).map((l) => On(l.id, !1)); + Jr({ + changedNodes: i, + changedEdges: a, + get: t, + set: e, + }); + }, + setNodeExtent: (n) => { + const { nodeInternals: o } = t(); + o.forEach((r) => { + r.positionAbsolute = kc(r.position, n); + }), + e({ + nodeExtent: n, + nodeInternals: new Map(o), + }); + }, + panBy: (n) => { + const { + transform: o, + width: r, + height: i, + d3Zoom: a, + d3Selection: l, + translateExtent: s, + } = t(); + if (!a || !l || (!n.x && !n.y)) return !1; + const u = Dn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), + c = [ + [0, 0], + [r, i], + ], + d = a == null ? void 0 : a.constrain()(u, c, s); + return ( + a.transform(l, d), o[0] !== d.x || o[1] !== d.y || o[2] !== d.k + ); + }, + cancelConnection: () => + e({ + connectionNodeId: kn.connectionNodeId, + connectionHandleId: kn.connectionHandleId, + connectionHandleType: kn.connectionHandleType, + connectionStatus: kn.connectionStatus, + connectionStartHandle: kn.connectionStartHandle, + connectionEndHandle: kn.connectionEndHandle, + }), + reset: () => e({ ...kn }), + }), + Object.is, + ), + Mr = ({ children: e }) => { + const t = pe(null); + return ( + t.current || (t.current = oy()), + $.createElement(xm, { value: t.current }, e) + ); + }; +Mr.displayName = "ReactFlowProvider"; +const af = ({ children: e }) => + Je(oa) ? $.createElement($.Fragment, null, e) : $.createElement(Mr, null, e); +af.displayName = "ReactFlowWrapper"; +const ry = { + input: H3, + default: As, + output: B3, + group: Lc, + }, + iy = { + default: Ri, + straight: Tc, + step: Mc, + smoothstep: ra, + simplebezier: Ac, + }, + ay = [0, 0], + ly = [15, 15], + sy = { x: 0, y: 0, zoom: 1 }, + cy = { + width: "100%", + height: "100%", + overflow: "hidden", + position: "relative", + zIndex: 0, + }, + ia = Ys( + ( + { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + className: r, + nodeTypes: i = ry, + edgeTypes: a = iy, + onNodeClick: l, + onEdgeClick: s, + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onConnect: f, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: y, + onClickConnectEnd: g, + onNodeMouseEnter: x, + onNodeMouseMove: C, + onNodeMouseLeave: E, + onNodeContextMenu: w, + onNodeDoubleClick: S, + onNodeDragStart: _, + onNodeDrag: A, + onNodeDragStop: R, + onNodesDelete: L, + onEdgesDelete: j, + onSelectionChange: P, + onSelectionDragStart: V, + onSelectionDrag: k, + onSelectionDragStop: N, + onSelectionContextMenu: T, + onSelectionStart: F, + onSelectionEnd: I, + connectionMode: D = Jn.Strict, + connectionLineType: v = Nn.Bezier, + connectionLineStyle: z, + connectionLineComponent: B, + connectionLineContainerStyle: M, + deleteKeyCode: W = "Backspace", + selectionKeyCode: G = "Shift", + selectionOnDrag: K = !1, + selectionMode: Q = mr.Full, + panActivationKeyCode: ne = "Space", + multiSelectionKeyCode: oe = Li() ? "Meta" : "Control", + zoomActivationKeyCode: U = Li() ? "Meta" : "Control", + snapToGrid: ge = !1, + snapGrid: J = ly, + onlyRenderVisibleElements: ke = !1, + selectNodesOnDrag: ie = !0, + nodesDraggable: _e, + nodesConnectable: $e, + nodesFocusable: Ee, + nodeOrigin: le = ay, + edgesFocusable: Ge, + edgesUpdatable: Ot, + elementsSelectable: Jt, + defaultViewport: Nt = sy, + minZoom: en = 0.5, + maxZoom: St = 2, + translateExtent: Vt = Ts, + preventScrolling: Dt = !0, + nodeExtent: Z, + defaultMarkerColor: ee = "#b1b1b7", + zoomOnScroll: se = !0, + zoomOnPinch: xe = !0, + panOnScroll: de = !1, + panOnScrollSpeed: Ve = 0.5, + panOnScrollMode: et = Wn.Free, + zoomOnDoubleClick: Qe = !0, + panOnDrag: ft = !0, + onPaneClick: rt, + onPaneMouseEnter: Se, + onPaneMouseMove: $t, + onPaneMouseLeave: it, + onPaneScroll: En, + onPaneContextMenu: tn, + children: no, + onEdgeContextMenu: Wt, + onEdgeDoubleClick: Lr, + onEdgeMouseEnter: fa, + onEdgeMouseMove: Fr, + onEdgeMouseLeave: pa, + onEdgeUpdate: Rr, + onEdgeUpdateStart: jr, + onEdgeUpdateEnd: ha, + onReconnect: ga, + onReconnectStart: Ir, + onReconnectEnd: zr, + reconnectRadius: ma = 10, + edgeUpdaterRadius: ba = 10, + onNodesChange: ya, + onEdgesChange: Ca, + noDragClassName: H = "nodrag", + noWheelClassName: X = "nowheel", + noPanClassName: re = "nopan", + fitView: fe = !1, + fitViewOptions: Ae, + connectOnClick: Re = !0, + attributionPosition: we, + proOptions: ye, + defaultEdgeOptions: at, + elevateNodesOnSelect: We = !0, + elevateEdgesOnSelect: Ue = !1, + disableKeyboardA11y: pt = !1, + autoPanOnConnect: Sn = !0, + autoPanOnNodeDrag: pn = !0, + connectionRadius: ct = 20, + isValidConnection: zo, + onError: va, + style: xa, + id: g1, + nodeDragThreshold: _5, + ...A5 + }, + M5, + ) => { + const wa = g1 || "1"; + return $.createElement( + "div", + { + ...A5, + style: { ...xa, ...cy }, + ref: M5, + className: bt(["react-flow", r]), + "data-testid": "rf__wrapper", + id: g1, + }, + $.createElement( + af, + null, + $.createElement(ny, { + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onNodeClick: l, + onEdgeClick: s, + onNodeMouseEnter: x, + onNodeMouseMove: C, + onNodeMouseLeave: E, + onNodeContextMenu: w, + onNodeDoubleClick: S, + nodeTypes: i, + edgeTypes: a, + connectionLineType: v, + connectionLineStyle: z, + connectionLineComponent: B, + connectionLineContainerStyle: M, + selectionKeyCode: G, + selectionOnDrag: K, + selectionMode: Q, + deleteKeyCode: W, + multiSelectionKeyCode: oe, + panActivationKeyCode: ne, + zoomActivationKeyCode: U, + onlyRenderVisibleElements: ke, + selectNodesOnDrag: ie, + defaultViewport: Nt, + translateExtent: Vt, + minZoom: en, + maxZoom: St, + preventScrolling: Dt, + zoomOnScroll: se, + zoomOnPinch: xe, + zoomOnDoubleClick: Qe, + panOnScroll: de, + panOnScrollSpeed: Ve, + panOnScrollMode: et, + panOnDrag: ft, + onPaneClick: rt, + onPaneMouseEnter: Se, + onPaneMouseMove: $t, + onPaneMouseLeave: it, + onPaneScroll: En, + onPaneContextMenu: tn, + onSelectionContextMenu: T, + onSelectionStart: F, + onSelectionEnd: I, + onEdgeContextMenu: Wt, + onEdgeDoubleClick: Lr, + onEdgeMouseEnter: fa, + onEdgeMouseMove: Fr, + onEdgeMouseLeave: pa, + onReconnect: ga ?? Rr, + onReconnectStart: Ir ?? jr, + onReconnectEnd: zr ?? ha, + reconnectRadius: ma ?? ba, + defaultMarkerColor: ee, + noDragClassName: H, + noWheelClassName: X, + noPanClassName: re, + elevateEdgesOnSelect: Ue, + rfId: wa, + disableKeyboardA11y: pt, + nodeOrigin: le, + nodeExtent: Z, + }), + $.createElement(Qm, { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: f, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: y, + onClickConnectEnd: g, + nodesDraggable: _e, + nodesConnectable: $e, + nodesFocusable: Ee, + edgesFocusable: Ge, + edgesUpdatable: Ot, + elementsSelectable: Jt, + elevateNodesOnSelect: We, + minZoom: en, + maxZoom: St, + nodeExtent: Z, + onNodesChange: ya, + onEdgesChange: Ca, + snapToGrid: ge, + snapGrid: J, + connectionMode: D, + translateExtent: Vt, + connectOnClick: Re, + defaultEdgeOptions: at, + fitView: fe, + fitViewOptions: Ae, + onNodesDelete: L, + onEdgesDelete: j, + onNodeDragStart: _, + onNodeDrag: A, + onNodeDragStop: R, + onSelectionDrag: k, + onSelectionDragStart: V, + onSelectionDragStop: N, + noPanClassName: re, + nodeOrigin: le, + rfId: wa, + autoPanOnConnect: Sn, + autoPanOnNodeDrag: pn, + onError: va, + connectionRadius: ct, + isValidConnection: zo, + nodeDragThreshold: _5, + }), + $.createElement(Km, { onSelectionChange: P }), + no, + $.createElement(Em, { proOptions: ye, position: we }), + $.createElement(ob, { rfId: wa, disableKeyboardA11y: pt }), + ), + ); + }, + ); +ia.displayName = "ReactFlow"; +function uy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, + $.createElement("path", { + d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z", + }), + ); } -function _b(e, t) { - return kb(e, t); +function dy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, + $.createElement("path", { d: "M0 0h32v4.2H0z" }), + ); } -const Dn = (e, t) => ({ - id: e, - type: "select", - selected: t -}); -function go(e, t) { - return e.reduce((n, o) => { - const r = t.includes(o.id); - return !o.selected && r ? (o.selected = !0, n.push(Dn(o.id, !0))) : o.selected && !r && (o.selected = !1, n.push(Dn(o.id, !1))), n; - }, []); +function fy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, + $.createElement("path", { + d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z", + }), + ); } -const Pl = (e, t) => (n) => { - n.target === t.current && (e == null || e(n)); -}, Ab = (e) => ({ - userSelectionActive: e.userSelectionActive, - elementsSelectable: e.elementsSelectable, - dragging: e.paneDragging -}), af = Ge(({ isSelecting: e, selectionMode: t = vr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const p = he(null), h = rt(), m = he(0), b = he(0), y = he(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ue(Ab, ut), S = () => { - h.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; - }, w = (V) => { - a == null || a(V), h.getState().resetSelectedElements(), h.setState({ nodesSelectionActive: !1 }); - }, E = (V) => { - if (Array.isArray(n) && (n != null && n.includes(2))) { - V.preventDefault(); - return; - } - i == null || i(V); - }, M = l ? (V) => l(V) : void 0, _ = (V) => { - const { resetSelectedElements: k, domNode: N } = h.getState(); - if (y.current = N == null ? void 0 : N.getBoundingClientRect(), !x || !e || V.button !== 0 || V.target !== p.current || !y.current) - return; - const { x: T, y: D } = Rn(V, y.current); - k(), h.setState({ - userSelectionRect: { - width: 0, - height: 0, - startX: T, - startY: D, - x: T, - y: D - } - }), o == null || o(V); - }, L = (V) => { - const { userSelectionRect: k, nodeInternals: N, edges: T, transform: D, onNodesChange: I, onEdgesChange: F, nodeOrigin: v, getNodes: z } = h.getState(); - if (!e || !y.current || !k) - return; - h.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); - const B = Rn(V, y.current), A = k.startX ?? 0, W = k.startY ?? 0, Y = { - ...k, - x: B.x < A ? B.x : A, - y: B.y < W ? B.y : W, - width: Math.abs(B.x - A), - height: Math.abs(B.y - W) - }, K = z(), Q = B3(N, Y, D, t === vr.Partial, !0, v), ne = V3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); - if (m.current !== oe.length) { - m.current = oe.length; - const U = go(K, oe); - U.length && (I == null || I(U)); - } - if (b.current !== ne.length) { - b.current = ne.length; - const U = go(T, ne); - U.length && (F == null || F(U)); - } - h.setState({ - userSelectionRect: Y - }); - }, R = (V) => { - if (V.button !== 0) - return; - const { userSelectionRect: k } = h.getState(); - !g && k && V.target === p.current && (w == null || w(V)), h.setState({ nodesSelectionActive: m.current > 0 }), S(), r == null || r(V); - }, j = (V) => { - g && (h.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(V)), S(); - }, P = x && (e || g); +function py() { return $.createElement( - "div", - { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : Pl(w, p), onContextMenu: Pl(E, p), onWheel: Pl(M, p), onMouseEnter: P ? void 0 : s, onMouseDown: P ? _ : void 0, onMouseMove: P ? L : u, onMouseUp: P ? R : void 0, onMouseLeave: P ? j : c, ref: p, style: Bc }, - d, - $.createElement(Sb, null) + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + $.createElement("path", { + d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z", + }), ); -}); -af.displayName = "Pane"; -function lf(e, t) { - const n = e.parentNode || e.parentId; - if (!n) - return !1; - const o = t.get(n); - return o ? o.selected ? !0 : lf(o, t) : !1; } -function Fu(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 hy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + $.createElement("path", { + d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z", + }), + ); } -function Mb(e, t, n, o) { - return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !lf(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 - }; +const Qo = ({ children: e, className: t, ...n }) => + $.createElement( + "button", + { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, + e, + ); +Qo.displayName = "ControlButton"; +const gy = (e) => ({ + isInteractive: + e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, + minZoomReached: e.transform[2] <= e.minZoom, + maxZoomReached: e.transform[2] >= e.maxZoom, + }), + lf = ({ + style: e, + showZoom: t = !0, + showFitView: n = !0, + showInteractive: o = !0, + fitViewOptions: r, + onZoomIn: i, + onZoomOut: a, + onFitView: l, + onInteractiveChange: s, + className: u, + children: c, + position: d = "bottom-left", + }) => { + const h = nt(), + [f, m] = ue(!1), + { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(gy, st), + { zoomIn: x, zoomOut: C, fitView: E } = Qt(); + if ( + (ce(() => { + m(!0); + }, []), + !f) + ) + return null; + const w = () => { + x(), i == null || i(); + }, + S = () => { + C(), a == null || a(); + }, + _ = () => { + E(r), l == null || l(); + }, + A = () => { + h.setState({ + nodesDraggable: !b, + nodesConnectable: !b, + elementsSelectable: !b, + }), + s == null || s(!b); + }; + return $.createElement( + C3, + { + className: bt(["react-flow__controls", u]), + position: d, + style: e, + "data-testid": "rf__controls", + }, + t && + $.createElement( + $.Fragment, + null, + $.createElement( + Qo, + { + onClick: w, + className: "react-flow__controls-zoomin", + title: "zoom in", + "aria-label": "zoom in", + disabled: g, + }, + $.createElement(uy, null), + ), + $.createElement( + Qo, + { + onClick: S, + className: "react-flow__controls-zoomout", + title: "zoom out", + "aria-label": "zoom out", + disabled: y, + }, + $.createElement(dy, null), + ), + ), + n && + $.createElement( + Qo, + { + className: "react-flow__controls-fitview", + onClick: _, + title: "fit view", + "aria-label": "fit view", + }, + $.createElement(fy, null), + ), + o && + $.createElement( + Qo, + { + className: "react-flow__controls-interactive", + onClick: A, + title: "toggle interactivity", + "aria-label": "toggle interactivity", + }, + b ? $.createElement(hy, null) : $.createElement(py, null), + ), + c, + ); + }; +lf.displayName = "Controls"; +var Rc = Ye(lf), + Gt; +(function (e) { + (e.Lines = "lines"), (e.Dots = "dots"), (e.Cross = "cross"); +})(Gt || (Gt = {})); +function my({ color: e, dimensions: t, lineWidth: n }) { + return $.createElement("path", { + stroke: e, + strokeWidth: n, + d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}`, }); } -function Tb(e, t) { - return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; +function by({ color: e, radius: t }) { + return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); } -function sf(e, t, n, o, r = [0, 0], a) { - const i = Tb(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: p, y: h } = vo(d, r).positionAbsolute; - l = d && Rt(p) && Rt(h) && Rt(d.width) && Rt(d.height) ? [ - [p + e.width * r[0], h + e.height * r[1]], - [ - p + d.width - e.width + e.width * r[0], - h + d.height - e.height + e.height * r[1] - ] - ] : l; - } else - a == null || a("005", Qt.error005()), l = i; - else if (e.extent && s && e.extent !== "parent") { - const d = n.get(s), { x: p, y: h } = vo(d, r).positionAbsolute; - l = [ - [e.extent[0][0] + p, e.extent[0][1] + h], - [e.extent[1][0] + p, e.extent[1][1] + h] - ]; - } - let u = { x: 0, y: 0 }; - if (s) { - const d = n.get(s); - u = vo(d, r).positionAbsolute; - } - const c = l && l !== "parent" ? Dc(t, l) : t; - return { - position: { - x: c.x - u.x, - y: c.y - u.y +const yy = { + [Gt.Dots]: "#91919a", + [Gt.Lines]: "#eee", + [Gt.Cross]: "#e2e2e2", + }, + Cy = { + [Gt.Dots]: 1, + [Gt.Lines]: 1, + [Gt.Cross]: 6, + }, + vy = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +function sf({ + id: e, + variant: t = Gt.Dots, + // only used for dots and cross + gap: n = 20, + // only used for lines and cross + size: o, + lineWidth: r = 1, + offset: i = 2, + color: a, + style: l, + className: s, +}) { + const u = pe(null), + { transform: c, patternId: d } = Ze(vy, st), + h = a || yy[t], + f = o || Cy[t], + m = t === Gt.Dots, + b = t === Gt.Cross, + y = Array.isArray(n) ? n : [n, n], + g = [y[0] * c[2] || 1, y[1] * c[2] || 1], + x = f * c[2], + C = b ? [x, x] : g, + E = m ? [x / i, x / i] : [C[0] / i, C[1] / i]; + return $.createElement( + "svg", + { + className: bt(["react-flow__background", s]), + style: { + ...l, + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + ref: u, + "data-testid": "rf__background", }, - positionAbsolute: c - }; -} -function Bl({ 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]; + $.createElement( + "pattern", + { + id: d + e, + x: c[0] % g[0], + y: c[1] % g[1], + width: g[0], + height: g[1], + patternUnits: "userSpaceOnUse", + patternTransform: `translate(-${E[0]},-${E[1]})`, + }, + m + ? $.createElement(by, { color: h, radius: x / i }) + : $.createElement(my, { dimensions: C, color: h, lineWidth: r }), + ), + $.createElement("rect", { + x: "0", + y: "0", + width: "100%", + height: "100%", + fill: `url(#${d + e})`, + }), + ); } -const Ru = (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(); +sf.displayName = "Background"; +var jc = Ye(sf); +const Ic = "columns", + zc = "exposure", + Hc = "tables", + xy = "feedback", + cf = "settings", + bn = "column-", + uf = "see-more-", + wy = 5, + Ey = 100, + Hl = 100, + Tr = 300, + yo = 80, + Sy = 12, + ky = yo, + df = 30, + zu = 4, + _y = 280, + Ay = 80, + My = 80, + Ty = 250, + Os = 0.05, + ff = "#7A899E", + Pc = "#E38E00", + Bc = { + Original: "#FDD835", + Alias: "#40C8AE", + Transformation: "#FF754C", + Unchanged: "#BC3FBC", + "Not sure": "#247efe", + "Non select": "#BC3FBC", + }, + aa = { + stroke: ff, + strokeWidth: 1, + }, + Vc = { + stroke: Pc, + strokeWidth: 2, + }, + $c = { + stroke: Pc, + strokeWidth: 1, + strokeDasharray: 10, + }, + pf = { + type: "arrow", + strokeWidth: 1, + width: 24, + height: 24, + color: ff, + }, + hf = { + type: "arrow", + strokeWidth: 1, + width: 16, + height: 16, + color: Pc, + }, + vt = (e) => e.id.startsWith(bn), + ti = (e) => e.id.startsWith(uf), + xn = (e) => !e.id.startsWith(bn), + Wc = (e, t, n, o, r, i = !1) => { + const [a, l] = r ? [n, o] : [o, n], + [s, u] = r ? Ns(e, t, i) : Ns(t, e, i); return { - id: 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, - ...Nc(s) - }; - }); -}; -function Go(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().nodeInternals.get(e); - r && n(o, { ...r }); - }; -} -function Ls({ 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", Qt.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 Ob() { - const e = rt(); - return Te(({ 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] + id: `${a}-${l}`, + source: a, + target: l, + sourceHandle: s, + targetHandle: u, + style: aa, + markerEnd: pf, + type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default", }; + }, + To = (e, t, n) => ({ + id: e.table, + data: { ...e, level: t, parent: n }, + position: { x: 100, y: 100 }, + type: "table", + width: Tr, + height: yo, + }), + gf = (e, t, n, o) => ({ + id: e, + data: { ...o, level: t, parent: n, id: e }, + position: { x: 100, y: 100 }, + type: "operator", + width: Tr, + height: yo, + }), + ji = (e, t, n, o, r) => ({ + id: yr(e, t), + data: { column: t, table: e, viewsType: n, viewsCode: o, nodeType: r }, + parentNode: e, + extent: "parent", + draggable: !1, + type: "column", + position: { x: 100, y: 100 }, + height: df, + }), + Ii = (e, t, n, o, r, i) => { + const a = la(e, t), + [l, s] = Ns(n, o, !1); return { - 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: a, + data: { type: r }, + source: e, + target: t, + sourceHandle: l, + targetHandle: s, + style: r === "direct" ? Vc : $c, + zIndex: 1e3, + markerEnd: hf, + type: n === o ? "smoothstep" : "default", + hidden: !i[r], }; - }, []); -} -function Vl(e) { - return (t, n, o) => e == null ? void 0 : e(t, o); -} -function cf({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { - const l = rt(), [s, u] = ce(!1), c = he([]), d = he({ x: null, y: null }), p = he(0), h = he(null), m = he({ x: 0, y: 0 }), b = he(null), y = he(!1), g = he(!1), x = he(!1), C = Ob(); - return ue(() => { - if (e != null && e.current) { - const S = qt(e.current), w = ({ x: _, y: L }) => { - const { nodeInternals: R, onNodeDrag: j, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: N, snapToGrid: T, nodeOrigin: D, onError: I } = l.getState(); - d.current = { x: _, y: L }; - let F = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; - if (c.current.length > 1 && k) { - const B = zc(c.current, D); - v = Lc(B); - } - if (c.current = c.current.map((B) => { - const A = { x: _ - B.distance.x, y: L - B.distance.y }; - T && (A.x = N[0] * Math.round(A.x / N[0]), A.y = N[1] * Math.round(A.y / N[1])); - const W = [ - [k[0][0], k[0][1]], - [k[1][0], k[1][1]] - ]; - c.current.length > 1 && k && !B.extent && (W[0][0] = B.positionAbsolute.x - v.x + k[0][0], W[1][0] = B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0], W[0][1] = B.positionAbsolute.y - v.y + k[0][1], W[1][1] = B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1]); - const Y = sf(B, A, R, W, D, I); - return F = F || B.position.x !== Y.position.x || B.position.y !== Y.position.y, B.position = Y.position, B.positionAbsolute = Y.positionAbsolute, B; - }), !F) - return; - V(c.current, !0, !0), u(!0); - const z = r ? j : Vl(P); - if (z && b.current) { - const [B, A] = Bl({ - nodeId: r, - dragItems: c.current, - nodeInternals: R - }); - z(b.current, B, A); - } - }, E = () => { - if (!h.current) - return; - const [_, L] = N3(m.current, h.current); - if (_ !== 0 || L !== 0) { - const { transform: R, panBy: j } = l.getState(); - d.current.x = (d.current.x ?? 0) - _ / R[2], d.current.y = (d.current.y ?? 0) - L / R[2], j({ x: _, y: L }) && w(d.current); - } - p.current = requestAnimationFrame(E); - }, M = (_) => { - var D; - const { nodeInternals: L, multiSelectionActive: R, nodesDraggable: j, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); - g.current = !0; - const N = r ? V : Vl(k); - (!i || !a) && !R && r && ((D = L.get(r)) != null && D.selected || P()), r && a && i && Ls({ - id: r, - store: l, - nodeRef: e - }); - const T = C(_); - if (d.current = T, c.current = Mb(L, j, T, r), N && c.current) { - const [I, F] = Bl({ - nodeId: r, - dragItems: c.current, - nodeInternals: L + }, + la = (e, t) => bn + `${e}-${t}`, + zi = (e, t) => { + e.style = { opacity: t ? 1 : 0.5 }; + }, + Oo = (e, t) => { + var n; + (e.style = t + ? ((n = e.data) == null ? void 0 : n.type) === "indirect" + ? $c + : Vc + : aa), + (e.markerEnd = t ? hf : pf); + }, + Ns = (e, t, n) => + n + ? e < t + ? ["bottom", "top"] + : e > t + ? ["top", "bottom"] + : e < 0 + ? ["top", "top"] + : ["bottom", "bottom"] + : e < t + ? ["right", "left"] + : e > t + ? ["left", "right"] + : e < 0 + ? ["left", "left"] + : ["right", "right"], + Oy = (e, t) => { + const n = {}; + e.forEach((i) => { + xn(i) && (n[i.id] = i.data.level); + }); + const o = {}; + e.filter((i) => i.type === "table").forEach((i) => (o[i.id] = !0)); + const r = {}; + for (const i of t) { + if (vt(i)) continue; + const a = o[i.source], + l = o[i.target]; + if (!(a && l)) { + if (a) { + e.find((u) => u.id === i.target).data.tables.forEach((u) => { + r[u.table] = i.target; }); - N(_.sourceEvent, I, F); + continue; } - }; - if (t) - S.on(".drag", null); - else { - const _ = zp().on("start", (L) => { - const { domNode: R, nodeDragThreshold: j } = l.getState(); - j === 0 && M(L), x.current = !1; - const P = C(L); - d.current = P, h.current = (R == null ? void 0 : R.getBoundingClientRect()) || null, m.current = Rn(L.sourceEvent, h.current); - }).on("drag", (L) => { - var V, k; - const R = C(L), { autoPanOnNodeDrag: j, nodeDragThreshold: P } = l.getState(); - if (L.sourceEvent.type === "touchmove" && L.sourceEvent.touches.length > 1 && (x.current = !0), !x.current) { - if (!y.current && g.current && j && (y.current = !0, E()), !g.current) { - const N = R.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 : V.x) ?? 0), T = R.ySnapped - (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); - Math.sqrt(N * N + T * T) > P && M(L); - } - (d.current.x !== R.xSnapped || d.current.y !== R.ySnapped) && c.current && g.current && (b.current = L.sourceEvent, m.current = Rn(L.sourceEvent, h.current), w(R)); - } - }).on("end", (L) => { - if (!(!g.current || x.current) && (u(!1), y.current = !1, g.current = !1, cancelAnimationFrame(p.current), c.current)) { - const { updateNodePositions: R, nodeInternals: j, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : Vl(V); - if (R(c.current, !1, !1), k) { - const [N, T] = Bl({ - nodeId: r, - dragItems: c.current, - nodeInternals: j - }); - k(L.sourceEvent, N, T); - } - } - }).filter((L) => { - const R = L.target; - return !L.button && (!n || !Fu(R, `.${n}`, e)) && (!o || Fu(R, o, e)); - }); - return S.call(_), () => { - S.on(".drag", null); - }; + l && + e + .find((u) => u.id === i.source) + .data.tables.forEach((u) => { + r[u.table] = i.source; + }); } } - }, [ - e, - t, - n, - o, - a, - l, - r, - i, - C - ]), s; -} -function uf() { - const e = rt(); - return Te((n) => { - const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), p = l ? s[0] : 5, h = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * p * m, y = n.y * h * m, g = d.map((x) => { - if (x.positionAbsolute) { - const C = { x: x.positionAbsolute.x + b, y: x.positionAbsolute.y + y }; - l && (C.x = s[0] * Math.round(C.x / s[0]), C.y = s[1] * Math.round(C.y / s[1])); - const { positionAbsolute: S, position: w } = sf(x, C, o, r, void 0, u); - x.position = w, x.positionAbsolute = S; - } - return x; + return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; + }, + yr = (e, t) => bn + `${e}/${t}`, + Hi = (e, t) => uf + e + "-" + (t ? "1" : "0"), + Hu = (e, t) => { + for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; + return !1; + }, + Pu = (e, t, n) => { + (e[t] = e[t] || []), e[t].push(...n); + }, + gi = (e, t = 1) => e * (df + zu) + t * zu, + Bu = (e, t) => (n) => e <= n && n <= t, + Ny = (e, t) => (n) => e < n && n < t, + Vu = (e, t) => { + const n = e.findIndex((o) => o.id === t); + n !== -1 && e.splice(n, 1); + }, + $u = (e, t, n) => (e === -1 || n >= t ? t : n >= e ? n : e), + Cr = (e, t, n = !0) => { + e.forEach((o) => { + vt(o) || ((o.hidden = !t), n && Oo(o, t)); }); - a(g, !0, !1); - }, []); -} -const xo = { - ArrowUp: { x: 0, y: -1 }, - ArrowDown: { x: 0, y: 1 }, - ArrowLeft: { x: -1, y: 0 }, - ArrowRight: { x: 1, y: 0 } -}; -var Ko = (e) => { - const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: p, onMouseLeave: h, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: S, isFocusable: w, selectNodesOnDrag: E, sourcePosition: M, targetPosition: _, hidden: L, resizeObserver: R, dragHandle: j, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: D, ariaLabel: I, rfId: F, hasHandleBounds: v }) => { - const z = rt(), B = he(null), A = he(null), W = he(M), Y = he(_), K = he(o), Q = C || x || c || d || p || h, ne = uf(), oe = Go(n, z.getState, d), U = Go(n, z.getState, p), ge = Go(n, z.getState, h), J = Go(n, z.getState, m), ke = Go(n, z.getState, b), ae = (Ee) => { - const { nodeDragThreshold: le } = z.getState(); - if (C && (!E || !x || le > 0) && Ls({ - id: n, - store: z, - nodeRef: B - }), c) { - const Xe = z.getState().nodeInternals.get(n); - Xe && c(Ee, { ...Xe }); - } - }, _e = (Ee) => { - if (!Ms(Ee) && !D) - if (L3.includes(Ee.key) && C) { - const le = Ee.key === "Escape"; - Ls({ - id: n, - store: z, - unselect: le, - nodeRef: B - }); - } else x && u && Object.prototype.hasOwnProperty.call(xo, Ee.key) && (z.setState({ - ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}` - }), ne({ - x: xo[Ee.key].x, - y: xo[Ee.key].y, - isShiftPressed: Ee.shiftKey - })); - }; - ue(() => () => { - A.current && (R == null || R.unobserve(A.current), A.current = null); - }, []), ue(() => { - if (B.current && !L) { - const Ee = B.current; - (!T || !v || A.current !== Ee) && (A.current && (R == null || R.unobserve(A.current)), R == null || R.observe(Ee), A.current = Ee); - } - }, [L, T, v]), ue(() => { - const Ee = K.current !== o, le = W.current !== M, Xe = Y.current !== _; - B.current && (Ee || le || Xe) && (Ee && (K.current = o), le && (W.current = M), Xe && (Y.current = _), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); - }, [n, o, M, _]); - const We = cf({ - nodeRef: B, - disabled: L || !x, - noDragClassName: k, - handleSelector: j, - nodeId: n, - isSelectable: C, - selectNodesOnDrag: E + }, + vr = (e, t, n = !0) => { + e.forEach((o) => { + vt(o) && ((o.hidden = !t), n && Oo(o, t)); }); - return L ? null : $.createElement( - "div", - { className: bt([ - "react-flow__node", - `react-flow__node-${o}`, + }; +function mf(e) { + const t = /* @__PURE__ */ new Map(), + n = /* @__PURE__ */ new Map(); + for (const [i, a] of e) + t.has(i) || t.set(i, 0), + t.has(a) || t.set(a, 0), + t.set(a, t.get(a) + 1), + n.has(i) || n.set(i, 0), + n.has(a) || n.set(a, 0), + n.set(i, n.get(i) + 1); + const o = [], + r = []; + for (const [i, a] of t) a === 0 && o.push(i); + for (const [i, a] of n) a === 0 && r.push(i); + return { sources: o, sinks: r }; +} +const Dy = "_table_node_8ocim_1", + Ly = "_header_8ocim_8", + Fy = "_collapse_8ocim_16", + Ry = "_selected_8ocim_21", + jy = "_content_8ocim_24", + Iy = "_table_header_8ocim_37", + zy = "_seed_8ocim_48", + Hy = "_model_8ocim_53", + Py = "_source_8ocim_58", + By = "_exposure_8ocim_63", + Vy = "_snapshot_8ocim_68", + $y = "_metrics_8ocim_73", + Wy = "_macros_8ocim_78", + Zy = "_analysis_8ocim_83", + Uy = "_node_icon_8ocim_88", + qy = "_dialect_icon_8ocim_100", + Yy = "_table_handle_8ocim_109", + Gy = "_see_more_node_8ocim_123", + Ky = "_table_card_8ocim_134", + Xy = "_disabled_8ocim_146", + Qy = "_column_card_8ocim_151", + Jy = "_edit_icon_8ocim_164", + eC = "_active_8ocim_172", + tC = "_expand_lineage_icon_8ocim_176", + nC = "_processing_div_8ocim_189", + oC = "_gif_img_8ocim_192", + rC = "_card_8ocim_197", + iC = "_column_node_8ocim_212", + aC = "_column_name_8ocim_223", + lC = "_column_top_right_8ocim_228", + sC = "_divider_8ocim_236", + cC = "_table_details_header_8ocim_242", + uC = "_verticle_divider_8ocim_250", + dC = "_low_confidence_8ocim_255", + fC = "_high_confidence_8ocim_262", + pC = "_alert_icon_8ocim_269", + hC = "_menu_card_8ocim_275", + gC = "_menu_card_container_8ocim_280", + mC = "_table_details_tabs_8ocim_287", + bC = "_tab_8ocim_1", + yC = "_table_node_pill_8ocim_307", + CC = "_icon_8ocim_317", + vC = "_node-checkbox_8ocim_324", + xC = "_non_select_node_checkbox_8ocim_324", + wC = "_select_node_checkbox_8ocim_324", + EC = "_node_extra_info_8ocim_340", + SC = "_help_body_8ocim_344", + kC = "_feedback_body_8ocim_348", + _C = "_cancel_btn_8ocim_351", + AC = "_expand_nav_8ocim_356", + MC = "_expand_nav_btn_8ocim_364", + TC = "_lineage_legend_8ocim_391", + OC = "_column_legend_8ocim_408", + NC = "_dot_8ocim_424", + DC = "_model_views_type_8ocim_436", + LC = "_close_button_8ocim_445", + FC = "_op_node_8ocim_458", + RC = "_light_mode_8ocim_477", + jC = "_dark_mode_8ocim_480", + IC = "_highlighted_8ocim_483", + zC = "_cost_data_8ocim_489", + HC = "_op_type_text_8ocim_504", + PC = "_node_stats_8ocim_507", + BC = "_savings-performance_8ocim_523", + VC = "_performance_8ocim_523", + $C = "_savings_8ocim_523", + WC = "_value_8ocim_538", + ZC = "_percent_8ocim_541", + UC = "_static_table_node_8ocim_556", + qC = "_details_btn_8ocim_620", + YC = "_enable_8ocim_629", + GC = "_disable_8ocim_146", + KC = "_code_editor_container_8ocim_640", + XC = "_code_editor_8ocim_640", + QC = "_tooltip_container_8ocim_654", + JC = "_tooltip_text_8ocim_660", + ev = "_views_type_badge_8ocim_677", + tv = "_column_code_icon_8ocim_708", + nv = "_edge_select_8ocim_724", + ov = "_edge_non_select_8ocim_734", + rv = "_modal_views_code_container_8ocim_744", + iv = "_custom_node_code_block_8ocim_749", + av = "_reset_btn_8ocim_761", + lv = "_error_tooltip_8ocim_767", + Y = { + table_node: Dy, + header: Ly, + collapse: Fy, + selected: Ry, + content: jy, + table_header: Iy, + seed: zy, + model: Hy, + source: Py, + exposure: By, + snapshot: Vy, + metrics: $y, + macros: Wy, + analysis: Zy, + node_icon: Uy, + dialect_icon: qy, + table_handle: Yy, + see_more_node: Gy, + table_card: Ky, + disabled: Xy, + column_card: Qy, + edit_icon: Jy, + active: eC, + expand_lineage_icon: tC, + processing_div: nC, + gif_img: oC, + card: rC, + column_node: iC, + default: "_default_8ocim_220", + column_name: aC, + column_top_right: lC, + divider: sC, + table_details_header: cC, + verticle_divider: uC, + low_confidence: dC, + high_confidence: fC, + alert_icon: pC, + menu_card: hC, + menu_card_container: gC, + table_details_tabs: mC, + tab: bC, + table_node_pill: yC, + icon: CC, + "node-checkbox": "_node-checkbox_8ocim_324", + nodeCheckbox: vC, + non_select_node_checkbox: xC, + select_node_checkbox: wC, + node_extra_info: EC, + help_body: SC, + feedback_body: kC, + cancel_btn: _C, + expand_nav: AC, + expand_nav_btn: MC, + lineage_legend: TC, + column_legend: OC, + dot: NC, + model_views_type: DC, + close_button: LC, + op_node: FC, + light_mode: RC, + dark_mode: jC, + highlighted: IC, + cost_data: zC, + op_type_text: HC, + node_stats: PC, + "savings-performance": "_savings-performance_8ocim_523", + savingsPerformance: BC, + performance: VC, + savings: $C, + value: WC, + percent: ZC, + static_table_node: UC, + details_btn: qC, + enable: YC, + disable: GC, + code_editor_container: KC, + code_editor: XC, + tooltip_container: QC, + tooltip_text: JC, + views_type_badge: ev, + column_code_icon: tv, + edge_select: nv, + edge_non_select: ov, + modal_views_code_container: rv, + custom_node_code_block: iv, + reset_btn: av, + error_tooltip: lv, + }, + bf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", + fill: "currentColor", + }), + ), + yf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + xmlns: "http://www.w3.org/2000/svg", + width: "100%", + height: "100%", + viewBox: "0 0 15 15", + fill: "none", + ...e, + }, + /* @__PURE__ */ O.createElement("circle", { + cx: 7.5, + cy: 7.5, + r: 6.9, + stroke: "currentColor", + strokeWidth: 1.2, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", + stroke: "currentColor", + strokeWidth: 0.9, + }), + ), + sv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 15, + height: 15, + viewBox: "0 0 11 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_19334_15206)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", + fill: "#FFCE73", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", + fill: "#FFCE73", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_19334_15206" }, + /* @__PURE__ */ O.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0.101318)", + }), + ), + ), + ), + cv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("circle", { + cx: 8, + cy: 8.5, + r: 6.5, + stroke: "currentColor", + }), + ), + uv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", + fill: "currentColor", + }), + ), + dv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", + fill: "currentColor", + }), + ), + fv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", + fill: "currentColor", + }), + ), + pv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M5.33325 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.6667 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.33325 6.56055H13.6666", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.4955 9H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.4955 12H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.4955 9H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.4955 12H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + hv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", + stroke: "currentColor", + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", + stroke: "currentColor", + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ni = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", + fill: "currentColor", + }), + ), + gv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", + fill: "currentColor", + }), + ), + mv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", + fill: "currentColor", + }), + ), + bv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", + fill: "currentColor", + }), + ), + Ds = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 28 28", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", + fill: "currentColor", + }), + ), + yv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", + fill: "currentColor", + }), + ), + Cv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_13119_16577)" }, + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_13119_16577", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_13119_16577)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.46875 15.5312H15.5312", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_13119_16577" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Ls = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_13132_13629)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", + fill: "currentColor", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_13132_13629" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + vv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", + fill: "currentColor", + }), + ), + xv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", + fill: "currentColor", + }), + ), + Zc = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { id: "x-close" }, + /* @__PURE__ */ O.createElement("path", { + id: "Icon", + d: "M12 4L4 12M4 4L12 12", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ), + wv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 10 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_8292_48040)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_8292_48040" }, + /* @__PURE__ */ O.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0 10) rotate(-90)", + }), + ), + ), + ), + Ev = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: -0.5, + y: 0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(-1 0 0 1 31 0)", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", + stroke: "#8390A3", + }), + ), + Sv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: 0.5, + y: -0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(1 0 0 -1 0 31)", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", + stroke: "#8390A3", + strokeWidth: 1.2, + strokeMiterlimit: 10, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", + stroke: "#8390A3", + strokeWidth: 1.2, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + kv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 32, + height: 32, + rx: 5, + transform: "matrix(-1 0 0 1 32 0)", + fill: "#3F8CFF", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", + fill: "white", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", + fill: "white", + }), + ), + _v = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: 0.5, + y: -0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(1 0 0 -1 0 31)", + fill: "#247EFE", + stroke: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", + fill: "white", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", + fill: "white", + stroke: "#247EFE", + strokeWidth: 1.2, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + Av = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_17179_3800)" }, + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_17179_3800", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M16 0H0V16H16V0Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_17179_3800)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", + fill: "currentColor", + }), + ), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_17179_3800" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Mv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", + fill: "currentColor", + }), + ), + Cf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", + fill: "currentColor", + }), + ), + Tv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", + fill: "currentColor", + }), + ), + Ov = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", + fill: "currentColor", + }), + ), + Nv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4D4F3B", + }), + /* @__PURE__ */ O.createElement( + "mask", { - // this is overwritable by passing `nopan` as a class name - [N]: x + id: "mask0_20572_494912", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, }, - g, - { - selected: u, - selectable: C, - parent: V, - dragging: We - } - ]), ref: B, style: { - zIndex: P, - transform: `translate(${l}px,${s}px)`, - pointerEvents: Q ? "all" : "none", - visibility: T ? "visible" : "hidden", - ...y - }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ae, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": D ? void 0 : `${ef}-${F}`, "aria-label": I }, - $.createElement( - Vm, - { value: n }, - $.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: S, sourcePosition: M, targetPosition: _, dragging: We, dragHandle: j, zIndex: P }) - ) - ); - }; - return t.displayName = "NodeWrapper", Ge(t); -}; -const Nb = (e) => { - const t = e.getNodes().filter((n) => n.selected); - return { - ...zc(t, e.nodeOrigin), - transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, - userSelectionActive: e.userSelectionActive - }; -}; -function Db({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = rt(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Ue(Nb, ut), c = uf(), d = he(null); - if (ue(() => { - var m; - n || (m = d.current) == null || m.focus({ - preventScroll: !0 - }); - }, [n]), cf({ - nodeRef: d - }), u || !r || !a) - return null; - const p = e ? (m) => { - const b = o.getState().getNodes().filter((y) => y.selected); - e(m, b); - } : void 0, h = (m) => { - Object.prototype.hasOwnProperty.call(xo, m.key) && c({ - x: xo[m.key].x, - y: xo[m.key].y, - isShiftPressed: m.shiftKey - }); - }; - return $.createElement( - "div", - { className: bt(["react-flow__nodesselection", "react-flow__container", t]), style: { - transform: s - } }, - $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: p, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : h, style: { - width: r, - height: a, - top: l, - left: i - } }) - ); -} -var Lb = Ge(Db); -const jb = (e) => e.nodesSelectionActive, df = ({ 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: p, selectionMode: h, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: E, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: R, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: D, noPanClassName: I, disableKeyboardA11y: F }) => { - const v = Ue(jb), z = xr(d), B = xr(g), A = B || R, W = B || E, Y = z || p && A !== !0; - return yb({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( - wb, - { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: C, zoomOnScroll: S, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: M, panOnScrollMode: _, zoomOnDoubleClick: L, panOnDrag: !z && A, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: D, noPanClassName: I }, - $.createElement( - af, - { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: A, isSelecting: !!Y, selectionMode: h }, - e, - v && $.createElement(Lb, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: F }) - ) - ); -}; -df.displayName = "FlowRenderer"; -var Fb = Ge(df); -function Rb(e) { - return Ue(Te((n) => e ? B3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); -} -function Ib(e) { - const t = { - input: Ko(e.input || K3), - default: Ko(e.default || Ds), - output: Ko(e.output || Q3), - group: Ko(e.group || Pc) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = Ko(e[a] || Ds), r), n); - return { - ...t, - ...o - }; -} -const zb = ({ 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] -}, Hb = (e) => ({ - nodesDraggable: e.nodesDraggable, - nodesConnectable: e.nodesConnectable, - nodesFocusable: e.nodesFocusable, - elementsSelectable: e.elementsSelectable, - updateNodeDimensions: e.updateNodeDimensions, - onError: e.onError -}), ff = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Ue(Hb, ut), l = Rb(e.onlyRenderVisibleElements), s = he(), u = Ve(() => { - if (typeof ResizeObserver > "u") - return null; - const c = new ResizeObserver((d) => { - const p = d.map((h) => ({ - id: h.target.getAttribute("data-id"), - nodeElement: h.target, - forceUpdate: !0 - })); - a(p); - }); - return s.current = c, c; - }, []); - return ue(() => () => { - var c; - (c = s == null ? void 0 : s.current) == null || c.disconnect(); - }, []), $.createElement("div", { className: "react-flow__nodes", style: Bc }, l.map((c) => { - var w, E, M; - let d = c.type || "default"; - e.nodeTypes[d] || (i == null || i("003", Qt.error003(d)), d = "default"); - const p = e.nodeTypes[d] || e.nodeTypes.default, h = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? Dc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, S = zb({ - x, - y: C, - width: c.width ?? 0, - height: c.height ?? 0, - origin: e.nodeOrigin - }); - return $.createElement(p, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ie.Bottom, targetPosition: c.targetPosition || ie.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: S.x, yPosOrigin: S.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: h, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((w = c[Ye]) == null ? void 0 : w.z) ?? 0, isParent: !!((E = c[Ye]) != null && E.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((M = c[Ye]) != null && M.handleBounds) }); - })); -}; -ff.displayName = "NodeRenderer"; -var Pb = Ge(ff); -const Bb = (e, t, n) => n === ie.Left ? e - t : n === ie.Right ? e + t : e, Vb = (e, t, n) => n === ie.Top ? e - t : n === ie.Bottom ? e + t : e, Iu = "react-flow__edgeupdater", zu = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: bt([Iu, `${Iu}-${l}`]), cx: Bb(t, o, e), cy: Vb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), $b = () => !0; -var ho = (e) => { - const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: h, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, elementsSelectable: L, hidden: R, sourceHandleId: j, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: D, onReconnect: I, onReconnectStart: F, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: A, ariaLabel: W, isFocusable: Y, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { - const U = he(null), [ge, J] = ce(!1), [ke, ae] = ce(!1), _e = rt(), We = Ve(() => `url('#${Os(B, A)}')`, [B, A]), Ee = Ve(() => `url('#${Os(z, A)}')`, [z, A]); - if (R) - return null; - const le = (de) => { - var Se; - const { edges: $e, addSelectedEdges: nt, unselectNodesAndEdges: et, multiSelectionActive: ht } = _e.getState(), it = $e.find((Wt) => Wt.id === n); - it && (L && (_e.setState({ nodesSelectionActive: !1 }), it.selected && ht ? (et({ nodes: [], edges: [it] }), (Se = U.current) == null || Se.blur()) : nt([n])), i && i(de, it)); - }, Xe = Yo(n, _e.getState, l), Ot = Yo(n, _e.getState, V), tn = Yo(n, _e.getState, k), Nt = Yo(n, _e.getState, N), nn = Yo(n, _e.getState, T), St = (de, $e) => { - if (de.button !== 0) - return; - const { edges: nt, isValidConnection: et } = _e.getState(), ht = $e ? x : g, it = ($e ? P : j) || null, Se = $e ? "target" : "source", Wt = et || $b, lt = $e, kn = nt.find((Zt) => Zt.id === n); - ae(!0), F == null || F(de, kn, Se); - const on = (Zt) => { - ae(!1), v == null || v(Zt, kn, Se); - }; - U3({ - event: de, - handleId: it, - nodeId: ht, - onConnect: (Zt) => I == null ? void 0 : I(kn, Zt), - isTarget: lt, - getState: _e.getState, - setState: _e.setState, - isValidConnection: Wt, - edgeUpdaterType: Se, - onReconnectEnd: on - }); - }, $t = (de) => St(de, !0), Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !L && !i, xe = (de) => { - var $e; - if (!oe && L3.includes(de.key) && L) { - const { unselectNodesAndEdges: nt, addSelectedEdges: et, edges: ht } = _e.getState(); - de.key === "Escape" ? (($e = U.current) == null || $e.blur(), nt({ edges: [ht.find((Se) => Se.id === n)] })) : et([n]); - } - }; - return $.createElement( - "g", - { className: bt([ - "react-flow__edge", - `react-flow__edge-${r}`, - o, - { selected: s, animated: u, inactive: se, updating: ge } - ]), onClick: le, onDoubleClick: Xe, onContextMenu: Ot, onMouseEnter: tn, onMouseMove: Nt, onMouseLeave: nn, onKeyDown: Y ? xe : void 0, tabIndex: Y ? 0 : void 0, role: Y ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": Y ? `${tf}-${A}` : void 0, ref: U }, - !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: p, labelBgStyle: h, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: y, sourceX: C, sourceY: S, targetX: w, targetY: E, sourcePosition: M, targetPosition: _, sourceHandleId: j, targetHandleId: P, markerStart: We, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), - K && $.createElement( - $.Fragment, - null, - (K === "source" || K === !0) && $.createElement(zu, { position: M, centerX: C, centerY: S, radius: D, onMouseDown: $t, onMouseEnter: Z, onMouseOut: ee, type: "source" }), - (K === "target" || K === !0) && $.createElement(zu, { position: _, centerX: w, centerY: E, radius: D, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) - ) - ); - }; - return t.displayName = "EdgeWrapper", Ge(t); -}; -function Wb(e) { - const t = { - default: ho(e.default || Va), - straight: ho(e.bezier || Rc), - step: ho(e.step || Fc), - smoothstep: ho(e.step || si), - simplebezier: ho(e.simplebezier || jc) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = ho(e[a] || Va), r), n); - return { - ...t, - ...o - }; -} -function Hu(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 ie.Top: - return { - x: o + a / 2, - y: r - }; - case ie.Right: - return { - x: o + a, - y: r + i / 2 - }; - case ie.Bottom: - return { - x: o + a / 2, - y: r + i - }; - case ie.Left: - return { - x: o, - y: r + i / 2 - }; - } -} -function Pu(e, t) { - return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; -} -const Zb = (e, t, n, o, r, a) => { - const i = Hu(n, e, t), l = Hu(a, o, r); - return { - sourceX: i.x, - sourceY: i.y, - targetX: l.x, - targetY: l.y - }; -}; -function Ub({ 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 = Lc({ - 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)), p = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); - return Math.ceil(d * p) > 0; -} -function Bu(e) { - var o, r, a, i, l; - const t = ((o = e == null ? void 0 : e[Ye]) == 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 qb = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function Yb(e, t, n = !1) { - let o = -1; - const r = e.reduce((i, l) => { - var c, d; - const s = Rt(l.zIndex); - let u = s ? l.zIndex : 0; - if (n) { - const p = t.get(l.target), h = t.get(l.source), m = l.selected || (p == null ? void 0 : p.selected) || (h == null ? void 0 : h.selected), b = Math.max(((c = h == null ? void 0 : h[Ye]) == null ? void 0 : c.z) || 0, ((d = p == null ? void 0 : p[Ye]) == 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 ? qb : a; -} -function Gb(e, t, n) { - const o = Ue(Te((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) && Ub({ - 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 Yb(o, t, n); -} -const Kb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { - stroke: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Xb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { - stroke: e, - fill: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Vu = { - [Ba.Arrow]: Kb, - [Ba.ArrowClosed]: Xb -}; -function Qb(e) { - const t = rt(); - return Ve(() => { - var r, a; - return Object.prototype.hasOwnProperty.call(Vu, e) ? Vu[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", Qt.error009(e)), null); - }, [e]); -} -const Jb = ({ 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 = Qb(t); - return s ? $.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" }, - $.createElement(s, { color: n, strokeWidth: i }) - ) : null; -}, ey = ({ 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 = Os(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)); -}, hf = ({ defaultColor: e, rfId: t }) => { - const n = Ue( - Te(ey({ 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 $.createElement("defs", null, n.map((o) => $.createElement(Jb, { 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 }))); -}; -hf.displayName = "MarkerDefinitions"; -var ty = Ge(hf); -const ny = (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 -}), pf = ({ 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: p, onReconnectStart: h, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { - const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: S, width: w, height: E, connectionMode: M, nodeInternals: _, onError: L } = Ue(ny, ut), R = Gb(t, _, n); - return w ? $.createElement( - $.Fragment, - null, - R.map(({ level: j, edges: P, isMaxLevel: V }) => $.createElement( + /* @__PURE__ */ O.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_20572_494912)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", + fill: "#FFF200", + }), + ), + Wu = (e) => + /* @__PURE__ */ O.createElement( "svg", - { key: j, style: { zIndex: j }, width: w, height: E, className: "react-flow__edges react-flow__container" }, - V && $.createElement(ty, { defaultColor: e, rfId: o }), - $.createElement("g", null, P.map((k) => { - const [N, T, D] = Bu(_.get(k.source)), [I, F, v] = Bu(_.get(k.target)); - if (!D || !v) - return null; - let z = k.type || "default"; - r[z] || (L == null || L("011", Qt.error011(z)), z = "default"); - const B = r[z] || r.default, A = M === no.Strict ? F.target : (F.target ?? []).concat(F.source ?? []), W = Pu(T.source, k.sourceHandle), Y = Pu(A, k.targetHandle), K = (W == null ? void 0 : W.position) || ie.Bottom, Q = (Y == null ? void 0 : Y.position) || ie.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof p < "u" && (oe || C && typeof oe > "u"); - if (!W || !Y) - return L == null || L("008", Qt.error008(W, k)), null; - const { sourceX: ge, sourceY: J, targetX: ke, targetY: ae } = Zb(N, W, K, I, Y, Q); - return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, a]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ae, sourcePosition: K, targetPosition: Q, elementsSelectable: S, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: p, onReconnectStart: h, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); - })) - )), - y - ) : null; -}; -pf.displayName = "EdgeRenderer"; -var oy = Ge(pf); -const ry = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function ay({ children: e }) { - const t = Ue(ry); - return $.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); -} -function iy(e) { - const t = en(), n = he(!1); - ue(() => { - !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); - }, [e, t.viewportInitialized]); -} -const ly = { - [ie.Left]: ie.Right, - [ie.Right]: ie.Left, - [ie.Top]: ie.Bottom, - [ie.Bottom]: ie.Top -}, gf = ({ nodeId: e, handleType: t, style: n, type: o = Ln.Bezier, CustomComponent: r, connectionStatus: a }) => { - var E, M, _; - const { fromNode: i, handleId: l, toX: s, toY: u, connectionMode: c } = Ue(Te((L) => ({ - fromNode: L.nodeInternals.get(e), - handleId: L.connectionHandleId, - toX: (L.connectionPosition.x - L.transform[0]) / L.transform[2], - toY: (L.connectionPosition.y - L.transform[1]) / L.transform[2], - connectionMode: L.connectionMode - }), [e]), ut), d = (E = i == null ? void 0 : i[Ye]) == null ? void 0 : E.handleBounds; - let p = d == null ? void 0 : d[t]; - if (c === no.Loose && (p = p || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !p) - return null; - const h = l ? p.find((L) => L.id === l) : p[0], m = h ? h.x + h.width / 2 : (i.width ?? 0) / 2, b = h ? h.y + h.height / 2 : i.height ?? 0, y = (((M = i.positionAbsolute) == null ? void 0 : M.x) ?? 0) + m, g = (((_ = i.positionAbsolute) == null ? void 0 : _.y) ?? 0) + b, x = h == null ? void 0 : h.position, C = x ? ly[x] : null; - if (!x || !C) - return null; - if (r) - return $.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: i, fromHandle: h, fromX: y, fromY: g, toX: s, toY: u, fromPosition: x, toPosition: C, connectionStatus: a }); - let S = ""; - const w = { - sourceX: y, - sourceY: g, - sourcePosition: x, - targetX: s, - targetY: u, - targetPosition: C - }; - return o === Ln.Bezier ? [S] = H3(w) : o === Ln.Step ? [S] = Ts({ - ...w, - borderRadius: 0 - }) : o === Ln.SmoothStep ? [S] = Ts(w) : o === Ln.SimpleBezier ? [S] = z3(w) : S = `M${y},${g} ${s},${u}`, $.createElement("path", { d: S, fill: "none", className: "react-flow__connection-path", style: n }); -}; -gf.displayName = "ConnectionLine"; -const sy = (e) => ({ - nodeId: e.connectionNodeId, - handleType: e.connectionHandleType, - nodesConnectable: e.nodesConnectable, - connectionStatus: e.connectionStatus, - width: e.width, - height: e.height -}); -function cy({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Ue(sy, ut); - return !(r && a && l && i) ? null : $.createElement( - "svg", - { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, - $.createElement( - "g", - { className: bt(["react-flow__connection", u]) }, - $.createElement(gf, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) - ) - ); -} -function $u(e, t) { - const n = he(null), o = rt(); - return Ve(() => { - var a, i; - if (process.env.NODE_ENV === "development") { - const l = Object.keys(e); - ut(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", Qt.error002())), n.current = l; - } - return t(e); - }, [e]); -} -const mf = ({ 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: p, onNodeContextMenu: h, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: S, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, deleteKeyCode: j, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, preventScrolling: F, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: We, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Xe, onReconnectEnd: Ot, reconnectRadius: tn, noDragClassName: Nt, noWheelClassName: nn, noPanClassName: St, elevateEdgesOnSelect: $t, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { - const xe = $u(e, Ib), de = $u(t, Wb); - return iy(a), $.createElement( - Fb, - { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: j, selectionKeyCode: w, selectionOnDrag: E, selectionMode: M, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: _, panActivationKeyCode: L, zoomActivationKeyCode: R, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: A, panOnScrollSpeed: W, panOnScrollMode: Y, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: D, maxZoom: I, onSelectionContextMenu: m, preventScrolling: F, noDragClassName: Nt, noWheelClassName: nn, noPanClassName: St, disableKeyboardA11y: Dt }, - $.createElement( - ay, - null, - $.createElement( - oy, - { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ae, onEdgeMouseEnter: _e, onEdgeMouseMove: We, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Xe, onReconnectEnd: Ot, reconnectRadius: tn, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!$t, disableKeyboardA11y: Dt, rfId: se }, - $.createElement(cy, { style: x, type: g, component: C, containerStyle: S }) + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", + fill: "#E7A427", + }), + ), + Dv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#FDF6EA", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", + fill: "#E7A427", + }), + ), + Lv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4B473F", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", + fill: "#E7A427", + }), + ), + oi = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", + fill: "#FF754C", + }), + ), + Zu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", + fill: "#01CD8C", + }), + ), + Uu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", + fill: "#247EFE", + }), + ), + qu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_20572_494884)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", + fill: "#EF5DA8", + stroke: "#EF5DA8", + strokeWidth: 0.2, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", + fill: "#EF5DA8", + }), ), - $.createElement("div", { className: "react-flow__edgelabel-renderer" }), - $.createElement(Pb, { nodeTypes: xe, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: p, onNodeContextMenu: h, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) - ) - ); -}; -mf.displayName = "GraphView"; -var uy = Ge(mf); -const js = [ - [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], - [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] -], An = { - 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: js, - nodeExtent: js, - nodesSelectionActive: !1, - userSelectionActive: !1, - userSelectionRect: null, - connectionNodeId: null, - connectionHandleId: null, - connectionHandleType: "source", - connectionPosition: { x: 0, y: 0 }, - connectionStatus: null, - connectionMode: no.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: j3, - isValidConnection: void 0 -}, dy = () => K9((e, t) => ({ - ...An, - setNodes: (n) => { - const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: a } = t(); - e({ nodeInternals: Hl(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 ? Hl(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: p } = new window.DOMMatrixReadOnly(d.transform), h = n.reduce((b, y) => { - const g = r.get(y.id); - if (g != null && g.hidden) - r.set(g.id, { - ...g, - [Ye]: { - ...g[Ye], - // we need to reset the handle bounds when the node is hidden - // in order to force a new observation when the node is shown again - handleBounds: void 0 - } - }); - else if (g) { - const x = Nc(y.nodeElement); - !!(x.width && x.height && (g.width !== x.width || g.height !== x.height || y.forceUpdate)) && (r.set(g.id, { - ...g, - [Ye]: { - ...g[Ye], - handleBounds: { - source: Ru(".source", y.nodeElement, p, u), - target: Ru(".target", y.nodeElement, p, u) - } + /* @__PURE__ */ O.createElement("path", { + d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_20572_494884" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + transform: "translate(10 6)", + }), + ), + ), + ), + Yu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", + fill: "#9B8AFF", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", + fill: "#9B8AFF", + }), + ), + Fv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#E6EEF9", + }), + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_20565_492827", + style: { + maskType: "luminance", }, - ...x - }), b.push({ - id: g.id, - type: "dimensions", - dimensions: x - })); - } - return b; - }, []); - of(r, u); - const m = i || a && !i && rf(t, { initial: !0, ...l }); - e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (h == null ? void 0 : h.length) > 0 && (o == null || o(h)); - }, - 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 = _b(n, l()), c = Hl(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) => Dn(s, !0)) : (i = go(a(), n), l = go(r, [])), aa({ - 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) => Dn(s, !0)) : (i = go(r, n), l = go(a(), [])), aa({ - 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, Dn(c.id, !1))), u = l.map((c) => Dn(c.id, !1)); - aa({ - 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) => Dn(l.id, !1)), i = n.filter((l) => l.selected).map((l) => Dn(l.id, !1)); - aa({ - changedNodes: a, - changedEdges: i, - get: t, - set: e - }); - }, - setNodeExtent: (n) => { - const { nodeInternals: o } = t(); - o.forEach((r) => { - r.positionAbsolute = Dc(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 = Fn.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: An.connectionNodeId, - connectionHandleId: An.connectionHandleId, - connectionHandleType: An.connectionHandleType, - connectionStatus: An.connectionStatus, - connectionStartHandle: An.connectionStartHandle, - connectionEndHandle: An.connectionEndHandle - }), - reset: () => e({ ...An }) -}), Object.is), Lr = ({ children: e }) => { - const t = he(null); - return t.current || (t.current = dy()), $.createElement(Tm, { value: t.current }, e); -}; -Lr.displayName = "ReactFlowProvider"; -const bf = ({ children: e }) => tt(li) ? $.createElement($.Fragment, null, e) : $.createElement(Lr, null, e); -bf.displayName = "ReactFlowWrapper"; -const fy = { - input: K3, - default: Ds, - output: Q3, - group: Pc -}, hy = { - default: Va, - straight: Rc, - step: Fc, - smoothstep: si, - simplebezier: jc -}, py = [0, 0], gy = [15, 15], my = { x: 0, y: 0, zoom: 1 }, by = { - width: "100%", - height: "100%", - overflow: "hidden", - position: "relative", - zIndex: 0 -}, ci = Js(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = fy, edgeTypes: i = hy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onConnect: h, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: j, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, connectionMode: F = no.Strict, connectionLineType: v = Ln.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, deleteKeyCode: W = "Backspace", selectionKeyCode: Y = "Shift", selectionOnDrag: K = !1, selectionMode: Q = vr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = Pa() ? "Meta" : "Control", zoomActivationKeyCode: U = Pa() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = gy, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ae = !0, nodesDraggable: _e, nodesConnectable: We, nodesFocusable: Ee, nodeOrigin: le = py, edgesFocusable: Xe, edgesUpdatable: Ot, elementsSelectable: tn, defaultViewport: Nt = my, minZoom: nn = 0.5, maxZoom: St = 2, translateExtent: $t = js, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: $e = 0.5, panOnScrollMode: nt = qn.Free, zoomOnDoubleClick: et = !0, panOnDrag: ht = !0, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: on, children: io, onEdgeContextMenu: Zt, onEdgeDoubleClick: Hr, onEdgeMouseEnter: bi, onEdgeMouseMove: Pr, onEdgeMouseLeave: yi, onEdgeUpdate: Br, onEdgeUpdateStart: Vr, onEdgeUpdateEnd: Ci, onReconnect: vi, onReconnectStart: $r, onReconnectEnd: Wr, reconnectRadius: xi = 10, edgeUpdaterRadius: wi = 10, onNodesChange: Ei, onEdgesChange: Si, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Ie = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: st, elevateNodesOnSelect: Ze = !0, elevateEdgesOnSelect: qe = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: _n = !0, autoPanOnNodeDrag: gn = !0, connectionRadius: dt = 20, isValidConnection: Vo, onError: ki, style: _i, id: w1, nodeDragThreshold: z5, ...H5 }, P5) => { - const Ai = w1 || "1"; - return $.createElement( - "div", - { ...H5, style: { ..._i, ...by }, ref: P5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: w1 }, - $.createElement( - bf, - null, - $.createElement(uy, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: p, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: S, onNodeContextMenu: w, onNodeDoubleClick: E, nodeTypes: a, edgeTypes: i, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: A, selectionKeyCode: Y, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ae, defaultViewport: Nt, translateExtent: $t, minZoom: nn, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: et, panOnScroll: de, panOnScrollSpeed: $e, panOnScrollMode: nt, panOnDrag: ht, onPaneClick: it, onPaneMouseEnter: Se, onPaneMouseMove: Wt, onPaneMouseLeave: lt, onPaneScroll: kn, onPaneContextMenu: on, onSelectionContextMenu: T, onSelectionStart: D, onSelectionEnd: I, onEdgeContextMenu: Zt, onEdgeDoubleClick: Hr, onEdgeMouseEnter: bi, onEdgeMouseMove: Pr, onEdgeMouseLeave: yi, onReconnect: vi ?? Br, onReconnectStart: $r ?? Vr, onReconnectEnd: Wr ?? Ci, reconnectRadius: xi ?? wi, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: qe, rfId: Ai, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), - $.createElement(ib, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: h, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: We, nodesFocusable: Ee, edgesFocusable: Xe, edgesUpdatable: Ot, elementsSelectable: tn, elevateNodesOnSelect: Ze, minZoom: nn, maxZoom: St, nodeExtent: Z, onNodesChange: Ei, onEdgesChange: Si, snapToGrid: ge, snapGrid: J, connectionMode: F, translateExtent: $t, connectOnClick: Ie, defaultEdgeOptions: st, fitView: fe, fitViewOptions: Ae, onNodesDelete: R, onEdgesDelete: j, onNodeDragStart: M, onNodeDrag: _, onNodeDragStop: L, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: Ai, autoPanOnConnect: _n, autoPanOnNodeDrag: gn, onError: ki, connectionRadius: dt, isValidConnection: Vo, nodeDragThreshold: z5 }), - $.createElement(rb, { onSelectionChange: P }), - io, - $.createElement(Nm, { proOptions: ye, position: we }), - $.createElement(db, { rfId: Ai, disableKeyboardA11y: pt }) - ) - ); -}); -ci.displayName = "ReactFlow"; -function yy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, - $.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) - ); -} -function Cy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, - $.createElement("path", { d: "M0 0h32v4.2H0z" }) - ); -} -function vy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, - $.createElement("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }) - ); -} -function xy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }) - ); -} -function wy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z" }) - ); -} -const nr = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); -nr.displayName = "ControlButton"; -const Ey = (e) => ({ - isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, - minZoomReached: e.transform[2] <= e.minZoom, - maxZoomReached: e.transform[2] >= e.maxZoom -}), yf = ({ 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 p = rt(), [h, m] = ce(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ue(Ey, ut), { zoomIn: x, zoomOut: C, fitView: S } = en(); - if (ue(() => { - m(!0); - }, []), !h) - return null; - const w = () => { - x(), a == null || a(); - }, E = () => { - C(), i == null || i(); - }, M = () => { - S(r), l == null || l(); - }, _ = () => { - p.setState({ - nodesDraggable: !b, - nodesConnectable: !b, - elementsSelectable: !b - }), s == null || s(!b); - }; - return $.createElement( - O3, - { className: bt(["react-flow__controls", u]), position: d, style: e, "data-testid": "rf__controls" }, - t && $.createElement( - $.Fragment, - null, - $.createElement( - nr, - { onClick: w, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, - $.createElement(yy, null) + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), ), - $.createElement( - nr, - { onClick: E, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, - $.createElement(Cy, null) - ) + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_20565_492827)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", + fill: "#004FBF", + }), ), - n && $.createElement( - nr, - { className: "react-flow__controls-fitview", onClick: M, title: "fit view", "aria-label": "fit view" }, - $.createElement(vy, null) + Rv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M18.54 3.24828H5.46C4.24 3.24828 3.25 4.23828 3.25 5.45828C3.25 5.98828 3.44 6.49828 3.78 6.89828L8.95 12.9283C9.14 13.1583 9.25 13.4483 9.25 13.7383V19.3783C9.25 19.9883 9.56 20.5483 10.08 20.8683C10.36 21.0383 10.68 21.1283 11 21.1283C11.27 21.1283 11.53 21.0683 11.78 20.9383L13.78 19.9383C14.38 19.6383 14.75 19.0383 14.75 18.3683V13.7283C14.75 13.4283 14.86 13.1383 15.05 12.9183L20.22 6.88828C20.56 6.48828 20.75 5.97828 20.75 5.44828C20.75 4.22828 19.76 3.23828 18.54 3.23828V3.24828ZM19.08 5.91828L13.91 11.9483C13.48 12.4483 13.25 13.0783 13.25 13.7383V18.3783C13.25 18.4783 13.2 18.5583 13.11 18.5983L11.11 19.5983C11 19.6583 10.91 19.6183 10.87 19.5883C10.83 19.5583 10.75 19.4983 10.75 19.3783V13.7383C10.75 13.0783 10.52 12.4483 10.09 11.9483L4.92 5.91828C4.81 5.78828 4.75 5.62828 4.75 5.45828C4.75 5.06828 5.07 4.74828 5.46 4.74828H18.54C18.93 4.74828 19.25 5.06828 19.25 5.45828C19.25 5.62828 19.19 5.78828 19.08 5.91828Z", + fill: "#247EFE", + }), ), - o && $.createElement(nr, { className: "react-flow__controls-interactive", onClick: _, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(wy, null) : $.createElement(xy, null)), - c - ); -}; -yf.displayName = "Controls"; -var Vc = Ge(yf), Kt; -(function(e) { - e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; -})(Kt || (Kt = {})); -function Sy({ color: e, dimensions: t, lineWidth: n }) { - return $.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); -} -function ky({ color: e, radius: t }) { - return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); -} -const _y = { - [Kt.Dots]: "#91919a", - [Kt.Lines]: "#eee", - [Kt.Cross]: "#e2e2e2" -}, Ay = { - [Kt.Dots]: 1, - [Kt.Lines]: 1, - [Kt.Cross]: 6 -}, My = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); -function Cf({ - id: e, - variant: t = Kt.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 = he(null), { transform: c, patternId: d } = Ue(My, ut), p = i || _y[t], h = o || Ay[t], m = t === Kt.Dots, b = t === Kt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = h * c[2], C = b ? [x, x] : g, S = m ? [x / a, x / a] : [C[0] / a, C[1] / a]; - return $.createElement( - "svg", - { className: bt(["react-flow__background", s]), style: { - ...l, - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 - }, ref: u, "data-testid": "rf__background" }, - $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${S[0]},-${S[1]})` }, m ? $.createElement(ky, { color: p, radius: x / a }) : $.createElement(Sy, { dimensions: C, color: p, lineWidth: r })), - $.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) - ); -} -Cf.displayName = "Background"; -var $c = Ge(Cf); -const Wc = "columns", Zc = "exposure", Uc = "tables", Ty = "feedback", vf = "settings", Cn = "column-", xf = "see-more-", Oy = 5, Ny = 100, $l = 100, jr = 300, wo = 80, Dy = 12, Ly = wo, wf = 30, Wu = 4, jy = 280, Fy = 80, Ry = 80, Iy = 250, Fs = 0.05, Ef = "#7A899E", qc = "#E38E00", Yc = { - Original: "#FDD835", - Alias: "#40C8AE", - Transformation: "#FF754C", - Unchanged: "#BC3FBC", - "Not sure": "#247efe", - "Non select": "#BC3FBC" -}, ui = { - stroke: Ef, - strokeWidth: 1 -}, Gc = { - stroke: qc, - strokeWidth: 2 -}, Kc = { - stroke: qc, - strokeWidth: 1, - strokeDasharray: 10 -}, Sf = { - type: "arrow", - strokeWidth: 1, - width: 24, - height: 24, - color: Ef -}, kf = { - type: "arrow", - strokeWidth: 1, - width: 16, - height: 16, - color: qc -}, vt = (e) => e.id.startsWith(Cn), la = (e) => e.id.startsWith(xf), En = (e) => !e.id.startsWith(Cn), Xc = (e, t, n, o, r, a = !1) => { - const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? Rs(e, t, a) : Rs(t, e, a); - return { - id: `${i}-${l}`, - source: i, - target: l, - sourceHandle: s, - targetHandle: u, - style: ui, - markerEnd: Sf, - type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default" - }; -}, Lo = (e, t, n) => ({ - id: e.table, - data: { ...e, level: t, parent: n }, - position: { x: 100, y: 100 }, - type: "table", - width: jr, - height: wo -}), _f = (e, t, n, o) => ({ - id: e, - data: { ...o, level: t, parent: n, id: e }, - position: { x: 100, y: 100 }, - type: "operator", - width: jr, - height: wo -}), $a = (e, t, n, o, r) => ({ - id: wr(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: wf -}), Wa = (e, t, n, o, r, a) => { - const i = di(e, t), [l, s] = Rs( - n, - o, - !1 - ); - return { - id: i, - data: { type: r }, - source: e, - target: t, - sourceHandle: l, - targetHandle: s, - style: r === "direct" ? Gc : Kc, - zIndex: 1e3, - markerEnd: kf, - type: n === o ? "smoothstep" : "default", - hidden: !a[r] - }; -}, di = (e, t) => Cn + `${e}-${t}`, Za = (e, t) => { - e.style = { opacity: t ? 1 : 0.5 }; -}, jo = (e, t) => { - var n; - e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Kc : Gc : ui, e.markerEnd = t ? kf : Sf; -}, Rs = (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"], zy = (e, t) => { - const n = {}; - e.forEach((a) => { - En(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 (vt(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 }; -}, wr = (e, t) => Cn + `${e}/${t}`, Ua = (e, t) => xf + e + "-" + (t ? "1" : "0"), Zu = (e, t) => { - for (const n of e) - if (n[0] === t[0] && n[1] === t[1]) return !0; - return !1; -}, Uu = (e, t, n) => { - e[t] = e[t] || [], e[t].push(...n); -}, wa = (e, t = 1) => e * (wf + Wu) + t * Wu, qu = (e, t) => (n) => e <= n && n <= t, Hy = (e, t) => (n) => e < n && n < t, Yu = (e, t) => { - const n = e.findIndex((o) => o.id === t); - n !== -1 && e.splice(n, 1); -}, Gu = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Er = (e, t, n = !0) => { - e.forEach((o) => { - vt(o) || (o.hidden = !t, n && jo(o, t)); - }); -}, Sr = (e, t, n = !0) => { - e.forEach((o) => { - vt(o) && (o.hidden = !t, n && jo(o, t)); - }); -}; -function Af(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 Py = "_table_node_1n1a2_1", By = "_header_1n1a2_8", Vy = "_collapse_1n1a2_16", $y = "_selected_1n1a2_21", Wy = "_content_1n1a2_24", Zy = "_table_header_1n1a2_37", Uy = "_seed_1n1a2_47", qy = "_model_1n1a2_52", Yy = "_source_1n1a2_57", Gy = "_exposure_1n1a2_62", Ky = "_snapshot_1n1a2_67", Xy = "_metrics_1n1a2_72", Qy = "_macros_1n1a2_77", Jy = "_analysis_1n1a2_82", eC = "_node_icon_1n1a2_87", tC = "_dialect_icon_1n1a2_99", nC = "_table_handle_1n1a2_107", oC = "_see_more_node_1n1a2_121", rC = "_table_card_1n1a2_132", aC = "_disabled_1n1a2_144", iC = "_column_card_1n1a2_149", lC = "_edit_icon_1n1a2_162", sC = "_active_1n1a2_170", cC = "_expand_lineage_icon_1n1a2_174", uC = "_processing_div_1n1a2_187", dC = "_gif_img_1n1a2_190", fC = "_card_1n1a2_195", hC = "_column_node_1n1a2_210", pC = "_column_name_1n1a2_221", gC = "_column_top_right_1n1a2_226", mC = "_divider_1n1a2_234", bC = "_table_details_header_1n1a2_240", yC = "_verticle_divider_1n1a2_248", CC = "_low_confidence_1n1a2_253", vC = "_high_confidence_1n1a2_260", xC = "_alert_icon_1n1a2_267", wC = "_menu_card_1n1a2_273", EC = "_menu_card_container_1n1a2_278", SC = "_table_details_tabs_1n1a2_285", kC = "_tab_1n1a2_1", _C = "_table_node_pill_1n1a2_305", AC = "_icon_1n1a2_315", MC = "_node-checkbox_1n1a2_322", TC = "_non_select_node_checkbox_1n1a2_322", OC = "_select_node_checkbox_1n1a2_322", NC = "_node_extra_info_1n1a2_338", DC = "_help_body_1n1a2_342", LC = "_feedback_body_1n1a2_346", jC = "_cancel_btn_1n1a2_349", FC = "_expand_nav_1n1a2_354", RC = "_expand_nav_btn_1n1a2_362", IC = "_lineage_legend_1n1a2_389", zC = "_column_legend_1n1a2_406", HC = "_dot_1n1a2_422", PC = "_model_views_type_1n1a2_434", BC = "_close_button_1n1a2_443", VC = "_op_node_1n1a2_456", $C = "_light_mode_1n1a2_475", WC = "_dark_mode_1n1a2_478", ZC = "_highlighted_1n1a2_481", UC = "_cost_data_1n1a2_487", qC = "_op_type_text_1n1a2_502", YC = "_node_stats_1n1a2_505", GC = "_savings-performance_1n1a2_521", KC = "_performance_1n1a2_521", XC = "_savings_1n1a2_521", QC = "_value_1n1a2_536", JC = "_percent_1n1a2_539", ev = "_static_table_node_1n1a2_554", tv = "_details_btn_1n1a2_618", nv = "_enable_1n1a2_627", ov = "_disable_1n1a2_144", rv = "_code_editor_container_1n1a2_638", av = "_code_editor_1n1a2_638", iv = "_tooltip_container_1n1a2_652", lv = "_tooltip_text_1n1a2_658", sv = "_views_type_badge_1n1a2_675", cv = "_column_code_icon_1n1a2_706", uv = "_edge_select_1n1a2_722", dv = "_edge_non_select_1n1a2_732", fv = "_modal_views_code_container_1n1a2_742", hv = "_custom_node_code_block_1n1a2_747", pv = "_reset_btn_1n1a2_759", gv = "_error_tooltip_1n1a2_765", G = { - table_node: Py, - header: By, - collapse: Vy, - selected: $y, - content: Wy, - table_header: Zy, - seed: Uy, - model: qy, - source: Yy, - exposure: Gy, - snapshot: Ky, - metrics: Xy, - macros: Qy, - analysis: Jy, - node_icon: eC, - dialect_icon: tC, - table_handle: nC, - see_more_node: oC, - table_card: rC, - disabled: aC, - column_card: iC, - edit_icon: lC, - active: sC, - expand_lineage_icon: cC, - processing_div: uC, - gif_img: dC, - card: fC, - column_node: hC, - default: "_default_1n1a2_218", - column_name: pC, - column_top_right: gC, - divider: mC, - table_details_header: bC, - verticle_divider: yC, - low_confidence: CC, - high_confidence: vC, - alert_icon: xC, - menu_card: wC, - menu_card_container: EC, - table_details_tabs: SC, - tab: kC, - table_node_pill: _C, - icon: AC, - "node-checkbox": "_node-checkbox_1n1a2_322", - nodeCheckbox: MC, - non_select_node_checkbox: TC, - select_node_checkbox: OC, - node_extra_info: NC, - help_body: DC, - feedback_body: LC, - cancel_btn: jC, - expand_nav: FC, - expand_nav_btn: RC, - lineage_legend: IC, - column_legend: zC, - dot: HC, - model_views_type: PC, - close_button: BC, - op_node: VC, - light_mode: $C, - dark_mode: WC, - highlighted: ZC, - cost_data: UC, - op_type_text: qC, - node_stats: YC, - "savings-performance": "_savings-performance_1n1a2_521", - savingsPerformance: GC, - performance: KC, - savings: XC, - value: QC, - percent: JC, - static_table_node: ev, - details_btn: tv, - enable: nv, - disable: ov, - code_editor_container: rv, - code_editor: av, - tooltip_container: iv, - tooltip_text: lv, - views_type_badge: sv, - column_code_icon: cv, - edge_select: uv, - edge_non_select: dv, - modal_views_code_container: fv, - custom_node_code_block: hv, - reset_btn: pv, - error_tooltip: gv -}, Mf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), Tf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), sa = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Is = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), zs = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Qc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), Of = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Ku = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), ca = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Xu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), Ju = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), e0 = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "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" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M22 13.7945C22 15.9444 21.3018 17.985 19.9808 19.6963C19.7202 20.0341 19.2301 20.0996 18.8864 19.8449C18.5424 19.5898 18.4745 19.1097 18.7346 18.7726C19.8487 17.3295 20.4375 15.6081 20.4375 13.7945C20.4375 9.22487 16.6608 5.5311 12 5.5311C7.336 5.5311 3.5625 9.22772 3.5625 13.7945C3.5625 15.6081 4.15134 17.3295 5.26523 18.7726C5.52554 19.1097 5.45764 19.5898 5.11356 19.8449C4.76932 20.1 4.27951 20.0335 4.01904 19.6963C2.69824 17.985 2 15.9444 2 13.7945C2 8.37828 6.47571 4 12 4C17.5273 4 22 8.38127 22 13.7945ZM16.9501 9.18405C17.2551 9.48295 17.2551 9.9677 16.9501 10.2666L14.4036 12.762C14.6132 13.1407 14.7325 13.5743 14.7325 14.0345C14.7325 15.5111 13.5067 16.7122 12 16.7122C10.4932 16.7122 9.26746 15.5111 9.26746 14.0345C9.26746 12.5582 10.4932 11.3569 12 11.3569C12.4698 11.3569 12.9122 11.4738 13.2987 11.6793L15.8452 9.18391C16.1504 8.88501 16.6449 8.88501 16.9501 9.18405ZM13.17 14.0347C13.17 13.4025 12.6451 12.8881 12 12.8881C11.3549 12.8881 10.83 13.4025 10.83 14.0347C10.83 14.6669 11.3549 15.1812 12 15.1812C12.6451 15.1812 13.17 14.6669 13.17 14.0347Z", fill: "#247EFE" })), Yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), Gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), ex = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", fill: "#247EFE" })), tx = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), nx = "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", ox = "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", rx = "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==", ax = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Jc = ({ viewsType: e }) => /* @__PURE__ */ f.jsx(Sn, { title: e, children: /* @__PURE__ */ f.jsx( - "div", - { - style: { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - "--views-color": Yc[e] - }, - className: G.views_type_badge, - children: e[0] - } -) }), ix = () => { - const [e, t] = ce(!1); - ue(() => { - 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( - Re, + jv = (e) => + /* @__PURE__ */ O.createElement( + "svg", { - id: "lineageLegend", - className: G.lineage_legend, - type: "button", - onClick: n, - children: [ - "Legend", - e ? /* @__PURE__ */ f.jsx(Tv, {}) : /* @__PURE__ */ f.jsx(Mv, {}) - ] - } + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M18.9296 14.4993C18.6563 14.5005 18.384 14.5337 18.1184 14.5982L14.5404 8.39545C15.0097 7.89859 15.3231 7.27512 15.442 6.60208C15.5608 5.92904 15.4799 5.23592 15.2092 4.60837C14.9385 3.98081 14.4899 3.44632 13.9187 3.07092C13.3476 2.69553 12.679 2.49569 11.9955 2.49609C11.3121 2.4965 10.6437 2.69713 10.073 3.07319C9.50234 3.44926 9.05434 3.98428 8.78437 4.61216C8.51439 5.24003 8.43429 5.93325 8.55395 6.60615C8.67361 7.27905 8.98779 7.90214 9.45767 8.39845L5.8812 14.5986C5.21597 14.4366 4.51782 14.4732 3.8732 14.704C3.22858 14.9347 2.66579 15.3495 2.25452 15.8969C1.84325 16.4443 1.60157 17.1003 1.55938 17.7837C1.5172 18.467 1.67638 19.1478 2.01721 19.7416C2.35804 20.3354 2.86554 20.8162 3.47689 21.1245C4.08824 21.4328 4.77659 21.555 5.45669 21.476C6.1368 21.397 6.7788 21.1203 7.3032 20.68C7.82761 20.2398 8.21138 19.6555 8.40701 18.9993H15.5928C15.7796 19.6194 16.1351 20.1754 16.6197 20.6051C17.1042 21.0348 17.6987 21.3213 18.3367 21.4326C18.9747 21.5439 19.6311 21.4756 20.2325 21.2354C20.8339 20.9952 21.3567 20.5925 21.7425 20.0722C22.1282 19.552 22.3617 18.9348 22.4169 18.2895C22.4721 17.6442 22.3468 16.9963 22.0549 16.4182C21.7631 15.84 21.3163 15.3544 20.7644 15.0155C20.2125 14.6767 19.5772 14.498 18.9296 14.4993ZM11.9999 4.49933C12.2128 4.49996 12.423 4.54591 12.6167 4.63412C12.8104 4.72233 12.9831 4.85078 13.1233 5.01093C13.2635 5.17107 13.368 5.35924 13.4299 5.56291C13.4917 5.76658 13.5094 5.98108 13.4819 6.19214C13.4544 6.4032 13.3822 6.60598 13.2703 6.78699C13.1583 6.96799 13.009 7.12308 12.8324 7.24192C12.6559 7.36076 12.456 7.44063 12.2462 7.47622C12.0363 7.51181 11.8213 7.50231 11.6154 7.44833C11.4858 7.41393 11.3617 7.36124 11.247 7.29184C10.9617 7.12672 10.7388 6.87203 10.6131 6.5673C10.4873 6.26257 10.4657 5.92485 10.5515 5.60656C10.6373 5.28827 10.8258 5.00721 11.0877 4.807C11.3496 4.6068 11.6703 4.49865 11.9999 4.49933ZM11.1864 9.40509C11.209 9.4104 11.2335 9.4082 11.2563 9.41309C11.7482 9.52841 12.26 9.52806 12.7517 9.41209C12.7717 9.40776 12.7935 9.40977 12.8134 9.40509L16.3866 15.5989C16.3737 15.6126 16.3658 15.6299 16.3532 15.6437C16.1806 15.8293 16.0286 16.0329 15.8999 16.2512L15.8992 16.2526C15.7761 16.4702 15.6765 16.7003 15.6022 16.939C15.5955 16.96 15.5824 16.9782 15.5761 16.9993H8.42374C8.41774 16.9795 8.40549 16.9623 8.3992 16.9426C8.24348 16.4521 7.98155 16.002 7.63205 15.6242C7.62485 15.6165 7.62045 15.6066 7.61319 15.5989L11.1864 9.40509ZM5.07022 19.4993C4.67239 19.4993 4.29086 19.3413 4.00956 19.06C3.72825 18.7787 3.57022 18.3972 3.57022 17.9993C3.57022 17.6015 3.72825 17.22 4.00956 16.9387C4.29086 16.6574 4.67239 16.4993 5.07022 16.4993C5.33569 16.4971 5.59649 16.5691 5.82315 16.7073C6.10846 16.8724 6.33128 17.1271 6.45704 17.4318C6.58279 17.7365 6.60443 18.0741 6.51861 18.3924C6.43278 18.7107 6.24429 18.9917 5.98239 19.1918C5.72049 19.392 5.39984 19.5001 5.07022 19.4993ZM18.9296 19.4993C18.5986 19.5001 18.2767 19.3911 18.0143 19.1894C17.7519 18.9878 17.5637 18.7048 17.4792 18.3848C17.3947 18.0648 17.4186 17.7258 17.5473 17.4209C17.676 17.1159 17.9021 16.8623 18.1903 16.6995C18.4135 16.5656 18.6694 16.4963 18.9296 16.4993C19.3274 16.4993 19.709 16.6574 19.9903 16.9387C20.2716 17.22 20.4296 17.6015 20.4296 17.9993C20.4296 18.3972 20.2716 18.7787 19.9903 19.06C19.709 19.3413 19.3274 19.4993 18.9296 19.4993Z", + fill: "#247EFE", + }), + ), + Iv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", + stroke: "#247EFE", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", + stroke: "#247EFE", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", + fill: "#247EFE", + }), + ), + zv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", + fill: "#247EFE", + }), + ), + Hv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M22 13.7945C22 15.9444 21.3018 17.985 19.9808 19.6963C19.7202 20.0341 19.2301 20.0996 18.8864 19.8449C18.5424 19.5898 18.4745 19.1097 18.7346 18.7726C19.8487 17.3295 20.4375 15.6081 20.4375 13.7945C20.4375 9.22487 16.6608 5.5311 12 5.5311C7.336 5.5311 3.5625 9.22772 3.5625 13.7945C3.5625 15.6081 4.15134 17.3295 5.26523 18.7726C5.52554 19.1097 5.45764 19.5898 5.11356 19.8449C4.76932 20.1 4.27951 20.0335 4.01904 19.6963C2.69824 17.985 2 15.9444 2 13.7945C2 8.37828 6.47571 4 12 4C17.5273 4 22 8.38127 22 13.7945ZM16.9501 9.18405C17.2551 9.48295 17.2551 9.9677 16.9501 10.2666L14.4036 12.762C14.6132 13.1407 14.7325 13.5743 14.7325 14.0345C14.7325 15.5111 13.5067 16.7122 12 16.7122C10.4932 16.7122 9.26746 15.5111 9.26746 14.0345C9.26746 12.5582 10.4932 11.3569 12 11.3569C12.4698 11.3569 12.9122 11.4738 13.2987 11.6793L15.8452 9.18391C16.1504 8.88501 16.6449 8.88501 16.9501 9.18405ZM13.17 14.0347C13.17 13.4025 12.6451 12.8881 12 12.8881C11.3549 12.8881 10.83 13.4025 10.83 14.0347C10.83 14.6669 11.3549 15.1812 12 15.1812C12.6451 15.1812 13.17 14.6669 13.17 14.0347Z", + fill: "#247EFE", + }), + ), + Pv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", + fill: "#247EFE", + }), + ), + Bv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", + fill: "white", + }), + ), + Vv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", + fill: "#247EFE", + }), + ), + $v = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.4, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.4, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.6, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18.1372 15.5742L5.90025 8.50921", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.90015 15.5703L18.1371 8.5053", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + ), + Wv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", + fill: "#247EFE", + }), + ), + Zv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 40 40", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", + fill: "white", + }), + ), + Uv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", + fill: "#247EFE", + }), ), - /* @__PURE__ */ f.jsx( - q0, + qv = (e) => + /* @__PURE__ */ O.createElement( + "svg", { - flip: !0, - target: "lineageLegend", - isOpen: e, - className: G.column_legend, - placement: "top", - children: /* @__PURE__ */ f.jsxs(Y0, { children: [ - Object.keys(Yc).map((o) => /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ f.jsx(Jc, { 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: G.column_code_icon, children: /* @__PURE__ */ f.jsx(Ed, {}) }), - /* @__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: G.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: G.edge_non_select, children: /* @__PURE__ */ f.jsx("div", {}) }), - /* @__PURE__ */ f.jsx("div", { children: "Non select" }) - ] }) - ] }) - } - ) - ] }); -}; -var Nf = { exports: {} }; + width: "100%", + height: "100%", + viewBox: "0 0 16 15", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", + fill: "#247EFE", + }), + ), + Yv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN5SURBVHgBrVVLTxNRFP7uzLRAQW2tEDHBVI3PjZDoAkkQA5i4QhcmGFFBf4BgdOUCunMnuNK4gAUoxA2sjAGlC0iUDSZqCGCkCAEhFsqrUOZxPXd42MdMQwJf0s7tvXNe33fuKUMKVPfOuzXNqAVjlxmDj3PuE/uMsTDn+CrJrFMCulqueIJ2PpiNY5+m82aAl2AHoOAtsiT5rQJJiRu3u0O1usEHd+pcgKqp1nRjUNgmBY/9UdUdaqCdeuwGHP7Wcm9DUgARnUp9jj0AVVTXVu5tFGuTIsG5JDHbzA+lS7h10gWXwuBJk1BzJtNc24ESrRc+twPohlFPHeK2M8jNklGal448eua4ZBQdScNpjwMp4N5oEgogIgmREt8QGb4o9uD+2Uxkp8tJHrIcDA/OZeFZodumGl4i2lwh9SusUjDo8y2k4lJuGgoPJ5/fI5oEhuZURDRu5QKaYTxUiLHrQvpYZGfIOOlW8PrHMvqmHKg+44I3Y6OKiGqYz4llHW9HVjAS1nAxx4lfixpCa0ZCEayEVfWE5mkZx/9dyq6YeP5LBi+/LyNIxkeJfzcJbBCfSyrH+JJu6nDzhAu+/TJ6JtbQPhqJ9w8ERYCk+mSitOJYBq4eTYciMXwYX8PQvIpK6iSBjp8RnDvoQDkJL+jp+b2K7skoVi2oSrrJAk6KIN5d36yYYojW27g1zOzz7QvENr9WbXRgdz6GxsjAF7spMi2j7IJLGt5R2cPEc16WggNpzMxofp1jgs7Oev7r82lyDW9GIon+w0TRXG/i3BEX6/gBGQMzKk65Hag85TI18A8swOWQ8KRgn6nPK9JnjPQpOuzE6IKG2dUEkcEDChgPkBpxAYSx+DzK32dyvYXYfhdJPL2wH/3TUbQNR4hOK4ponCuS1GRxgky6SEcyZXyZiaJ5aCXpvIOo+/wnioJsJzUCLKGp610KzfAw0RRIpGmFWvFxf9hcnz+UPBZmIzq6qTXpTUvnVE9L+7XcoLQRKVpDjzBsMEoi901FTY6FuKLnJ1d0pEBYV9f9YhEzrmdpXMt7Mq4Jta1lXpP6bfbaynMaKVwDdgvyseU8LoBAa6nXz7lehxR0pYCwqRU+4uNZoPL9tE92OOvpsBo7Ag9oqlojRE08YanMRCDF4aRxzmnisnxsDkUaG0H6gwrSIrC8uNjUeeOYbcX/ANJIbge2tX2aAAAAAElFTkSuQmCC", + Gv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYoSURBVHgB3ZpfTFtVHMd/57bAWICwjUXpWFJnwmQvq2PqtsRBnMYRIdvLljAfNh8ETYwE2YPJHigPJpoIkxgjwRjBRNEtKgldgnMuRWKQhT/dy5A+IHMbjRnThi7jj2vPzvfAbdpyb9nu7br1fhJCe8+97fmd3//TwygJrhOnC5VspYExXsmJnIyYkx4DOOdBxsgXjrBeFrH1jn/5zlW9e5nWRSGY05bDvhLDlZQBcOJd/K7drSWoLfFC+ZvtDcxO3zHGnqEMQViWS1jZCceuqoXAWP9w7FicgLvq2puZQh8K4dZRpsFonfg7WFxeRYHR/gH1clRAqTkhHGU4wjcrhSaDqialD8LnlGw2LjRXSFaAUzAStrngkwreKzms2TLCAUaFiv1ul3y5HDGVv8iChBcjGxRblnKILApyuEIKP0wWBQWKQpy5yKJwYk4FDkkWRaQIp0IWx06PmPz1OZSXm02OTQU0c2uOArdClEpSImB56Raq3ltG27dulu9DdxbJf32WJq/dpFH/dcrPzaGafTvkfXgdml+kmdm56P0j/hvyP4R0bMqXz/Vc9Ilnb5BZWHl9OyeDYELNx1+WK+8Z+lMIdVMKVywnWiAFqn3JRYF/56j1zGB0HJSWbKZK1zZ5T9/QhHh+Ivq5GDt2wCXuXaDOc5eiz6RdQPfxV6KrrUWN0GrFzm3U8vUF3UliIWqFMKLJo9azg3FjddUvyAWob/uRjGI4yOCLRR+mKxx8C2bbeva3pBqA9lvPiHvml6jpyItxY52eYWnqlWKRjGJCwBIa8E3pjmNSfqHd+w0aEAamDbONBT5cuuKrRjAsIL50Jsnkob0+4ZcPAkwZZhmLGf8DhgXMF6E9NL+gOw5tIKjIe4W5rvl54p7ijfkyusL8VRBwzAhpOE0kMz1VIETY3cKUoeliEf7r237QfA6RFlET6QLPwvzVFOEoKiBvEldYC8MaRC7bXqLtG8h1AKmj5lSXDPdIA8cOPKt5f82+MumDqB4hTKzGoE3VEoxgWED/tVlphlpAeGgKAQK0ifAPASt0omGeWBDkwpbuC1JjiJwAKSR0Z8mUiRoWEJOHKWmROCGkAvzdnteeaECMqWatah8sFwFXyAyGBcSES7cWaY7pBZX8XO3NOvgb/BBA+whgAAWAagVGMdVNwJRiI55KsTSt1dpCYaAFigWkFSwMomieDDRbZJVktvg2JeDoZBIzTUgh8Ce9yWIx4KPQ4m1R0YCavTtkkDKLKQE9f0xoahA+lSg4Engyf1K1WLHzKemHsAKz5glMCaiaIXJc4nVoJLa2xD2xHYPWZ0FILAxyorv7PKUC0x098hbMKRHktWpx/dtTtbLrAIkLkQgWAJF2RGgO5gyfLC0pWvO5ZJhqlwAm8Y0Q4vUPeuICi1v2iSE5aVQ0GEOOa/rco+uLWAhEUZRnjpUci8A0cHlKdhxGsDl2V7nJBEv/h+XuDrqHoSt/y2t11c/L/1f/+U90B0+T88kNdLLjnJx0dpY9msgTaTpaQZ/+9DudH/HL6iUnC5Ukk9fU4POgpGTLoudXn1z9pqPLPod8B7NCx9HpubRsrnvKZJR0d/+i+znQVu1KOQdTRXVjNtCkbNMJE0cHj7Kr5+Kg1NZ7R/YLoffLqIgIqtccA5g6TLclyQIYIaW7an0xURKVzskOT9x4Yq8Xi15xYJa07osmEwC7aWa6Bj3SKiACRWwxHUvxRgtoEOgV4tgj1YuuZkirgJPCBJG4tTDb2OqRVgGxy6ZWJyp4j/TivTz1UEw07b9NoGv/+O3XZFsEYJqIvstbFqnHdKlmlHK5GTUnO4+HySP7dSkVrdD9YPnfBxVhn9NkVTgFFUZ8mqwKYz6Fc+YlqxLhvUpkKdJOFiWSbetVfF2NQWGsXrIcvGv8s5WzamHG34BDklXAYTy73Y2XUkBfR+O02Blwk1Xg5Ib28DJ6XjQw2j+Mw6Q4b0kZjPip3z32RcNH6vu4E784KSs2oYJiBfbIE7SZBFyM0/uxwoFVZ7ahySeee/V7YbuFOG1JGQHzRrJsB8c63v151Uiyx1xvnXbawsohUthhoXvX43KuDdUXIzbNOfdG1kfafZ806gbIe6tPtetqwQZ3AAAAAElFTkSuQmCC", + Kv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAT6SURBVHgB7ZrNbxtFGId/s+t1nIQkdg+J4yi10yIOCNRKIA4olSICXEAiCE6c0gvXVPwBNIg7ImcORBx6QDTygQuHFNMLQiDhIlKkKGlsErVppdhOih1/rYd5J1nLX0m96Y7btfxIk12PN4kfzcw7846H4RS25mb8GrQFztgMGCKiKoLngww44kxD1OA8Glq5lTzpQdaqUohFGNO/Fe/OwAUw8GUDWGwlqjVWJOdmF5im/+kWOYKDzRfB4vTZG9+rE0zOvXWda/ha3PrhPvz02cmhtrLaRcn+WM71sAquhaOrS/KefsgxR93SnS3XiowX/DKNSdlFNU2jZu0WOcJf5GyZbthx621BMaXzU8hOv42xYBClH39AZf0fqIZXzIBH0/UPOIcyLLHi+QvytR6JQP/sc5jrd5WLip65wBIfzv6sYkpoFLOICMFalIpyxDQhdxkOU3jpZaQ/+bRJrhW6eNYnWlS/9Doch/EIBRnHgwvv64dd2MAAnIdFNHQ5XS/ogU0oePiuzGIgk0J+7Q5KiU2oxBwLoRS+CGN0DMb6mu1g1LagORLA4/c+loEjFArh3MSErK9k/0Nxa1PKUilubeBpKAuZspCS18hFcN/RePYMDcH3/kcy6ha//w58J9nW32tbsCTEWkVFbfAF+F65JIvFg7t/4yB7CDvkrryL3PQ7VaGToKirT4ZRblNQyRg0RoNNdaVSCel0Gtvb28jlck3v88C5J8qdBdtjsF1M08TBwQHy+Tz29/elILGzsyOvIyMjGB4eRlAs3eiqCiWCA2JOGx8fR19fH/b29lCpVJBKpeqeOTw86sJcrBPpmUAgABUoEwyHw7JYFAoFKbmxsYH+/n54PPX/mitaEHdsHqTWpFYdEtGwUU4lHftP1IIUXEiOxidXmcLUoESQRHZ3d6UIjTWSs7CyCRqX5XJZihaLRfk79NpplAlS4DgNkavB6/XKe+q+JKdCsLfYdjs9QbfTE3Q7vYz+LNBadHR0VE7yNNnTRE/XRqy5jyZ9muxVoHSxXQuJkATlg5Q6qZjUW9GxtSitQalYaVKn6NgYpDUndUVKlWiZ1imUtCB1P8ZYVao2e5icnJRXyvTpOSvLUNVtlQhmMhm5NTE4OFgthmHUPUMLbF3XZT21KiXDrhEkqEVIlArh8/mkKG1NUGu2iqoqcFywks2i/OhhUz11SSqU0bdC20+DmVzsrPngJG0L6o/uw/j3ntwfrYWE8mtxUf5CSWz6yg3gV18DxCaxHfp/+QnGr7flLrYZnBAbvxdEebFJuCI2fk0bu9ttCxoPHyBw45ujzd833kQqLzJ1IUa72k5iJDdlwW+35etyMCRFWXgKhfjvcmfbDra7qFe0YlmUx+gMnt37spDwWUZtb7HtdkgwAYdhBfvLMd7i+woHyGjii/oEHKZPBAK/CEgUdZ8ERcXCV1/CvPMHHIch7mGMxzjYDByGgpH3xj0ZdbPTs83TizxdcdN2VLQDA6J0EMjPND0NxVii4/IgkFoxCy94RJ5VU3VW5lkixJbDK6tXZRTl3LwKOkXbPWQM8EW6kYJT0VhCZDeL6BLIxTr9W50HwzdXl9ixtZshB3KxXtdN9OGVW18I+2twZ3fN0Gcnh9rKEw+la5p+XeTg83ADDDEv5/OtDqWz035PitJxS2BOLAjo0N7zcmg2IT55gnEeE1siSyKGnNjj/gfyHlDD/70S3wAAAABJRU5ErkJggg==", + Xv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 12 12", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("circle", { + cx: 6, + cy: 6, + r: 6, + fill: "#CC3E44", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", + fill: "white", + }), + ), + Uc = ({ viewsType: e }) => + /* @__PURE__ */ p.jsx(wn, { + title: e, + children: /* @__PURE__ */ p.jsx("div", { + style: { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + "--views-color": Bc[e], + }, + className: Y.views_type_badge, + children: e[0], + }), + }), + vf = () => { + const [e, t] = ue(!1); + ce(() => { + setTimeout(() => { + t(!0); + }, 500); + const o = setTimeout(() => { + t(!1); + }, 3500); + return () => clearTimeout(o); + }, []); + const n = () => { + t((o) => !o); + }; + return /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs(Pe, { + id: "lineageLegend", + className: Y.lineage_legend, + type: "button", + onClick: n, + children: [ + "Legend", + e ? /* @__PURE__ */ p.jsx(xv, {}) : /* @__PURE__ */ p.jsx(vv, {}), + ], + }), + /* @__PURE__ */ p.jsx(P0, { + flip: !0, + target: "lineageLegend", + isOpen: e, + className: Y.column_legend, + placement: "top", + children: /* @__PURE__ */ p.jsxs(B0, { + children: [ + Object.keys(Bc).map((o) => + /* @__PURE__ */ p.jsxs( + "div", + { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx(Uc, { viewsType: o }), + /* @__PURE__ */ p.jsx("div", { children: o }), + ], + }, + o, + ), + ), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.column_code_icon, + children: /* @__PURE__ */ p.jsx(fd, {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Code" }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.edge_select, + children: /* @__PURE__ */ p.jsx("div", {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Select" }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.edge_non_select, + children: /* @__PURE__ */ p.jsx("div", {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Non select" }), + ], + }), + ], + }), + }), + ], + }); + }; +var xf = { exports: {} }; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -(function(e) { - (function() { +(function (e) { + (function () { var t = {}.hasOwnProperty; function n() { - for (var a = "", i = 0; i < arguments.length; i++) { - var l = arguments[i]; - l && (a = r(a, o(l))); + for (var i = "", a = 0; a < arguments.length; a++) { + var l = arguments[a]; + l && (i = r(i, o(l))); } - 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]")) - return a.toString(); - var i = ""; - 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; + function o(i) { + if (typeof i == "string" || typeof i == "number") return i; + if (typeof i != "object") return ""; + if (Array.isArray(i)) return n.apply(null, i); + if ( + i.toString !== Object.prototype.toString && + !i.toString.toString().includes("[native code]") + ) + return i.toString(); + var a = ""; + for (var l in i) t.call(i, l) && i[l] && (a = r(a, l)); + return a; + } + function r(i, a) { + return a ? (i ? i + " " + a : i + a) : i; } - e.exports ? (n.default = n, e.exports = n) : window.classNames = n; + e.exports ? ((n.default = n), (e.exports = n)) : (window.classNames = n); })(); -})(Nf); -var lx = Nf.exports; -const Oe = /* @__PURE__ */ fn(lx), sx = (e) => Me.get("upstreamTables", { table: e }), cx = (e) => Me.get("downstreamTables", { table: e }), ux = (e) => Me.get("getExposureDetails", { - name: e -}), fi = (e, t) => Me.get("getColumns", { - table: e, - refresh: t -}), dx = (e) => Me.get("getConnectedColumns", e), fx = (e) => Me.get("sendFeedback", e), hx = () => Me.get("getLineageSettings", {}), Wl = (e) => Me.get("persistLineageSettings", e), Df = () => Me.get("init", {}), px = (e) => Me.get("openFile", { url: e }), gx = () => Me.get("openChat", {}), e1 = (e) => Me.get("showInfoNotification", { message: e }), mx = () => Me.get("previewFeature", {}), Zl = (e) => Me.get("columnLineage", { event: e }), bx = (e) => Me.get("telemetryEvents", e), yx = (e) => Me.post("dbt/v4/export-lineage", e); -var Cx = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(Cx || {}); +})(xf); +var Qv = xf.exports; +const Te = /* @__PURE__ */ un(Qv), + Jv = (e) => Ie.get("upstreamTables", { table: e }), + ex = (e) => Ie.get("downstreamTables", { table: e }), + tx = (e) => + Ie.get("getExposureDetails", { + name: e, + }), + sa = (e, t) => + Ie.get("getColumns", { + table: e, + refresh: t, + }), + nx = (e) => Ie.get("getConnectedColumns", e), + ox = (e) => Ie.get("sendFeedback", e), + rx = () => Ie.get("getLineageSettings", {}), + Pl = (e) => Ie.get("persistLineageSettings", e), + wf = () => Ie.get("init", {}), + ix = (e) => Ie.get("openFile", { url: e }), + ax = () => Ie.get("openChat", {}), + qc = (e) => Ie.get("showInfoNotification", { message: e }), + lx = () => Ie.get("previewFeature", {}), + Bl = (e) => Ie.get("columnLineage", { event: e }), + sx = (e) => Ie.get("telemetryEvents", e), + cx = (e) => Ie.post("dbt/v4/export-lineage", e); +var ux = /* @__PURE__ */ ((e) => ( + (e.CANCEL = "cancel"), (e.END = "end"), (e.START = "start"), e +))(ux || {}); const gt = class gt { static onCancel() { - gt.isCancelled = !0, gt.inProgress = !1; + (gt.isCancelled = !0), (gt.inProgress = !1); } static cancel() { - gt.onCancel(), Zl( - "cancel" - /* CANCEL */ - ); + gt.onCancel(), + Bl( + "cancel", + /* CANCEL */ + ); const t = new CustomEvent("cll_cancelled", { detail: void 0 }); document.dispatchEvent(t); } static start() { - gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Zl( - "start" - /* START */ - ); + (gt.inProgress = !0), + (gt.isCancelled = !1), + (gt.linkCount = 0), + Bl( + "start", + /* START */ + ); } static end() { - gt.inProgress = !1, Zl( - "end" - /* END */ - ), bx({ - id: "columnLineageNumLinks", - params: { num: gt.linkCount } - }), gt.linkCount = 0; + (gt.inProgress = !1), + Bl( + "end", + /* END */ + ), + sx({ + id: "columnLineageNumLinks", + params: { num: gt.linkCount }, + }), + (gt.linkCount = 0); } static addLinks(t) { gt.linkCount += t; } static showCllInProgressMsg() { - e1( - "Column lineage is in progress. Either wait for it to complete or cancel the current one." + qc( + "Column lineage is in progress. Either wait for it to complete or cancel the current one.", ); } }; -Zr(gt, "isCancelled", !1), Zr(gt, "inProgress", !1), Zr(gt, "linkCount", 0); -let Je = gt; -const vx = ({ datatype: e, color: t, size: n = "1rem" }) => { - const [o, r] = Ve(() => { - switch (e.toLowerCase()) { - case "integer": - case "float": - case "double precision": - case "double": - case "bigint": - return [Cv, "#FF754C"]; - case "bool": - case "boolean": - return [bv, "#00A5DB"]; - case "text": - case "character": - case "character varying": - case "varchar": - return [yv, "#3F8CFF"]; - case "geospatial": - return [wv, "#01CD8C"]; - case "date": - case "timestamp": - case "timestamp with time zone": - return [xv, "#247EFE"]; - default: - return [vv, "#6A24FE"]; - } - }, [e]); - return /* @__PURE__ */ f.jsx( - "div", - { +Hr(gt, "isCancelled", !1), Hr(gt, "inProgress", !1), Hr(gt, "linkCount", 0); +let Xe = gt; +const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { + const [o, r] = Be(() => { + switch (e.toLowerCase()) { + case "integer": + case "float": + case "double precision": + case "double": + case "bigint": + return [dv, "#FF754C"]; + case "bool": + case "boolean": + return [cv, "#00A5DB"]; + case "text": + case "character": + case "character varying": + case "varchar": + return [uv, "#3F8CFF"]; + case "geospatial": + return [hv, "#01CD8C"]; + case "date": + case "timestamp": + case "timestamp with time zone": + return [pv, "#247EFE"]; + default: + return [fv, "#6A24FE"]; + } + }, [e]); + return /* @__PURE__ */ p.jsx("div", { style: { color: t || r }, className: "d-flex align-items-center", - children: /* @__PURE__ */ f.jsx(o, { width: n, height: n }) - } - ); -}, xx = { - seed: { - light: /* @__PURE__ */ f.jsx(Xu, { style: { color: "#E6FAF4" } }), - dark: /* @__PURE__ */ f.jsx(Xu, { style: { color: "#344B49" } }) - }, - model: { - light: /* @__PURE__ */ f.jsx(ca, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ f.jsx(ca, { style: { color: "#4D4343" } }) - }, - cte: { - light: /* @__PURE__ */ f.jsx(Ku, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ f.jsx(Ku, { style: { color: "#4B473F" } }) - }, - subquery: { - light: /* @__PURE__ */ f.jsx(Pv, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ f.jsx(Bv, { style: { color: "#4B473F" } }) - }, - source: { - light: /* @__PURE__ */ f.jsx(Qu, { style: { color: "#EAF3FF" } }), - dark: /* @__PURE__ */ f.jsx(Qu, { style: { color: "#384454" } }) - }, - exposure: { - light: /* @__PURE__ */ f.jsx(Ju, { style: { color: "#FEEFF7" } }), - dark: /* @__PURE__ */ f.jsx(Ju, { style: { color: "#4C404C" } }) - }, - analysis: { light: /* @__PURE__ */ f.jsx(Is, {}), dark: /* @__PURE__ */ f.jsx(Is, {}) }, - snapshot: { - light: /* @__PURE__ */ f.jsx(e0, { style: { color: "#F6F4FF" } }), - dark: /* @__PURE__ */ f.jsx(e0, { style: { color: "#444554" } }) - }, - semantic_model: { light: /* @__PURE__ */ f.jsx(Vv, {}), dark: /* @__PURE__ */ f.jsx(Hv, {}) }, - macros: { light: /* @__PURE__ */ f.jsx(zs, {}), dark: /* @__PURE__ */ f.jsx(zs, {}) }, - unknown: { - light: /* @__PURE__ */ f.jsx(ca, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ f.jsx(ca, { style: { color: "#4D4343" } }) - } -}, hi = ({ - nodeType: e -}) => /* @__PURE__ */ f.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ f.jsx(Ev, {}), - e === "model" && /* @__PURE__ */ f.jsx(sa, {}), - e === "cte" && /* @__PURE__ */ f.jsx(sa, {}), - e === "subquery" && /* @__PURE__ */ f.jsx(sa, {}), - e === "source" && /* @__PURE__ */ f.jsx(Sv, {}), - e === "exposure" && /* @__PURE__ */ f.jsx(kv, {}), - e === "analysis" && /* @__PURE__ */ f.jsx(Is, {}), - e === "snapshot" && /* @__PURE__ */ f.jsx(_v, {}), - e === "semantic_model" && /* @__PURE__ */ f.jsx(Av, {}), - e === "macros" && /* @__PURE__ */ f.jsx(zs, {}), - e === "unknown" && /* @__PURE__ */ f.jsx(sa, {}) -] }), wx = ({ nodeType: e }) => { - const { - state: { theme: t } - } = at(); - return /* @__PURE__ */ f.jsx(f.Fragment, { children: xx[e][t] }); -}, rr = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.table_node_pill, id: e, children: [ - /* @__PURE__ */ f.jsx("div", { className: G.icon, children: t }), - /* @__PURE__ */ f.jsx("div", { children: n }) - ] }), - /* @__PURE__ */ f.jsx(U5, { target: e, children: o }) -] }), t1 = { - seed: G.seed, - model: G.model, - source: G.source, - exposure: G.exposure, - snapshot: G.snapshot, - semantic_model: G.metrics, - macros: G.macros, - analysis: G.analysis, - cte: G.model, - subquery: G.model, - unknown: G.exposure -}, kr = { - seed: "SED", - model: "MDL", - source: "SRC", - exposure: "EXP", - snapshot: "SNP", - semantic_model: "MET", - macros: "SEM", - analysis: "ANY", - cte: "CTE", - subquery: "SUB", - unknown: "UNK" -}, Lf = (e, t) => e ? sx(t) : cx(t), jf = (e, t) => e ? t + 1 : t - 1, pi = (e, t, n, o, r, a, i = Oy, l = !1, s) => { - const u = jf(r, a), c = (p) => { - var y, g; - const h = ((g = (y = e.find((x) => x.id === p)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Xc(a, h, o, p, r, l); - t.find((x) => x.id === m.id) || t.push(m); - }; - let d = 0; - for (const p of n) { - if (d >= i) { - const m = Ua(o, r); - e.push({ - id: m, - data: { tables: n, prevTable: o, right: r, level: u }, - position: { x: 100, y: 100 }, - type: "seeMore", - width: jr, - height: 100 - }), c(m); - break; - } - e.find((m) => m.id === p.table) || (d++, s ? s[p.table].type in kr ? e.push(Lo(p, u, o)) : e.push(_f(p.table, u, o, s[p.table])) : e.push(Lo(p, u, o))), c(p.table); - } -}, pn = (e, t, n = !1) => { - let o = 1 / 0; - const r = {}; - for (const g of e) - if (vt(g) && g.parentNode) - g.parentNode in r || (r[g.parentNode] = 0), g.position = { - x: Dy, - y: Ly + wa(r[g.parentNode]) - }, r[g.parentNode]++; - else { - const { level: x } = g.data; - o = Math.min(o, x); - } - const a = {}, i = {}, l = {}, s = {}, u = {}, c = {}; - for (const g of t) - vt(g) || la(e.find((x) => x.id === g.source)) || la(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); - const d = (g) => { - const { level: x } = g.data; - if (i[x] = i[x] || [], !i[x].includes(g.id)) { - l[g.id] = i[x].length, a[g.id] = 0; - for (const C of i[x]) - a[g.id] += r[C] || 0; - i[x].push(g.id); - } - }, p = (g, x) => { - if (!s[g]) { - s[g] = !0, d(e.find((C) => C.id === g)); - for (const C of x[g] || []) p(C, x); - } - }; - for (const g of e) - vt(g) || la(g) || s[g.id] || (p(g.id, u), s[g.id] = !1, p(g.id, c)); - for (const g of e) - vt(g) || la(g) && d(g); - const h = (g) => { - const x = l[g.id] || 0, C = a[g.id] || 0; - return $l + x * (wo + Ry) + wa(C, x); - }, m = (g) => (g - o) * (jr + jy) + Ny, b = (g) => (g - o) * (wo + Fy) + $l, y = (g) => { - const x = l[g.id] || 0, C = a[g.id] || 0; - return $l + x * (wo + Iy) + wa(C, x); - }; - for (const g of e) { - if (vt(g)) continue; - const { level: x } = g.data; - g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: h(g) }; - } -}, Ff = (e, t) => (e.forEach((n) => Za(n, !0)), t.forEach((n) => jo(n, !1)), [e, t]), _r = (e, t, n) => { - Er(t, !0), Sr(t, !1); - const o = {}, r = {}, a = (s, u) => { - const c = [n], d = {}; - for (; c.length > 0; ) { - const p = c.shift(); - d[p] = !0, o[p] = !0, t.forEach((h) => { - h[s] === p && (r[h.id] = !0, d[h[u]] || c.push(h[u])); - }); - } - }; - a("source", "target"), a("target", "source"); - const i = [...t]; - i.forEach((s) => jo(s, r[s.id])); - const l = [...e]; - return l.forEach((s) => Za(s, !!o[s.id])), [l, i]; -}, Hs = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, a] = _r(n, o, t); - e.setNodes(r), e.setEdges(a); -}, Ex = async (e, t, n, o, r, a, i, l, s, u) => { - var w, E; - const c = [], d = [], { column_lineage: p, confidence: h, errors: m } = await dx({ - targets: r, - upstreamExpansion: a, - currAnd1HopTables: i, - selectedColumn: l, - showIndirectEdges: s.indirect - }); - u((M) => ({ ...M, ...m })), Je.addLinks(p.length); - const b = p.filter( - (M) => a ? Zu(r, M.source) : Zu(r, M.target) - ), y = b.map((M) => a ? M.target : M.source), g = {}, x = ([M, _], L) => { - g[M] = g[M] || [], g[M].find((R) => R.column === _) || g[M].push({ column: _, viewsType: L }); - }, C = (M, _, L, R, j) => { - const P = di(L, R); - d.find((V) => V.id === P) || d.push( - Wa( - L, - R, - t[M], - t[_], - j, - s - ) - ); - }, S = []; - for (const M of b) { - x(M.source), x(M.target, M.viewsType); - const [_] = M.source, [L] = M.target, R = o[_], j = o[L], P = M.source.join("/"), V = M.target.join("/"), k = Cn + P, N = Cn + V, T = M.type; - if (R && j) - C(_, L, k, N, T); - else if (R) { - const D = n[L]; - C(_, D, k, D, T), S.push(M); - } else if (j) { - const D = n[_]; - C(D, L, D, N, T), S.push(M); - } else - S.push(M); - } - for (const M in g) { - if (!o[M]) continue; - const _ = [...g[M]]; - _.sort((L, R) => L.column.localeCompare(R.column)); - for (const L of _) { - const R = {}; - b.filter((j) => j.target.join("/") === `${M}/${L.column}`).forEach((j) => { - j.type !== "indirect" && (R[j.source.join("/")] = j.viewsCode || []); - }), c.push( - $a( - M, - L.column, - L.viewsType, - R, - (E = (w = e.find((j) => j.id = M)) == null ? void 0 : w.data) == null ? void 0 : E.nodeType - ) - ); - } - } - return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: h, seeMoreLineage: S }; -}, Sx = async (e, t, n, o) => { - var h, m, b, y; - let r = e.filter(En), a = t.filter(En); - [r, a] = Ff(r, a); - const i = {}; - r.forEach((g) => i[g.id] = g.data.level); - const l = {}; - e.filter((g) => g.type === "table").forEach((g) => l[g.id] = !0); - const s = {}, u = []; - for (const g of t) { - if (g.id.startsWith(Cn)) continue; - const x = l[g.source], C = l[g.target]; - x && C ? u.push({ src: g.source, dst: g.target }) : x ? (h = e.find((w) => w.id === g.target).data.tables) == null || h.forEach((w) => { - u.push({ src: g.source, dst: w.table }), s[w.table] = g.target; - }) : C && ((m = e.find((w) => w.id === g.source).data.tables) == null || m.forEach((w) => { - u.push({ src: w.table, dst: g.target }), s[w.table] = g.source; - })); - } - const { collect_columns: c, highlight_edges: d } = await o({ - column_fqn: n, - edges: u - }); - for (const g in c) { - if (!l[g]) continue; - const x = [...c[g]]; - x.sort((C, S) => C.column.localeCompare(S.column)); - for (const C of x) { - const S = (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; - r.push($a(g, C.column, C.viewsType, {}, S)); - } - } - a.forEach((g) => g.style = ui); - const p = (g, x, C, S, w) => { - const E = di(C, S); - a.find((M) => M.id === E) || a.push( - Wa(C, S, i[g], i[x], w, { - direct: w === "direct", - indirect: w === "indirect" - }) - ); - }; - for (const g of d) { - const [x] = g[0].split("/"), [C] = g[1].split("/"), S = l[x], w = l[C], E = Cn + g[0], M = Cn + g[1], _ = g[2] || "direct"; - if (S && w) - p(x, C, E, M, _); - else if (S) { - const L = s[C]; - p(x, L, E, L, _); - } else if (w) { - const L = s[x]; - p(L, C, L, M, _); - } - } - return pn(r, a), { nodes: r, edges: a, collect_columns: c }; -}, kx = (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 + children: /* @__PURE__ */ p.jsx(o, { width: n, height: n }), + }); + }, + fx = { + seed: { + light: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#E6FAF4" } }), + dark: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#344B49" } }), + }, + model: { + light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }), + }, + cte: { + light: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#4B473F" } }), + }, + subquery: { + light: /* @__PURE__ */ p.jsx(Dv, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ p.jsx(Lv, { style: { color: "#4B473F" } }), + }, + source: { + light: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#EAF3FF" } }), + dark: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#384454" } }), + }, + exposure: { + light: /* @__PURE__ */ p.jsx(qu, { style: { color: "#FEEFF7" } }), + dark: /* @__PURE__ */ p.jsx(qu, { style: { color: "#4C404C" } }), + }, + analysis: { + light: /* @__PURE__ */ p.jsx(Ds, {}), + dark: /* @__PURE__ */ p.jsx(Ds, {}), + }, + snapshot: { + light: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#F6F4FF" } }), + dark: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#444554" } }), + }, + semantic_model: { + light: /* @__PURE__ */ p.jsx(Fv, {}), + dark: /* @__PURE__ */ p.jsx(Nv, {}), + }, + macros: { + light: /* @__PURE__ */ p.jsx(Ls, {}), + dark: /* @__PURE__ */ p.jsx(Ls, {}), + }, + unknown: { + light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }), + }, + }, + Yc = ({ nodeType: e }) => + /* @__PURE__ */ p.jsxs("div", { + children: [ + e === "seed" && /* @__PURE__ */ p.jsx(gv, {}), + e === "model" && /* @__PURE__ */ p.jsx(ni, {}), + e === "cte" && /* @__PURE__ */ p.jsx(ni, {}), + e === "subquery" && /* @__PURE__ */ p.jsx(ni, {}), + e === "source" && /* @__PURE__ */ p.jsx(mv, {}), + e === "exposure" && /* @__PURE__ */ p.jsx(bv, {}), + e === "analysis" && /* @__PURE__ */ p.jsx(Ds, {}), + e === "snapshot" && /* @__PURE__ */ p.jsx(yv, {}), + e === "semantic_model" && /* @__PURE__ */ p.jsx(Cv, {}), + e === "macros" && /* @__PURE__ */ p.jsx(Ls, {}), + e === "unknown" && /* @__PURE__ */ p.jsx(ni, {}), + ], + }), + Ef = ({ nodeType: e }) => + e in No + ? /* @__PURE__ */ p.jsx(Yc, { nodeType: e }) + : e in Vi + ? /* @__PURE__ */ p.jsx("img", { + src: Vi[e], + className: Y.dialect_icon, + }) + : /* @__PURE__ */ p.jsx("div", {}), + px = ({ nodeType: e }) => { + const { + state: { theme: t }, + } = ot(); + return /* @__PURE__ */ p.jsx(p.Fragment, { children: fx[e][t] }); + }, + tr = ({ id: e, icon: t, text: n, label: o }) => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_node_pill, + id: e, + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.icon, children: t }), + /* @__PURE__ */ p.jsx("div", { children: n }), + ], + }), + /* @__PURE__ */ p.jsx(F5, { target: e, children: o }), + ], + }), + Gc = { + seed: Y.seed, + model: Y.model, + source: Y.source, + exposure: Y.exposure, + snapshot: Y.snapshot, + semantic_model: Y.metrics, + macros: Y.macros, + analysis: Y.analysis, + cte: Y.model, + subquery: Y.model, + unknown: Y.exposure, + }, + No = { + seed: "SED", + model: "MDL", + source: "SRC", + exposure: "EXP", + snapshot: "SNP", + semantic_model: "MET", + macros: "SEM", + analysis: "ANY", + cte: "CTE", + subquery: "SUB", + unknown: "UNK", + }, + Sf = (e, t) => (e ? Jv(t) : ex(t)), + kf = (e, t) => (e ? t + 1 : t - 1), + ca = (e, t, n, o, r, i, a = wy, l = !1, s) => { + const u = kf(r, i), + c = (h) => { + var y, g; + const f = + ((g = (y = e.find((x) => x.id === h)) == null ? void 0 : y.data) == + null + ? void 0 + : g.level) || 0, + m = Wc(i, f, o, h, r, l); + t.find((x) => x.id === m.id) || t.push(m); }; - } - }), t.edges.forEach((i) => { - a.find((l) => l.id === i.id) || a.push(i); - }), n.name) { - const i = {}, l = wr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", p = o ? "target" : "source"; - for (; u.length > 0; ) { - const h = u.shift(); - if (!c[h]) { - c[h] = !0; - for (const m of a) - m[d] === h && (u.push(m[p]), s[m[p]] !== "direct" && (s[m[p]] = s[m[d]] === "direct" ? m.data.type : "indirect")); - for (const m of a) - m[d] === h && (i[m.id] = s[m[p]]); + let d = 0; + for (const h of n) { + if (d >= a) { + const m = Hi(o, r); + e.push({ + id: m, + data: { tables: n, prevTable: o, right: r, level: u }, + position: { x: 100, y: 100 }, + type: "seeMore", + width: Tr, + height: 100, + }), + c(m); + break; } + e.find((m) => m.id === h.table) || + (d++, + s + ? s[h.table].type in No + ? e.push(To(h, u, o)) + : e.push(gf(h.table, u, o, s[h.table])) + : e.push(To(h, u, o))), + c(h.table); } - for (const h of a) - En(h) || (h.data.type = i[h.id] || h.data.type, h.style = h.data.type === "direct" ? Gc : Kc); - } - return pn(r, a), [r, a]; -}, _x = (e, t) => { - const n = e.filter((r) => En(r)), o = t.filter((r) => En(r)); - return [n, o]; -}, Rf = 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 Lf(o, s); - pi(r, a, c, s, o, u), c.forEach((d) => { - const p = r.find((h) => h.id === d.table); - (p == null ? void 0 : p.data.materialization) === "ephemeral" && i.push({ table: d.table, level: p.data.level }); - }); - } - return [r, a]; -}, qa = async (e, t, n, o, r) => { - const a = [...e], i = [...t]; - if (o >= r) return [a, i]; - const l = Hy(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { - const d = [ - { table: n, level: s } - ], p = {}; - for (; d.length > 0; ) { - const h = d.shift(); - if (p[h.table]) continue; - p[h.table] = !0; - const { tables: m } = await Lf(c, h.table); - pi( - a, - i, - m, - h.table, - c, - h.level, - 25 - ); - const b = jf(c, h.level); - l(b) ? d.push(...m.map((y) => ({ table: y.table, level: b }))) : d.push( - ...m.filter((y) => y.materialization === "ephemeral").map((y) => ({ table: y.table, level: b })) - ); - } - }; - return r > s && await u(!0), o < s && await u(!1), [a, i]; -}, t0 = (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 h of e) - vt(h) || (l[h.id] = h, s[h.id] = []); - for (const h of t) - vt(h) || s[h[r]].push(h[a]); - const c = (() => { - const h = [n], m = {}; - for (; h.length > 0; ) { - const b = h.shift(); - if (m[b]) continue; - m[b] = !0; - const y = l[b].data; - if (y[i] !== 0) { - if (s[b].length < y[i]) return b; - for (const g of s[b]) h.push(g); + }, + fn = (e, t, n = !1) => { + let o = 1 / 0; + const r = {}; + for (const g of e) + if (vt(g) && g.parentNode) + g.parentNode in r || (r[g.parentNode] = 0), + (g.position = { + x: Sy, + y: ky + gi(r[g.parentNode]), + }), + r[g.parentNode]++; + else { + const { level: x } = g.data; + o = Math.min(o, x); } + const i = {}, + a = {}, + l = {}, + s = {}, + u = {}, + c = {}; + for (const g of t) + vt(g) || + ti(e.find((x) => x.id === g.source)) || + ti(e.find((x) => x.id === g.target)) || + ((u[g.source] = u[g.source] || []), + u[g.source].push(g.target), + (c[g.target] = c[g.target] || []), + c[g.target].push(g.source)); + const d = (g) => { + const { level: x } = g.data; + if (((a[x] = a[x] || []), !a[x].includes(g.id))) { + (l[g.id] = a[x].length), (i[g.id] = 0); + for (const C of a[x]) i[g.id] += r[C] || 0; + a[x].push(g.id); + } + }, + h = (g, x) => { + if (!s[g]) { + (s[g] = !0), d(e.find((C) => C.id === g)); + for (const C of x[g] || []) h(C, x); + } + }; + for (const g of e) + vt(g) || ti(g) || s[g.id] || (h(g.id, u), (s[g.id] = !1), h(g.id, c)); + for (const g of e) vt(g) || (ti(g) && d(g)); + const f = (g) => { + const x = l[g.id] || 0, + C = i[g.id] || 0; + return Hl + x * (yo + My) + gi(C, x); + }, + m = (g) => (g - o) * (Tr + _y) + Ey, + b = (g) => (g - o) * (yo + Ay) + Hl, + y = (g) => { + const x = l[g.id] || 0, + C = i[g.id] || 0; + return Hl + x * (yo + Ty) + gi(C, x); + }; + for (const g of e) { + if (vt(g)) continue; + const { level: x } = g.data; + g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; } - })(); - if (!c) return -1; - const { level: d } = l[n].data, { level: p } = l[c].data; - return o ? p - d : d - p; -}, Ar = (e, t, n) => [ - t0(e, t, n, !1), - t0(e, t, n, !0) -], n1 = async (e, t, n, o, r, a, i, l, s, u, c, d) => { - var w, E, M, _, L, R; - let p = !1; - const { levelMap: h, tableNodes: m, seeMoreIdTableReverseMap: b } = zy(e, t), y = (j) => e.find((P) => P.id === j), g = {}, x = {}; - let C = o.map((j) => [ - j.table, - j.name - ]), S = []; - for (d(() => ({})); !(Je.isCancelled || (C = C.filter((W) => !g[W.join("/")]), C.length === 0 && S.length === 0)); ) { - const j = {}; - C.forEach((W) => { - g[W.join("/")] = !0, j[W[0]] = !0; - }); - const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], N = [], T = []; - let D = !1; - for (const W of t) { - if (vt(W)) continue; - const Y = W[P], K = W[V], Q = m[K] ? [(w = y(K)) == null ? void 0 : w.data] : (_ = (M = (E = y(K)) == null ? void 0 : E.data) == null ? void 0 : M.tables) == null ? void 0 : _.filter( - (ne) => !m[ne.table] - ); - Q == null || Q.forEach((ne) => { - if (!ne) return; - const { table: oe, materialization: U } = ne; - j[Y] ? (D = !0, U === "ephemeral" ? (Uu( - x, - oe, - C.filter((ge) => ge[0] === Y) - ), N.push(oe)) : k.push(oe)) : S.includes(Y) && (D = !0, U === "ephemeral" ? (Uu( - x, - oe, - x[Y] - ), N.push(oe)) : (T.push(Y), k.push(oe))); + }, + _f = (e, t) => ( + e.forEach((n) => zi(n, !0)), t.forEach((n) => Oo(n, !1)), [e, t] + ), + xr = (e, t, n) => { + Cr(t, !0), vr(t, !1); + const o = {}, + r = {}, + i = (s, u) => { + const c = [n], + d = {}; + for (; c.length > 0; ) { + const h = c.shift(); + (d[h] = !0), + (o[h] = !0), + t.forEach((f) => { + f[s] === h && ((r[f.id] = !0), d[f[u]] || c.push(f[u])); + }); + } + }; + i("source", "target"), i("target", "source"); + const a = [...t]; + a.forEach((s) => Oo(s, r[s.id])); + const l = [...e]; + return l.forEach((s) => zi(s, !!o[s.id])), [l, a]; + }, + Fs = (e, t) => { + const n = e.getNodes(), + o = e.getEdges(), + [r, i] = xr(n, o, t); + e.setNodes(r), e.setEdges(i); + }, + hx = async (e, t, n, o, r, i, a, l, s, u) => { + var w, S; + const c = [], + d = [], + { + column_lineage: h, + confidence: f, + errors: m, + } = await nx({ + targets: r, + upstreamExpansion: i, + currAnd1HopTables: a, + selectedColumn: l, + showIndirectEdges: s.indirect, }); + u((_) => ({ ..._, ...m })), Xe.addLinks(h.length); + const b = h.filter((_) => (i ? Hu(r, _.source) : Hu(r, _.target))), + y = b.map((_) => (i ? _.target : _.source)), + g = {}, + x = ([_, A], R) => { + (g[_] = g[_] || []), + g[_].find((L) => L.column === A) || + g[_].push({ column: A, viewsType: R }); + }, + C = (_, A, R, L, j) => { + const P = la(R, L); + d.find((V) => V.id === P) || d.push(Ii(R, L, t[_], t[A], j, s)); + }, + E = []; + for (const _ of b) { + x(_.source), x(_.target, _.viewsType); + const [A] = _.source, + [R] = _.target, + L = o[A], + j = o[R], + P = _.source.join("/"), + V = _.target.join("/"), + k = bn + P, + N = bn + V, + T = _.type; + if (L && j) C(A, R, k, N, T); + else if (L) { + const F = n[R]; + C(A, F, k, F, T), E.push(_); + } else if (j) { + const F = n[A]; + C(F, R, F, N, T), E.push(_); + } else E.push(_); + } + for (const _ in g) { + if (!o[_]) continue; + const A = [...g[_]]; + A.sort((R, L) => R.column.localeCompare(L.column)); + for (const R of A) { + const L = {}; + b + .filter((j) => j.target.join("/") === `${_}/${R.column}`) + .forEach((j) => { + j.type !== "indirect" && + (L[j.source.join("/")] = j.viewsCode || []); + }), + c.push( + ji( + _, + R.column, + R.viewsType, + L, + (S = (w = e.find((j) => (j.id = _))) == null ? void 0 : w.data) == + null + ? void 0 + : S.nodeType, + ), + ); + } } - if (!D) - break; - S = N; - const I = Object.keys(j).concat(k); - T.forEach((W) => { - C.push(...x[W]), I.push(...x[W].map((Y) => Y[0])); + return { + nodes: c, + edges: d, + collectColumns: g, + newCurr: y, + confidence: f, + seeMoreLineage: E, + }; + }, + gx = async (e, t, n, o) => { + var f, m, b, y; + let r = e.filter(xn), + i = t.filter(xn); + [r, i] = _f(r, i); + const a = {}; + r.forEach((g) => (a[g.id] = g.data.level)); + const l = {}; + e.filter((g) => g.type === "table").forEach((g) => (l[g.id] = !0)); + const s = {}, + u = []; + for (const g of t) { + if (g.id.startsWith(bn)) continue; + const x = l[g.source], + C = l[g.target]; + x && C + ? u.push({ src: g.source, dst: g.target }) + : x + ? (f = e.find((w) => w.id === g.target).data.tables) == null || + f.forEach((w) => { + u.push({ src: g.source, dst: w.table }), (s[w.table] = g.target); + }) + : C && + ((m = e.find((w) => w.id === g.source).data.tables) == null || + m.forEach((w) => { + u.push({ src: w.table, dst: g.target }), + (s[w.table] = g.source); + })); + } + const { collect_columns: c, highlight_edges: d } = await o({ + column_fqn: n, + edges: u, }); - const F = await Ex( - e, - h, - b, - m, - C, - n, - Array.from(new Set(I)), - u, - c, - d - ); - ((L = F.confidence) == null ? void 0 : L.confidence) === "low" && r(((R = F.confidence) == null ? void 0 : R.operator_list) || []), C = F.newCurr, !p && C.length > 0 && (p = !0), C = C.filter( - (W) => t.filter((Y) => (n ? Y.source : Y.target) === W[0]).length > 0 - ); - const [v, z] = l(), [B, A] = kx( - { nodes: v, edges: z }, - F, - u, - n - ); - a(F.seeMoreLineage), pn(B, A), s(B, A), i(F.collectColumns); - } - return p; -}, Ax = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { - var p; - const { table: u } = n; - if (e.find((h) => h.id === u)) return !1; - e.push(Lo(n, i, o)); - const d = (p = e.find((h) => h.id === o)) == null ? void 0 : p.data.level; - if (t.push(Xc(d, i, o, u, a)), l == null || l.forEach((h) => { - const m = wr(h.source[0], h.source[1]), b = wr(h.target[0], h.target[1]), y = {}; - if (a && l.filter((g) => g.target.join("/") === h.target.join("/")).forEach((g) => { - y[g.source.join("/")] = g.viewsCode || []; - }), a) { - if (h.target[0] !== u) return; - e.push( - $a( - h.target[0], - h.target[1], - h.viewsType, - y, - n.nodeType - ) - ), t.push( - Wa(m, b, i - 1, i, h.type, s) - ); - } else { - if (h.source[0] !== u) return; - e.push( - $a( - h.source[0], - h.source[1], - h.viewsType, - y, - n.nodeType - ) - ), t.push( - Wa(m, b, i, i + 1, h.type, s) - ); + for (const g in c) { + if (!l[g]) continue; + const x = [...c[g]]; + x.sort((C, E) => C.column.localeCompare(E.column)); + for (const C of x) { + const E = + (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == + null + ? void 0 + : y.nodeType; + r.push(ji(g, C.column, C.viewsType, {}, E)); + } } - }), r.every((h) => !!e.find((m) => m.id === h.table))) { - const h = Ua(o, a), m = a ? `${o}-${h}` : `${h}-${o}`; - return Yu(e, h), Yu(t, m), !0; - } - return !1; -}, Fo = 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 qa( - e, - t, - n, - i - o, - i + r - ); - return s.length - l; -}, Mx = (e, t, n, o) => { - if (!Zm(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) => di(a.source, a.target)) - }; -}, Ps = (e, t, n, o = [], r) => { - const { nodes: a, edgeIds: i } = Mx( - 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 } = Ps( - s, - t, - n, - o, - r + i.forEach((g) => (g.style = aa)); + const h = (g, x, C, E, w) => { + const S = la(C, E); + i.find((_) => _.id === S) || + i.push( + Ii(C, E, a[g], a[x], w, { + direct: w === "direct", + indirect: w === "indirect", + }), ); - u.forEach((d) => { - l.nodes.push(d), o.findIndex((p) => p.id == d.id) === -1 && o.push(d); - }), l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...c])); + }; + for (const g of d) { + const [x] = g[0].split("/"), + [C] = g[1].split("/"), + E = l[x], + w = l[C], + S = bn + g[0], + _ = bn + g[1], + A = g[2] || "direct"; + if (E && w) h(x, C, S, _, A); + else if (E) { + const R = s[C]; + h(x, R, S, R, A); + } else if (w) { + const R = s[x]; + h(R, C, R, _, A); } - return l; - }, - { nodes: [], edges: [] } - ); -}, Tx = (e, t) => { - const n = t.getNodes().filter((i) => vt(i)), o = t.getEdges(); - n.forEach((i) => { - const l = t.getNode(i.id); - l && Za(l, !1); - }), o.forEach((i) => { - const l = t.getEdge(i.id); - l && (l.hidden = !0, jo(l, !1)); - }); - const r = Ps(e, n, o, [], !0), a = Ps(e, n, o, [], !1); - [r, a].forEach(({ nodes: i, edges: l }) => { - i.forEach((s) => { - const u = t.getNode(s.id); - u && Za(u, !0); - }), l.forEach((s) => { - const u = t.getEdge(s); - u && (u.hidden = !1, jo(u, !0)); - }); - }); -}, Mn = "-1px", Fr = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - Lt, - { - id: "left", - type: "source", - className: "invisible", - isConnectable: !1, - position: ie.Left, - style: { left: Mn } - } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "right", - type: "source", - className: "invisible", - isConnectable: !1, - position: ie.Right, - style: { right: Mn } - } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "left", - type: "target", - className: "invisible", - isConnectable: !1, - position: ie.Left, - style: { left: Mn } - } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "right", - type: "target", - className: "invisible", - isConnectable: !1, - position: ie.Right, - style: { right: Mn } - } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "top", - type: "source", - className: "invisible", - isConnectable: !1, - position: ie.Top, - style: { top: Mn } - } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "bottom", - type: "source", - className: "invisible", - isConnectable: !1, - position: ie.Bottom, - style: { bottom: Mn } } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "top", - type: "target", - className: "invisible", - isConnectable: !1, - position: ie.Top, - style: { top: Mn } + return fn(r, i), { nodes: r, edges: i, collect_columns: c }; + }, + mx = (e, t, n, o) => { + const r = [...e.nodes], + i = [...e.edges]; + if ( + (t.nodes.forEach((a) => { + const l = r.find((s) => s.id === a.id); + if (!l) r.push(a); + else { + const s = + a.data.viewsCode && Object.keys(a.data.viewsCode).length + ? a.data.viewsCode + : l.data.viewsCode; + l.data = { + ...l.data, + ...a.data, + viewsCode: s, + viewsType: l.data.viewsType || a.data.viewsType, + }; + } + }), + t.edges.forEach((a) => { + i.find((l) => l.id === a.id) || i.push(a); + }), + n.name) + ) { + const a = {}, + l = yr(n.table, n.name), + s = { [l]: "direct" }, + u = [l], + c = {}, + d = o ? "source" : "target", + h = o ? "target" : "source"; + for (; u.length > 0; ) { + const f = u.shift(); + if (!c[f]) { + c[f] = !0; + for (const m of i) + m[d] === f && + (u.push(m[h]), + s[m[h]] !== "direct" && + (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); + for (const m of i) m[d] === f && (a[m.id] = s[m[h]]); + } + } + for (const f of i) + xn(f) || + ((f.data.type = a[f.id] || f.data.type), + (f.style = f.data.type === "direct" ? Vc : $c)); } - ), - /* @__PURE__ */ f.jsx( - Lt, - { - id: "bottom", - type: "target", - className: "invisible", - isConnectable: !1, - position: ie.Bottom, - style: { bottom: Mn } + return fn(r, i), [r, i]; + }, + bx = (e, t) => { + const n = e.filter((r) => xn(r)), + o = t.filter((r) => xn(r)); + return [n, o]; + }, + Af = async (e, t, n, o) => { + const r = [...e], + i = [...t], + a = [{ table: n, level: r.find((s) => s.id === n).data.level }], + l = {}; + for (; a.length > 0; ) { + const { table: s, level: u } = a.shift(); + if (l[s]) continue; + l[s] = !0; + const { tables: c } = await Sf(o, s); + ca(r, i, c, s, o, u), + c.forEach((d) => { + const h = r.find((f) => f.id === d.table); + (h == null ? void 0 : h.data.materialization) === "ephemeral" && + a.push({ table: d.table, level: h.data.level }); + }); } - ) -] }), If = ({ 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 = en(), { - state: { - selectedTable: p, - collectColumns: h, - selectedColumn: m, - leftExpansion: b, - rightExpansion: y, - selectCheck: g, - nonSelectCheck: x, - errors: C - }, - rerender: S - } = at(), w = ft(), E = Object.keys(h[n] || {}).length, M = E > 0, _ = p === n, L = async (T) => { - if (Je.inProgress) { - Je.showCllInProgressMsg(); - return; + return [r, i]; + }, + Pi = async (e, t, n, o, r) => { + const i = [...e], + a = [...t]; + if (o >= r) return [i, a]; + const l = Ny(o, r), + s = i.find((c) => c.id === n).data.level, + u = async (c) => { + const d = [{ table: n, level: s }], + h = {}; + for (; d.length > 0; ) { + const f = d.shift(); + if (h[f.table]) continue; + h[f.table] = !0; + const { tables: m } = await Sf(c, f.table); + ca(i, a, m, f.table, c, f.level); + const b = kf(c, f.level); + l(b) + ? d.push(...m.map((y) => ({ table: y.table, level: b }))) + : d.push( + ...m + .filter((y) => y.materialization === "ephemeral") + .map((y) => ({ table: y.table, level: b })), + ); + } + }; + return r > s && (await u(!0)), o < s && (await u(!1)), [i, a]; + }, + Gu = (e, t, n, o) => { + if (!n) return -1; + const r = o ? "source" : "target", + i = o ? "target" : "source", + a = o ? "upstreamCount" : "downstreamCount", + l = {}, + s = {}; + for (const f of e) vt(f) || ((l[f.id] = f), (s[f.id] = [])); + for (const f of t) vt(f) || s[f[r]].push(f[i]); + const c = (() => { + const f = [n], + m = {}; + for (; f.length > 0; ) { + const b = f.shift(); + if (m[b]) continue; + m[b] = !0; + const y = l[b].data; + if (y[a] !== 0) { + if (s[b].length < y[a]) return b; + for (const g of s[b]) f.push(g); + } + } + })(); + if (!c) return -1; + const { level: d } = l[n].data, + { level: h } = l[c].data; + return o ? h - d : d - h; + }, + wr = (e, t, n) => [Gu(e, t, n, !1), Gu(e, t, n, !0)], + Kc = async (e, t, n, o, r, i, a, l, s, u, c, d) => { + var w, S, _, A, R, L; + let h = !1; + const { + levelMap: f, + tableNodes: m, + seeMoreIdTableReverseMap: b, + } = Oy(e, t), + y = (j) => e.find((P) => P.id === j), + g = {}, + x = {}; + let C = o.map((j) => [j.table, j.name]), + E = []; + for ( + d(() => ({})); + !( + Xe.isCancelled || + ((C = C.filter((W) => !g[W.join("/")])), + C.length === 0 && E.length === 0) + ); + + ) { + const j = {}; + C.forEach((W) => { + (g[W.join("/")] = !0), (j[W[0]] = !0); + }); + const [P, V] = n ? ["source", "target"] : ["target", "source"], + k = [], + N = [], + T = []; + let F = !1; + for (const W of t) { + if (vt(W)) continue; + const G = W[P], + K = W[V], + Q = m[K] + ? [(w = y(K)) == null ? void 0 : w.data] + : (A = + (_ = (S = y(K)) == null ? void 0 : S.data) == null + ? void 0 + : _.tables) == null + ? void 0 + : A.filter((ne) => !m[ne.table]); + Q == null || + Q.forEach((ne) => { + if (!ne) return; + const { table: oe, materialization: U } = ne; + j[G] + ? ((F = !0), + U === "ephemeral" + ? (Pu( + x, + oe, + C.filter((ge) => ge[0] === G), + ), + N.push(oe)) + : k.push(oe)) + : E.includes(G) && + ((F = !0), + U === "ephemeral" + ? (Pu(x, oe, x[G]), N.push(oe)) + : (T.push(G), k.push(oe))); + }); + } + if (!F) break; + E = N; + const I = Object.keys(j).concat(k); + T.forEach((W) => { + C.push(...x[W]), I.push(...x[W].map((G) => G[0])); + }); + const D = await hx(e, f, b, m, C, n, Array.from(new Set(I)), u, c, d); + ((R = D.confidence) == null ? void 0 : R.confidence) === "low" && + r(((L = D.confidence) == null ? void 0 : L.operator_list) || []), + (C = D.newCurr), + !h && C.length > 0 && (h = !0), + (C = C.filter( + (W) => t.filter((G) => (n ? G.source : G.target) === W[0]).length > 0, + )); + const [v, z] = l(), + [B, M] = mx({ nodes: v, edges: z }, D, u, n); + i(D.seeMoreLineage), fn(B, M), s(B, M), a(D.collectColumns); } - let [D, I] = await Rf( - d.getNodes(), - d.getEdges(), - n, - T + return h; + }, + yx = ( + e, + t, + n, + { prevTable: o, tables: r, right: i, level: a, lineage: l }, + s, + ) => { + var h; + const { table: u } = n; + if (e.find((f) => f.id === u)) return !1; + e.push(To(n, a, o)); + const d = (h = e.find((f) => f.id === o)) == null ? void 0 : h.data.level; + if ( + (t.push(Wc(d, a, o, u, i)), + l == null || + l.forEach((f) => { + const m = yr(f.source[0], f.source[1]), + b = yr(f.target[0], f.target[1]), + y = {}; + if ( + (i && + l + .filter((g) => g.target.join("/") === f.target.join("/")) + .forEach((g) => { + y[g.source.join("/")] = g.viewsCode || []; + }), + i) + ) { + if (f.target[0] !== u) return; + e.push(ji(f.target[0], f.target[1], f.viewsType, y, n.nodeType)), + t.push(Ii(m, b, a - 1, a, f.type, s)); + } else { + if (f.source[0] !== u) return; + e.push(ji(f.source[0], f.source[1], f.viewsType, y, n.nodeType)), + t.push(Ii(m, b, a, a + 1, f.type, s)); + } + }), + r.every((f) => !!e.find((m) => m.id === f.table))) + ) { + const f = Hi(o, i), + m = i ? `${o}-${f}` : `${f}-${o}`; + return Vu(e, f), Vu(t, m), !0; + } + return !1; + }, + Do = async (e, t, n, o, r) => { + var u; + if (!n) return 0; + const i = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; + if (!i) return 0; + const { level: a } = i, + l = e.length, + [s] = await Pi(e, t, n, a - o, a + r); + return s.length - l; + }, + Cx = (e, t, n, o) => { + if (!Im(e)) return { nodes: [], edgeIds: [] }; + const r = n.filter((i) => (o ? i.target : i.source) === e.id); + return { + nodes: t.filter((i) => + r.find((a) => a.source === i.id || a.target === i.id), + ), + edgeIds: r.map((i) => la(i.source, i.target)), + }; + }, + Rs = (e, t, n, o = [], r) => { + const { nodes: i, edgeIds: a } = Cx(e, t, n, r); + return i.reduce( + (l, s) => { + if ( + (l.nodes.push(s), + (l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...a]))), + o.findIndex((u) => u.id == s.id) === -1) + ) { + o.push(s); + const { nodes: u, edges: c } = Rs(s, t, n, o, r); + u.forEach((d) => { + l.nodes.push(d), + o.findIndex((h) => h.id == d.id) === -1 && o.push(d); + }), + (l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...c]))); + } + return l; + }, + { nodes: [], edges: [] }, ); - if ([D, I] = _r(D, I, p), pn(D, I), d.setNodes(D), d.setEdges(I), w( - pr(Ar(D, I, p)) - ), w( - Mo( - await Fo( - D, - I, - p, - b, - y + }, + vx = (e, t) => { + const n = t.getNodes().filter((a) => vt(a)), + o = t.getEdges(); + n.forEach((a) => { + const l = t.getNode(a.id); + l && zi(l, !1); + }), + o.forEach((a) => { + const l = t.getEdge(a.id); + l && ((l.hidden = !0), Oo(l, !1)); + }); + const r = Rs(e, n, o, [], !0), + i = Rs(e, n, o, [], !1); + [r, i].forEach(({ nodes: a, edges: l }) => { + a.forEach((s) => { + const u = t.getNode(s.id); + u && zi(u, !0); + }), + l.forEach((s) => { + const u = t.getEdge(s); + u && ((u.hidden = !1), Oo(u, !0)); + }); + }); + }, + _n = "-1px", + Or = () => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(Lt, { + id: "left", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Left, + style: { left: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "right", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Right, + style: { right: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "left", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Left, + style: { left: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "right", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Right, + style: { right: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "top", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Top, + style: { top: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "bottom", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Bottom, + style: { bottom: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "top", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Top, + style: { top: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "bottom", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Bottom, + style: { bottom: _n }, + }), + ], + }), + Mf = ({ data: e }) => { + var N; + const { + label: t, + table: n, + url: o, + upstreamCount: r, + downstreamCount: i, + nodeType: a, + tests: l, + materialization: s, + isExternalProject: u, + schema: c, + } = e, + d = Qt(), + { + state: { + selectedTable: h, + collectColumns: f, + selectedColumn: m, + leftExpansion: b, + rightExpansion: y, + selectCheck: g, + nonSelectCheck: x, + errors: C, + }, + rerender: E, + } = ot(), + w = dt(), + S = Object.keys(f[n] || {}).length, + _ = S > 0, + A = h === n, + R = async (T) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + let [F, I] = await Af(d.getNodes(), d.getEdges(), n, T); + if ( + (([F, I] = xr(F, I, h)), + fn(F, I), + d.setNodes(F), + d.setEdges(I), + w(ur(wr(F, I, h))), + w(So(await Do(F, I, h, b, y))), + E(), + !!(m != null && m.name)) ) - ) - ), S(), !!(m != null && m.name)) - try { - Je.start(); - const F = d.getEdges(); - Er(F, !1), Sr(F, !0), d.setEdges(F), await n1( - D, - I, - T, - h[n].map((v) => ({ table: n, name: v.column })), - (v) => { - w(Ec({ operatorList: v })); - }, - (v) => { - w(xc(v)); - }, - (v) => { - w(wc(v)); - }, - () => [d.getNodes(), d.getEdges()], - (v, z) => { - d.setNodes(v), d.setEdges(z); - }, - m, - { direct: g, indirect: x }, - (v) => w(Sc(v(C))) - ), S(); - } catch (F) { - console.log("cll:error:", F); - } finally { - Je.end(); - } - }, R = () => L(!0), j = () => L(!1), P = (T) => { - T.stopPropagation(), i !== "semantic_model" && (w(eo(n)), w(Gt(i === "exposure" ? Zc : Wc))); - }, V = d.getEdges(), k = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ f.jsxs( - "div", - { + try { + Xe.start(); + const D = d.getEdges(); + Cr(D, !1), + vr(D, !0), + d.setEdges(D), + await Kc( + F, + I, + T, + f[n].map((v) => ({ table: n, name: v.column })), + (v) => { + w(mc({ operatorList: v })); + }, + (v) => { + w(hc(v)); + }, + (v) => { + w(gc(v)); + }, + () => [d.getNodes(), d.getEdges()], + (v, z) => { + d.setNodes(v), d.setEdges(z); + }, + m, + { direct: g, indirect: x }, + (v) => w(bc(v(C))), + ), + E(); + } catch (D) { + console.log("cll:error:", D); + } finally { + Xe.end(); + } + }, + L = () => R(!0), + j = () => R(!1), + P = (T) => { + T.stopPropagation(), + a !== "semantic_model" && + (w(Xn(n)), w(Yt(a === "exposure" ? zc : Ic))); + }, + V = d.getEdges(), + k = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ p.jsxs("div", { className: "position-relative", style: { - opacity: m != null && m.name ? M ? 1 : 0.5 : 1 + opacity: m != null && m.name ? (_ ? 1 : 0.5) : 1, }, children: [ - /* @__PURE__ */ f.jsxs( - "div", - { - className: G.table_node, - onClick: async () => { - const T = d.getNodes(), D = d.getEdges(); - w(pr(Ar(T, D, n))), w( - Mo( - await Fo( - T, - D, - n, - b, - y - ) - ) - ), Hs(d, n), w(eo(n)), o && px(o); - }, - children: [ - /* @__PURE__ */ f.jsx( - "div", + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_node, + onClick: async () => { + const T = d.getNodes(), + F = d.getEdges(); + w(ur(wr(T, F, n))), + w(So(await Do(T, F, n, b, y))), + Fs(d, n), + w(Xn(n)), + o && ix(o); + }, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Te( + Y.header, + "d-flex flex-column align-items-start gap-xs", { - className: Oe( - G.header, - "d-flex flex-column align-items-start gap-xs", - { - [G.selected]: _, - [G.collapse]: !M - } - ), - children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.table_header, children: [ - i in kr && /* @__PURE__ */ f.jsx(f.Fragment, { children: /* @__PURE__ */ f.jsxs( - "div", - { - className: Oe( - G.node_icon, - t1[i] - ), - children: [ - /* @__PURE__ */ f.jsx(hi, { nodeType: i }), - /* @__PURE__ */ f.jsx("div", { children: kr[i] }) - ] - } - ) }), - i in n0 && /* @__PURE__ */ f.jsx( - "img", - { - src: n0[i], - className: G.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 = C == null ? void 0 : C[n]) == null ? void 0 : N.length) && /* @__PURE__ */ f.jsx( - Sn, - { - title: /* @__PURE__ */ f.jsx("div", { className: G.error_tooltip, children: C[n].map((T, D) => /* @__PURE__ */ f.jsxs("div", { className: "mb-1", children: [ - D + 1, - ". ", - T - ] }, D)) }), - children: /* @__PURE__ */ f.jsx(ax, {}) - } - ) - ] }), - /* @__PURE__ */ f.jsxs( - "div", - { - className: Oe( - "w-100 d-flex align-items-center gap-xs", - G.node_extra_info - ), + [Y.selected]: A, + [Y.collapse]: !_, + }, + ), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_header, + children: [ + a in No && + /* @__PURE__ */ p.jsx(p.Fragment, { + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.node_icon, Gc[a]), + children: [ + /* @__PURE__ */ p.jsx(Yc, { nodeType: a }), + /* @__PURE__ */ p.jsx("div", { children: No[a] }), + ], + }), + }), + a in Vi && + /* @__PURE__ */ p.jsx("img", { + src: Vi[a], + className: Y.dialect_icon, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "overflow-x", children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe("nodrag", G.table_handle, { - invisible: a === 0 || a === V.filter((T) => T.target === n).length || d.getNode(Ua(n, !1)) - }), - onClick: (T) => { - T.stopPropagation(), j(); - }, - "data-testid": "expand-left-btn-" + n, - children: "+" - } - ), - (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ f.jsx( - rr, - { - id: "table-node-tests-" + k, - icon: /* @__PURE__ */ f.jsx(Mf, {}), - text: l.length.toString(), - label: "Tests" - } - ), - s && /* @__PURE__ */ f.jsx( - rr, - { - id: "table-node-materilization-" + k, - icon: /* @__PURE__ */ f.jsx(Tf, {}), - text: s, - label: "Materialization" - } - ), - u ? /* @__PURE__ */ f.jsx( - rr, - { - id: "table-node-is-external-" + k, - icon: /* @__PURE__ */ f.jsx(mv, {}), - text: "ext", - label: `External Project: ${n}` - } - ) : null, - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe( - "nodrag", - _ && i !== "semantic_model" ? "text-blue" : "text-grey" + /* @__PURE__ */ p.jsx("div", { + className: c ? "text-overflow" : "lines-2", + children: t, + }), + c && + /* @__PURE__ */ p.jsx("div", { + className: "text-muted", + style: { fontSize: "0.75em" }, + children: c, + }), + ], + }), + ((N = C == null ? void 0 : C[n]) == null + ? void 0 + : N.length) && + /* @__PURE__ */ p.jsx(wn, { + title: /* @__PURE__ */ p.jsx("div", { + className: Y.error_tooltip, + children: C[n].map((T, F) => + /* @__PURE__ */ p.jsxs( + "div", + { + className: "mb-1", + children: [F + 1, ". ", T], + }, + F, ), - onClick: P, - "data-testid": "view-details-btn-" + n, - children: "Details" - } - ), - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe("nodrag", G.table_handle, { - invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Ua(n, !0)) - }), - onClick: (T) => { - T.stopPropagation(), R(); - }, - "data-testid": "expand-right-btn-" + n, - children: "+" - } - ) - ] - } - ) - ] }) - } - ), - M && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: G.divider }), - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe(G.content, { - [G.selected]: _ + ), + }), + children: /* @__PURE__ */ p.jsx(Xv, {}), + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Te( + "w-100 d-flex align-items-center gap-xs", + Y.node_extra_info, + ), + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Te("nodrag", Y.table_handle, { + invisible: + i === 0 || + i === V.filter((T) => T.target === n).length || + d.getNode(Hi(n, !1)), + }), + onClick: (T) => { + T.stopPropagation(), j(); + }, + "data-testid": "expand-left-btn-" + n, + children: "+", + }), + (l == null ? void 0 : l.length) > 0 && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-tests-" + k, + icon: /* @__PURE__ */ p.jsx(bf, {}), + text: l.length.toString(), + label: "Tests", + }), + s && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-materilization-" + k, + icon: /* @__PURE__ */ p.jsx(yf, {}), + text: s, + label: "Materialization", + }), + u + ? /* @__PURE__ */ p.jsx(tr, { + id: "table-node-is-external-" + k, + icon: /* @__PURE__ */ p.jsx(sv, {}), + text: "ext", + label: `External Project: ${n}`, + }) + : null, + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", { + className: Te( + "nodrag", + A && a !== "semantic_model" + ? "text-blue" + : "text-grey", + ), + onClick: P, + "data-testid": "view-details-btn-" + n, + children: "Details", + }), + /* @__PURE__ */ p.jsx("div", { + className: Te("nodrag", Y.table_handle, { + invisible: + r === 0 || + r === V.filter((T) => T.source === n).length || + d.getNode(Hi(n, !0)), + }), + onClick: (T) => { + T.stopPropagation(), L(); + }, + "data-testid": "expand-right-btn-" + n, + children: "+", + }), + ], + }), + ], + }), + }), + _ && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.content, { + [Y.selected]: A, }), - style: { height: wa(E) } - } - ) - ] }) - ] - } - ), - /* @__PURE__ */ f.jsx(Fr, {}) - ] - } - ); -}, Ya = ({ - percentValue: e, - className: t -}) => e ? /* @__PURE__ */ f.jsx(Sn, { title: e.tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: t, children: [ - /* @__PURE__ */ f.jsx("div", { className: G.value, children: e.value }), - /* @__PURE__ */ f.jsx("div", { className: G.percent, children: e.percent }) -] }) }) : null, Ox = ({ data: e }) => { - var p, h; - const { table: t, nodeType: n, label: o } = e, { - state: { - sqlLineage: r, - highlightedNodes: a, - externalSidePanel: i, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = at(), c = ft(), d = n || "unknown"; - return /* @__PURE__ */ f.jsxs("div", { className: "position-relative", children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ f.jsx( - Ya, - { - percentValue: (p = s[t]) == null ? void 0 : p.savings, - className: G.savings - } - ), - /* @__PURE__ */ f.jsx( - Ya, - { - percentValue: (h = s[t]) == null ? void 0 : h.performance, - className: G.performance - } - ) - ] }), - /* @__PURE__ */ f.jsx( - "div", + style: { height: gi(S) }, + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Bi = ({ percentValue: e, className: t }) => + e + ? /* @__PURE__ */ p.jsx(wn, { + title: e.tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: t, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.value, + children: e.value, + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.percent, + children: e.percent, + }), + ], + }), + }) + : null, + xx = ({ data: e }) => { + var h, f; + const { table: t, nodeType: n, label: o } = e, { - className: G.static_table_node, - onClick: () => { - document.dispatchEvent( - new CustomEvent("selectedNode", { detail: t }) - ); + state: { + sqlLineage: r, + highlightedNodes: i, + externalSidePanel: a, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: /* @__PURE__ */ f.jsx( - "div", - { - className: Oe( - G.header, - "d-flex flex-column align-items-start", - { - [G.collapse]: !0, - [G.highlighted]: a.includes(t), - [G.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(Sn, { title: u[t].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: Oe(G.cost_data), children: [ - /* @__PURE__ */ f.jsx("div", { children: u[t].value }), - /* @__PURE__ */ f.jsx("div", { children: u[t].percent }) - ] }) }), - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe(G.node_icon, t1[d]), - children: /* @__PURE__ */ f.jsx(wx, { 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: Oe( - G.details_btn, - !r || d === "unknown" ? G.disable : G.enable + } = ot(), + c = dt(), + d = n || "unknown"; + return /* @__PURE__ */ p.jsxs("div", { + className: "position-relative", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.node_stats, + children: [ + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (h = s[t]) == null ? void 0 : h.savings, + className: Y.savings, + }), + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (f = s[t]) == null ? void 0 : f.performance, + className: Y.performance, + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.static_table_node, + onClick: () => { + document.dispatchEvent( + new CustomEvent("selectedNode", { detail: t }), + ); + }, + children: /* @__PURE__ */ p.jsx("div", { + className: Te(Y.header, "d-flex flex-column align-items-start", { + [Y.collapse]: !0, + [Y.highlighted]: i.includes(t), + [Y.selected]: l === t, + }), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", + children: [ + u[t] && + /* @__PURE__ */ p.jsx(wn, { + title: u[t].tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.cost_data), + children: [ + /* @__PURE__ */ p.jsx("div", { children: u[t].value }), + /* @__PURE__ */ p.jsx("div", { + children: u[t].percent, + }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.node_icon, Gc[d]), + children: /* @__PURE__ */ p.jsx(px, { nodeType: d }), + }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: o, + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsx("div", { + className: Te( + Y.details_btn, + !r || d === "unknown" ? Y.disable : Y.enable, ), onClick: (m) => { - m.stopPropagation(), d !== "unknown" && (i || c(eo(t))); + m.stopPropagation(), d !== "unknown" && (a || c(Xn(t))); }, - children: /* @__PURE__ */ f.jsx(Of, {}) - } - ) - ] }) - } - ) - } - ), - /* @__PURE__ */ f.jsx(Fr, {}) - ] }); -}, o1 = ({ data: e }) => { - const { tables: t = [], prevTable: n, right: o, level: r } = e, { - state: { moreTables: a } - } = at(), i = ft(), l = en(), s = Te( - (u) => { - u.stopPropagation(), i(Gt(Uc)), i( - vc({ ...a, tables: t, prevTable: n, right: o, level: r }) + children: /* @__PURE__ */ p.jsx(Cf, {}), + }), + ], + }), + }), + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Xc = ({ data: e }) => { + const { tables: t = [], prevTable: n, right: o, level: r } = e, + { + state: { moreTables: i }, + } = ot(), + a = dt(), + l = Qt(), + s = Me( + (u) => { + u.stopPropagation(), + a(Yt(Hc)), + a(pc({ ...i, tables: t, prevTable: n, right: o, level: r })); + }, + [r, a, i, n, o, t], ); - }, - [r, i, a, n, o, t] - ); - return /* @__PURE__ */ f.jsxs("div", { className: G.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(Fr, {}) - ] }); -}, r1 = (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(zo, { path: s, markerEnd: a }); -}, a1 = ({ data: e }) => { - const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, { - state: { selectedColumn: i } - } = at(), l = ft(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && Yc[o], c = u ? { borderColor: u } : {}, d = en(), p = () => { - const m = d.getNode(wr(n, t)); - m && (l(eo("")), l(Zn({ name: t, table: n })), Tx(m, d)); - }, h = Ve(() => { - const m = Object.values( - r || {} - ).flat().filter(([, y]) => y === "Transformation").map(([y]) => y), b = []; - for (const y of m) - b.includes(y) || b.push(y); - return b; - }, [r]); - return /* @__PURE__ */ f.jsxs( - "div", - { - className: Oe( - G.column_node, - s ? G.selected : G.default - ), - style: c, - onClick: p, + return /* @__PURE__ */ p.jsxs("div", { + className: Y.see_more_node, + onClick: s, children: [ - /* @__PURE__ */ f.jsx("div", { className: G.column_name, children: t }), - /* @__PURE__ */ f.jsx(Fr, {}), - /* @__PURE__ */ f.jsxs("div", { className: G.column_top_right, children: [ - h.length > 0 && /* @__PURE__ */ f.jsx(Sn, { title: "Click to view code", children: /* @__PURE__ */ f.jsx( - "div", - { - className: G.column_code_icon, - onClick: (m) => { - m.stopPropagation(), l( - To({ - type: "views_code", - args: { - table: n, - viewsType: o, - viewsCode: r, - nodeType: a, - column: t - } - }) - ); - }, - children: /* @__PURE__ */ f.jsx(Ed, {}) - } - ) }), - o && o !== "Non select" && /* @__PURE__ */ f.jsx(Jc, { viewsType: o }) - ] }) - ] - } - ); -}, zf = { - INNER_JOIN: /* @__PURE__ */ f.jsx(Zv, {}), - OUTER_JOIN: /* @__PURE__ */ f.jsx(Gv, {}), - LEFT_JOIN: /* @__PURE__ */ f.jsx(Uv, {}), - FULL_JOIN: /* @__PURE__ */ f.jsx(Jv, {}), - RIGHT_JOIN: /* @__PURE__ */ f.jsx(Kv, {}), - CROSS_JOIN: /* @__PURE__ */ f.jsx(Xv, {}), - LATERAL_JOIN: /* @__PURE__ */ f.jsx(Qv, {}), - FILTER: /* @__PURE__ */ f.jsx($v, {}), - GROUP: /* @__PURE__ */ f.jsx(Wv, {}), - LIMIT: /* @__PURE__ */ f.jsx(qv, {}), - SORT: /* @__PURE__ */ f.jsx(Yv, {}), - UNION: /* @__PURE__ */ f.jsx(ex, {}), - SELECT: /* @__PURE__ */ f.jsx(tx, {}) -}, n0 = { - postgres: ox, - snowflake: nx, - s3: rx -}, Nx = ({ data: e }) => { - var p, h; - const { type: t, expression: n, id: o } = e, { - state: { - theme: r, - highlightedNodes: a, - externalSidePanel: i, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = at(), c = r === "dark", d = ft(); - return /* @__PURE__ */ f.jsxs("div", { style: { width: jr, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ f.jsx(Fr, {}), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsxs( - "div", + /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold", + children: "See more", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", { + children: t.filter((u) => !l.getNode(u.table)).length || "", + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Qc = (e) => { + const { sourceX: t, sourceY: n, targetX: o, targetY: r, markerEnd: i } = e, + a = (t - o) * 0.6, + s = `M ${t - 5} ${n} A ${a} 50 0 1 0 ${o + 2} ${r}`; + return /* @__PURE__ */ p.jsx(Fo, { path: s, markerEnd: i }); + }, + Jc = ({ data: e }) => { + const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: i } = e, { - className: Oe(G.op_node, { - [G.highlighted]: a.includes(o), - [G.selected]: l === o + state: { selectedColumn: a }, + } = ot(), + l = dt(), + s = + (a == null ? void 0 : a.table) === n && + (a == null ? void 0 : a.name) === t, + u = o && Bc[o], + c = u ? { borderColor: u } : {}, + d = Qt(), + h = () => { + const m = d.getNode(yr(n, t)); + m && (l(Xn("")), l(Vn({ name: t, table: n })), vx(m, d)); + }, + f = Be(() => { + const m = Object.values(r || {}) + .flat() + .filter(([, y]) => y === "Transformation") + .map(([y]) => y), + b = []; + for (const y of m) b.includes(y) || b.push(y); + return b; + }, [r]); + return /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.column_node, s ? Y.selected : Y.default), + style: c, + onClick: h, + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.column_name, children: t }), + /* @__PURE__ */ p.jsx(Or, {}), + /* @__PURE__ */ p.jsxs("div", { + className: Y.column_top_right, + children: [ + f.length > 0 && + /* @__PURE__ */ p.jsx(wn, { + title: "Click to view code", + children: /* @__PURE__ */ p.jsx("div", { + className: Y.column_code_icon, + onClick: (m) => { + m.stopPropagation(), + l( + ko({ + type: "views_code", + args: { + table: n, + viewsType: o, + viewsCode: r, + nodeType: i, + column: t, + }, + }), + ); + }, + children: /* @__PURE__ */ p.jsx(fd, {}), + }), + }), + o && + o !== "Non select" && + /* @__PURE__ */ p.jsx(Uc, { viewsType: o }), + ], }), - onClick: () => { - i ? document.dispatchEvent( - new CustomEvent("selectedNode", { detail: o }) - ) : d( - To({ - type: "op_node", - args: { op_code: n, op_type: t } - }) - ); + ], + }); + }, + Tf = { + INNER_JOIN: /* @__PURE__ */ p.jsx(Iv, {}), + OUTER_JOIN: /* @__PURE__ */ p.jsx(Bv, {}), + LEFT_JOIN: /* @__PURE__ */ p.jsx(zv, {}), + FULL_JOIN: /* @__PURE__ */ p.jsx(Zv, {}), + RIGHT_JOIN: /* @__PURE__ */ p.jsx(Vv, {}), + CROSS_JOIN: /* @__PURE__ */ p.jsx($v, {}), + LATERAL_JOIN: /* @__PURE__ */ p.jsx(Wv, {}), + FILTER: /* @__PURE__ */ p.jsx(Rv, {}), + GROUP: /* @__PURE__ */ p.jsx(jv, {}), + LIMIT: /* @__PURE__ */ p.jsx(Hv, {}), + SORT: /* @__PURE__ */ p.jsx(Pv, {}), + UNION: /* @__PURE__ */ p.jsx(Uv, {}), + SELECT: /* @__PURE__ */ p.jsx(qv, {}), + }, + Vi = { + postgres: Gv, + snowflake: Yv, + s3: Kv, + }, + wx = ({ data: e }) => { + var h, f; + const { type: t, expression: n, id: o } = e, + { + state: { + theme: r, + highlightedNodes: i, + externalSidePanel: a, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: [ - u[o] && /* @__PURE__ */ f.jsx(Sn, { title: u[o].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: Oe(G.cost_data), children: [ - /* @__PURE__ */ f.jsx("div", { children: u[o].value }), - /* @__PURE__ */ f.jsx("div", { children: u[o].percent }) - ] }) }), - /* @__PURE__ */ f.jsx( - "div", - { - className: Oe( - G.node_icon, - c ? G.dark_mode : G.light_mode - ), - children: zf[t] - } - ), - /* @__PURE__ */ f.jsx("div", {}), - /* @__PURE__ */ f.jsxs("div", { className: G.op_type_text, children: [ - /* @__PURE__ */ f.jsx("span", { children: t }), - /* @__PURE__ */ f.jsxs("div", { className: G.node_stats, children: [ - /* @__PURE__ */ f.jsx( - Ya, - { - percentValue: (p = s[o]) == null ? void 0 : p.savings, - className: G.savings - } - ), - /* @__PURE__ */ f.jsx( - Ya, - { - percentValue: (h = s[o]) == null ? void 0 : h.performance, - className: G.performance - } - ) - ] }) - ] }), - /* @__PURE__ */ f.jsx("div", {}) - ] - } - ) }) - ] }); -}; -function i1({ - isOpen: e, - closeModal: t, - width: n = 350, - children: o -}) { + } = ot(), + c = r === "dark", + d = dt(); + return /* @__PURE__ */ p.jsxs("div", { + style: { width: Tr, display: "flex", justifyContent: "center" }, + children: [ + /* @__PURE__ */ p.jsx(Or, {}), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.op_node, { + [Y.highlighted]: i.includes(o), + [Y.selected]: l === o, + }), + onClick: () => { + a + ? document.dispatchEvent( + new CustomEvent("selectedNode", { detail: o }), + ) + : d( + ko({ + type: "op_node", + args: { op_code: n, op_type: t }, + }), + ); + }, + children: [ + u[o] && + /* @__PURE__ */ p.jsx(wn, { + title: u[o].tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.cost_data), + children: [ + /* @__PURE__ */ p.jsx("div", { children: u[o].value }), + /* @__PURE__ */ p.jsx("div", { children: u[o].percent }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.node_icon, c ? Y.dark_mode : Y.light_mode), + children: Tf[t], + }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsxs("div", { + className: Y.op_type_text, + children: [ + /* @__PURE__ */ p.jsx("span", { children: t }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.node_stats, + children: [ + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (h = s[o]) == null ? void 0 : h.savings, + className: Y.savings, + }), + /* @__PURE__ */ p.jsx(Bi, { + percentValue: + (f = s[o]) == null ? void 0 : f.performance, + className: Y.performance, + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsx("div", {}), + ], + }), + }), + ], + }); + }; +function e1({ isOpen: e, closeModal: t, width: n = 350, children: o }) { const r = document.getElementById("lineage-sidebar"); if (!r) return null; - const a = typeof n == "number" ? `${n}px` : n; - return zn( - /* @__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(Qc, {}) }), - o - ] }) - ] }) }), - r + const i = typeof n == "number" ? `${n}px` : n; + return jn( + /* @__PURE__ */ p.jsx("div", { + className: `sidebar-modal ${e ? "" : "d-none"}`, + children: + e && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "sidebar-background-screen", + onClick: t, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "sidebar-modal-content", + style: { width: i }, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "sidebar-close-button", + onClick: t, + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + o, + ], + }), + ], + }), + }), + r, ); } -function Ho(e) { - return /* @__PURE__ */ f.jsx(Xt, { className: "custom-input", ...e }); +function Ro(e) { + return /* @__PURE__ */ p.jsx(Fn, { className: "custom-input", ...e }); } -function Dx(e) { - return /* @__PURE__ */ f.jsx(Xt, { className: "custom-input", ...e, type: "textarea", rows: 4 }); +function Ex(e) { + return /* @__PURE__ */ p.jsx(Fn, { + className: "custom-input", + ...e, + type: "textarea", + rows: 4, + }); } -function Lx({ - 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: G.table_header, children: [ - /* @__PURE__ */ f.jsxs("div", { className: Oe(G.node_icon, t1[a]), children: [ - /* @__PURE__ */ f.jsx(hi, { nodeType: a }), - /* @__PURE__ */ f.jsx("div", { children: kr[a] }) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: t }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: Oe("d-flex gap-xs", G.node_extra_info), children: [ - (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ f.jsx( - rr, - { - id: "table-node-tests-" + i, - icon: /* @__PURE__ */ f.jsx(Mf, {}), - text: o.length.toString(), - label: "Tests" - } - ), - r && /* @__PURE__ */ f.jsx( - rr, - { - id: "table-node-materilization-" + i, - icon: /* @__PURE__ */ f.jsx(Tf, {}), - text: r, - label: "Materialization" - } - ) - ] }) - ] }); +function Sx({ nodeType: e, label: t, table: n, tests: o, materialization: r }) { + const i = e, + a = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_header, + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.node_icon, Gc[i]), + children: [ + /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), + /* @__PURE__ */ p.jsx("div", { children: No[i] }), + ], + }), + /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }), + ], + }), + ((o == null ? void 0 : o.length) > 0 || r) && + /* @__PURE__ */ p.jsxs("div", { + className: Te("d-flex gap-xs", Y.node_extra_info), + children: [ + (o == null ? void 0 : o.length) > 0 && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-tests-" + a, + icon: /* @__PURE__ */ p.jsx(bf, {}), + text: o.length.toString(), + label: "Tests", + }), + r && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-materilization-" + a, + icon: /* @__PURE__ */ p.jsx(yf, {}), + text: r, + label: "Materialization", + }), + ], + }), + ], + }); } -function Hf() { +function Of() { const { - state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, - rerender: o - } = at(), r = ft(), { tables: a, level: i } = e, l = en(), s = async (d) => { - const p = [...l.getNodes()], h = [...l.getEdges()]; - Ax( - p, - h, - d, - e, - { direct: t, indirect: n } - ) && r(Gt("")), pn(p, h), l.setNodes(p), l.setEdges(h), o(); - }, [u, c] = ce(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( - Ho, - { + state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, + rerender: o, + } = ot(), + r = dt(), + { tables: i, level: a } = e, + l = Qt(), + s = async (d) => { + const h = [...l.getNodes()], + f = [...l.getEdges()]; + yx(h, f, d, e, { direct: t, indirect: n }) && r(Yt("")), + fn(h, f), + l.setNodes(h), + l.setEdges(f), + o(); + }, + [u, c] = ue(i); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Tables", + }), + /* @__PURE__ */ p.jsx(Ro, { bsSize: "sm", placeholder: "Search by table name", onChange: (d) => { - const p = d.target.value.toLowerCase(); - c( - a.filter((h) => h.table.toLowerCase().includes(p)) - ); - } - } - ), - /* @__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 p = l.getNode(d.table), h = p && p.data.level !== i; - return /* @__PURE__ */ f.jsx( - "div", - { - className: Oe(G.table_card, { - [G.selected]: p - // [styles.disabled]: isNodeOnOtherLevel, - }), - onClick: (m) => { - m.stopPropagation(), !h && s(d); - }, - children: /* @__PURE__ */ f.jsx( - Lx, - { - nodeType: d.nodeType, - label: d.label, - table: d.table, - tests: d.tests, - materialization: d.materialization - } - ) + const h = d.target.value.toLowerCase(); + c(i.filter((f) => f.table.toLowerCase().includes(h))); }, - d.table - ); - }) }) }) - ] }); -} -const jx = "_component_13r39_1", Fx = "_spin_13r39_1", Rx = { - component: jx, - spin: Fx -}, Pf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ f.jsx( - "div", - { - className: Rx.component, - style: { top: `${e}%`, left: `${t}%` }, - children: /* @__PURE__ */ f.jsx("div", { style: { marginTop: "-70px" }, children: n }) - } -), Ix = "_level_tag_x6wwh_1", zx = { - level_tag: Ix -}, Hx = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { className: Oe(zx.level_tag), children: e }), Bf = ({ purpose: e }) => /* @__PURE__ */ f.jsx("div", { className: Oe(G.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: Oe(G.column_card), children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs", children: e }) }) -] }) }) }), Vf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { - const { - state: { theme: r } - } = tt(ro); - return /* @__PURE__ */ f.jsxs( - "div", - { - className: Oe(G.column_card, { - [G.selected]: n, - "cursor-pointer": o + }), + /* @__PURE__ */ p.jsx("div", { className: "mb-3" }), + /* @__PURE__ */ p.jsx("div", { + className: "h-100 overflow-y", + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: u.map((d) => { + const h = l.getNode(d.table), + f = h && h.data.level !== a; + return /* @__PURE__ */ p.jsx( + "div", + { + className: Te(Y.table_card, { + [Y.selected]: h, + // [styles.disabled]: isNodeOnOtherLevel, + }), + onClick: (m) => { + m.stopPropagation(), !f && s(d); + }, + children: /* @__PURE__ */ p.jsx(Sx, { + nodeType: d.nodeType, + label: d.label, + table: d.table, + tests: d.tests, + materialization: d.materialization, + }), + }, + d.table, + ); + }), + }), + }), + ], + }); +} +const kx = "_component_13r39_1", + _x = "_spin_13r39_1", + Ax = { + component: kx, + spin: _x, + }, + Nf = ({ top: e = 50, left: t = 50, label: n }) => + /* @__PURE__ */ p.jsx("div", { + className: Ax.component, + style: { top: `${e}%`, left: `${t}%` }, + children: /* @__PURE__ */ p.jsx("div", { + style: { marginTop: "-70px" }, + children: n, + }), + }), + Mx = "_level_tag_x6wwh_1", + Tx = { + level_tag: Mx, + }, + Ox = ({ label: e }) => + /* @__PURE__ */ p.jsx("div", { className: Te(Tx.level_tag), children: e }), + Df = ({ purpose: e }) => + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "purpose-section"), + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-xs flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Description", + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.column_card), + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs", + children: e, + }), + }), + ], + }), + }), + }), + Lf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { + const { + state: { theme: r }, + } = Je(eo); + return /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.column_card, { + [Y.selected]: n, + "cursor-pointer": o, }), 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(vx, { 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: G.expand_lineage_icon, children: /* @__PURE__ */ f.jsx(Ov, {}) }), - e.datatype && /* @__PURE__ */ f.jsx(Hx, { 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( - Tr, - { + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx(dx, { datatype: e.datatype || "" }), + /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: e.name, + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + e.can_lineage_expand && + /* @__PURE__ */ p.jsx("div", { + className: Y.expand_lineage_icon, + children: /* @__PURE__ */ p.jsx(wv, {}), + }), + e.datatype && /* @__PURE__ */ p.jsx(Ox, { label: e.datatype }), + ], + }), + e.description && + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: e.description, + }), + }), + e.code && + /* @__PURE__ */ p.jsx(Sr, { code: e.code, language: "sql", editorTheme: "tomorrow", - theme: r - } - ) - ] - } - ); -}, Px = ({ - 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: Oe(G.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( - Re, - { - size: "sm", - color: "primary", - onClick: () => { - r && fi(r.table, !0).then((c) => { - c && (i(c), n(c.columns)); - }); - }, - children: "Sync with DB" + theme: r, + }), + ], + }); + }, + Nx = ({ + columns: e, + filteredColumn: t, + setFilteredColumn: n, + handleColumnClick: o, + selectedTable: r, + selectedColumn: i, + setData: a, + allowSyncColumnsWithDB: l, + lineageType: s, + }) => { + const u = (r == null ? void 0 : r.materialization) === "ephemeral", + c = (r == null ? void 0 : r.nodeType) === "analysis"; + return /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Columns", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + l && + !u && + !c && + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: () => { + r && + sa(r.table, !0).then((d) => { + d && (a(d), n(d.columns)); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + type: "text", + placeholder: "Search by column name", + onChange: (d) => { + const h = d.target.value.toLowerCase(); + n(e.filter((f) => f.name.toLowerCase().includes(h))); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + !u && + /* @__PURE__ */ p.jsx("div", { + className: "fs-xxs", + children: "Select column for lineage", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " columns"], + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((d) => + /* @__PURE__ */ p.jsx( + Lf, + { + column: d, + handleClick: () => { + u || o(d); + }, + selected: + d.name === (i == null ? void 0 : i.name) && + d.table === (i == null ? void 0 : i.table), + isSelectable: !u && s === "dynamic", + }, + d.name, + ), + ), + }), + ], + }), + }); + }, + Dx = ({ tests: e }) => { + const [t, n] = ue(e); + return /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Tests", + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + type: "text", + placeholder: "Search by test", + onChange: (o) => { + const r = o.target.value.toLowerCase(); + n(e.filter((i) => i.key.toLowerCase().includes(r))); + }, + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " tests"], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((o) => + /* @__PURE__ */ p.jsx( + "div", + { + className: Y.column_card, + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: o.key, + }), + }), + }, + o.key, + ), + ), + }), + ], + }), + }); + }, + t1 = ({ nodeType: e, table: t }) => + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: t, + }), + }), + ], + }), + Ff = ({ lineageType: e }) => { + var S; + const { + rerender: t, + state: { + selectedTable: n, + selectedColumn: o, + selectCheck: r, + nonSelectCheck: i, + aiEnabled: a, + allowSyncColumnsWithDB: l, + errors: s, + }, + } = ot(), + u = dt(), + c = Qt(), + [d, h] = ue([]), + [f, m] = ue(null), + [b, y] = ue(0), + [g, x] = ue(!0); + ce(() => { + n && + (x(!0), + sa(n, !1) + .then((_) => { + m(_), h(_.columns), x(!1); + }) + .catch(() => { + x(!1); + })); + }, [n]); + const C = async (_) => { + var F; + if (!a) { + lx(); + return; } - ) - ] }), - /* @__PURE__ */ f.jsx( - Ho, - { - bsSize: "sm", - type: "text", - placeholder: "Search by column name", - onChange: (c) => { - const d = c.target.value.toLowerCase(); - n( - e.filter((p) => p.name.toLowerCase().includes(d)) - ); + if (Xe.inProgress) { + Xe.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( - Vf, - { - 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 - )) }) - ] }) }); -}, Bx = ({ tests: e }) => { - const [t, n] = ce(e); - return /* @__PURE__ */ f.jsx("div", { className: Oe(G.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( - Ho, - { - 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 ( + (o == null ? void 0 : o.table) === _.table && + (o == null ? void 0 : o.name) === _.name + ) { + const [I, D] = bx(c.getNodes(), c.getEdges()); + Cr(D, !0), + vr(D, !0), + c.setNodes(I), + c.setEdges(D), + u(Vn({ table: "", name: "" })), + u(cr({})), + u(Yt("")); + return; + } + const A = (F = c.getNode(_.table)) == null ? void 0 : F.data; + if (!A) throw new Error(`table node ${_.table} isn't visible`); + let R = c.getNodes(), + L = c.getEdges(); + Cr(L, !1), vr(L, !0); + const j = async (I) => { + ([R, L] = await Af(R, L, _.table, I)), fn(R, L); + }, + { upstreamCount: P, downstreamCount: V } = A; + P > 0 && + L.filter((I) => I.source === _.table).length < P && + (await j(!0)), + V > 0 && + L.filter((I) => I.target === _.table).length < V && + (await j(!1)), + u(Vn({ ..._ })), + u(Yt("")), + u(cr({})), + u(E9({ confidence: "high" })); + const [k, N] = _f(R.filter(xn), L.filter(xn)); + N.forEach((I) => (I.style = aa)), c.setNodes(k), c.setEdges(N), t(); + const T = (I) => + Kc( + k, + N, + I, + [_], + (D) => { + u(mc({ operatorList: D })); + }, + (D) => { + u(hc(D)); + }, + (D) => { + u(gc(D)); + }, + () => [c.getNodes(), c.getEdges()], + (D, v) => { + c.setNodes(D), c.setEdges(v); + }, + _, + { direct: r, indirect: i }, + (D) => u(bc(D(s))), ); + try { + Xe.start(), + (await Promise.all([T(!0), T(!1)])).every((D) => !D) && + (u(Vn({ table: "", name: "" })), + Fs(c, _.table), + Xe.isCancelled || + qc( + `No lineage found for model ${_.table} and column ${_.name}`, + )); + } catch (I) { + console.error( + "Error while performing cll for ", + _.table, + _.name, + ", error:", + I, + ), + u(Vn({ table: "", name: "" })), + Fs(c, _.table); + } finally { + Xe.end(); } - } - ), - /* @__PURE__ */ 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: G.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)) }) - ] }) }); -}, l1 = ({ - nodeType: e, - table: t -}) => /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ f.jsx(hi, { 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 }) }) -] }), $f = () => { - var w; - const { - rerender: e, - state: { - selectedTable: t, - selectedColumn: n, - selectCheck: o, - nonSelectCheck: r, - aiEnabled: a, - allowSyncColumnsWithDB: i, - errors: l - } - } = at(), s = ft(), u = en(), [c, d] = ce([]), [p, h] = ce(null), [m, b] = ce(0), [y, g] = ce(!0); - ue(() => { - t && (g(!0), fi(t, !1).then((E) => { - h(E), d(E.columns), g(!1); - }).catch(() => { - g(!1); - })); - }, [t]); - const x = async (E) => { - var T; - if (!a) { - mx(); - return; - } - if (Je.inProgress) { - Je.showCllInProgressMsg(); - return; - } - if ((n == null ? void 0 : n.table) === E.table && (n == null ? void 0 : n.name) === E.name) { - const [D, I] = _x( - u.getNodes(), - u.getEdges() - ); - Er(I, !0), Sr(I, !0), u.setNodes(D), u.setEdges(I), s(Zn({ table: "", name: "" })), s(hr({})), s(Gt("")); - return; - } - const M = (T = u.getNode(E.table)) == null ? void 0 : T.data; - if (!M) - throw new Error(`table node ${E.table} isn't visible`); - let _ = u.getNodes(), L = u.getEdges(); - Er(L, !1), Sr(L, !0); - const R = async (D) => { - [_, L] = await Rf( - _, - L, - E.table, - D - ), pn(_, L); - }, { upstreamCount: j, downstreamCount: P } = M; - j > 0 && L.filter((D) => D.source === E.table).length < j && await R(!0), P > 0 && L.filter((D) => D.target === E.table).length < P && await R(!1), s(Zn({ ...E })), s(Gt("")), s(hr({})), s(N9({ confidence: "high" })); - const [V, k] = Ff( - _.filter(En), - L.filter(En) - ); - k.forEach((D) => D.style = ui), u.setNodes(V), u.setEdges(k), e(); - const N = (D) => n1( - V, - k, - D, - [E], - (I) => { - s(Ec({ operatorList: I })); }, - (I) => { - s(xc(I)); - }, - (I) => { - s(wc(I)); - }, - () => [u.getNodes(), u.getEdges()], - (I, F) => { - u.setNodes(I), u.setEdges(F); - }, - E, - { direct: o, indirect: r }, - (I) => s(Sc(I(l))) + E = (S = c.getNode(n)) == null ? void 0 : S.data; + if (g || !f || !n) return /* @__PURE__ */ p.jsx(Nf, {}); + const w = ["Column"]; + return ( + E.tests.length && w.push("Tests"), + /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsx(t1, { + nodeType: E.nodeType, + table: E.label, + }), + f.purpose && /* @__PURE__ */ p.jsx(Df, { purpose: f.purpose }), + w.length > 1 && + /* @__PURE__ */ p.jsx("div", { + className: Y.table_details_tabs, + children: w.map((_, A) => + /* @__PURE__ */ p.jsx( + "div", + { + className: Te(Y.tab, { + [Y.selected]: b === A, + }), + onClick: () => y(A), + children: _, + }, + _, + ), + ), + }), + b === 0 && + /* @__PURE__ */ p.jsx(Nx, { + selectedTable: E, + selectedColumn: o, + filteredColumn: d, + setFilteredColumn: h, + columns: f.columns, + handleColumnClick: C, + setData: m, + allowSyncColumnsWithDB: l, + lineageType: e, + }), + b === 1 && /* @__PURE__ */ p.jsx(Dx, { tests: E.tests }), + ], + }) ); - try { - Je.start(), (await Promise.all([ - N(!0), - N(!1) - ])).every((I) => !I) && (s(Zn({ table: "", name: "" })), Hs(u, E.table), Je.isCancelled || e1( - `No lineage found for model ${E.table} and column ${E.name}` - )); - } catch (D) { - console.error( - "Error while performing cll for ", - E.table, - E.name, - ", error:", - D - ), s(Zn({ table: "", name: "" })), Hs(u, E.table); - } finally { - Je.end(); - } - }, C = (w = u.getNode(t)) == null ? void 0 : w.data; - if (y || !p || !t) return /* @__PURE__ */ f.jsx(Pf, {}); - const S = ["Column"]; - return C.tests.length && S.push("Tests"), /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsx( - l1, - { - nodeType: C.nodeType, - table: C.label - } - ), - p.purpose && /* @__PURE__ */ f.jsx(Bf, { purpose: p.purpose }), - S.length > 1 && /* @__PURE__ */ f.jsx("div", { className: G.table_details_tabs, children: S.map((E, M) => /* @__PURE__ */ f.jsx( - "div", - { - className: Oe(G.tab, { - [G.selected]: m === M - }), - onClick: () => b(M), - children: E - }, - E - )) }), - m === 0 && /* @__PURE__ */ f.jsx( - Px, + }, + Lx = () => { + var f, m, b, y; + const { + state: { theme: e }, + } = Je(eo), { - selectedTable: C, - selectedColumn: n, - filteredColumn: c, - setFilteredColumn: d, - columns: p.columns, - handleColumnClick: x, - setData: h, - allowSyncColumnsWithDB: i - } - ), - m === 1 && /* @__PURE__ */ f.jsx(Bx, { tests: C.tests }) - ] }); -}, Vx = () => { - var h, m, b, y; - const { - state: { theme: e } - } = tt(ro), { - state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } - } = at(), r = (b = (m = (h = t == null ? void 0 : t.details) == null ? void 0 : h[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( - (g) => ({ - ...g, - description: g.expression - }) - ), [a, i] = ce(r), [l, s] = ce(r), u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; - if (!u) - return null; - const { sql: c, type: d, nodeId: p } = u; - return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsx(l1, { nodeType: d || "cte", table: n }), - c && /* @__PURE__ */ f.jsx("div", { className: Oe(G.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( - Tr, - { - code: c, - language: "sql", - editorTheme: "tomorrow", - showLineNumbers: !0, - theme: e - } - ) - ] }) }), - /* @__PURE__ */ f.jsx("div", { className: Oe(G.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 && p && ["table", "final"].includes(d || "") && /* @__PURE__ */ f.jsx( - Re, - { - size: "sm", - color: "primary", - onClick: () => { - fi(p, !0).then((g) => { - i(g.columns), s(g.columns); - }); - }, - children: "Sync with DB" - } - ) - ] }), - /* @__PURE__ */ f.jsx( - Ho, - { - bsSize: "sm", - placeholder: "Search by column name", - type: "text", - onChange: (g) => { - const x = g.target.value.toLowerCase(); - s( - a == null ? void 0 : a.filter((C) => C.name.toLowerCase().includes(x)) - ); - } - } - ), - /* @__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((g) => /* @__PURE__ */ f.jsx( - Vf, - { - column: { - name: g.name, - table: n, - can_lineage_expand: !1, - description: "", - code: g.expression - }, - handleClick: () => { - }, - selected: !1, - isSelectable: !1 - }, - g.name - )) }) - ] }) }) - ] }); -}, ua = ({ title: e, value: t }) => /* @__PURE__ */ f.jsxs("div", { className: Oe(G.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 }) }) -] }), $x = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { children: e }), Wf = () => { - var l; - const e = en(), { - state: { selectedTable: t } - } = at(), [n, o] = ce(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ce(!0); - return ue(() => { - t && ux(t).then((s) => { - o(s), i(!1); - }); - }, [t]), a || !n || !t ? /* @__PURE__ */ f.jsx(Pf, {}) : /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ - /* @__PURE__ */ f.jsx(hi, { 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(Bf, { purpose: n.description }) : null, - /* @__PURE__ */ f.jsxs("div", { className: Oe(G.card, "flex-grow column-section"), children: [ - /* @__PURE__ */ f.jsx( - ua, - { - title: "Owner", - value: `${n.owner.name} - ${n.owner.email}` - } - ), - /* @__PURE__ */ f.jsx(ua, { title: "Url", value: n.url }), - /* @__PURE__ */ f.jsx( - ua, - { - title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ f.jsx($x, { label: s })) - } - ), - /* @__PURE__ */ f.jsx(ua, { title: "Maturity", value: n.maturity }) - ] }) - ] }); -}; -function Wx({ close: e }) { - const [t, n] = ce( - "" - /* None */ - ), [o, r] = ce(""), [a, i] = ce(!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( - Re, - { - size: "sm", - color: "primary", - onClick: (l) => { - l.stopPropagation(), gx(); - }, - children: "Chat with us" - } - ) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: G.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( - Lv, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ f.jsx( - Nv, - { - className: "cursor-pointer", - onClick: () => n( - "good" - /* Postive */ - ) - } - ), - t === "bad" ? /* @__PURE__ */ f.jsx( - jv, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ f.jsx( - Dv, - { - className: "cursor-pointer", - onClick: () => n( - "bad" - /* Negative */ - ) - } - ) - ] }), - /* @__PURE__ */ f.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), - /* @__PURE__ */ f.jsx( - Dx, - { - 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( - Re, - { - size: "sm", - color: "primary", - onClick: async (l) => { - l.stopPropagation(), t !== "" && (await fx({ - feedback_value: t, - feedback_text: o - }), i(!0)); - }, - children: "Submit" - } - ), - /* @__PURE__ */ f.jsx( - Re, - { - size: "sm", - color: "link", - className: G.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( - Re, - { + state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o }, + } = ot(), + r = + (b = + (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == + null + ? void 0 + : m.columns) == null + ? void 0 + : b.map((g) => ({ + ...g, + description: g.expression, + })), + [i, a] = ue(r), + [l, s] = ue(r), + u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; + if (!u) return null; + const { sql: c, type: d, nodeId: h } = u; + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsx(t1, { nodeType: d || "cte", table: n }), + c && + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "mb-0 purpose-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "SQL", + }), + /* @__PURE__ */ p.jsx(Sr, { + code: c, + language: "sql", + editorTheme: "tomorrow", + showLineNumbers: !0, + theme: e, + }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "mb-0 flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Column", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + o && + h && + ["table", "final"].includes(d || "") && + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: () => { + sa(h, !0).then((g) => { + a(g.columns), s(g.columns); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + placeholder: "Search by column name", + type: "text", + onChange: (g) => { + const x = g.target.value.toLowerCase(); + s( + i == null + ? void 0 + : i.filter((C) => C.name.toLowerCase().includes(x)), + ); + }, + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsxs("div", { + children: [l == null ? void 0 : l.length, " columns"], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm overflow-y", + children: + l == null + ? void 0 + : l.map((g) => + /* @__PURE__ */ p.jsx( + Lf, + { + column: { + name: g.name, + table: n, + can_lineage_expand: !1, + description: "", + code: g.expression, + }, + handleClick: () => {}, + selected: !1, + isSelectable: !1, + }, + g.name, + ), + ), + }), + ], + }), + }), + ], + }); + }, + ri = ({ title: e, value: t }) => + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.column_card, {}), + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: t, + }), + }), + ], + }), + Fx = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { children: e }), + Rf = () => { + var l; + const e = Qt(), + { + state: { selectedTable: t }, + } = ot(), + [n, o] = ue(null), + r = (l = e.getNode(t)) == null ? void 0 : l.data, + [i, a] = ue(!0); + return ( + ce(() => { + t && + tx(t).then((s) => { + o(s), a(!1); + }); + }, [t]), + i || !n || !t + ? /* @__PURE__ */ p.jsx(Nf, {}) + : /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + /* @__PURE__ */ p.jsx(Yc, { nodeType: r.nodeType }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: r.label, + }), + }), + ], + }), + n.description + ? /* @__PURE__ */ p.jsx(Df, { purpose: n.description }) + : null, + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.card, "flex-grow column-section"), + children: [ + /* @__PURE__ */ p.jsx(ri, { + title: "Owner", + value: `${n.owner.name} - ${n.owner.email}`, + }), + /* @__PURE__ */ p.jsx(ri, { title: "Url", value: n.url }), + /* @__PURE__ */ p.jsx(ri, { + title: "Tags", + value: n.tags.map((s) => + /* @__PURE__ */ p.jsx(Fx, { label: s }), + ), + }), + /* @__PURE__ */ p.jsx(ri, { + title: "Maturity", + value: n.maturity, + }), + ], + }), + ], + }) + ); + }; +function Rx({ close: e }) { + const [t, n] = ue( + "", + /* None */ + ), + [o, r] = ue(""), + [i, a] = ue(!1); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "mb-2 d-flex", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5", + children: "Feedback", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx(Pe, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), e(); + l.stopPropagation(), ax(); }, - children: "Close" - } - ) - ] }) - ] }) - ] }); + children: "Chat with us", + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.feedback_body, + children: [ + !i && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm m-2", + children: [ + t === "good" + ? /* @__PURE__ */ p.jsx(kv, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ p.jsx(Ev, { + className: "cursor-pointer", + onClick: () => + n( + "good", + /* Postive */ + ), + }), + t === "bad" + ? /* @__PURE__ */ p.jsx(_v, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ p.jsx(Sv, { + className: "cursor-pointer", + onClick: () => + n( + "bad", + /* Negative */ + ), + }), + ], + }), + /* @__PURE__ */ p.jsx("p", { + children: + "AI still needs humans sometimes, please help it out 🙂", + }), + /* @__PURE__ */ p.jsx(Ex, { + value: o, + onChange: (l) => r(l.target.value), + placeholder: + "What did AI do wrong? What it should have done?", + }), + /* @__PURE__ */ p.jsxs("div", { + className: "mt-3 d-flex gap-sm", + children: [ + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: async (l) => { + l.stopPropagation(), + t !== "" && + (await ox({ + feedback_value: t, + feedback_text: o, + }), + a(!0)); + }, + children: "Submit", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "link", + className: Y.cancel_btn, + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Cancel", + }), + ], + }), + ], + }), + i && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("p", { + children: "Many thanks for your feedback!", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Close", + }), + ], + }), + ], + }), + ], + }); } -function Zx({ applyDefault: e }) { +function jx({ applyDefault: e }) { const { - state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } - } = at(), a = ft(); - 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(pa, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), - /* @__PURE__ */ f.jsx( - Ho, - { - id: "default-expansion", - value: o, - type: "number", - onChange: (i) => { - const l = Math.max(parseInt(i.target.value), 0); - a(Jd(l)), Wl({ 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: G.select_node_checkbox, children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - type: "checkbox", - id: "select-check", - className: "mt-2", - checked: t, - onChange: (i) => { - if (Je.inProgress) { - Je.showCllInProgressMsg(); - return; - } - a(Xd(i.target.checked)), Wl({ - showSelectEdges: i.target.checked - }); - } - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx(pa, { 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: G.non_select_node_checkbox, children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - type: "checkbox", - id: "non-select-check", - className: "mt-2", - checked: n, - onChange: (i) => { - if (Je.inProgress) { - Je.showCllInProgressMsg(); - return; - } - a(Qd(i.target.checked)), Wl({ - showNonSelectEdges: i.target.checked - }); - } - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx(pa, { 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 Zf = Ht({ openedPopover: "", setOpenedPopover: () => { -} }); -function Uf({ - id: e, - trigger: t, - render: n -}) { - const o = he(null), { openedPopover: r, setOpenedPopover: a } = tt(Zf); - return ue(() => { - const i = (l) => { - if (!o.current) return; - const { x: s, y: u, width: c, height: d } = o.current.getBoundingClientRect(); - a( - qu(s - 10, s + c + 10)(l.x) && qu(u - 10, u + d + 10)(l.y) ? e : "" + state: { + selectCheck: t, + nonSelectCheck: n, + defaultExpansion: o, + aiEnabled: r, + }, + } = ot(), + i = dt(); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Settings", + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "default-expansion", + className: "fs-6 mb-1", + children: "Default Expansion", + }), + /* @__PURE__ */ p.jsx(Ro, { + id: "default-expansion", + value: o, + type: "number", + onChange: (a) => { + const l = Math.max(parseInt(a.target.value), 0); + i(Vd(l)), Pl({ defaultExpansion: l }), e(l); + }, + }), + ], + }), + r && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-6", + children: "Edges visibility", + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.select_node_checkbox, + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "checkbox", + id: "select-check", + className: "mt-2", + checked: t, + onChange: (a) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + i(Pd(a.target.checked)), + Pl({ + showSelectEdges: a.target.checked, + }); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "select-check", + className: "fs-6", + children: "Select", + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-grey", + children: + "Select linkages are shown if there is direct flow of data between columns through select statements.", + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.non_select_node_checkbox, + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "checkbox", + id: "non-select-check", + className: "mt-2", + checked: n, + onChange: (a) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + i(Bd(a.target.checked)), + Pl({ + showNonSelectEdges: a.target.checked, + }); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "non-select-check", + className: "fs-6", + children: "Non-Select", + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-grey", + children: + "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc.", + }), + ], + }), + ], + }), + ], + }), + ], + }), + ], + }); +} +const jf = zt({ openedPopover: "", setOpenedPopover: () => {} }); +function If({ id: e, trigger: t, render: n }) { + const o = pe(null), + { openedPopover: r, setOpenedPopover: i } = Je(jf); + return ( + ce(() => { + const a = (l) => { + if (!o.current) return; + const { + x: s, + y: u, + width: c, + height: d, + } = o.current.getBoundingClientRect(); + i(Bu(s - 10, s + c + 10)(l.x) && Bu(u - 10, u + d + 10)(l.y) ? e : ""); + }; + return ( + document.body.addEventListener("click", a), + () => { + document.body.removeEventListener("click", a); + } ); - }; - return document.body.addEventListener("click", i), () => { - document.body.removeEventListener("click", i); - }; - }, [r]), /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - "div", + }, [r]), + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + id: e, + onClick: (a) => { + a.stopPropagation(), i(e); + }, + children: t, + }), + /* @__PURE__ */ p.jsx(P0, { + placement: "bottom", + target: e, + className: Y.popover, + isOpen: r === e, + toggle: () => i(""), + children: /* @__PURE__ */ p.jsx(B0, { + children: /* @__PURE__ */ p.jsx("div", { + ref: o, + children: n({ close: () => i("") }), + }), + }), + }), + ], + }) + ); +} +const Ix = () => { + const e = Qt(), { - id: e, - onClick: (i) => { - i.stopPropagation(), a(e); + state: { + selectedTable: t, + leftExpansion: n, + rightExpansion: o, + minRange: r, + nodeCount: i, + defaultExpansion: a, }, - children: t - } - ), - /* @__PURE__ */ f.jsx( - q0, - { - placement: "bottom", - target: e, - className: G.popover, - isOpen: r === e, - toggle: () => a(""), - children: /* @__PURE__ */ f.jsx(Y0, { children: /* @__PURE__ */ f.jsx("div", { ref: o, children: n({ close: () => a("") }) }) }) - } - ) - ] }); -} -const Ux = () => { - const e = en(), { - state: { - selectedTable: t, - leftExpansion: n, - rightExpansion: o, - minRange: r, - nodeCount: a, - defaultExpansion: i - }, - rerender: l - } = at(), [s, u] = ce([0, 0]), c = ft(); - ue(() => { - c( - Ml( - Gu(r[0], s[0], i) - ) - ), c( - Tl( - Gu(r[1], s[1], i) - ) - ); - }, [i, c, s, r]), ue(() => { - (async () => c( - Mo( - await Fo( - e.getNodes(), - e.getEdges(), - t, - n, - o - ) - ) - ))(); - }, [e, n, c, o, t]), ue(() => { - (async () => { - var S; - if (!t) return; - const h = (S = e.getNode(t)) == null ? void 0 : S.data; - if (!h) return; - const { level: m } = h, b = e.getNodes(), y = e.getEdges(), [g] = await qa( - b, - y, - t, - -1 / 0, - 1 / 0 - ); - let x = 1 / 0, C = -1 / 0; - for (const w of g) - x = Math.min(x, w.data.level), C = Math.max(C, w.data.level); - u([m - x, C - m]); - })(); - }, [e, t]); - const d = Te(() => { - c( - Ml( - n + 1 <= s[0] ? n + 1 : n - ) - ); - }, [n, c, s]), p = Te(() => { - c( - Tl( - o + 1 <= s[0] ? o + 1 : o - ) - ); - }, [o, c, s]); - return /* @__PURE__ */ f.jsx( - Uf, - { + rerender: l, + } = ot(), + [s, u] = ue([0, 0]), + c = dt(); + ce(() => { + c(Sl($u(r[0], s[0], a))), c(kl($u(r[1], s[1], a))); + }, [a, c, s, r]), + ce(() => { + (async () => c(So(await Do(e.getNodes(), e.getEdges(), t, n, o))))(); + }, [e, n, c, o, t]), + ce(() => { + (async () => { + var E; + if (!t) return; + const f = (E = e.getNode(t)) == null ? void 0 : E.data; + if (!f) return; + const { level: m } = f, + b = e.getNodes(), + y = e.getEdges(), + [g] = await Pi(b, y, t, -1 / 0, 1 / 0); + let x = 1 / 0, + C = -1 / 0; + for (const w of g) + (x = Math.min(x, w.data.level)), (C = Math.max(C, w.data.level)); + u([m - x, C - m]); + })(); + }, [e, t]); + const d = Me(() => { + c(Sl(n + 1 <= s[0] ? n + 1 : n)); + }, [n, c, s]), + h = Me(() => { + c(kl(o + 1 <= s[0] ? o + 1 : o)); + }, [o, c, s]); + return /* @__PURE__ */ p.jsx(If, { id: "auto-expansion-popover", - trigger: /* @__PURE__ */ f.jsxs( - Re, - { - size: "sm", - color: "primary", - className: "d-flex gap-sm align-items-center", - type: "button", + trigger: /* @__PURE__ */ p.jsxs(Pe, { + size: "sm", + color: "primary", + className: "d-flex gap-sm align-items-center", + type: "button", + children: [/* @__PURE__ */ p.jsx(Av, {}), "Expand"], + }), + render: ({ close: f }) => + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsx(Fv, {}), - "Expand" - ] - } - ), - render: ({ close: h }) => /* @__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: Oe(G.expand_nav, { - [G.disabled]: r[0] === -1 - }), + /* @__PURE__ */ p.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: G.icon, - onClick: (m) => { - m.stopPropagation(), t && c(Ml(s[0])); - }, - children: /* @__PURE__ */ f.jsx(Rv, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: G.divider }), - /* @__PURE__ */ f.jsx( - "div", - { - className: G.icon, - onClick: (m) => { - m.stopPropagation(), t && d(); - }, - children: /* @__PURE__ */ f.jsx(Iv, {}) - } - ) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: n }) - ] - } - ), - /* @__PURE__ */ f.jsxs( - "div", - { - className: Oe(G.expand_nav, { - [G.disabled]: r[1] === -1 - }), + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.expand_nav, { + [Y.disabled]: r[0] === -1, + }), + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.expand_nav_btn, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && c(Sl(s[0])); + }, + children: /* @__PURE__ */ p.jsx(Mv, {}), + }), + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && d(); + }, + children: /* @__PURE__ */ p.jsx(Tv, {}), + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-blue px-2 py-1", + children: n, + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.expand_nav, { + [Y.disabled]: r[1] === -1, + }), + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-blue px-2 py-1", + children: o, + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.expand_nav_btn, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && h(); + }, + children: /* @__PURE__ */ p.jsx(Ov, {}), + }), + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && c(kl(s[1])); + }, + children: /* @__PURE__ */ p.jsx(Cf, {}), + }), + ], + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: o }), - /* @__PURE__ */ f.jsxs("div", { className: G.expand_nav_btn, children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: G.icon, - onClick: (m) => { - m.stopPropagation(), t && p(); - }, - children: /* @__PURE__ */ f.jsx(zv, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: G.divider }), - /* @__PURE__ */ f.jsx( - "div", - { - className: G.icon, - onClick: (m) => { - m.stopPropagation(), t && c(Tl(s[1])); - }, - children: /* @__PURE__ */ f.jsx(Of, {}) - } - ) - ] }) - ] - } - ) - ] }), - /* @__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( - Re, - { - color: a === 0 ? "secondary" : "primary", - size: "sm", - disabled: a === 0, - onClick: async (m) => { - var x; - if (m.stopPropagation(), !t) return; - const b = (x = e.getNode(t)) == null ? void 0 : x.data; - if (!b) return; - const [y, g] = await qa( - e.getNodes(), - e.getEdges(), - t, - b.level - n, - b.level + o - ); - _r(y, g, t), pn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Fs }), c( - pr(Ar(y, g, t)) - ), c( - Mo( - await Fo( - y, - g, - t, - n, - o - ) - ) - ), l(), h(); + /* @__PURE__ */ p.jsx("div", { + className: "normal-text", + children: "Parents", + }), + /* @__PURE__ */ p.jsx("div", { + className: "normal-text", + children: "Children", + }), + ], + }), + /* @__PURE__ */ p.jsxs(Pe, { + color: i === 0 ? "secondary" : "primary", + size: "sm", + disabled: i === 0, + onClick: async (m) => { + var x; + if ((m.stopPropagation(), !t)) return; + const b = (x = e.getNode(t)) == null ? void 0 : x.data; + if (!b) return; + const [y, g] = await Pi( + e.getNodes(), + e.getEdges(), + t, + b.level - n, + b.level + o, + ); + xr(y, g, t), + fn(y, g), + e.setNodes(y), + e.setEdges(g), + e.fitView({ minZoom: Os }), + c(ur(wr(y, g, t))), + c(So(await Do(y, g, t, n, o))), + l(), + f(); + }, + children: ["Add ", i, " tables"], + }), + ], + }), + }); + }, + zx = () => { + const { + state: { selectedColumn: e, confidence: t, aiEnabled: n }, + } = ot(), + o = document.getElementById("expand-container"); + return o + ? jn( + /* @__PURE__ */ p.jsx(sn, { + className: Y.menu_card_container, + children: /* @__PURE__ */ p.jsx(Rn, { + className: Y.menu_card, + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm", + children: [ + /* @__PURE__ */ p.jsx(Ix, {}), + n && + (e == null ? void 0 : e.name) && + t.confidence === "low" && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.verticle_divider, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-xxs align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + children: "Confidence", + }), + /* @__PURE__ */ p.jsx(Zn, { + title: + "Depending on the SQL dialect and complexity of queries, there may be situations where we are not completely confident about the lineage shown in this view", + id: "confidence", + children: /* @__PURE__ */ p.jsx(d8, {}), + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.low_confidence, + children: "Low", + }), + ], + }), + ], + }), + ], + }), + }), + }), + o, + ) + : null; + }, + Hx = () => { + const e = document.getElementById("settings-container"), + t = dt(); + return e + ? jn( + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => t(Yt(cf)), + children: [/* @__PURE__ */ p.jsx(u8, {}), "Settings"], + }), + e, + ) + : null; + }, + Px = ({ flow: e }) => { + const t = document.getElementById("reset-container"), + n = dt(); + return t + ? jn( + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => { + e.setNodes([]), + e.setEdges([]), + n(Vn({ table: "", name: "" })), + n(cr({})), + n(pc({})), + wf(), + Xe.cancel(); }, + "data-testid": "reset-btn", + className: Y.reset_btn, children: [ - "Add ", - a, - " tables" - ] - } + /* @__PURE__ */ p.jsx(c8, {}), + /* @__PURE__ */ p.jsx("span", { children: "Reset" }), + ], + }), + t, ) - ] }) - } - ); -}, qx = () => { - const { - state: { selectedColumn: e, confidence: t, aiEnabled: n } - } = at(), o = document.getElementById("expand-container"); - return o ? zn( - /* @__PURE__ */ f.jsx(zt, { className: G.menu_card_container, children: /* @__PURE__ */ f.jsx(dn, { className: G.menu_card, children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ f.jsx(Ux, {}), - n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: G.verticle_divider }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { children: "Confidence" }), - /* @__PURE__ */ f.jsx( - jn, - { - 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(v8, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: G.low_confidence, children: "Low" }) - ] }) - ] }) - ] }) }) }), - o - ) : null; -}, Yx = () => { - const e = document.getElementById("settings-container"), t = ft(); - return e ? zn( - /* @__PURE__ */ f.jsxs( - Re, - { - outline: !0, - onClick: () => t(Gt(vf)), - children: [ - /* @__PURE__ */ f.jsx(C8, {}), - "Settings" - ] - } - ), - e - ) : null; -}, Gx = ({ flow: e }) => { - const t = document.getElementById("reset-container"), n = ft(); - return t ? zn( - /* @__PURE__ */ f.jsxs( - Re, - { - outline: !0, - onClick: () => { - e.setNodes([]), e.setEdges([]), n(Zn({ table: "", name: "" })), n(hr({})), n(vc({})), Df(), Je.cancel(); - }, - "data-testid": "reset-btn", - className: G.reset_btn, - children: [ - /* @__PURE__ */ f.jsx(y8, {}), - /* @__PURE__ */ f.jsx("span", { children: "Reset" }) - ] - } - ), - t - ) : null; -}, Kx = ({ - viewsCodeArgs: e -}) => { - const { - state: { theme: t } - } = tt(ro), n = ft(), o = en(), r = Ve(() => { - var i, l; - return e ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null ? void 0 : l.label : ""; - }, [o, e]), a = Ve(() => { - 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( - G0, - { + : null; + }, + Bx = ({ viewsCodeArgs: e }) => { + const { + state: { theme: t }, + } = Je(eo), + n = dt(), + o = Qt(), + r = Be(() => { + var a, l; + return e + ? (l = (a = o.getNode(e.table)) == null ? void 0 : a.data) == null + ? void 0 + : l.label + : ""; + }, [o, e]), + i = Be(() => { + const a = Object.values((e == null ? void 0 : e.viewsCode) || []) + .flat() + .filter(([, s]) => s === "Transformation") + .map(([s]) => s), + l = []; + for (const s of a) l.includes(s) || l.push(s); + return l; + }, [e == null ? void 0 : e.viewsCode]); + return /* @__PURE__ */ p.jsx(V0, { size: "lg", isOpen: !!e, - toggle: () => n(To(null)), + toggle: () => n(ko(null)), centered: !0, unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ f.jsxs(K0, { children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: G.close_button, - onClick: () => n(To(null)), - children: /* @__PURE__ */ f.jsx(Qc, {}) + children: /* @__PURE__ */ p.jsxs($0, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.close_button, + onClick: () => n(ko(null)), + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + r && + /* @__PURE__ */ p.jsx(t1, { nodeType: e.nodeType, table: r }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Column", + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.model_views_type, + children: e.column, + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Type", + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.model_views_type, + children: [ + /* @__PURE__ */ p.jsx(Uc, { viewsType: e.viewsType }), + e.viewsType, + ], + }), + ], + }), + i.length > 0 && + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "List of transformations", + }), + i.map((a) => + /* @__PURE__ */ p.jsx( + Sr, + { + code: a, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }, + a, + ), + ), + ], + }), + ], + }), + ], + }), + }); + }; +function Vx({ opNodeArgs: e }) { + const { + state: { theme: t }, + } = Je(eo); + return /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + Tf[e.op_type], + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: e.op_type, + }), + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Code", + }), + /* @__PURE__ */ p.jsx(Sr, { + code: e.op_code, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }), + ], + }), + ], + }); +} +const n1 = () => { + const { + state: { modalArgs: e }, + } = ot(), + t = dt(); + return e + ? /* @__PURE__ */ p.jsx(V0, { + size: "lg", + isOpen: e.type !== "none", + close: () => t(ko({ type: "none" })), + centered: !0, + unmountOnClose: !0, + scrollable: !0, + className: "bs-modal", + children: /* @__PURE__ */ p.jsxs($0, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.close_button, + onClick: () => t(ko({ type: "none" })), + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + e.type === "views_code" && + /* @__PURE__ */ p.jsx(Bx, { + viewsCodeArgs: e.args, + }), + e.type === "op_node" && + /* @__PURE__ */ p.jsx(Vx, { opNodeArgs: e.args }), + ], + }), + }) + : null; + }, + $x = ({ flow: e }) => { + const t = document.getElementById("export-container"), + { + state: { selectedColumn: n, collectColumns: o }, + } = ot(), + [r, i] = ue(""), + a = async (l) => { + const s = e.getEdges(), + u = s.filter((m) => xn(m)).map((m) => [m.source, m.target]), + c = s + .filter((m) => vt(m)) + .map((m) => { + var b; + return ( + // remove column prefix for edge + [ + m.source.slice(7), + m.target.slice(7), + (b = m.data) == null ? void 0 : b.type, + ] + ); + }), + d = {}; + await Promise.all( + e.getNodes().map(async (m) => { + if (vt(m)) return; + const b = await sa(m.id, !1); + d[m.id] = { + type: m.data.nodeType, + nodeId: m.id, + name: m.data.label, + ...b, + }; + }), + ); + const f = await cx({ + name: r, + lineage_data: { + selectedColumn: n, + collectColumns: o, + tableEdges: u, + columnEdges: c, + details: d, + }, + }); + f != null && f.url && qc(`Lineage is exported at [link](${f.url})`), + l(), + i(""); + }; + return t + ? jn( + /* @__PURE__ */ p.jsx(If, { + id: "export-popover", + trigger: /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + children: [/* @__PURE__ */ p.jsx(E2, {}), "Export"], + }), + render: ({ close: l }) => + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx(Ro, { + id: "export-name", + value: r, + type: "text", + onChange: (s) => i(s.target.value), + className: "mb-2 text-white", + placeholder: "Enter name", + }), + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => a(l), + disabled: r === "", + children: [/* @__PURE__ */ p.jsx(E2, {}), "Export"], + }), + ], + }), + }), + t, + ) + : null; + }, + Wx = { + table: Mf, + seeMore: Xc, + column: Jc, + }, + Zx = { selfConnecting: Qc }, + Ux = ({ flow: e, theme: t }) => { + const [n, o] = ue(""), + { + state: { + selectCheck: r, + nonSelectCheck: i, + sidebarScreen: a, + leftExpansion: l, + rightExpansion: s, + selectedColumn: u, + defaultExpansion: c, + errors: d, + }, + rerender: h, + } = ot(), + f = dt(), + m = pe(c), + b = () => { + if (e.current) { + const C = e.current.getEdges(); + Cr(C, !0), vr(C, !1), e.current.setEdges(C); + } + }, + y = Me( + async (C) => { + if ((f(Yt("")), !C)) return; + f(S9(C.aiEnabled)); + const { node: E } = C, + w = e.current; + if (!w || !E) return; + if (w.getNode(E.table)) { + f(Xn(E.table)); + let R = w.getNodes(), + L = w.getEdges(); + (u != null && u.name) || + (([R, L] = xr(R, L, E.table)), w.setNodes(R), w.setEdges(L)), + f(ur(wr(R, L, E.table))), + f(So(await Do(R, L, E.table, l, s))); + return; } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - r && /* @__PURE__ */ f.jsx(l1, { 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: G.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: G.model_views_type, children: [ - /* @__PURE__ */ f.jsx(Jc, { 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( - Tr, - { - code: i, - language: "sql", - editorTheme: "tomorrow", - theme: t - }, - i - )) - ] }) - ] }) - ] }) - } - ); -}; -function Xx({ opNodeArgs: e }) { - const { - state: { theme: t } - } = tt(ro); - return /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ f.jsxs("div", { className: G.table_details_header, children: [ - zf[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( - Tr, - { - code: e.op_code, - language: "sql", - editorTheme: "tomorrow", - theme: t + let _ = [], + A = []; + (_ = [To(E, 0, "")]), + ([_, A] = await Pi(_, A, E.table, -m.current, m.current)), + f(Xn(E.table)), + f(Vn({ table: "", name: "" })), + f(cr({})), + f(pc({})), + ([_, A] = xr(_, A, E.table)), + fn(_, A), + w.setNodes(_), + w.setEdges(A), + w.fitView({ minZoom: Os, duration: 500 }), + f(ur(wr(_, A, E.table))), + f(So(await Do(_, A, E.table, l, s))), + h(); + }, + [h, l, s, u == null ? void 0 : u.name], + ); + ce(() => { + document.addEventListener("cll_cancelled", b); + const C = (E) => { + console.log("renderStartNode", E.detail), y(E.detail); + }; + return ( + document.addEventListener("renderStartNode", C), + () => { + document.removeEventListener("cll_cancelled", b), + document.removeEventListener("renderStartNode", C); } - ) - ] }) - ] }); -} -const s1 = () => { - const { - state: { modalArgs: e } - } = at(), t = ft(); - return e ? /* @__PURE__ */ f.jsx( - G0, - { - size: "lg", - isOpen: e.type !== "none", - close: () => t(To({ type: "none" })), - centered: !0, - unmountOnClose: !0, - scrollable: !0, - className: "bs-modal", - children: /* @__PURE__ */ f.jsxs(K0, { children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: G.close_button, - onClick: () => t(To({ type: "none" })), - children: /* @__PURE__ */ f.jsx(Qc, {}) + ); + }, []); + const g = Me(async () => { + const C = await rx(); + f(Pd(C.showSelectEdges)), + f(Bd(C.showNonSelectEdges)), + f(Vd(C.defaultExpansion)), + (m.current = C.defaultExpansion); + }, [f]); + ce(() => { + g(); + }, [g]), + ce(() => { + const C = e.current; + if (!C) return; + (async () => { + var _; + const w = u; + if (!w) return; + if (i) { + const A = (R) => + Kc( + C.getNodes(), + C.getEdges(), + R, + w ? [w] : [], + (L) => { + f(mc({ operatorList: L })); + }, + (L) => { + f(hc(L)); + }, + (L) => { + f(gc(L)); + }, + () => [C.getNodes(), C.getEdges()], + (L, j) => { + C.setNodes(L), C.setEdges(j); + }, + w || { table: "", name: "" }, + { direct: r, indirect: i }, + (L) => f(bc(L(d))), + ); + try { + Xe.start(), await Promise.all([A(!0), A(!1)]); + } catch (R) { + console.error( + "Error while performing cll for ", + w == null ? void 0 : w.table, + w == null ? void 0 : w.name, + ", error:", + R, + ); + } finally { + Xe.end(); + } } - ), - e.type === "views_code" && /* @__PURE__ */ f.jsx( - Kx, - { - viewsCodeArgs: e.args + const S = C.getEdges(); + if ((r && i) || (!r && !i)) { + for (const A of S) A.hidden = !1; + C.setEdges(S); + return; } - ), - e.type === "op_node" && /* @__PURE__ */ f.jsx(Xx, { opNodeArgs: e.args }) - ] }) - } - ) : null; -}, Qx = ({ flow: e }) => { - const t = document.getElementById("export-container"), { - state: { selectedColumn: n, collectColumns: o } - } = at(), [r, a] = ce(""), i = async (l) => { - const s = e.getEdges(), u = s.filter((m) => En(m)).map((m) => [m.source, m.target]), c = s.filter((m) => vt(m)).map( - (m) => { - var b; - return ( - // remove column prefix for edge - [m.source.slice(7), m.target.slice(7), (b = m.data) == null ? void 0 : b.type] - ); - } - ), d = {}; - await Promise.all( - e.getNodes().map(async (m) => { - if (vt(m)) return; - const b = await fi(m.id, !1); - d[m.id] = { - type: m.data.nodeType, - nodeId: m.id, - name: m.data.label, - ...b - }; - }) - ); - const h = await yx({ name: r, lineage_data: { - selectedColumn: n, - collectColumns: o, - tableEdges: u, - columnEdges: c, - details: d - } }); - h != null && h.url && e1(`Lineage is exported at [link](${h.url})`), l(), a(""); - }; - return t ? zn( - /* @__PURE__ */ f.jsx( - Uf, - { - id: "export-popover", - trigger: /* @__PURE__ */ f.jsxs(Re, { outline: !0, children: [ - /* @__PURE__ */ f.jsx(T2, {}), - "Export" - ] }), - render: ({ close: l }) => /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx( - Ho, - { - id: "export-name", - value: r, - type: "text", - onChange: (s) => a(s.target.value), - className: "mb-2 text-white", - placeholder: "Enter name" + for (const A of S) { + A.hidden = !1; + const R = (_ = A.data) == null ? void 0 : _.type; + R && + (R === "direct" && (A.hidden = !r), + R === "indirect" && (A.hidden = !i)); + } + C.setEdges(S); + })(); + }, [r, i]); + const x = (C) => { + (e.current = C), wf(); + }; + return /* @__PURE__ */ p.jsx("div", { + className: "lineage_flow_component", + style: { width: "100%", height: "100%" }, + "data-theme": t, + children: /* @__PURE__ */ p.jsx(jf.Provider, { + value: { openedPopover: n, setOpenedPopover: o }, + children: /* @__PURE__ */ p.jsxs(Mr, { + children: [ + /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (C) => x(C), + nodeTypes: Wx, + edgeTypes: Zx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: Os, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + /* @__PURE__ */ p.jsx(vf, {}), + /* @__PURE__ */ p.jsxs(e1, { + isOpen: a !== "", + closeModal: () => f(Yt("")), + width: "30vw", + children: [ + a === Hc && /* @__PURE__ */ p.jsx(Of, {}), + a === Ic && + /* @__PURE__ */ p.jsx(Ff, { lineageType: "dynamic" }), + a === zc && /* @__PURE__ */ p.jsx(Rf, {}), + a === xy && /* @__PURE__ */ p.jsx(Rx, { close: () => Yt("") }), + a === cf && + /* @__PURE__ */ p.jsx(jx, { + applyDefault: (C) => (m.current = C), + }), + ], + }), + e.current ? /* @__PURE__ */ p.jsx($x, { flow: e.current }) : null, + /* @__PURE__ */ p.jsx(zx, {}), + /* @__PURE__ */ p.jsx(Hx, {}), + e.current ? /* @__PURE__ */ p.jsx(Px, { flow: e.current }) : null, + /* @__PURE__ */ p.jsx(n1, {}), + ], + }), + }), + }); + }, + qx = { + table: Mf, + seeMore: Xc, + column: Jc, + }, + Yx = { + selfConnecting: Qc, + }, + Gx = ({ + flow: e, + selectedColumn: t, + collectColumns: n, + columnEdges: o = [], + tableEdges: r, + details: i, + }) => { + const { + state: { sidebarScreen: a }, + } = ot(), + l = dt(); + return ( + ce(() => { + l(cr(n)), + setTimeout(async () => { + var b, y; + const s = (g) => ({ + table: g, + label: i[g].name, + upstreamCount: 0, + downstreamCount: 0, + nodeType: i[g].type || "cte", + isExternalProject: !1, + tests: [], + }), + { sources: u } = mf(r); + let c = [], + d = []; + const h = [...u], + f = {}, + m = (g, x) => { + var w, S; + const C = g + ? r.filter(([_]) => _ === x).map(([, _]) => _) + : r.filter(([, _]) => _ === x).map(([_]) => _), + E = + ((S = + (w = c.find((_) => _.id === x)) == null + ? void 0 + : w.data) == null + ? void 0 + : S.level) || 0; + return ca(c, d, C.map(s), x, g, E, 1e4, !1, i), C; + }; + for (; h.length > 0; ) { + const g = h.pop(); + f[g] || ((f[g] = !0), h.push(...m(!0, g), ...m(!1, g))); } - ), - /* @__PURE__ */ f.jsxs( - Re, - { - outline: !0, - onClick: () => i(l), - disabled: r === "", + if (t) { + const g = `${t.table}/${t.name}`, + { nodes: x, edges: C } = await gx(c, d, g, async () => ({ + collect_columns: n, + highlight_edges: o, + })); + (c = x), (d = C); + } + fn(c, d, !1), + (b = e.current) == null || b.setNodes(c), + (y = e.current) == null || y.setEdges(d); + }, 500); + }, [n, o, i, e, t, r]), + ce(() => { + const s = setTimeout(() => { + var u; + (u = e.current) == null || u.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(s); + }, []), + /* @__PURE__ */ p.jsxs("div", { + style: { width: "100%", height: "100%" }, + children: [ + /* @__PURE__ */ p.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ p.jsxs(Mr, { children: [ - /* @__PURE__ */ f.jsx(T2, {}), - "Export" - ] + /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (s) => (e.current = s), + nodeTypes: qx, + edgeTypes: Yx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + /* @__PURE__ */ p.jsx(vf, {}), + /* @__PURE__ */ p.jsxs(e1, { + isOpen: a !== "", + closeModal: () => l(Yt("")), + width: "30vw", + children: [ + a === Hc && /* @__PURE__ */ p.jsx(Of, {}), + a === Ic && + /* @__PURE__ */ p.jsx(Ff, { lineageType: "static" }), + a === zc && /* @__PURE__ */ p.jsx(Rf, {}), + ], + }), + ], + }), + }), + /* @__PURE__ */ p.jsx(n1, {}), + ], + }) + ); + }, + Kx = { + table: xx, + seeMore: Xc, + column: Jc, + operator: wx, + }, + Xx = { + selfConnecting: Qc, + }, + Qx = ({ flow: e, tableEdges: t, details: n, nodePositions: o }) => { + const { + state: { selectedTable: r }, + } = ot(), + i = dt(); + return ( + ce(() => { + i(_9({ details: n, tableEdges: t })); + }, [n]), + ce(() => { + setTimeout(async () => { + var f, m, b, y; + const a = (g) => ({ + table: g, + label: n[g].name || g, + upstreamCount: 0, + downstreamCount: 0, + nodeType: n[g].type || "cte", + isExternalProject: !1, + tests: [], + }); + if (o) { + const g = Object.keys(o).map((C) => + n[C].type in No ? To(a(C), 0, "") : gf(C, 0, "", n[C]), + ), + x = t.map(([C, E]) => Wc(o[C][1], o[E][1], C, E, !0, !0)); + for (const C of g) { + if (!o[C.id]) continue; + const [E, w] = o[C.id]; + C.position = { x: E, y: w }; } - ) - ] }) - } - ), - t - ) : null; -}, Jx = { - table: If, - seeMore: o1, - column: a1 -}, ew = { selfConnecting: r1 }, tw = ({ - flow: e, - theme: t -}) => { - const [n, o] = ce(""), { - state: { - selectCheck: r, - nonSelectCheck: a, - sidebarScreen: i, - leftExpansion: l, - rightExpansion: s, - selectedColumn: u, - defaultExpansion: c, - errors: d - }, - rerender: p - } = at(), h = ft(), m = he(c), b = () => { - if (e.current) { - const C = e.current.getEdges(); - Er(C, !0), Sr(C, !1), e.current.setEdges(C); - } - }, y = Te( - async (C) => { - if (h(Gt("")), !C) return; - h(D9(C.aiEnabled)); - const { node: S } = C, w = e.current; - if (!w || !S) return; - if (w.getNode(S.table)) { - h(eo(S.table)); - let L = w.getNodes(), R = w.getEdges(); - u != null && u.name || ([L, R] = _r(L, R, S.table), w.setNodes(L), w.setEdges(R)), h( - pr(Ar(L, R, S.table)) - ), h( - Mo( - await Fo( - L, - R, - S.table, - l, - s - ) - ) - ); - return; - } - let M = [], _ = []; - M = [Lo(S, 0, "")], [M, _] = await qa( - M, - _, - S.table, - -m.current, - m.current - ), h(eo(S.table)), h(Zn({ table: "", name: "" })), h(hr({})), h(vc({})), [M, _] = _r(M, _, S.table), pn(M, _), w.setNodes(M), w.setEdges(_), w.fitView({ minZoom: Fs, duration: 500 }), h(pr(Ar(M, _, S.table))), h( - Mo( - await Fo( - M, - _, - S.table, - l, - s - ) - ) - ), p(); - }, - [p, l, s, u == null ? void 0 : u.name] - ); - ue(() => { - document.addEventListener("cll_cancelled", b); - const C = (S) => { - console.log("renderStartNode", S.detail), y(S.detail); - }; - return document.addEventListener("renderStartNode", C), () => { - document.removeEventListener("cll_cancelled", b), document.removeEventListener("renderStartNode", C); - }; - }, []); - const g = Te(async () => { - const C = await hx(); - h(Xd(C.showSelectEdges)), h(Qd(C.showNonSelectEdges)), h(Jd(C.defaultExpansion)), m.current = C.defaultExpansion; - }, [h]); - ue(() => { - g(); - }, [g]), ue(() => { - const C = e.current; - if (!C) return; - (async () => { - var M; - const w = u; - if (!w) return; - if (a) { - const _ = (L) => n1( - C.getNodes(), - C.getEdges(), - L, - w ? [w] : [], - (R) => { - h( - Ec({ operatorList: R }) - ); + (f = e.current) == null || f.setNodes(g), + (m = e.current) == null || m.setEdges(x); + return; + } + const { sinks: l } = mf(t); + let s = l.map((g) => To(a(g), 0, "")), + u = []; + const c = [...l], + d = {}, + h = (g, x) => { + var w, S; + const C = g + ? t.filter(([_]) => _ === x).map(([, _]) => _) + : t.filter(([, _]) => _ === x).map(([_]) => _), + E = + ((S = + (w = s.find((_) => _.id === x)) == null + ? void 0 + : w.data) == null + ? void 0 + : S.level) || 0; + return ca(s, u, C.map(a), x, g, E, 1e4, !0, n), C; + }; + for (; c.length > 0; ) { + const g = c.pop(); + d[g] || ((d[g] = !0), c.push(...h(!1, g))); + } + fn(s, u, !0), + (b = e.current) == null || b.setNodes(s), + (y = e.current) == null || y.setEdges(u); + }, 500); + }, [n, e, t, o]), + ce(() => { + const a = setTimeout(() => { + var l; + (l = e.current) == null || l.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(a); + }, []), + ce(() => { + const a = (d) => { + i(A9(d.detail)); }, - (R) => { - h(xc(R)); + l = (d) => { + i(M9(d.detail)); }, - (R) => { - h(wc(R)); + s = () => { + setTimeout(() => { + var d; + (d = e.current) == null || d.fitView({ duration: 500 }); + }, 500); }, - () => [C.getNodes(), C.getEdges()], - (R, j) => { - C.setNodes(R), C.setEdges(j); + u = (d) => { + i(T9(d.detail)); }, - w || { table: "", name: "" }, - { direct: r, indirect: a }, - (R) => h(Sc(R(d))) - ); - try { - Je.start(), await Promise.all([_(!0), _(!1)]); - } catch (L) { - console.error( - "Error while performing cll for ", - w == null ? void 0 : w.table, - w == null ? void 0 : w.name, - ", error:", - L - ); - } finally { - Je.end(); - } - } - const E = C.getEdges(); - if (r && a || !r && !a) { - for (const _ of E) _.hidden = !1; - C.setEdges(E); - return; - } - for (const _ of E) { - _.hidden = !1; - const L = (M = _.data) == null ? void 0 : M.type; - L && (L === "direct" && (_.hidden = !r), L === "indirect" && (_.hidden = !a)); - } - C.setEdges(E); - })(); - }, [r, a]); - const x = (C) => { - e.current = C, Df(); - }; - return /* @__PURE__ */ f.jsx( - "div", - { - className: "lineage_flow_component", - style: { width: "100%", height: "100%" }, - "data-theme": t, - children: /* @__PURE__ */ f.jsx(Zf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ f.jsxs(Lr, { children: [ - /* @__PURE__ */ f.jsxs( - ci, - { - defaultNodes: [], - defaultEdges: [], - onInit: (C) => x(C), - nodeTypes: Jx, - edgeTypes: ew, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: Fs, - children: [ - /* @__PURE__ */ f.jsx($c, {}), - /* @__PURE__ */ f.jsx(Vc, {}) - ] - } - ), - /* @__PURE__ */ f.jsx(ix, {}), - /* @__PURE__ */ f.jsxs( - i1, - { - isOpen: i !== "", - closeModal: () => h(Gt("")), - width: "30vw", - children: [ - i === Uc && /* @__PURE__ */ f.jsx(Hf, {}), - i === Wc && /* @__PURE__ */ f.jsx($f, {}), - i === Zc && /* @__PURE__ */ f.jsx(Wf, {}), - i === Ty && /* @__PURE__ */ f.jsx(Wx, { close: () => Gt("") }), - i === vf && /* @__PURE__ */ f.jsx( - Zx, - { - applyDefault: (C) => m.current = C - } - ) - ] + c = (d) => { + i(O9(d.detail)); + }; + return ( + document.addEventListener("onHighlightedNodes", a), + document.addEventListener("onSelectedNodes", l), + document.addEventListener("onNodesSavingsPerformance", u), + document.addEventListener("onNodesCost", c), + document.addEventListener("fitView", s), + () => { + document.removeEventListener("highlightedNodes", a), + document.removeEventListener("onSelectedNodes", l), + document.removeEventListener("onNodesSavingsPerformance", u), + document.removeEventListener("onNodesCost", c), + document.removeEventListener("fitView", s); } - ), - e.current ? /* @__PURE__ */ f.jsx(Qx, { flow: e.current }) : null, - /* @__PURE__ */ f.jsx(qx, {}), - /* @__PURE__ */ f.jsx(Yx, {}), - e.current ? /* @__PURE__ */ f.jsx(Gx, { flow: e.current }) : null, - /* @__PURE__ */ f.jsx(s1, {}) - ] }) }) - } - ); -}, nw = { - table: If, - seeMore: o1, - column: a1 -}, ow = { - selfConnecting: r1 -}, rw = ({ - flow: e, - selectedColumn: t, - collectColumns: n, - columnEdges: o = [], - tableEdges: r, - details: a -}) => { - const { - state: { sidebarScreen: i } - } = at(), l = ft(); - return ue(() => { - l(hr(n)), setTimeout(async () => { - var b, y; - const s = (g) => ({ - table: g, - label: a[g].name, - upstreamCount: 0, - downstreamCount: 0, - nodeType: a[g].type || "cte", - isExternalProject: !1, - tests: [] - }), { sources: u } = Af(r); - let c = [], d = []; - const p = [...u], h = {}, m = (g, x) => { - var w, E; - const C = g ? r.filter(([M]) => M === x).map(([, M]) => M) : r.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = c.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return pi( - c, - d, - C.map(s), - x, - g, - S, - 1e4, - !1, - a - ), C; - }; - for (; p.length > 0; ) { - const g = p.pop(); - h[g] || (h[g] = !0, p.push( - ...m(!0, g), - ...m(!1, g) - )); - } - if (t) { - const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await Sx( - c, - d, - g, - async () => ({ - collect_columns: n, - highlight_edges: o - }) - ); - c = x, d = C; - } - pn(c, d, !1), (b = e.current) == null || b.setNodes(c), (y = e.current) == null || y.setEdges(d); - }, 500); - }, [n, o, a, e, t, r]), ue(() => { - const s = setTimeout(() => { - var u; - (u = e.current) == null || u.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(s); - }, []), /* @__PURE__ */ f.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ f.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ f.jsxs(Lr, { children: [ - /* @__PURE__ */ f.jsxs( - ci, - { - defaultNodes: [], - defaultEdges: [], - onInit: (s) => e.current = s, - nodeTypes: nw, - edgeTypes: ow, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, - children: [ - /* @__PURE__ */ f.jsx($c, {}), - /* @__PURE__ */ f.jsx(Vc, {}) - ] - } - ), - /* @__PURE__ */ f.jsxs( - i1, - { - isOpen: i !== "", - closeModal: () => l(Gt("")), - width: "30vw", - children: [ - i === Uc && /* @__PURE__ */ f.jsx(Hf, {}), - i === Wc && /* @__PURE__ */ f.jsx($f, {}), - i === Zc && /* @__PURE__ */ f.jsx(Wf, {}) - ] - } - ) - ] }) }), - /* @__PURE__ */ f.jsx(s1, {}) - ] }); -}, aw = { - table: Ox, - seeMore: o1, - column: a1, - operator: Nx -}, iw = { - selfConnecting: r1 -}, lw = ({ - flow: e, - tableEdges: t, - details: n, - nodePositions: o -}) => { - const { - state: { selectedTable: r } - } = at(), a = ft(); - return ue(() => { - a(j9({ details: n, tableEdges: t })); - }, [n]), ue(() => { - setTimeout(async () => { - var h, m, b, y; - const i = (g) => ({ - table: g, - label: n[g].name || g, - upstreamCount: 0, - downstreamCount: 0, - nodeType: n[g].type || "cte", - isExternalProject: !1, - tests: [] - }); - if (o) { - const g = Object.keys(o).map((C) => n[C].type in kr ? Lo(i(C), 0, "") : _f(C, 0, "", n[C])), x = t.map( - ([C, S]) => Xc( - o[C][1], - o[S][1], - C, - S, - !0, - !0 - ) ); - for (const C of g) { - if (!o[C.id]) continue; - const [S, w] = o[C.id]; - C.position = { x: S, y: w }; - } - (h = e.current) == null || h.setNodes(g), (m = e.current) == null || m.setEdges(x); - return; - } - const { sinks: l } = Af(t); - let s = l.map( - (g) => Lo(i(g), 0, "") - ), u = []; - const c = [...l], d = {}, p = (g, x) => { - var w, E; - const C = g ? t.filter(([M]) => M === x).map(([, M]) => M) : t.filter(([, M]) => M === x).map(([M]) => M), S = ((E = (w = s.find((M) => M.id === x)) == null ? void 0 : w.data) == null ? void 0 : E.level) || 0; - return pi( - s, - u, - C.map(i), - x, - g, - S, - 1e4, - !0, - n - ), C; - }; - for (; c.length > 0; ) { - const g = c.pop(); - d[g] || (d[g] = !0, c.push(...p(!1, g))); - } - pn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); - }, 500); - }, [n, e, t, o]), ue(() => { - const i = setTimeout(() => { - var l; - (l = e.current) == null || l.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(i); - }, []), ue(() => { - const i = (d) => { - a(F9(d.detail)); - }, l = (d) => { - a(R9(d.detail)); - }, s = () => { - setTimeout(() => { - var d; - (d = e.current) == null || d.fitView({ duration: 500 }); - }, 500); - }, u = (d) => { - a(I9(d.detail)); - }, c = (d) => { - a(z9(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(Lr, { children: /* @__PURE__ */ f.jsxs( - ci, - { - defaultNodes: [], - defaultEdges: [], - onInit: (i) => e.current = i, - nodeTypes: aw, - edgeTypes: iw, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, + }, []), + /* @__PURE__ */ p.jsxs("div", { + style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ f.jsx($c, {}), - /* @__PURE__ */ f.jsx(Vc, {}) - ] - } - ) }) }), - /* @__PURE__ */ f.jsx(s1, {}), - /* @__PURE__ */ f.jsx( - i1, - { - isOpen: !!r, - closeModal: () => a(eo("")), - width: "30vw", - children: !!r && /* @__PURE__ */ f.jsx(Vx, {}) - } - ) - ] }); -}, ro = Ht({ - state: La.getInitialState(), - dispatch: () => null, - rerender: () => null -}), sw = ({ - theme: e = "dark", - lineageType: t, - sqlLineage: n, - dynamicLineage: o, - staticLineage: r, - allowSyncColumnsWithDB: a, - externalSidePanel: i = !1 -}) => { - const [l, s] = ec(La.reducer, { - ...La.getInitialState(), - theme: e, + /* @__PURE__ */ p.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ p.jsx(Mr, { + children: /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (a) => (e.current = a), + nodeTypes: Kx, + edgeTypes: Xx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + }), + }), + /* @__PURE__ */ p.jsx(n1, {}), + /* @__PURE__ */ p.jsx(e1, { + isOpen: !!r, + closeModal: () => i(Xn("")), + width: "30vw", + children: !!r && /* @__PURE__ */ p.jsx(Lx, {}), + }), + ], + }) + ); + }, + eo = zt({ + state: _i.getInitialState(), + dispatch: () => null, + rerender: () => null, + }), + Jx = ({ + theme: e = "dark", lineageType: t, sqlLineage: n, - allowSyncColumnsWithDB: a, - externalSidePanel: i - }), u = he(), [, c] = ce(0), d = Te(() => c((h) => (h + 1) % 100), []); - ue(() => { - s(L9(e)); - }, [e]); - const p = Ve( - () => ({ - state: l, - dispatch: s, - rerender: d - }), - [l, s, d] - ); - return /* @__PURE__ */ f.jsx(ro.Provider, { value: p, children: /* @__PURE__ */ f.jsxs("div", { className: "lineage-component", children: [ - t === "sql" && n && /* @__PURE__ */ f.jsx( - lw, - { - flow: u, - details: n.details, - tableEdges: n.tableEdges, - nodePositions: n.nodePositions - } - ), - t === "dynamic" && o && /* @__PURE__ */ f.jsx(tw, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ f.jsx(rw, { flow: u, ...r }), - /* @__PURE__ */ f.jsx("div", { id: "lineage-sidebar" }) - ] }) }); -}, at = () => tt(ro), ft = () => { - const { dispatch: e } = tt(ro); - return e; -}, yA = (e) => /* @__PURE__ */ f.jsx(sw, { ...e }), qf = { - showCoachingForm: !1 -}, Bs = cc({ - name: "teamMate", - initialState: qf, - reducers: { - setShowCoachingForm: (e, t) => { - e.showCoachingForm = t.payload; - } - } -}), cw = Bs.actions, Yf = Ht({ - state: qf, - dispatch: () => null -}), CA = ({ - children: e -}) => { - const [t, n] = ec( - Bs.reducer, - Bs.getInitialState() - ), o = Ve( - () => ({ - state: t, - dispatch: n - }), - [t, n] - ); - return /* @__PURE__ */ f.jsx(Yf.Provider, { value: o, children: e }); -}, uw = ({ - errors: e, - isSubmitting: t, - taskLabel: n, - onSuccess: o, - onCancel: r -}) => { - const { setFieldError: a, values: i, setSubmitting: l } = td(), s = async () => await Me.post("coach/training", { - ...i, - taskLabel: n - }), { mutate: u, error: c } = oo({ - // @ts-ignore - queryFn: s, - onSuccess: (d) => { - o(d), l(!1); - } - }); - return ue(() => { - c != null && c.message && (a("content", c.message), l(!1)); - }, [c, a]), /* @__PURE__ */ f.jsxs(nd, { children: [ - /* @__PURE__ */ f.jsx( - os, - { - name: "content", - render: ({ field: d }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - type: "textarea", - ...d, - placeholder: "Greet with nice poem", - invalid: !!e.content - } - ), - e.content ? /* @__PURE__ */ f.jsx(lr, { children: e.content }) : null - ] }) - } - ), - /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-end", children: [ - /* @__PURE__ */ f.jsx(Re, { onClick: r, children: "Cancel" }), - /* @__PURE__ */ f.jsx( - In, - { - color: "primary", - loading: t, - type: "submit", - onClick: u, - children: "Coach AI" - } - ) - ] }) - ] }); -}, Gf = (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 }); - }, {}); -}, dw = He.object({ - content: He.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" }) -}), fw = ({ - taskLabel: e, - context: t, - onClose: n, - extra: o = {} -}) => { - const [r, a] = ce(), [i, l] = ce(!1), s = (y) => { - a(y); - }, u = () => { - l(!0); - }, c = () => { - l(!1); - }, d = async () => { - if (r) - return c(), await Me.post( - "coach/training/confirm", - { - content: r.ai_response, - category: r.category, - taskLabel: e, - personalizationScope: r.personalizationScope, - metadata: t, - ...o - } + dynamicLineage: o, + staticLineage: r, + allowSyncColumnsWithDB: i, + externalSidePanel: a = !1, + }) => { + const [l, s] = Gs(_i.reducer, { + ..._i.getInitialState(), + theme: e, + lineageType: t, + sqlLineage: n, + allowSyncColumnsWithDB: i, + externalSidePanel: a, + }), + u = pe(), + [, c] = ue(0), + d = Me(() => c((f) => (f + 1) % 100), []); + ce(() => { + s(k9(e)); + }, [e]); + const h = Be( + () => ({ + state: l, + dispatch: s, + rerender: d, + }), + [l, s, d], + ); + return /* @__PURE__ */ p.jsx(eo.Provider, { + value: h, + children: /* @__PURE__ */ p.jsxs("div", { + className: "lineage-component", + children: [ + t === "sql" && + n && + /* @__PURE__ */ p.jsx(Qx, { + flow: u, + details: n.details, + tableEdges: n.tableEdges, + nodePositions: n.nodePositions, + }), + t === "dynamic" && + o && + /* @__PURE__ */ p.jsx(Ux, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ p.jsx(Gx, { flow: u, ...r }), + /* @__PURE__ */ p.jsx("div", { id: "lineage-sidebar" }), + ], + }), + }); + }, + ot = () => Je(eo), + dt = () => { + const { dispatch: e } = Je(eo); + return e; + }, + aA = (e) => /* @__PURE__ */ p.jsx(Jx, { ...e }), + zf = { + showCoachingForm: !1, + }, + js = oc({ + name: "teamMate", + initialState: zf, + reducers: { + setShowCoachingForm: (e, t) => { + e.showCoachingForm = t.payload; + }, + }, + }), + ew = js.actions, + Hf = zt({ + state: zf, + dispatch: () => null, + }), + lA = ({ children: e }) => { + const [t, n] = Gs(js.reducer, js.getInitialState()), + o = Be( + () => ({ + state: t, + dispatch: n, + }), + [t, n], ); - }, { - mutate: p, - error: h, - loading: m, - data: b - } = oo({ - // @ts-ignore - queryFn: d, - onSuccess: () => { - l(!1); - } - }); - return b != null && b.frontend_url ? /* @__PURE__ */ f.jsxs(Mr, { children: [ - "Thank you for coaching Datapilot. Click the link to", - " ", - /* @__PURE__ */ f.jsx( - "a", - { - className: "alert-link", - href: `${b.frontend_url}/teammates/${e}?learning=${b.train_doc_uid}`, - children: "View learnings" - } - ) - ] }) : /* @__PURE__ */ f.jsxs(Ke, { 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( - od, - { - initialValues: { content: "" }, - onSubmit: () => { + return /* @__PURE__ */ p.jsx(Hf.Provider, { value: o, children: e }); + }, + tw = ({ + errors: e, + isSubmitting: t, + taskLabel: n, + onSuccess: o, + onCancel: r, + }) => { + const { setFieldError: i, values: a, setSubmitting: l } = K5(), + s = async () => + await Ie.post("coach/training", { + ...a, + taskLabel: n, + }), + { mutate: u, error: c } = Zi({ + // @ts-ignore + queryFn: s, + onSuccess: (d) => { + o(d), l(!1); }, - validate: Gf(dw), - children: (y) => /* @__PURE__ */ f.jsx( - uw, - { - ...y, - taskLabel: e, - onSuccess: s, - onCancel: n - } - ) - } - ), - r && /* @__PURE__ */ f.jsxs(zt, { className: "mt-4", children: [ - /* @__PURE__ */ f.jsxs(dn, { children: [ - /* @__PURE__ */ f.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), - /* @__PURE__ */ f.jsx("div", { children: i ? /* @__PURE__ */ f.jsx( - Xt, - { - type: "textarea", - value: r.ai_response, - onChange: (y) => { - a({ - ...r, - ai_response: y.target.value - }); - }, - style: { fieldSizing: "content" } - } - ) : r.ai_response }), - h && /* @__PURE__ */ f.jsx("div", { className: "text-danger", children: h.message }) - ] }), - /* @__PURE__ */ f.jsxs(X0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - i ? /* @__PURE__ */ f.jsx(Re, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ f.jsx(Re, { variant: "secondary", onClick: u, children: "Edit" }), - /* @__PURE__ */ f.jsx(In, { loading: m, onClick: p, color: "primary", children: "Save" }) - ] }) - ] }) - ] }); -}, hw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", pw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", gw = "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", o0 = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3536_7181)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%23FFC125'/%3e%3cpath%20d='M33.3384%2045.6643H26.6606V52.4674H33.3384V45.6643Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M47.6346%2018.573H46.387V26.615H47.6346V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M49.2402%2017.4861C49.2402%2016.2542%2048.2428%2015.2556%2047.0103%2015.2556C45.7784%2015.2556%2044.7801%2016.2542%2044.7801%2017.4861C44.7801%2018.7186%2045.7784%2019.7167%2047.0103%2019.7167C48.2428%2019.7167%2049.2402%2018.7186%2049.2402%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M13.613%2018.573H12.366V26.615H13.613V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M15.2193%2017.4861C15.2193%2016.2542%2014.2218%2015.2556%2012.9896%2015.2556C11.7577%2015.2556%2010.759%2016.2542%2010.759%2017.4861C10.759%2018.7186%2011.7577%2019.7167%2012.9896%2019.7167C14.2218%2019.7167%2015.2193%2018.7186%2015.2193%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M50%2030.9072C50%2030.8171%2049.9975%2029.7555%2049.9923%2029.6667C49.8532%2027.124%2047.7475%2026.0778%2045.1703%2026.0778C42.5937%2026.0778%2040.488%2027.5693%2040.3486%2030.1117C40.344%2030.2005%2040.3415%2030.8171%2040.3415%2030.9072C40.3415%2030.9935%2040.3434%2032.052%2040.348%2032.1378C40.4822%2034.6851%2042.5903%2036.1819%2045.1703%2036.1819C47.7512%2036.1819%2049.8588%2035.1302%2049.9929%2032.5832C49.9975%2032.4968%2050%2030.9935%2050%2030.9072Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M46.1442%2031.4C46.1442%2031.099%2046.1353%2029.0387%2046.1196%2028.742C45.6544%2020.2416%2038.6148%2015.2556%2030.0001%2015.2556C21.3847%2015.2556%2014.3463%2020.2416%2013.8809%2028.742C13.8639%2029.0387%2013.8556%2031.099%2013.8556%2031.4C13.8556%2031.6902%2013.8633%2033.7395%2013.8788%2034.0254C14.3278%2042.5399%2021.3736%2047.5442%2030.0001%2047.5442C38.6262%2047.5442%2045.672%2042.5399%2046.1214%2034.0254C46.1365%2033.7395%2046.1442%2031.6902%2046.1442%2031.4Z'%20fill='white'/%3e%3cpath%20d='M46.2704%2028.742C45.805%2020.2416%2038.7663%2015.2556%2030.1506%2015.2556C29.8468%2015.2556%2029.5467%2015.2636%2029.2463%2015.2759C37.445%2015.6133%2044.0127%2020.5414%2044.4615%2028.742C44.4778%2029.0387%2044.4861%2031.099%2044.4861%2031.4C44.4861%2031.6902%2044.479%2033.7395%2044.4636%2034.0254C44.0303%2042.2401%2037.4555%2047.1861%2029.2463%2047.5244C29.5467%2047.5368%2029.8468%2047.5442%2030.1506%2047.5442C38.7768%2047.5442%2045.8229%2042.5399%2046.2726%2034.0254C46.288%2033.7395%2046.2951%2031.6902%2046.2951%2031.4C46.2951%2031.099%2046.2868%2029.0387%2046.2704%2028.742Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M19.6585%2030.9072C19.6585%2030.8171%2019.6563%2030.2005%2019.6514%2030.1117C19.512%2027.5693%2017.4063%2026.0778%2014.8291%2026.0778C12.2522%2026.0778%2010.1468%2027.3466%2010.0074%2029.8894C10.0025%2029.9782%2010%2030.8171%2010%2030.9072C10%2030.9935%2010.0019%2032.2744%2010.0068%2032.3605C10.1406%2034.9075%2012.2488%2036.1819%2014.8291%2036.1819C17.4097%2036.1819%2019.5172%2034.6851%2019.6514%2032.1378C19.6563%2032.052%2019.6585%2030.9935%2019.6585%2030.9072Z'%20fill='white'/%3e%3cpath%20d='M30%2042.8922C24.6929%2042.8922%2018.3636%2040.3739%2017.979%2033.2803C17.9691%2032.9626%2017.9611%2031.8482%2017.9611%2031.4001C17.9611%2030.9649%2017.9703%2029.2698%2017.9808%2028.9468C18.3806%2021.8717%2024.7027%2020.1263%2030%2020.1263C35.2976%2020.1263%2041.6201%2021.8717%2042.019%2028.9465C42.0294%2029.2707%2042.039%2030.9655%2042.039%2031.4001C42.039%2031.8328%2042.03%2032.9638%2042.0208%2033.2821C41.6343%2040.3754%2035.3056%2042.8922%2030%2042.8922Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M25.7771%2031.8109C25.7771%2030.7644%2024.928%2029.919%2023.8843%2029.919C22.8387%2029.919%2021.9927%2030.7644%2021.9927%2031.8109C21.9927%2032.8565%2022.8387%2033.7028%2023.8843%2033.7028C24.928%2033.7028%2025.7771%2032.8565%2025.7771%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M38.0072%2031.8109C38.0072%2030.7644%2037.1618%2029.919%2036.1153%2029.919C35.0697%2029.919%2034.2234%2030.7644%2034.2234%2031.8109C34.2234%2032.8565%2035.0697%2033.7028%2036.1153%2033.7028C37.1618%2033.7028%2038.0072%2032.8565%2038.0072%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M30%2049.7708C35.3069%2049.7708%2041.6362%2052.2885%2042.0208%2059.3821C42.0307%2059.6995%2042.039%2060.8148%2042.039%2061.2623C42.039%2061.6972%2042.0294%2063.3932%2042.0195%2063.7153C41.6192%2070.7903%2035.297%2071.9328%2030%2071.9328C24.7021%2071.9328%2018.3793%2070.791%2017.9808%2063.7165C17.9703%2063.3914%2017.9611%2061.6966%2017.9611%2061.2623C17.9611%2060.8293%2017.9697%2059.6982%2017.9796%2059.3809C18.3657%2052.2867%2024.6941%2049.7708%2030%2049.7708Z'%20fill='white'/%3e%3cpath%20d='M48.575%2017.8695C48.575%2016.67%2047.6028%2015.6991%2046.4064%2015.6991C46.1054%2015.6991%2045.8179%2015.7608%2045.558%2015.8712C45.9487%2015.4906%2046.4823%2015.2556%2047.0717%2015.2556C48.2681%2015.2556%2049.2403%2016.2265%2049.2403%2017.4257C49.2403%2018.325%2048.6944%2019.0955%2047.9165%2019.4255C48.323%2019.0314%2048.575%2018.4805%2048.575%2017.8695Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M14.5541%2017.8695C14.5541%2016.67%2013.5819%2015.6991%2012.3852%2015.6991C12.0842%2015.6991%2011.797%2015.7608%2011.5367%2015.8712C11.9275%2015.4906%2012.4611%2015.2556%2013.0508%2015.2556C14.2469%2015.2556%2015.2191%2016.2265%2015.2191%2017.4257C15.2191%2018.325%2014.6735%2019.0955%2013.8956%2019.4255C14.3018%2019.0314%2014.5541%2018.4805%2014.5541%2017.8695Z'%20fill='%23FFF5DD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3536_7181'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", mw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { - maskType: "alpha" -}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ O.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ O.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ O.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ O.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ O.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ O.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ O.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ O.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ O.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ O.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))); -var Rr = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.TESTS = "tests", e.MODEL = "model", e.FILE_STRUCTURE = "file_structure", e))(Rr || {}), Kf = /* @__PURE__ */ ((e) => (e.Manifest = "Manifest", e.Catalog = "Catalog", e))(Kf || {}); -const bw = He.object({ - name: He.string(), - alias: He.string(), - type: He.enum( - Object.values(Rr) - ), - description: He.string(), - files_required: He.array( - He.enum(Object.values(Kf)) - ), - config: He.record(He.unknown()) -}), yw = ({ - errors: e, - isSubmitting: t, - onSuccess: n, - onCancel: o -}) => { - const { setFieldError: r, setSubmitting: a, values: i } = td(), l = async () => await Me.post( - "project_governance/check/validate", - { - ...i - } - ), { mutate: s, error: u } = oo({ - // @ts-ignore - queryFn: l, - onSuccess: (c) => { - n(c, i.type), a(!1); - } - }); - return ue(() => { - u != null && u.message && (r("content", u.message), a(!1)); - }, [u, r]), /* @__PURE__ */ f.jsxs(nd, { children: [ - /* @__PURE__ */ f.jsx( - os, - { - name: "description", - render: ({ field: c }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - type: "textarea", - ...c, - placeholder: "Describe the check in natural language", - invalid: !!e.description - } - ), - e.description ? /* @__PURE__ */ f.jsx(lr, { children: e.description }) : null - ] }) - } - ), - /* @__PURE__ */ f.jsx( - os, - { - name: "type", - render: ({ field: c }) => /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx(pa, { children: "Type:" }), - /* @__PURE__ */ f.jsx( - rs, - { - style: { width: 120 }, - onChange: (d) => c.onChange({ target: { value: d, name: c.name } }), - options: Object.entries(Rr).map( - ([, d]) => ({ - value: d, - label: d - }) - ) - } - ) - ] }) - } - ), - /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-end", children: [ - /* @__PURE__ */ f.jsx(Re, { onClick: o, children: "Cancel" }), - /* @__PURE__ */ f.jsx( - In, - { - color: "primary", - loading: t, - type: "submit", - onClick: s, - children: "Submit" - } - ) - ] }) - ] }); -}, Cw = He.object({ - content: He.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" }), - type: He.enum( - Object.values(Rr) - ) -}), Xf = ({ onClose: e }) => { - const [t, n] = ce(), o = (s, u) => { - n({ ...s, type: u }); - }, { - mutate: r, - error: a, - loading: i, - data: l - } = oo({ - // @ts-ignore - queryFn: () => Me.post( - "project_governance/check", - { ...t } - ) - }); - return l ? /* @__PURE__ */ f.jsxs(Mr, { children: [ - "Project governance check saved successfully", - " ", - /* @__PURE__ */ f.jsx(Re, { onClick: () => e(l), children: "View" }) - ] }) : /* @__PURE__ */ f.jsxs(Ke, { direction: "column", children: [ - /* @__PURE__ */ f.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }), - /* @__PURE__ */ f.jsx( - od, + }); + return ( + ce(() => { + c != null && c.message && (i("content", c.message), l(!1)); + }, [c, i]), + /* @__PURE__ */ p.jsxs(X5, { + children: [ + /* @__PURE__ */ p.jsx(Q5, { + name: "content", + render: ({ field: d }) => + /* @__PURE__ */ p.jsxs(Jl, { + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "textarea", + ...d, + placeholder: "Greet with nice poem", + invalid: !!e.content, + }), + e.content + ? /* @__PURE__ */ p.jsx(W0, { children: e.content }) + : null, + ], + }), + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-end", + children: [ + /* @__PURE__ */ p.jsx(Pe, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ p.jsx(Wi, { + color: "primary", + loading: t, + type: "submit", + onClick: u, + children: "Coach AI", + }), + ], + }), + ], + }) + ); + }, + nw = (e, t) => (n) => { + const o = e.safeParse(n, t); + return o.success + ? {} + : o.error.issues.reduce((r, i) => { + const a = i.path.join("."); + return Object.assign(Object.assign({}, r), { [a]: i.message }); + }, {}); + }, + ow = ht.object({ + content: ht + .string() + .min(10, { message: "Feedback must be at least 10 characters" }) + .max(500, { message: "Feedback must not exceed 500 characters" }) + .min(1, { message: "Feedback is required" }), + }), + sA = ({ taskLabel: e, context: t, onClose: n, extra: o = {} }) => { + const [r, i] = ue(), + [a, l] = ue(!1), + s = (y) => { + i(y); + }, + u = () => { + l(!0); + }, + c = () => { + l(!1); + }, + d = async () => { + if (r) + return ( + c(), + await Ie.post("coach/training/confirm", { + content: r.ai_response, + category: r.category, + taskLabel: e, + personalizationScope: r.personalizationScope, + metadata: t, + ...o, + }) + ); + }, { - initialValues: { - description: "", - type: Rr.MODEL - }, - onSubmit: () => { + mutate: h, + error: f, + loading: m, + data: b, + } = Zi({ + // @ts-ignore + queryFn: d, + onSuccess: () => { + l(!1); }, - validate: Gf(Cw), - children: (s) => /* @__PURE__ */ f.jsx(yw, { ...s, onSuccess: o, onCancel: e }) - } - ), - t ? /* @__PURE__ */ f.jsxs(zt, { className: "mt-4", children: [ - /* @__PURE__ */ f.jsxs(dn, { children: [ - /* @__PURE__ */ f.jsx("p", { children: "Please validate the following check: " }), - /* @__PURE__ */ f.jsx("p", { children: t.name }), - /* @__PURE__ */ f.jsx("p", { children: t.description }), - /* @__PURE__ */ f.jsxs("p", { children: [ - "Type: ", - t.type - ] }), - a && /* @__PURE__ */ f.jsx("div", { className: "text-danger", children: a.message }) - ] }), - /* @__PURE__ */ f.jsx(X0, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: /* @__PURE__ */ f.jsx(In, { loading: i, onClick: r, color: "primary", children: "Save" }) }) - ] }) : null - ] }); -}; -var Gn = {}, vw = Xn && Xn.__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()); - }; -}(), Qf = Xn && Xn.__awaiter || function(e, t, n, o) { - function r(a) { - return a instanceof n ? a : new n(function(i) { - i(a); + }); + return b != null && b.frontend_url + ? /* @__PURE__ */ p.jsxs(qs, { + children: [ + "Thank you for coaching Datapilot. Click the link to", + " ", + /* @__PURE__ */ p.jsx("a", { + className: "alert-link", + href: `${b.frontend_url}/teammates/${e}?learning=${b.train_doc_uid}`, + children: "View learnings", + }), + ], + }) + : /* @__PURE__ */ p.jsxs(ut, { + direction: "column", + children: [ + /* @__PURE__ */ p.jsx("p", { + className: "m-0", + children: + "Here, you can provide instructions in natural language including your terminology, rules or conventions to generate better documentation", + }), + /* @__PURE__ */ p.jsx(J5, { + initialValues: { content: "" }, + onSubmit: () => {}, + validate: nw(ow), + children: (y) => + /* @__PURE__ */ p.jsx(tw, { + ...y, + taskLabel: e, + onSuccess: s, + onCancel: n, + }), + }), + r && + /* @__PURE__ */ p.jsxs(sn, { + className: "mt-4", + children: [ + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx("p", { + children: + "Below are the learnings by AI based on the entered instructions:", + }), + /* @__PURE__ */ p.jsx("div", { + children: a + ? /* @__PURE__ */ p.jsx(Fn, { + type: "textarea", + value: r.ai_response, + onChange: (y) => { + i({ + ...r, + ai_response: y.target.value, + }); + }, + style: { fieldSizing: "content" }, + }) + : r.ai_response, + }), + f && + /* @__PURE__ */ p.jsx("div", { + className: "text-danger", + children: f.message, + }), + ], + }), + /* @__PURE__ */ p.jsxs(R5, { + className: "d-flex justify-content-end mt-2 gap-2 border-0", + children: [ + a + ? /* @__PURE__ */ p.jsx(Pe, { + variant: "secondary", + onClick: c, + children: "Cancel", + }) + : /* @__PURE__ */ p.jsx(Pe, { + variant: "secondary", + onClick: u, + children: "Edit", + }), + /* @__PURE__ */ p.jsx(Wi, { + loading: m, + onClick: h, + color: "primary", + children: "Save", + }), + ], + }), + ], + }), + ], + }); + }, + rw = () => { + const e = Je(Hf); + if (e === void 0) + throw new Error( + "useTeamMateContext must be used within a TeamMateProvider", + ); + return e; + }, + cA = ({}) => { + const { dispatch: e } = rw(), + t = () => { + e(ew.setShowCoachingForm(!0)); + }; + return /* @__PURE__ */ p.jsx(Zn, { + onClick: t, + children: "Show Coaching Form", }); - } - return 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 o1 = /* @__PURE__ */ ((e) => ( + (e.TERM_CLARIFICATION = "TermClarification"), + (e.GENERAL_GUIDELINES = "GeneralGuidelines"), + (e.BUSINESS_EXPLANATION = "BusinessExplanation"), + e + ))(o1 || {}), + Jo = /* @__PURE__ */ ((e) => ( + (e.DocGen = "DocGen"), + (e.ChartBot = "ChartBot"), + (e.SqlBot = "SqlExpert"), + (e.OpportunitiesBot = "OpportunitiesBot"), + e + ))(Jo || {}), + r1 = /* @__PURE__ */ ((e) => ( + (e.USER_SPECIFIC = "UserSpecific"), (e.ALL_USERS = "AllUsers"), e + ))(r1 || {}); +const iw = ht.object({ + train_doc_uid: ht.string(), + userId: ht.string(), + display_name: ht.string(), + taskLabel: ht.string(), + category: ht.enum(Object.values(o1)), + personalizationScope: ht.enum(Object.values(r1)).default( + "UserSpecific", + /* USER_SPECIFIC */ + ), + createdDate: ht.string(), + updatedDate: ht.string(), + content: ht + .string() + .min(10, { message: "Learning must be at least 10 characters" }) + .max(500, { message: "Learning must not exceed 500 characters" }) + .min(1, { message: "Learning is required" }), + metadata: ht.record(ht.unknown()).optional(), + isActive: ht.boolean().default(!0), +}); +var uo = /* @__PURE__ */ ((e) => ( + (e.EXTENSION = "VSCode Extension"), (e.SAAS = "SaaS"), e + ))(uo || {}), + mi = /* @__PURE__ */ ((e) => ( + (e.SEE_IN_ACTION = "SEE_IN_ACTION"), + (e.REQUEST_ACCESS = "REQUEST_ACCESS"), + (e.VIEW_DETAILS = "VIEW_DETAILS"), + e + ))(mi || {}), + qn = {}, + aw = + (Yn && Yn.__extends) || + /* @__PURE__ */ (function () { + var e = function (t, n) { + return ( + (e = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (o, r) { + o.__proto__ = r; + }) || + function (o, r) { + for (var i in r) + Object.prototype.hasOwnProperty.call(r, i) && (o[i] = r[i]); + }), + e(t, n) + ); + }; + return function (t, n) { + if (typeof n != "function" && n !== null) + throw new TypeError( + "Class extends value " + + String(n) + + " is not a constructor or null", + ); + e(t, n); + function o() { + this.constructor = t; + } + t.prototype = + n === null + ? Object.create(n) + : ((o.prototype = n.prototype), new o()); + }; + })(), + Pf = + (Yn && Yn.__awaiter) || + function (e, t, n, o) { + function r(i) { + return i instanceof n + ? i + : new n(function (a) { + a(i); + }); } - } - function u(c) { - c.done ? a(c.value) : r(c.value).then(l, s); - } - u((o = o.apply(e, t || [])).next()); - }); -}, Jf = Xn && Xn.__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 (i, a) { + function l(c) { + try { + u(o.next(c)); + } catch (d) { + a(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) { + a(d); } - if (a && n.label < a[2]) { - n.label = a[2], n.ops.push(u); - break; + } + function u(c) { + c.done ? i(c.value) : r(c.value).then(l, s); + } + u((o = o.apply(e, t || [])).next()); + }); + }, + Bf = + (Yn && Yn.__generator) || + function (e, t) { + var n = { + label: 0, + sent: function () { + if (i[0] & 1) throw i[1]; + return i[1]; + }, + trys: [], + ops: [], + }, + o, + r, + i, + a; + return ( + (a = { next: l(0), throw: l(1), return: l(2) }), + typeof Symbol == "function" && + (a[Symbol.iterator] = function () { + return this; + }), + a + ); + function l(u) { + return function (c) { + return s([u, c]); + }; + } + function s(u) { + if (o) throw new TypeError("Generator is already executing."); + for (; n; ) + try { + if ( + ((o = 1), + r && + (i = + u[0] & 2 + ? r.return + : u[0] + ? r.throw || ((i = r.return) && i.call(r), 0) + : r.next) && + !(i = i.call(r, u[1])).done) + ) + return i; + switch (((r = 0), i && (u = [u[0] & 2, i.value]), u[0])) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, (r = u[1]), (u = [0]); + continue; + case 7: + (u = n.ops.pop()), n.trys.pop(); + continue; + default: + if ( + ((i = n.trys), + !(i = i.length > 0 && i[i.length - 1]) && + (u[0] === 6 || u[0] === 2)) + ) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || (u[1] > i[0] && u[1] < i[3]))) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + (n.label = i[1]), (i = u); + break; + } + if (i && n.label < i[2]) { + (n.label = i[2]), n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (c) { + (u = [6, c]), (r = 0); + } finally { + o = i = 0; } - 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(Gn, "__esModule", { value: !0 }); -Gn.toFormikValidate = c1 = Gn.toFormikValidationSchema = Gn.ValidationError = void 0; -var e5 = ( + }; +Object.defineProperty(qn, "__esModule", { value: !0 }); +qn.toFormikValidate = + $f = + qn.toFormikValidationSchema = + qn.ValidationError = + void 0; +var Vf = /** @class */ - function(e) { - vw(t, e); + (function (e) { + aw(t, e); function t(n) { var o = e.call(this, n) || this; - return o.name = "ValidationError", o.inner = [], o; + return (o.name = "ValidationError"), (o.inner = []), o; } return t; - }(Error) -); -Gn.ValidationError = e5; -function xw(e) { - var t = new e5(e.message); - return t.inner = e.errors.map(function(n) { - return { - message: n.message, - path: n.path.join(".") - }; - }), t; + })(Error); +qn.ValidationError = Vf; +function lw(e) { + var t = new Vf(e.message); + return ( + (t.inner = e.errors.map(function (n) { + return { + message: n.message, + path: n.path.join("."), + }; + })), + t + ); } -function ww(e, t) { +function sw(e, t) { return { - validate: function(n) { - return Qf(this, void 0, void 0, function() { + validate: function (n) { + return Pf(this, void 0, void 0, function () { var o; - return Jf(this, function(r) { + return Bf(this, function (r) { switch (r.label) { case 0: return r.trys.push([0, 2, , 3]), [4, e.parseAsync(n, t)]; case 1: return r.sent(), [3, 3]; case 2: - throw o = r.sent(), xw(o); + throw ((o = r.sent()), lw(o)); case 3: return [ - 2 + 2, /*return*/ ]; } }); }); - } + }, }; } -var c1 = Gn.toFormikValidationSchema = ww; -function Ew(e) { +var $f = (qn.toFormikValidationSchema = sw); +function cw(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; t[r.path.filter(Boolean).join(".")] = r.message; } return t; } -function Sw(e, t) { +function uw(e, t) { var n = this; - return function(o) { - return Qf(n, void 0, void 0, function() { + return function (o) { + return Pf(n, void 0, void 0, function () { var r; - return Jf(this, function(a) { - switch (a.label) { + return Bf(this, function (i) { + switch (i.label) { case 0: return [4, e.safeParseAsync(o, t)]; case 1: - return r = a.sent(), r.success ? [ - 2 - /*return*/ - ] : [2, Ew(r.error)]; + return ( + (r = i.sent()), + r.success + ? [ + 2, + /*return*/ + ] + : [2, cw(r.error)] + ); } }); }); }; } -Gn.toFormikValidate = Sw; -const kw = ({ check: e }) => { - const [t, n] = ce(!1), [o, r] = u4.useNotification(), { - errors: a, - isValid: i, - isSubmitting: l, - handleSubmit: s, - values: u, - handleChange: c, - setSubmitting: d, - resetForm: p - } = rd({ - initialValues: e, - validationSchema: c1(bw), - onSubmit: async (g) => { - try { - await Me.post("project_governance/check", g, { - method: "PUT" - }), n(!1), d(!1); - } catch (x) { - o.error({ - message: "Failed to update project governance check", - description: x.message || x - }); - } - } - }), { mutate: h, loading: m } = oo({ - queryFn: (g) => Me.post( - "project_governance/check", - { data: { check_name: g } }, - { method: "DELETE" } - ) - }), b = () => { - n(!0); - }, y = () => { - n(!1), p(); - }; - return /* @__PURE__ */ f.jsxs(zt, { children: [ - r, - /* @__PURE__ */ f.jsxs("form", { onSubmit: s, children: [ - /* @__PURE__ */ f.jsxs(Ro, { className: "px-3 pt-3 mb-0 d-flex justify-content-between", children: [ - t ? /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - name: "name", - value: u.name, - placeholder: "Project governance check name...", - invalid: !!a.name, - onChange: c - } - ), - a.name ? /* @__PURE__ */ f.jsx(lr, { children: a.name }) : null - ] }) : e.name, - /* @__PURE__ */ f.jsx(Ke, { className: "gap-0 align-items-center", children: t ? /* @__PURE__ */ f.jsxs(Ke, { children: [ - /* @__PURE__ */ f.jsx(Re, { onClick: y, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ f.jsx( - In, - { - size: "sm", - color: "primary", - loading: l, - disabled: l || !i, - type: "submit", - children: "Save" - } - ) - ] }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx(jn, { title: "Edit this learning", onClick: b, children: /* @__PURE__ */ f.jsx(Ad, {}) }), - /* @__PURE__ */ f.jsx( - ad, - { - title: "Delete the task", - description: "Are you sure to delete this task?", - onConfirm: () => h(e.name), - okText: "Yes", - cancelText: "No", - children: /* @__PURE__ */ f.jsx( - In, - { - title: "Delete check", - color: "link", - className: "py-0 px-1", - loading: m, - children: /* @__PURE__ */ f.jsx(pc, {}) - } - ) - } - ) - ] }) }) - ] }), - /* @__PURE__ */ f.jsxs(dn, { children: [ - /* @__PURE__ */ f.jsx("p", { children: t ? /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - name: "description", - value: u.description, - type: "textarea", - placeholder: "Describe the project governance check...", - invalid: !!a.description, - onChange: c, - style: { fieldSizing: "content" } - } - ), - a.description ? /* @__PURE__ */ f.jsx(lr, { children: a.description }) : null - ] }) : e.description }), - /* @__PURE__ */ f.jsxs("p", { children: [ - "Type: ", - e.type - ] }), - /* @__PURE__ */ f.jsxs("p", { children: [ - "Files required: ", - e.files_required.join(", ") - ] }) - ] }) - ] }) - ] }); -}, _w = ({}) => { - const [e, t] = ce(!1), { - data: n, - error: o, - loading: r - } = tc({ - queryFn: () => ( - // @ts-expect-error valid - Me.get("project_governance/checks") - ) - }), a = () => { - t((i) => !i); - }; - return r ? /* @__PURE__ */ f.jsx(Qs, {}) : o ? /* @__PURE__ */ f.jsxs(Mr, { color: "danger", children: [ - "Error loading checks: ", - o.message - ] }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx(Ke, { className: "justify-content-end", children: /* @__PURE__ */ f.jsx(Re, { onClick: a, children: "+ Add new check" }) }), - /* @__PURE__ */ f.jsx("div", { className: "mt-2", children: n != null && n.length ? n.map((i) => /* @__PURE__ */ f.jsx(kw, { check: i })) : /* @__PURE__ */ f.jsx("div", { children: "No checks added yet!" }) }) - ] }), - e && /* @__PURE__ */ f.jsxs(q5, { isOpen: !0, direction: "end", children: [ - /* @__PURE__ */ f.jsx(Y5, { toggle: a, children: "Add new check" }), - /* @__PURE__ */ f.jsx(G5, { children: /* @__PURE__ */ f.jsx(Xf, { onClose: a }) }) - ] }) - ] }); -}; -var u1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(u1 || {}), po = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e.ProjectGovernor = "ProjectGovernor", e))(po || {}), d1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(d1 || {}); -const Aw = He.object({ - train_doc_uid: He.string(), - userId: He.string(), - display_name: He.string(), - taskLabel: He.string(), - category: He.enum(Object.values(u1)), - personalizationScope: He.enum(Object.values(d1)).default( - "UserSpecific" - /* USER_SPECIFIC */ - ), - createdDate: He.string(), - updatedDate: He.string(), - content: He.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: He.record(He.unknown()).optional(), - isActive: He.boolean().default(!0) -}); -var $n = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))($n || {}), Ea = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(Ea || {}); -const t5 = [ - { - name: "Documentation Writer", - avatar: hw, - description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [$n.EXTENSION], - key: po.DocGen - }, - { - name: "Chart Analyzer", - avatar: pw, - description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [$n.SAAS], - key: po.ChartBot, - seeInAction: !1 - }, - { - name: "SQL Guru", - avatar: gw, - description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [$n.SAAS], - key: po.SqlBot - }, - { - name: "Project Governor", - avatar: o0, - description: "AI teammate to help you create checks or rules for project governance", - availability: [$n.SAAS], - key: po.ProjectGovernor, - displayComponent: _w, - formComponent: Xf - }, - { - name: "Opportunities Expert", - avatar: o0, - description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [$n.SAAS], - key: po.OpportunitiesBot, - comingSoon: !0 - } -], vA = (e) => { - const t = t5.find((n) => n.key === e.taskLabel); - return t != null && t.formComponent ? /* @__PURE__ */ f.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ f.jsx(fw, { ...e }); -}, Mw = () => { - const e = tt(Yf); - if (e === void 0) - throw new Error( - "useTeamMateContext must be used within a TeamMateProvider" - ); - return e; -}, xA = ({}) => { - const { dispatch: e } = Mw(), t = () => { - e(cw.setShowCoachingForm(!0)); - }; - return /* @__PURE__ */ f.jsx(jn, { onClick: t, children: "Show Coaching Form" }); -}, Tw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { - const [r, a] = ce(!1), { - errors: i, - isValid: l, - isSubmitting: s, - handleSubmit: u, - values: c, - handleChange: d, - setSubmitting: p - } = rd({ - initialValues: e, - validationSchema: c1(Aw), - onSubmit: async (E) => { - await Me.post(`coach/training/${e.train_doc_uid}`, E, { - method: "PUT" - }), a(!1), p(!1); - } - }), h = async () => await Me.post( - `coach/training/${e.train_doc_uid}`, - {}, - { method: "DELETE" } - ), { loading: m, error: b, mutate: y } = oo({ - // @ts-ignore - queryFn: h, - onSuccess: t - }), g = (E) => { - E == null || E.stopPropagation(); - }, x = () => { - g(), y(); - }, C = (E) => { - g(E), a(!1); - }, S = (E) => { - g(E), n(e.train_doc_uid), a(!0); - }, w = o === e.train_doc_uid; - return /* @__PURE__ */ f.jsx(zt, { className: w ? "active" : "", children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ f.jsx(Ro, { children: /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-start", children: [ - /* @__PURE__ */ f.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ f.jsx("div", { children: r ? /* @__PURE__ */ f.jsxs(Kn, { children: [ - /* @__PURE__ */ f.jsx( - Xt, - { - name: "content", - value: c.content, - type: "textarea", - placeholder: "Enter your coaching feedback here...", - invalid: !!i.content, - onClick: g, - onChange: d, - style: { fieldSizing: "content" } - } - ), - i.content ? /* @__PURE__ */ f.jsx(lr, { children: i.content }) : null - ] }) : /* @__PURE__ */ f.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ f.jsx(Ke, { children: /* @__PURE__ */ f.jsxs("dl", { children: [ - /* @__PURE__ */ f.jsxs(Ke, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Created on:" }), - /* @__PURE__ */ f.jsx("dd", { children: bs(e.createdDate).format( - "MMMM D, YYYY h:mm A" - ) }) - ] }), - /* @__PURE__ */ f.jsxs(Ke, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Updated on:" }), - /* @__PURE__ */ f.jsxs("dd", { children: [ - bs(e.updatedDate).format( - "MMMM D, YYYY h:mm A" - ), - " " - ] }) - ] }), - /* @__PURE__ */ f.jsxs(Ke, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Created by:" }), - " ", - /* @__PURE__ */ f.jsx("dd", { children: e.display_name }) - ] }) - ] }) }) - ] }), - /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ f.jsx(Kn, { switch: !0, children: /* @__PURE__ */ f.jsx( - Sn, +qn.toFormikValidate = uw; +const dw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { + const [r, i] = ue(!1), + { + errors: a, + isValid: l, + isSubmitting: s, + handleSubmit: u, + values: c, + handleChange: d, + setSubmitting: h, + } = e4({ + initialValues: e, + validationSchema: $f(iw), + onSubmit: async (S) => { + await Ie.post(`coach/training/${e.train_doc_uid}`, S, { + method: "PUT", + }), + i(!1), + h(!1); + }, + }), + f = async () => + await Ie.post( + `coach/training/${e.train_doc_uid}`, + {}, + { method: "DELETE" }, + ), + { + loading: m, + error: b, + mutate: y, + } = Zi({ + // @ts-ignore + queryFn: f, + onSuccess: t, + }), + g = (S) => { + S == null || S.stopPropagation(); + }, + x = () => { + g(), y(); + }, + C = (S) => { + g(S), i(!1); + }, + E = (S) => { + g(S), n(e.train_doc_uid), i(!0); + }, + w = o === e.train_doc_uid; + return /* @__PURE__ */ p.jsx(sn, { + className: w ? "active" : "", + children: /* @__PURE__ */ p.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ p.jsx(Er, { + children: /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-start", + children: [ + /* @__PURE__ */ p.jsxs("div", { + style: { flex: 1 }, + children: [ + /* @__PURE__ */ p.jsx("div", { + children: r + ? /* @__PURE__ */ p.jsxs(Jl, { + children: [ + /* @__PURE__ */ p.jsx(Fn, { + name: "content", + value: c.content, + type: "textarea", + placeholder: + "Enter your coaching feedback here...", + invalid: !!a.content, + onClick: g, + onChange: d, + style: { fieldSizing: "content" }, + }), + a.content + ? /* @__PURE__ */ p.jsx(W0, { + children: a.content, + }) + : null, + ], + }) + : /* @__PURE__ */ p.jsx("h6", { + className: w ? "" : "lines-2", + children: c.content, + }), + }), + /* @__PURE__ */ p.jsx(ut, { + children: /* @__PURE__ */ p.jsxs("dl", { + children: [ + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Created on:", + }), + /* @__PURE__ */ p.jsx("dd", { + children: fs(e.createdDate).format( + "MMMM D, YYYY h:mm A", + ), + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Updated on:", + }), + /* @__PURE__ */ p.jsxs("dd", { + children: [ + fs(e.updatedDate).format( + "MMMM D, YYYY h:mm A", + ), + " ", + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Created by:", + }), + " ", + /* @__PURE__ */ p.jsx("dd", { + children: e.display_name, + }), + ], + }), + ], + }), + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-top gap-0", + children: [ + /* @__PURE__ */ p.jsx(Jl, { + switch: !0, + children: /* @__PURE__ */ p.jsx(wn, { + title: c.isActive + ? "Disable this learning" + : "Enable this learning", + children: /* @__PURE__ */ p.jsx(Fn, { + type: "switch", + role: "switch", + id: `toggle-${e.train_doc_uid}`, + checked: c.isActive, + onChange: (S) => { + d({ + target: { + name: "isActive", + value: S.target.checked, + }, + }), + u(); + }, + }), + }), + }), + /* @__PURE__ */ p.jsx(t4, { + title: "Delete the task", + description: "Are you sure to delete this task?", + onConfirm: x, + onCancel: g, + okText: "Yes", + cancelText: "No", + children: /* @__PURE__ */ p.jsx(Zn, { + title: "Delete this learning", + className: "pt-1 pb-0", + disabled: m, + onClick: g, + children: /* @__PURE__ */ p.jsx(hd, {}), + }), + }), + r + ? /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-baseline", + children: [ + /* @__PURE__ */ p.jsx(Pe, { + onClick: C, + outline: !0, + size: "sm", + children: "Cancel", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + disabled: s || !l, + type: "submit", + children: "Save", + }), + ], + }) + : /* @__PURE__ */ p.jsx(Zn, { + title: "Edit this learning", + onClick: E, + children: /* @__PURE__ */ p.jsx(p8, {}), + }), + /* @__PURE__ */ p.jsx(Zn, { + onClick: () => n(e.train_doc_uid), + children: w + ? /* @__PURE__ */ p.jsx(gd, {}) + : /* @__PURE__ */ p.jsx(md, {}), + }), + ], + }), + ], + }), + }), + /* @__PURE__ */ p.jsxs(Z0, { + isOpen: w, + children: [ + b && + /* @__PURE__ */ p.jsx(qs, { + color: "danger", + children: b.message, + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "gap-4", + children: [ + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Category:", + }), + " ", + r + ? /* @__PURE__ */ p.jsx(b1, { + style: { minWidth: 160 }, + options: Object.values(o1).map((S) => ({ + value: S, + label: S, + })), + value: c.category, + onChange: (S) => { + d({ + target: { name: "category", value: S }, + }); + }, + }) + : e.category, + ], + }), + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Task Label:", + }), + " ", + e.taskLabel, + ], + }), + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Personalization Scope:", + }), + " ", + r + ? /* @__PURE__ */ p.jsx(b1, { + style: { minWidth: 100 }, + options: Object.values(r1).map((S) => ({ + value: S, + label: S, + })), + value: c.personalizationScope, + onChange: (S) => { + d({ + target: { + name: "personalizationScope", + value: S, + }, + }); + }, + }) + : e.personalizationScope, + ], + }), + e.metadata && + Object.keys(e.metadata).map((S) => { + var _; + return /* @__PURE__ */ p.jsxs( + "div", + { + children: [ + /* @__PURE__ */ p.jsxs("strong", { + children: [S, ":"], + }), + " ", + /* @__PURE__ */ p.jsx(p.Fragment, { + children: + ((_ = e.metadata) == null ? void 0 : _[S]) || + "", + }), + ], + }, + S, + ); + }), + ], + }), + ], + }), + ], + }), + }); + }, + fw = + "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + pw = + "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + hw = + "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1707)'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='%2341C676'/%3e%3cpath%20d='M34.7918%2043.7001H25.262V50.1142H34.7918V43.7001Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M44.3289%2035.8214C47.4632%2035.8214%2050.0268%2035.0784%2050.0268%2030.8222C50.0268%2026.5976%2047.4632%2025.8232%2044.3289%2025.8232V35.8214Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M12.1643%2033.3777C12.1643%2039.6628%2017.2916%2044.8045%2023.5578%2044.8045H36.4957C42.7625%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7625%2018.6824%2036.4957%2018.6824H23.5578C17.2916%2018.6824%2012.1643%2023.8238%2012.1643%2030.1092V33.3777Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.2625%2038.6511C40.1176%2038.6511%2043.2541%2035.5057%2043.2541%2031.6401C43.2541%2027.7735%2040.1176%2024.6288%2036.2625%2024.6288H23.3247C19.4705%2024.6288%2016.3334%2027.7735%2016.3334%2031.6401C16.3334%2035.5057%2019.4705%2038.6511%2023.3247%2038.6511H36.2625Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M35.0116%2022.9674C35.0116%2019.8248%2034.271%2017.254%2030.0264%2017.254C25.8144%2017.254%2025.0416%2019.8248%2025.0416%2022.9674H35.0116Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M27.8734%2010.9127C27.8734%209.71947%2028.8385%208.75259%2030.0265%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2012.1074%2031.2175%2013.0739%2030.0265%2013.0739C28.8385%2013.0739%2027.8734%2012.1074%2027.8734%2010.9127Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M31.5221%2011.3548C31.5221%2010.1607%2030.5571%209.19412%2029.3694%209.19412C29.0706%209.19412%2028.7855%209.25556%2028.5271%209.36516C28.915%208.98658%2029.4447%208.75259%2030.0298%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2011.8086%2031.6409%2012.5759%2030.8687%2012.9041C31.272%2012.5114%2031.5221%2011.9634%2031.5221%2011.3548Z'%20fill='%23D8FFF2'/%3e%3cpath%20d='M30.7466%2012.4755H29.3079V17.8941H30.7466V12.4755Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.4963%2018.6824H33.9094C39.1512%2018.6824%2045.4817%2023.8238%2045.4817%2030.1092V33.3777C45.4817%2039.6628%2039.9154%2044.8045%2033.6473%2044.8045H36.4963C42.7631%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7631%2018.6824%2036.4963%2018.6824Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M13.9897%2025.9258C11.6977%2026.2399%2010.0269%2027.3867%2010.0269%2030.8222C10.0269%2034.074%2011.5455%2035.2816%2013.6737%2035.6657C14.0613%2035.7355%2014.3498%2025.8766%2013.9897%2025.9258Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M26.3334%2032C26.3334%2030.8937%2025.4359%2030%2024.3328%2030C23.2276%2030%2022.3334%2030.8937%2022.3334%2032C22.3334%2033.1053%2023.2276%2034%2024.3328%2034C25.4359%2034%2026.3334%2033.1053%2026.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M38.3334%2032C38.3334%2030.8937%2037.4359%2030%2036.3328%2030C35.2276%2030%2034.3334%2030.8937%2034.3334%2032C34.3334%2033.1053%2035.2276%2034%2036.3328%2034C37.4359%2034%2038.3334%2033.1053%2038.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M41.0027%2056.5086C41.0027%2051.3979%2037.1179%2048.2255%2030.0274%2048.2255C22.9933%2048.2255%2019.0515%2051.3979%2019.0515%2056.5086C19.0515%2061.6178%2024.9304%2060.5907%2030.0274%2060.5907C35.1234%2060.5907%2041.0027%2061.6178%2041.0027%2056.5086Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M38.808%2056.5087C38.808%2056.8363%2038.7839%2057.1386%2038.7373%2057.4175C40.2603%2056.9425%2041.0018%2056.6238%2041.0018%2056.6238C41.0024%2056.5857%2041.0027%2056.5473%2041.0027%2056.5087C41.0027%2052.6943%2038.8388%2049.9598%2034.7933%2048.8179C34.7933%2048.8179%2038.808%2050.1729%2038.808%2056.5087Z'%20fill='%23DBFFE9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1707'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + gw = + "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3536_7181)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%23FFC125'/%3e%3cpath%20d='M33.3384%2045.6643H26.6606V52.4674H33.3384V45.6643Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M47.6346%2018.573H46.387V26.615H47.6346V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M49.2402%2017.4861C49.2402%2016.2542%2048.2428%2015.2556%2047.0103%2015.2556C45.7784%2015.2556%2044.7801%2016.2542%2044.7801%2017.4861C44.7801%2018.7186%2045.7784%2019.7167%2047.0103%2019.7167C48.2428%2019.7167%2049.2402%2018.7186%2049.2402%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M13.613%2018.573H12.366V26.615H13.613V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M15.2193%2017.4861C15.2193%2016.2542%2014.2218%2015.2556%2012.9896%2015.2556C11.7577%2015.2556%2010.759%2016.2542%2010.759%2017.4861C10.759%2018.7186%2011.7577%2019.7167%2012.9896%2019.7167C14.2218%2019.7167%2015.2193%2018.7186%2015.2193%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M50%2030.9072C50%2030.8171%2049.9975%2029.7555%2049.9923%2029.6667C49.8532%2027.124%2047.7475%2026.0778%2045.1703%2026.0778C42.5937%2026.0778%2040.488%2027.5693%2040.3486%2030.1117C40.344%2030.2005%2040.3415%2030.8171%2040.3415%2030.9072C40.3415%2030.9935%2040.3434%2032.052%2040.348%2032.1378C40.4822%2034.6851%2042.5903%2036.1819%2045.1703%2036.1819C47.7512%2036.1819%2049.8588%2035.1302%2049.9929%2032.5832C49.9975%2032.4968%2050%2030.9935%2050%2030.9072Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M46.1442%2031.4C46.1442%2031.099%2046.1353%2029.0387%2046.1196%2028.742C45.6544%2020.2416%2038.6148%2015.2556%2030.0001%2015.2556C21.3847%2015.2556%2014.3463%2020.2416%2013.8809%2028.742C13.8639%2029.0387%2013.8556%2031.099%2013.8556%2031.4C13.8556%2031.6902%2013.8633%2033.7395%2013.8788%2034.0254C14.3278%2042.5399%2021.3736%2047.5442%2030.0001%2047.5442C38.6262%2047.5442%2045.672%2042.5399%2046.1214%2034.0254C46.1365%2033.7395%2046.1442%2031.6902%2046.1442%2031.4Z'%20fill='white'/%3e%3cpath%20d='M46.2704%2028.742C45.805%2020.2416%2038.7663%2015.2556%2030.1506%2015.2556C29.8468%2015.2556%2029.5467%2015.2636%2029.2463%2015.2759C37.445%2015.6133%2044.0127%2020.5414%2044.4615%2028.742C44.4778%2029.0387%2044.4861%2031.099%2044.4861%2031.4C44.4861%2031.6902%2044.479%2033.7395%2044.4636%2034.0254C44.0303%2042.2401%2037.4555%2047.1861%2029.2463%2047.5244C29.5467%2047.5368%2029.8468%2047.5442%2030.1506%2047.5442C38.7768%2047.5442%2045.8229%2042.5399%2046.2726%2034.0254C46.288%2033.7395%2046.2951%2031.6902%2046.2951%2031.4C46.2951%2031.099%2046.2868%2029.0387%2046.2704%2028.742Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M19.6585%2030.9072C19.6585%2030.8171%2019.6563%2030.2005%2019.6514%2030.1117C19.512%2027.5693%2017.4063%2026.0778%2014.8291%2026.0778C12.2522%2026.0778%2010.1468%2027.3466%2010.0074%2029.8894C10.0025%2029.9782%2010%2030.8171%2010%2030.9072C10%2030.9935%2010.0019%2032.2744%2010.0068%2032.3605C10.1406%2034.9075%2012.2488%2036.1819%2014.8291%2036.1819C17.4097%2036.1819%2019.5172%2034.6851%2019.6514%2032.1378C19.6563%2032.052%2019.6585%2030.9935%2019.6585%2030.9072Z'%20fill='white'/%3e%3cpath%20d='M30%2042.8922C24.6929%2042.8922%2018.3636%2040.3739%2017.979%2033.2803C17.9691%2032.9626%2017.9611%2031.8482%2017.9611%2031.4001C17.9611%2030.9649%2017.9703%2029.2698%2017.9808%2028.9468C18.3806%2021.8717%2024.7027%2020.1263%2030%2020.1263C35.2976%2020.1263%2041.6201%2021.8717%2042.019%2028.9465C42.0294%2029.2707%2042.039%2030.9655%2042.039%2031.4001C42.039%2031.8328%2042.03%2032.9638%2042.0208%2033.2821C41.6343%2040.3754%2035.3056%2042.8922%2030%2042.8922Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M25.7771%2031.8109C25.7771%2030.7644%2024.928%2029.919%2023.8843%2029.919C22.8387%2029.919%2021.9927%2030.7644%2021.9927%2031.8109C21.9927%2032.8565%2022.8387%2033.7028%2023.8843%2033.7028C24.928%2033.7028%2025.7771%2032.8565%2025.7771%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M38.0072%2031.8109C38.0072%2030.7644%2037.1618%2029.919%2036.1153%2029.919C35.0697%2029.919%2034.2234%2030.7644%2034.2234%2031.8109C34.2234%2032.8565%2035.0697%2033.7028%2036.1153%2033.7028C37.1618%2033.7028%2038.0072%2032.8565%2038.0072%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M30%2049.7708C35.3069%2049.7708%2041.6362%2052.2885%2042.0208%2059.3821C42.0307%2059.6995%2042.039%2060.8148%2042.039%2061.2623C42.039%2061.6972%2042.0294%2063.3932%2042.0195%2063.7153C41.6192%2070.7903%2035.297%2071.9328%2030%2071.9328C24.7021%2071.9328%2018.3793%2070.791%2017.9808%2063.7165C17.9703%2063.3914%2017.9611%2061.6966%2017.9611%2061.2623C17.9611%2060.8293%2017.9697%2059.6982%2017.9796%2059.3809C18.3657%2052.2867%2024.6941%2049.7708%2030%2049.7708Z'%20fill='white'/%3e%3cpath%20d='M48.575%2017.8695C48.575%2016.67%2047.6028%2015.6991%2046.4064%2015.6991C46.1054%2015.6991%2045.8179%2015.7608%2045.558%2015.8712C45.9487%2015.4906%2046.4823%2015.2556%2047.0717%2015.2556C48.2681%2015.2556%2049.2403%2016.2265%2049.2403%2017.4257C49.2403%2018.325%2048.6944%2019.0955%2047.9165%2019.4255C48.323%2019.0314%2048.575%2018.4805%2048.575%2017.8695Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M14.5541%2017.8695C14.5541%2016.67%2013.5819%2015.6991%2012.3852%2015.6991C12.0842%2015.6991%2011.797%2015.7608%2011.5367%2015.8712C11.9275%2015.4906%2012.4611%2015.2556%2013.0508%2015.2556C14.2469%2015.2556%2015.2191%2016.2265%2015.2191%2017.4257C15.2191%2018.325%2014.6735%2019.0955%2013.8956%2019.4255C14.3018%2019.0314%2014.5541%2018.4805%2014.5541%2017.8695Z'%20fill='%23FFF5DD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3536_7181'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + mw = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 131, + height: 131, + viewBox: "0 0 131 131", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", + fill: "#EAEEF9", + }), + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_3506_13710", + style: { + maskType: "alpha", + }, + maskUnits: "userSpaceOnUse", + x: -1, + y: -1, + width: 132, + height: 132, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", + fill: "#F1F3F9", + stroke: "#D6DCE8", + strokeWidth: 2, + strokeMiterlimit: 10, + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_3506_13710)" }, + /* @__PURE__ */ O.createElement( + "g", + { filter: "url(#filter0_d_3506_13710)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", + fill: "url(#paint0_linear_3506_13710)", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", + fill: "#D5DDEA", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "filter", { - title: c.isActive ? "Disable this learning" : "Enable this learning", - children: /* @__PURE__ */ f.jsx( - Xt, - { - type: "switch", - role: "switch", - id: `toggle-${e.train_doc_uid}`, - checked: c.isActive, - onChange: (E) => { - d({ - target: { name: "isActive", value: E.target.checked } - }), u(); - } - } - ) - } - ) }), - /* @__PURE__ */ f.jsx( - ad, + id: "filter0_d_3506_13710", + x: 3.13477, + y: 9.45586, + width: 130.151, + height: 153.796, + filterUnits: "userSpaceOnUse", + colorInterpolationFilters: "sRGB", + }, + /* @__PURE__ */ O.createElement("feFlood", { + floodOpacity: 0, + result: "BackgroundImageFix", + }), + /* @__PURE__ */ O.createElement("feColorMatrix", { + in: "SourceAlpha", + type: "matrix", + values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", + result: "hardAlpha", + }), + /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), + /* @__PURE__ */ O.createElement("feGaussianBlur", { + stdDeviation: 11, + }), + /* @__PURE__ */ O.createElement("feColorMatrix", { + type: "matrix", + values: + "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0", + }), + /* @__PURE__ */ O.createElement("feBlend", { + mode: "normal", + in2: "BackgroundImageFix", + result: "effect1_dropShadow_3506_13710", + }), + /* @__PURE__ */ O.createElement("feBlend", { + mode: "normal", + in: "SourceGraphic", + in2: "effect1_dropShadow_3506_13710", + result: "shape", + }), + ), + /* @__PURE__ */ O.createElement( + "linearGradient", { - title: "Delete the task", - description: "Are you sure to delete this task?", - onConfirm: x, - onCancel: g, - okText: "Yes", - cancelText: "No", - children: /* @__PURE__ */ f.jsx( - jn, - { - title: "Delete this learning", - className: "pt-1 pb-0", - disabled: m, - onClick: g, - children: /* @__PURE__ */ f.jsx(pc, {}) - } - ) - } + id: "paint0_linear_3506_13710", + x1: 68.1823, + y1: 17.9162, + x2: 68.1823, + y2: 131.436, + gradientUnits: "userSpaceOnUse", + }, + /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), + /* @__PURE__ */ O.createElement("stop", { + offset: 0.9964, + stopColor: "#ECF0F5", + }), ), - r ? /* @__PURE__ */ f.jsxs(Ke, { className: "align-items-baseline", children: [ - /* @__PURE__ */ f.jsx(Re, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ f.jsx( - Re, - { - size: "sm", - color: "primary", - disabled: s || !l, - type: "submit", - children: "Save" - } - ) - ] }) : /* @__PURE__ */ f.jsx(jn, { title: "Edit this learning", onClick: S, children: /* @__PURE__ */ f.jsx(Ad, {}) }), - /* @__PURE__ */ f.jsx(jn, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ f.jsx(kd, {}) : /* @__PURE__ */ f.jsx(_d, {}) }) - ] }) - ] }) }), - /* @__PURE__ */ f.jsxs(Q0, { isOpen: w, children: [ - b && /* @__PURE__ */ f.jsx(Mr, { color: "danger", children: b.message }), - /* @__PURE__ */ f.jsxs(Ke, { className: "gap-4", children: [ - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx("strong", { children: "Category:" }), - " ", - r ? /* @__PURE__ */ f.jsx( - rs, - { - style: { minWidth: 160 }, - options: Object.values(u1).map((E) => ({ - value: E, - label: E - })), - value: c.category, - onChange: (E) => { - d({ - target: { name: "category", value: E } - }); - } - } - ) : 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( - rs, - { - style: { minWidth: 100 }, - options: Object.values(d1).map((E) => ({ - value: E, - label: E - })), - value: c.personalizationScope, - onChange: (E) => { - d({ - target: { name: "personalizationScope", value: E } - }); - } - } - ) : e.personalizationScope - ] }), - e.metadata && Object.keys(e.metadata).map((E) => { - var M; - return /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsxs("strong", { children: [ - E, - ":" - ] }), - " ", - /* @__PURE__ */ f.jsx(f.Fragment, { children: ((M = e.metadata) == null ? void 0 : M[E]) || "" }) - ] }, E); - }) - ] }) - ] }) - ] }) }); -}, wA = ({ filters: e, learning: t }) => { - var u; - const [n, o] = ce(t), { error: r, data: a, loading: i, refetch: l } = tc({ - queryFn: () => Me.get("coach/training", e) - }), s = (c) => { - o((d) => d === c ? void 0 : c); - }; - return /* @__PURE__ */ f.jsx(Ke, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ f.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ f.jsxs(Mr, { 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( - Tw, + ), + ), + uA = ({ filters: e, learning: t }) => { + var u; + const [n, o] = ue(t), + { + error: r, + data: i, + loading: a, + refetch: l, + } = K0({ + queryFn: () => Ie.get("coach/training", e), + }), + s = (c) => { + o((d) => (d === c ? void 0 : c)); + }; + return /* @__PURE__ */ p.jsx(ut, { + direction: "column", + className: "learnings", + children: a + ? /* @__PURE__ */ p.jsx("p", { children: "Loading learnings..." }) + : r + ? /* @__PURE__ */ p.jsxs(qs, { + color: "danger", + children: ["Error loading learnings: ", r.message], + }) + : (u = i == null ? void 0 : i.train_docs) != null && u.length + ? /* @__PURE__ */ p.jsx("div", { + children: i.train_docs.map((c) => + /* @__PURE__ */ p.jsx( + dw, + { + learning: c, + afterDelete: l, + toggle: s, + openId: n, + }, + c.train_doc_uid, + ), + ), + }) + : /* @__PURE__ */ p.jsxs(ut, { + direction: "column", + className: "align-items-center", + children: [ + /* @__PURE__ */ p.jsx(mw, {}), + /* @__PURE__ */ p.jsx("h4", { + children: "No learnings added yet!", + }), + ], + }), + }); + }, + bw = [ { - learning: c, - afterDelete: l, - toggle: s, - openId: n + name: "Documentation Writer", + avatar: fw, + description: + "AI teammate to write your dbt model, table and column descriptions for you", + availability: [uo.EXTENSION], + key: Jo.DocGen, }, - c.train_doc_uid - )) }) : /* @__PURE__ */ f.jsxs(Ke, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ f.jsx(mw, {}), - /* @__PURE__ */ f.jsx("h4", { children: "No learnings added yet!" }) - ] }) }); -}, Ow = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, Ea.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = oo({ - // @ts-ignore - queryFn: o - }); - return /* @__PURE__ */ f.jsx(K5, { children: /* @__PURE__ */ f.jsxs(zt, { children: [ - /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-between", children: [ - /* @__PURE__ */ f.jsx(X5, { alt: "Teammate image", src: e.avatar }), - /* @__PURE__ */ f.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ f.jsxs( - ld, - { - color: "success", - tooltip: "", - className: l, - children: [ - e.comingSoon ? "Coming soon" : "Available", - " in", - " ", - l - ] - }, - l - )) }) - ] }), - /* @__PURE__ */ f.jsxs(dn, { children: [ - /* @__PURE__ */ f.jsx(Ro, { tag: "h5", children: e.name }), - /* @__PURE__ */ f.jsx(Q5, { tag: "h6" }), - /* @__PURE__ */ f.jsx(J5, { children: e.description }), - /* @__PURE__ */ f.jsxs(Ke, { className: "justify-content-start align-items-center", children: [ - e.comingSoon ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - In, + { + name: "Chart Analyzer", + avatar: pw, + description: + "AI teammate to analyze charts, find insights and answer your specific questions", + availability: [uo.SAAS], + key: Jo.ChartBot, + seeInAction: !1, + }, + { + name: "SQL Guru", + avatar: hw, + description: + "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", + availability: [uo.SAAS], + key: Jo.SqlBot, + }, + { + name: "Opportunities Expert", + avatar: gw, + description: + "AI teammate to analyze your spends, costs and find opportunities to save money", + availability: [uo.SAAS], + key: Jo.OpportunitiesBot, + comingSoon: !0, + }, + ], + yw = ({ config: e, client: t, onSelect: n }) => { + const o = async () => await n(e, mi.REQUEST_ACCESS), + { + loading: r, + mutate: i, + data: a, + } = Zi({ + // @ts-ignore + queryFn: o, + }); + return /* @__PURE__ */ p.jsx(j5, { + children: /* @__PURE__ */ p.jsxs(sn, { + children: [ + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-between", + children: [ + /* @__PURE__ */ p.jsx(I5, { + alt: "Teammate image", + src: e.avatar, + }), + /* @__PURE__ */ p.jsx("div", { + children: e.availability.map((l) => + /* @__PURE__ */ p.jsxs( + G0, + { + color: "success", + tooltip: "", + className: l, + children: [ + e.comingSoon ? "Coming soon" : "Available", + " in", + " ", + l, + ], + }, + l, + ), + ), + }), + ], + }), + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx(Er, { tag: "h5", children: e.name }), + /* @__PURE__ */ p.jsx(z5, { tag: "h6" }), + /* @__PURE__ */ p.jsx(H5, { children: e.description }), + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-start align-items-center", + children: [ + e.comingSoon + ? /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(Wi, { + size: "sm", + className: "cursor-pointer", + onClick: i, + color: "primary", + loading: r, + disabled: !!a, + children: "Request Access", + }), + a + ? /* @__PURE__ */ p.jsx("p", { + className: "m-0", + children: "Our team will reach out soon", + }) + : null, + ], + }) + : /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, mi.VIEW_DETAILS), + tooltip: "", + color: "primary", + children: "View details", + }), + e.seeInAction && + e.availability.includes(uo[t]) && + /* @__PURE__ */ p.jsx(Pe, { + color: "primary", + outline: !0, + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, mi.SEE_IN_ACTION), + tooltip: "", + children: "See in action", + }), + ], + }), + ], + }), + ], + }), + }); + }, + dA = ({ onSelect: e, client: t }) => + /* @__PURE__ */ p.jsx("div", { + className: "teammates", + children: /* @__PURE__ */ p.jsx(P5, { + children: bw.map((n) => + /* @__PURE__ */ p.jsx( + yw, { - 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( - Re, - { - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, Ea.VIEW_DETAILS), - tooltip: "", - color: "primary", - children: "View details" - } ), - e.seeInAction && e.availability.includes($n[t]) && /* @__PURE__ */ f.jsx( - Re, - { - color: "primary", - outline: !0, - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, Ea.SEE_IN_ACTION), - tooltip: "", - children: "See in action" - } - ) - ] }) - ] }) - ] }) }); -}, EA = ({ onSelect: e, client: t }) => /* @__PURE__ */ f.jsx("div", { className: "teammates", children: /* @__PURE__ */ f.jsx(e4, { children: t5.map((n) => /* @__PURE__ */ f.jsx( - Ow, - { - config: n, - client: t, - onSelect: e - }, - n.name -)) }) }), Nw = "_chatbot_1ti7a_1", Dw = "_chatTriggerLink_1ti7a_1", Lw = "_statusUpdates_1ti7a_51", f1 = { - chatbot: Nw, - chatTriggerLink: Dw, - statusUpdates: Lw -}, jw = ({ text: e }) => { - const { sendMessage: t } = s4(); - return /* @__PURE__ */ f.jsx(Re, { onClick: () => t(e), color: "link", className: f1.chatTriggerLink, children: e }, e); -}, Fw = ({ onFollowupRequest: e, sessionId: t }) => { - const { data: n } = tc({ - // @ts-expect-error valid - queryFn: () => e(t) - }); - return n != null && n.length ? /* @__PURE__ */ f.jsx(Ke, { direction: "column", children: n.map((o) => /* @__PURE__ */ f.jsx(jw, { text: o }, o)) }) : null; -}, r0 = ["http", "https", "mailto", "tel"]; -function Rw(e) { - const t = (e || "").trim(), n = t.charAt(0); - if (n === "#" || n === "/") - return t; + }), + }), + Cw = "_chatbot_1ti7a_1", + vw = "_chatTriggerLink_1ti7a_1", + xw = "_statusUpdates_1ti7a_51", + i1 = { + chatbot: Cw, + chatTriggerLink: vw, + statusUpdates: xw, + }, + ww = ({ text: e }) => { + const { sendMessage: t } = Y5(); + return /* @__PURE__ */ p.jsx( + Pe, + { + onClick: () => t(e), + color: "link", + className: i1.chatTriggerLink, + children: e, + }, + e, + ); + }, + Ew = ({ onFollowupRequest: e, sessionId: t }) => { + const { data: n } = K0({ + // @ts-expect-error valid + queryFn: () => e(t), + }); + return n != null && n.length + ? /* @__PURE__ */ p.jsx(ut, { + direction: "column", + children: n.map((o) => /* @__PURE__ */ p.jsx(ww, { text: o }, o)), + }) + : null; + }, + Ku = ["http", "https", "mailto", "tel"]; +function Sw(e) { + const t = (e || "").trim(), + n = t.charAt(0); + if (n === "#" || n === "/") return t; const o = t.indexOf(":"); - if (o === -1) - return t; + if (o === -1) return t; let r = -1; - for (; ++r < r0.length; ) { - const a = r0[r]; - if (o === a.length && t.slice(0, a.length).toLowerCase() === a) - return t; + for (; ++r < Ku.length; ) { + const i = Ku[r]; + if (o === i.length && t.slice(0, i.length).toLowerCase() === i) return t; } - return r = t.indexOf("?"), r !== -1 && o > r || (r = t.indexOf("#"), r !== -1 && o > r) ? t : "javascript:void(0)"; + return ( + (r = t.indexOf("?")), + (r !== -1 && o > r) || ((r = t.indexOf("#")), r !== -1 && o > r) + ? t + : "javascript:void(0)" + ); } /*! * Determine if an object is a Buffer @@ -25766,23 +36952,36 @@ function Rw(e) { * @author Feross Aboukhadijeh * @license MIT */ -var Iw = function(t) { - return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); +var kw = function (t) { + return ( + t != null && + t.constructor != null && + typeof t.constructor.isBuffer == "function" && + t.constructor.isBuffer(t) + ); }; -const n5 = /* @__PURE__ */ fn(Iw); -function ar(e) { - return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? a0(e.position) : "start" in e || "end" in e ? a0(e) : "line" in e || "column" in e ? Vs(e) : ""; -} -function Vs(e) { - return i0(e && e.line) + ":" + i0(e && e.column); -} -function a0(e) { - return Vs(e && e.start) + "-" + Vs(e && e.end); -} -function i0(e) { +const Wf = /* @__PURE__ */ un(kw); +function nr(e) { + return !e || typeof e != "object" + ? "" + : "position" in e || "type" in e + ? Xu(e.position) + : "start" in e || "end" in e + ? Xu(e) + : "line" in e || "column" in e + ? Is(e) + : ""; +} +function Is(e) { + return Qu(e && e.line) + ":" + Qu(e && e.column); +} +function Xu(e) { + return Is(e && e.start) + "-" + Is(e && e.end); +} +function Qu(e) { return e && typeof e == "number" ? e : 1; } -class Bt extends Error { +class Pt extends Error { /** * Create a message for `reason` at `place` from `origin`. * @@ -25803,63 +37002,96 @@ class Bt extends Error { // To do: next major: expose `undefined` everywhere instead of `null`. constructor(t, n, o) { const r = [null, null]; - let a = { + let i = { // @ts-expect-error: we always follows the structure of `position`. start: { line: null, column: null }, // @ts-expect-error: " - end: { line: null, column: null } + end: { line: null, column: null }, }; - if (super(), typeof n == "string" && (o = n, n = void 0), typeof o == "string") { - const i = o.indexOf(":"); - i === -1 ? r[1] = o : (r[0] = o.slice(0, i), r[1] = o.slice(i + 1)); - } - n && ("type" in n || "position" in n ? n.position && (a = n.position) : "start" in n || "end" in n ? a = n : ("line" in n || "column" in n) && (a.start = n)), this.name = ar(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = a.start.line, this.column = a.start.column, this.position = a, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; - } -} -Bt.prototype.file = ""; -Bt.prototype.name = ""; -Bt.prototype.reason = ""; -Bt.prototype.message = ""; -Bt.prototype.stack = ""; -Bt.prototype.fatal = null; -Bt.prototype.column = null; -Bt.prototype.line = null; -Bt.prototype.source = null; -Bt.prototype.ruleId = null; -Bt.prototype.position = null; -const rn = { basename: zw, dirname: Hw, extname: Pw, join: Bw, sep: "/" }; -function zw(e, t) { + if ( + (super(), + typeof n == "string" && ((o = n), (n = void 0)), + typeof o == "string") + ) { + const a = o.indexOf(":"); + a === -1 ? (r[1] = o) : ((r[0] = o.slice(0, a)), (r[1] = o.slice(a + 1))); + } + n && + ("type" in n || "position" in n + ? n.position && (i = n.position) + : "start" in n || "end" in n + ? (i = n) + : ("line" in n || "column" in n) && (i.start = n)), + (this.name = nr(n) || "1:1"), + (this.message = typeof t == "object" ? t.message : t), + (this.stack = ""), + typeof t == "object" && t.stack && (this.stack = t.stack), + (this.reason = this.message), + this.fatal, + (this.line = i.start.line), + (this.column = i.start.column), + (this.position = i), + (this.source = r[0]), + (this.ruleId = r[1]), + this.file, + this.actual, + this.expected, + this.url, + this.note; + } +} +Pt.prototype.file = ""; +Pt.prototype.name = ""; +Pt.prototype.reason = ""; +Pt.prototype.message = ""; +Pt.prototype.stack = ""; +Pt.prototype.fatal = null; +Pt.prototype.column = null; +Pt.prototype.line = null; +Pt.prototype.source = null; +Pt.prototype.ruleId = null; +Pt.prototype.position = null; +const nn = { basename: _w, dirname: Aw, extname: Mw, join: Tw, sep: "/" }; +function _w(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); - Ir(e); - let n = 0, o = -1, r = e.length, a; + Nr(e); + let n = 0, + o = -1, + r = e.length, + i; if (t === void 0 || t.length === 0 || t.length > e.length) { for (; r--; ) if (e.charCodeAt(r) === 47) { - if (a) { + if (i) { n = r + 1; break; } - } else o < 0 && (a = !0, o = r + 1); + } else o < 0 && ((i = !0), (o = r + 1)); return o < 0 ? "" : e.slice(n, o); } - if (t === e) - return ""; - let i = -1, l = t.length - 1; + if (t === e) return ""; + let a = -1, + l = t.length - 1; for (; r--; ) if (e.charCodeAt(r) === 47) { - if (a) { + if (i) { n = r + 1; break; } } else - i < 0 && (a = !0, i = r + 1), l > -1 && (e.charCodeAt(r) === t.charCodeAt(l--) ? l < 0 && (o = r) : (l = -1, o = i)); - return n === o ? o = i : o < 0 && (o = e.length), e.slice(n, o); -} -function Hw(e) { - if (Ir(e), e.length === 0) - return "."; - let t = -1, n = e.length, o; + a < 0 && ((i = !0), (a = r + 1)), + l > -1 && + (e.charCodeAt(r) === t.charCodeAt(l--) + ? l < 0 && (o = r) + : ((l = -1), (o = a))); + return n === o ? (o = a) : o < 0 && (o = e.length), e.slice(n, o); +} +function Aw(e) { + if ((Nr(e), e.length === 0)) return "."; + let t = -1, + n = e.length, + o; for (; --n; ) if (e.charCodeAt(n) === 47) { if (o) { @@ -25867,105 +37099,145 @@ function Hw(e) { break; } } else o || (o = !0); - return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); -} -function Pw(e) { - Ir(e); - let t = e.length, n = -1, o = 0, r = -1, a = 0, i; + return t < 0 + ? e.charCodeAt(0) === 47 + ? "/" + : "." + : t === 1 && e.charCodeAt(0) === 47 + ? "//" + : e.slice(0, t); +} +function Mw(e) { + Nr(e); + let t = e.length, + n = -1, + o = 0, + r = -1, + i = 0, + a; for (; t--; ) { const l = e.charCodeAt(t); if (l === 47) { - if (i) { + if (a) { o = t + 1; break; } continue; } - n < 0 && (i = !0, n = t + 1), l === 46 ? r < 0 ? r = t : a !== 1 && (a = 1) : r > -1 && (a = -1); + n < 0 && ((a = !0), (n = t + 1)), + l === 46 ? (r < 0 ? (r = t) : i !== 1 && (i = 1)) : r > -1 && (i = -1); } - return r < 0 || n < 0 || // We saw a non-dot character immediately before the dot. - a === 0 || // The (right-most) trimmed path component is exactly `..`. - a === 1 && r === n - 1 && r === o + 1 ? "" : e.slice(r, n); + return r < 0 || + n < 0 || // We saw a non-dot character immediately before the dot. + i === 0 || // The (right-most) trimmed path component is exactly `..`. + (i === 1 && r === n - 1 && r === o + 1) + ? "" + : e.slice(r, n); } -function Bw(...e) { - let t = -1, n; +function Tw(...e) { + let t = -1, + n; for (; ++t < e.length; ) - Ir(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); - return n === void 0 ? "." : Vw(n); + Nr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); + return n === void 0 ? "." : Ow(n); } -function Vw(e) { - Ir(e); +function Ow(e) { + Nr(e); const t = e.charCodeAt(0) === 47; - let n = $w(e, !t); - return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; -} -function $w(e, t) { - let n = "", o = 0, r = -1, a = 0, i = -1, l, s; - for (; ++i <= e.length; ) { - if (i < e.length) - l = e.charCodeAt(i); + let n = Nw(e, !t); + return ( + n.length === 0 && !t && (n = "."), + n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), + t ? "/" + n : n + ); +} +function Nw(e, t) { + let n = "", + o = 0, + r = -1, + i = 0, + a = -1, + l, + s; + for (; ++a <= e.length; ) { + if (a < e.length) l = e.charCodeAt(a); else { - if (l === 47) - break; + if (l === 47) break; l = 47; } if (l === 47) { - if (!(r === i - 1 || a === 1)) if (r !== i - 1 && a === 2) { - if (n.length < 2 || o !== 2 || n.charCodeAt(n.length - 1) !== 46 || n.charCodeAt(n.length - 2) !== 46) { - if (n.length > 2) { - if (s = n.lastIndexOf("/"), s !== n.length - 1) { - s < 0 ? (n = "", o = 0) : (n = n.slice(0, s), o = n.length - 1 - n.lastIndexOf("/")), r = i, a = 0; + if (!(r === a - 1 || i === 1)) + if (r !== a - 1 && i === 2) { + if ( + n.length < 2 || + o !== 2 || + n.charCodeAt(n.length - 1) !== 46 || + n.charCodeAt(n.length - 2) !== 46 + ) { + if (n.length > 2) { + if (((s = n.lastIndexOf("/")), s !== n.length - 1)) { + s < 0 + ? ((n = ""), (o = 0)) + : ((n = n.slice(0, s)), + (o = n.length - 1 - n.lastIndexOf("/"))), + (r = a), + (i = 0); + continue; + } + } else if (n.length > 0) { + (n = ""), (o = 0), (r = a), (i = 0); continue; } - } else if (n.length > 0) { - n = "", o = 0, r = i, a = 0; - continue; } - } - t && (n = n.length > 0 ? n + "/.." : "..", o = 2); - } else - n.length > 0 ? n += "/" + e.slice(r + 1, i) : n = e.slice(r + 1, i), o = i - r - 1; - r = i, a = 0; - } else l === 46 && a > -1 ? a++ : a = -1; + t && ((n = n.length > 0 ? n + "/.." : ".."), (o = 2)); + } else + n.length > 0 + ? (n += "/" + e.slice(r + 1, a)) + : (n = e.slice(r + 1, a)), + (o = a - r - 1); + (r = a), (i = 0); + } else l === 46 && i > -1 ? i++ : (i = -1); } return n; } -function Ir(e) { +function Nr(e) { if (typeof e != "string") - throw new TypeError( - "Path must be a string. Received " + JSON.stringify(e) - ); + throw new TypeError("Path must be a string. Received " + JSON.stringify(e)); } -const Ww = { cwd: Zw }; -function Zw() { +const Dw = { cwd: Lw }; +function Lw() { return "/"; } -function $s(e) { - return e !== null && typeof e == "object" && // @ts-expect-error: indexable. - e.href && // @ts-expect-error: indexable. - e.origin; +function zs(e) { + return ( + e !== null && + typeof e == "object" && // @ts-expect-error: indexable. + e.href && // @ts-expect-error: indexable. + e.origin + ); } -function Uw(e) { - if (typeof e == "string") - e = new URL(e); - else if (!$s(e)) { +function Fw(e) { + if (typeof e == "string") e = new URL(e); + else if (!zs(e)) { const t = new TypeError( - 'The "path" argument must be of type string or an instance of URL. Received `' + e + "`" + 'The "path" argument must be of type string or an instance of URL. Received `' + + e + + "`", ); - throw t.code = "ERR_INVALID_ARG_TYPE", t; + throw ((t.code = "ERR_INVALID_ARG_TYPE"), t); } if (e.protocol !== "file:") { const t = new TypeError("The URL must be of scheme file"); - throw t.code = "ERR_INVALID_URL_SCHEME", t; + throw ((t.code = "ERR_INVALID_URL_SCHEME"), t); } - return qw(e); + return Rw(e); } -function qw(e) { +function Rw(e) { if (e.hostname !== "") { const o = new TypeError( - 'File URL host must be "localhost" or empty on darwin' + 'File URL host must be "localhost" or empty on darwin', ); - throw o.code = "ERR_INVALID_FILE_URL_HOST", o; + throw ((o.code = "ERR_INVALID_FILE_URL_HOST"), o); } const t = e.pathname; let n = -1; @@ -25974,15 +37246,15 @@ function qw(e) { const o = t.charCodeAt(n + 2); if (o === 70 || o === 102) { const r = new TypeError( - "File URL path must not include encoded / characters" + "File URL path must not include encoded / characters", ); - throw r.code = "ERR_INVALID_FILE_URL_PATH", r; + throw ((r.code = "ERR_INVALID_FILE_URL_PATH"), r); } } return decodeURIComponent(t); } -const Ul = ["history", "path", "basename", "stem", "extname", "dirname"]; -class o5 { +const Vl = ["history", "path", "basename", "stem", "extname", "dirname"]; +class Zf { /** * Create a new virtual file. * @@ -26007,15 +37279,31 @@ class o5 { */ constructor(t) { let n; - t ? typeof t == "string" || Yw(t) ? n = { value: t } : $s(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Ww.cwd(), this.value, this.stored, this.result, this.map; + t + ? typeof t == "string" || jw(t) + ? (n = { value: t }) + : zs(t) + ? (n = { path: t }) + : (n = t) + : (n = {}), + (this.data = {}), + (this.messages = []), + (this.history = []), + (this.cwd = Dw.cwd()), + this.value, + this.stored, + this.result, + this.map; let o = -1; - for (; ++o < Ul.length; ) { - const a = Ul[o]; - a in n && n[a] !== void 0 && n[a] !== null && (this[a] = a === "history" ? [...n[a]] : n[a]); + for (; ++o < Vl.length; ) { + const i = Vl[o]; + i in n && + n[i] !== void 0 && + n[i] !== null && + (this[i] = i === "history" ? [...n[i]] : n[i]); } let r; - for (r in n) - Ul.includes(r) || (this[r] = n[r]); + for (r in n) Vl.includes(r) || (this[r] = n[r]); } /** * Get the full path (example: `'~/index.min.js'`). @@ -26035,13 +37323,15 @@ class o5 { * @param {string | URL} path */ set path(t) { - $s(t) && (t = Uw(t)), Yl(t, "path"), this.path !== t && this.history.push(t); + zs(t) && (t = Fw(t)), + Wl(t, "path"), + this.path !== t && this.history.push(t); } /** * Get the parent path (example: `'~'`). */ get dirname() { - return typeof this.path == "string" ? rn.dirname(this.path) : void 0; + return typeof this.path == "string" ? nn.dirname(this.path) : void 0; } /** * Set the parent path (example: `'~'`). @@ -26049,13 +37339,13 @@ class o5 { * Cannot be set if there’s no `path` yet. */ set dirname(t) { - l0(this.basename, "dirname"), this.path = rn.join(t || "", this.basename); + Ju(this.basename, "dirname"), (this.path = nn.join(t || "", this.basename)); } /** * Get the basename (including extname) (example: `'index.min.js'`). */ get basename() { - return typeof this.path == "string" ? rn.basename(this.path) : void 0; + return typeof this.path == "string" ? nn.basename(this.path) : void 0; } /** * Set basename (including extname) (`'index.min.js'`). @@ -26065,13 +37355,15 @@ class o5 { * Cannot be nullified (use `file.path = file.dirname` instead). */ set basename(t) { - Yl(t, "basename"), ql(t, "basename"), this.path = rn.join(this.dirname || "", t); + Wl(t, "basename"), + $l(t, "basename"), + (this.path = nn.join(this.dirname || "", t)); } /** * Get the extname (including dot) (example: `'.js'`). */ get extname() { - return typeof this.path == "string" ? rn.extname(this.path) : void 0; + return typeof this.path == "string" ? nn.extname(this.path) : void 0; } /** * Set the extname (including dot) (example: `'.js'`). @@ -26081,19 +37373,21 @@ class o5 { * Cannot be set if there’s no `path` yet. */ set extname(t) { - if (ql(t, "extname"), l0(this.dirname, "extname"), t) { + if (($l(t, "extname"), Ju(this.dirname, "extname"), t)) { if (t.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); if (t.includes(".", 1)) throw new Error("`extname` cannot contain multiple dots"); } - this.path = rn.join(this.dirname, this.stem + (t || "")); + this.path = nn.join(this.dirname, this.stem + (t || "")); } /** * Get the stem (basename w/o extname) (example: `'index.min'`). */ get stem() { - return typeof this.path == "string" ? rn.basename(this.path, this.extname) : void 0; + return typeof this.path == "string" + ? nn.basename(this.path, this.extname) + : void 0; } /** * Set the stem (basename w/o extname) (example: `'index.min'`). @@ -26103,7 +37397,9 @@ class o5 { * Cannot be nullified (use `file.path = file.dirname` instead). */ set stem(t) { - Yl(t, "stem"), ql(t, "stem"), this.path = rn.join(this.dirname || "", t + (this.extname || "")); + Wl(t, "stem"), + $l(t, "stem"), + (this.path = nn.join(this.dirname || "", t + (this.extname || ""))); } /** * Serialize the file. @@ -26134,8 +37430,13 @@ class o5 { * Message. */ message(t, n, o) { - const r = new Bt(t, n, o); - return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r; + const r = new Pt(t, n, o); + return ( + this.path && ((r.name = this.path + ":" + r.name), (r.file = this.path)), + (r.fatal = !1), + this.messages.push(r), + r + ); } /** * Create an info message associated with the file. @@ -26155,7 +37456,7 @@ class o5 { */ info(t, n, o) { const r = this.message(t, n, o); - return r.fatal = null, r; + return (r.fatal = null), r; } /** * Create a fatal error associated with the file. @@ -26179,420 +37480,500 @@ class o5 { */ fail(t, n, o) { const r = this.message(t, n, o); - throw r.fatal = !0, r; + throw ((r.fatal = !0), r); } } -function ql(e, t) { - if (e && e.includes(rn.sep)) +function $l(e, t) { + if (e && e.includes(nn.sep)) throw new Error( - "`" + t + "` cannot be a path: did not expect `" + rn.sep + "`" + "`" + t + "` cannot be a path: did not expect `" + nn.sep + "`", ); } -function Yl(e, t) { - if (!e) - throw new Error("`" + t + "` cannot be empty"); +function Wl(e, t) { + if (!e) throw new Error("`" + t + "` cannot be empty"); } -function l0(e, t) { - if (!e) - throw new Error("Setting `" + t + "` requires `path` to be set too"); +function Ju(e, t) { + if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -function Yw(e) { - return n5(e); +function jw(e) { + return Wf(e); } -function s0(e) { - if (e) - throw e; +function e0(e) { + if (e) throw e; } -var Sa = Object.prototype.hasOwnProperty, r5 = Object.prototype.toString, c0 = Object.defineProperty, u0 = Object.getOwnPropertyDescriptor, d0 = function(t) { - return typeof Array.isArray == "function" ? Array.isArray(t) : r5.call(t) === "[object Array]"; -}, f0 = function(t) { - if (!t || r5.call(t) !== "[object Object]") - return !1; - var n = Sa.call(t, "constructor"), o = t.constructor && t.constructor.prototype && Sa.call(t.constructor.prototype, "isPrototypeOf"); - if (t.constructor && !n && !o) - return !1; - var r; - for (r in t) - ; - return typeof r > "u" || Sa.call(t, r); -}, h0 = function(t, n) { - c0 && n.name === "__proto__" ? c0(t, n.name, { - enumerable: !0, - configurable: !0, - value: n.newValue, - writable: !0 - }) : t[n.name] = n.newValue; -}, p0 = function(t, n) { - if (n === "__proto__") - if (Sa.call(t, n)) { - if (u0) - return u0(t, n).value; - } else return; - return t[n]; -}, Gw = function e() { - var t, n, o, r, a, i, l = arguments[0], s = 1, u = arguments.length, c = !1; - for (typeof l == "boolean" && (c = l, l = arguments[1] || {}, s = 2), (l == null || typeof l != "object" && typeof l != "function") && (l = {}); s < u; ++s) - if (t = arguments[s], t != null) - for (n in t) - o = p0(l, n), r = p0(t, n), l !== r && (c && r && (f0(r) || (a = d0(r))) ? (a ? (a = !1, i = o && d0(o) ? o : []) : i = o && f0(o) ? o : {}, h0(l, { name: n, newValue: e(c, i, r) })) : typeof r < "u" && h0(l, { name: n, newValue: r })); - return l; -}; -const g0 = /* @__PURE__ */ fn(Gw); -function Ws(e) { - if (typeof e != "object" || e === null) - return !1; +var bi = Object.prototype.hasOwnProperty, + Uf = Object.prototype.toString, + t0 = Object.defineProperty, + n0 = Object.getOwnPropertyDescriptor, + o0 = function (t) { + return typeof Array.isArray == "function" + ? Array.isArray(t) + : Uf.call(t) === "[object Array]"; + }, + r0 = function (t) { + if (!t || Uf.call(t) !== "[object Object]") return !1; + var n = bi.call(t, "constructor"), + o = + t.constructor && + t.constructor.prototype && + bi.call(t.constructor.prototype, "isPrototypeOf"); + if (t.constructor && !n && !o) return !1; + var r; + for (r in t); + return typeof r > "u" || bi.call(t, r); + }, + i0 = function (t, n) { + t0 && n.name === "__proto__" + ? t0(t, n.name, { + enumerable: !0, + configurable: !0, + value: n.newValue, + writable: !0, + }) + : (t[n.name] = n.newValue); + }, + a0 = function (t, n) { + if (n === "__proto__") + if (bi.call(t, n)) { + if (n0) return n0(t, n).value; + } else return; + return t[n]; + }, + Iw = function e() { + var t, + n, + o, + r, + i, + a, + l = arguments[0], + s = 1, + u = arguments.length, + c = !1; + for ( + typeof l == "boolean" && ((c = l), (l = arguments[1] || {}), (s = 2)), + (l == null || (typeof l != "object" && typeof l != "function")) && + (l = {}); + s < u; + ++s + ) + if (((t = arguments[s]), t != null)) + for (n in t) + (o = a0(l, n)), + (r = a0(t, n)), + l !== r && + (c && r && (r0(r) || (i = o0(r))) + ? (i + ? ((i = !1), (a = o && o0(o) ? o : [])) + : (a = o && r0(o) ? o : {}), + i0(l, { name: n, newValue: e(c, a, r) })) + : typeof r < "u" && i0(l, { name: n, newValue: r })); + return l; + }; +const l0 = /* @__PURE__ */ un(Iw); +function Hs(e) { + if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); - return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); + return ( + (t === null || + t === Object.prototype || + Object.getPrototypeOf(t) === null) && + !(Symbol.toStringTag in e) && + !(Symbol.iterator in e) + ); } -function Kw() { - const e = [], t = { run: n, use: o }; +function zw() { + const e = [], + t = { run: n, use: o }; return t; function n(...r) { - let a = -1; - const i = r.pop(); - if (typeof i != "function") - throw new TypeError("Expected function as last argument, not " + i); + let i = -1; + const a = r.pop(); + if (typeof a != "function") + throw new TypeError("Expected function as last argument, not " + a); l(null, ...r); function l(s, ...u) { - const c = e[++a]; + const c = e[++i]; let d = -1; if (s) { - i(s); + a(s); return; } for (; ++d < r.length; ) (u[d] === null || u[d] === void 0) && (u[d] = r[d]); - r = u, c ? Xw(c, l)(...u) : i(null, ...u); + (r = u), c ? Hw(c, l)(...u) : a(null, ...u); } } function o(r) { if (typeof r != "function") - throw new TypeError( - "Expected `middelware` to be a function, not " + r - ); + throw new TypeError("Expected `middelware` to be a function, not " + r); return e.push(r), t; } } -function Xw(e, t) { +function Hw(e, t) { let n; return o; - function o(...i) { - const l = e.length > i.length; + function o(...a) { + const l = e.length > a.length; let s; - l && i.push(r); + l && a.push(r); try { - s = e.apply(this, i); + s = e.apply(this, a); } catch (u) { - const c = ( + const c = /** @type {Error} */ - u - ); - if (l && n) - throw c; + u; + if (l && n) throw c; return r(c); } - l || (s && s.then && typeof s.then == "function" ? s.then(a, r) : s instanceof Error ? r(s) : a(s)); + l || + (s && s.then && typeof s.then == "function" + ? s.then(i, r) + : s instanceof Error + ? r(s) + : i(s)); } - function r(i, ...l) { - n || (n = !0, t(i, ...l)); + function r(a, ...l) { + n || ((n = !0), t(a, ...l)); } - function a(i) { - r(null, i); + function i(a) { + r(null, a); } } -const Qw = i5().freeze(), a5 = {}.hasOwnProperty; -function i5() { - const e = Kw(), t = []; - let n = {}, o, r = -1; - return a.data = i, a.Parser = void 0, a.Compiler = void 0, a.freeze = l, a.attachers = t, a.use = s, a.parse = u, a.stringify = c, a.run = d, a.runSync = p, a.process = h, a.processSync = m, a; - function a() { - const b = i5(); +const Pw = Yf().freeze(), + qf = {}.hasOwnProperty; +function Yf() { + const e = zw(), + t = []; + let n = {}, + o, + r = -1; + return ( + (i.data = a), + (i.Parser = void 0), + (i.Compiler = void 0), + (i.freeze = l), + (i.attachers = t), + (i.use = s), + (i.parse = u), + (i.stringify = c), + (i.run = d), + (i.runSync = h), + (i.process = f), + (i.processSync = m), + i + ); + function i() { + const b = Yf(); let y = -1; - for (; ++y < t.length; ) - b.use(...t[y]); - return b.data(g0(!0, {}, n)), b; - } - function i(b, y) { - return typeof b == "string" ? arguments.length === 2 ? (Xl("data", o), n[b] = y, a) : a5.call(n, b) && n[b] || null : b ? (Xl("data", o), n = b, a) : n; + for (; ++y < t.length; ) b.use(...t[y]); + return b.data(l0(!0, {}, n)), b; + } + function a(b, y) { + return typeof b == "string" + ? arguments.length === 2 + ? (ql("data", o), (n[b] = y), i) + : (qf.call(n, b) && n[b]) || null + : b + ? (ql("data", o), (n = b), i) + : n; } function l() { - if (o) - return a; + if (o) return i; for (; ++r < t.length; ) { const [b, ...y] = t[r]; - if (y[0] === !1) - continue; + if (y[0] === !1) continue; y[0] === !0 && (y[0] = void 0); - const g = b.call(a, ...y); + const g = b.call(i, ...y); typeof g == "function" && e.use(g); } - return o = !0, r = Number.POSITIVE_INFINITY, a; + return (o = !0), (r = Number.POSITIVE_INFINITY), i; } function s(b, ...y) { let g; - if (Xl("use", o), b != null) if (typeof b == "function") - w(b, ...y); - else if (typeof b == "object") - Array.isArray(b) ? S(b) : C(b); - else - throw new TypeError("Expected usable value, not `" + b + "`"); - return g && (n.settings = Object.assign(n.settings || {}, g)), a; - function x(E) { - if (typeof E == "function") - w(E); - else if (typeof E == "object") - if (Array.isArray(E)) { - const [M, ..._] = E; - w(M, ..._); - } else - C(E); - else - throw new TypeError("Expected usable value, not `" + E + "`"); - } - function C(E) { - S(E.plugins), E.settings && (g = Object.assign(g || {}, E.settings)); - } - function S(E) { - let M = -1; - if (E != null) if (Array.isArray(E)) - for (; ++M < E.length; ) { - const _ = E[M]; - x(_); - } - else - throw new TypeError("Expected a list of plugins, not `" + E + "`"); - } - function w(E, M) { - let _ = -1, L; - for (; ++_ < t.length; ) - if (t[_][0] === E) { - L = t[_]; + if ((ql("use", o), b != null)) + if (typeof b == "function") w(b, ...y); + else if (typeof b == "object") Array.isArray(b) ? E(b) : C(b); + else throw new TypeError("Expected usable value, not `" + b + "`"); + return g && (n.settings = Object.assign(n.settings || {}, g)), i; + function x(S) { + if (typeof S == "function") w(S); + else if (typeof S == "object") + if (Array.isArray(S)) { + const [_, ...A] = S; + w(_, ...A); + } else C(S); + else throw new TypeError("Expected usable value, not `" + S + "`"); + } + function C(S) { + E(S.plugins), S.settings && (g = Object.assign(g || {}, S.settings)); + } + function E(S) { + let _ = -1; + if (S != null) + if (Array.isArray(S)) + for (; ++_ < S.length; ) { + const A = S[_]; + x(A); + } + else throw new TypeError("Expected a list of plugins, not `" + S + "`"); + } + function w(S, _) { + let A = -1, + R; + for (; ++A < t.length; ) + if (t[A][0] === S) { + R = t[A]; break; } - L ? (Ws(L[1]) && Ws(M) && (M = g0(!0, L[1], M)), L[1] = M) : t.push([...arguments]); + R + ? (Hs(R[1]) && Hs(_) && (_ = l0(!0, R[1], _)), (R[1] = _)) + : t.push([...arguments]); } } function u(b) { - a.freeze(); - const y = Xo(b), g = a.Parser; - return Gl("parse", g), m0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); + i.freeze(); + const y = qo(b), + g = i.Parser; + return ( + Zl("parse", g), + s0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y) + ); } function c(b, y) { - a.freeze(); - const g = Xo(y), x = a.Compiler; - return Kl("stringify", x), b0(b), m0(x, "compile") ? new x(b, g).compile() : x(b, g); + i.freeze(); + const g = qo(y), + x = i.Compiler; + return ( + Ul("stringify", x), + c0(b), + s0(x, "compile") ? new x(b, g).compile() : x(b, g) + ); } function d(b, y, g) { - if (b0(b), a.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) + if ( + (c0(b), + i.freeze(), + !g && typeof y == "function" && ((g = y), (y = void 0)), + !g) + ) return new Promise(x); x(null, g); - function x(C, S) { - e.run(b, Xo(y), w); - function w(E, M, _) { - M = M || b, E ? S(E) : C ? C(M) : g(null, M, _); + function x(C, E) { + e.run(b, qo(y), w); + function w(S, _, A) { + (_ = _ || b), S ? E(S) : C ? C(_) : g(null, _, A); } } } - function p(b, y) { + function h(b, y) { let g, x; - return a.run(b, y, C), y0("runSync", "run", x), g; - function C(S, w) { - s0(S), g = w, x = !0; + return i.run(b, y, C), u0("runSync", "run", x), g; + function C(E, w) { + e0(E), (g = w), (x = !0); } } - function h(b, y) { - if (a.freeze(), Gl("process", a.Parser), Kl("process", a.Compiler), !y) + function f(b, y) { + if ((i.freeze(), Zl("process", i.Parser), Ul("process", i.Compiler), !y)) return new Promise(g); g(null, y); function g(x, C) { - const S = Xo(b); - a.run(a.parse(S), S, (E, M, _) => { - if (E || !M || !_) - w(E); + const E = qo(b); + i.run(i.parse(E), E, (S, _, A) => { + if (S || !_ || !A) w(S); else { - const L = a.stringify(M, _); - L == null || (tE(L) ? _.value = L : _.result = L), w(E, _); + const R = i.stringify(_, A); + R == null || ($w(R) ? (A.value = R) : (A.result = R)), w(S, A); } }); - function w(E, M) { - E || !M ? C(E) : x ? x(M) : y(null, M); + function w(S, _) { + S || !_ ? C(S) : x ? x(_) : y(null, _); } } } function m(b) { let y; - a.freeze(), Gl("processSync", a.Parser), Kl("processSync", a.Compiler); - const g = Xo(b); - return a.process(g, x), y0("processSync", "process", y), g; + i.freeze(), Zl("processSync", i.Parser), Ul("processSync", i.Compiler); + const g = qo(b); + return i.process(g, x), u0("processSync", "process", y), g; function x(C) { - y = !0, s0(C); + (y = !0), e0(C); } } } -function m0(e, t) { - return typeof e == "function" && // Prototypes do exist. - // type-coverage:ignore-next-line - e.prototype && // A function with keys in its prototype is probably a constructor. - // Classes’ prototype methods are not enumerable, so we check if some value - // exists in the prototype. - // type-coverage:ignore-next-line - (Jw(e.prototype) || t in e.prototype); +function s0(e, t) { + return ( + typeof e == "function" && // Prototypes do exist. + // type-coverage:ignore-next-line + e.prototype && // A function with keys in its prototype is probably a constructor. + // Classes’ prototype methods are not enumerable, so we check if some value + // exists in the prototype. + // type-coverage:ignore-next-line + (Bw(e.prototype) || t in e.prototype) + ); } -function Jw(e) { +function Bw(e) { let t; - for (t in e) - if (a5.call(e, t)) - return !0; + for (t in e) if (qf.call(e, t)) return !0; return !1; } -function Gl(e, t) { +function Zl(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Parser`"); } -function Kl(e, t) { +function Ul(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `Compiler`"); } -function Xl(e, t) { +function ql(e, t) { if (t) throw new Error( - "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`." + "Cannot call `" + + e + + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.", ); } -function b0(e) { - if (!Ws(e) || typeof e.type != "string") +function c0(e) { + if (!Hs(e) || typeof e.type != "string") throw new TypeError("Expected node, got `" + e + "`"); } -function y0(e, t, n) { +function u0(e, t, n) { if (!n) - throw new Error( - "`" + e + "` finished async. Use `" + t + "` instead" - ); + throw new Error("`" + e + "` finished async. Use `" + t + "` instead"); } -function Xo(e) { - return eE(e) ? e : new o5(e); +function qo(e) { + return Vw(e) ? e : new Zf(e); } -function eE(e) { +function Vw(e) { return !!(e && typeof e == "object" && "message" in e && "messages" in e); } -function tE(e) { - return typeof e == "string" || n5(e); +function $w(e) { + return typeof e == "string" || Wf(e); } -const nE = {}; -function oE(e, t) { - const n = nE, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; - return l5(e, o, r); +const Ww = {}; +function Zw(e, t) { + const n = Ww, + o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, + r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; + return Gf(e, o, r); } -function l5(e, t, n) { - if (rE(e)) { - if ("value" in e) - return e.type === "html" && !n ? "" : e.value; - if (t && "alt" in e && e.alt) - return e.alt; - if ("children" in e) - return C0(e.children, t, n); +function Gf(e, t, n) { + if (Uw(e)) { + if ("value" in e) return e.type === "html" && !n ? "" : e.value; + if (t && "alt" in e && e.alt) return e.alt; + if ("children" in e) return d0(e.children, t, n); } - return Array.isArray(e) ? C0(e, t, n) : ""; + return Array.isArray(e) ? d0(e, t, n) : ""; } -function C0(e, t, n) { +function d0(e, t, n) { const o = []; let r = -1; - for (; ++r < e.length; ) - o[r] = l5(e[r], t, n); + for (; ++r < e.length; ) o[r] = Gf(e[r], t, n); return o.join(""); } -function rE(e) { +function Uw(e) { return !!(e && typeof e == "object"); } -function un(e, t, n, o) { +function cn(e, t, n, o) { const r = e.length; - let a = 0, i; - if (t < 0 ? t = -t > r ? 0 : r + t : t = t > r ? r : t, n = n > 0 ? n : 0, o.length < 1e4) - i = Array.from(o), i.unshift(t, n), e.splice(...i); + let i = 0, + a; + if ( + (t < 0 ? (t = -t > r ? 0 : r + t) : (t = t > r ? r : t), + (n = n > 0 ? n : 0), + o.length < 1e4) + ) + (a = Array.from(o)), a.unshift(t, n), e.splice(...a); else - for (n && e.splice(t, n); a < o.length; ) - i = o.slice(a, a + 1e4), i.unshift(t, 0), e.splice(...i), a += 1e4, t += 1e4; + for (n && e.splice(t, n); i < o.length; ) + (a = o.slice(i, i + 1e4)), + a.unshift(t, 0), + e.splice(...a), + (i += 1e4), + (t += 1e4); } -function jt(e, t) { - return e.length > 0 ? (un(e, e.length, 0, t), e) : t; +function Ft(e, t) { + return e.length > 0 ? (cn(e, e.length, 0, t), e) : t; } -const v0 = {}.hasOwnProperty; -function aE(e) { +const f0 = {}.hasOwnProperty; +function qw(e) { const t = {}; let n = -1; - for (; ++n < e.length; ) - iE(t, e[n]); + for (; ++n < e.length; ) Yw(t, e[n]); return t; } -function iE(e, t) { +function Yw(e, t) { let n; for (n in t) { - const r = (v0.call(e, n) ? e[n] : void 0) || (e[n] = {}), a = t[n]; - let i; - if (a) - for (i in a) { - v0.call(r, i) || (r[i] = []); - const l = a[i]; - lE( + const r = (f0.call(e, n) ? e[n] : void 0) || (e[n] = {}), + i = t[n]; + let a; + if (i) + for (a in i) { + f0.call(r, a) || (r[a] = []); + const l = i[a]; + Gw( // @ts-expect-error Looks like a list. - r[i], - Array.isArray(l) ? l : l ? [l] : [] + r[a], + Array.isArray(l) ? l : l ? [l] : [], ); } } } -function lE(e, t) { +function Gw(e, t) { let n = -1; const o = []; - for (; ++n < t.length; ) - (t[n].add === "after" ? e : o).push(t[n]); - un(e, 0, 0, o); -} -const sE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, sn = Hn(/[A-Za-z]/), _t = Hn(/[\dA-Za-z]/), cE = Hn(/[#-'*+\--9=?A-Z^-~]/); -function Zs(e) { + for (; ++n < t.length; ) (t[n].add === "after" ? e : o).push(t[n]); + cn(e, 0, 0, o); +} +const Kw = + /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, + an = In(/[A-Za-z]/), + _t = In(/[\dA-Za-z]/), + Xw = In(/[#-'*+\--9=?A-Z^-~]/); +function Ps(e) { return ( // Special whitespace codes (which have negative values), C0 and Control // character DEL e !== null && (e < 32 || e === 127) ); } -const Us = Hn(/\d/), uE = Hn(/[\dA-Fa-f]/), dE = Hn(/[!-/:-@[-`{-~]/); -function pe(e) { +const Bs = In(/\d/), + Qw = In(/[\dA-Fa-f]/), + Jw = In(/[!-/:-@[-`{-~]/); +function he(e) { return e !== null && e < -2; } function wt(e) { return e !== null && (e < 0 || e === 32); } -function Ne(e) { +function Oe(e) { return e === -2 || e === -1 || e === 32; } -const fE = Hn(sE), hE = Hn(/\s/); -function Hn(e) { +const eE = In(Kw), + tE = In(/\s/); +function In(e) { return t; function t(n) { return n !== null && e.test(String.fromCharCode(n)); } } -function Be(e, t, n, o) { +function He(e, t, n, o) { const r = o ? o - 1 : Number.POSITIVE_INFINITY; - let a = 0; - return i; - function i(s) { - return Ne(s) ? (e.enter(n), l(s)) : t(s); + let i = 0; + return a; + function a(s) { + return Oe(s) ? (e.enter(n), l(s)) : t(s); } function l(s) { - return Ne(s) && a++ < r ? (e.consume(s), l) : (e.exit(n), t(s)); + return Oe(s) && i++ < r ? (e.consume(s), l) : (e.exit(n), t(s)); } } -const pE = { - tokenize: gE +const nE = { + tokenize: oE, }; -function gE(e) { - const t = e.attempt( - this.parser.constructs.contentInitial, - o, - r - ); +function oE(e) { + const t = e.attempt(this.parser.constructs.contentInitial, o, r); let n; return t; function o(l) { @@ -26600,240 +37981,299 @@ function gE(e) { e.consume(l); return; } - return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), Be(e, t, "linePrefix"); + return ( + e.enter("lineEnding"), + e.consume(l), + e.exit("lineEnding"), + He(e, t, "linePrefix") + ); } function r(l) { - return e.enter("paragraph"), a(l); + return e.enter("paragraph"), i(l); } - function a(l) { + function i(l) { const s = e.enter("chunkText", { contentType: "text", - previous: n + previous: n, }); - return n && (n.next = s), n = s, i(l); + return n && (n.next = s), (n = s), a(l); } - function i(l) { + function a(l) { if (l === null) { e.exit("chunkText"), e.exit("paragraph"), e.consume(l); return; } - return pe(l) ? (e.consume(l), e.exit("chunkText"), a) : (e.consume(l), i); + return he(l) ? (e.consume(l), e.exit("chunkText"), i) : (e.consume(l), a); } } -const mE = { - tokenize: bE -}, x0 = { - tokenize: yE -}; -function bE(e) { - const t = this, n = []; - let o = 0, r, a, i; +const rE = { + tokenize: iE, + }, + p0 = { + tokenize: aE, + }; +function iE(e) { + const t = this, + n = []; + let o = 0, + r, + i, + a; return l; function l(C) { if (o < n.length) { - const S = n[o]; - return t.containerState = S[1], e.attempt( - S[0].continuation, - s, - u - )(C); + const E = n[o]; + return (t.containerState = E[1]), e.attempt(E[0].continuation, s, u)(C); } return u(C); } function s(C) { - if (o++, t.containerState._closeFlow) { - t.containerState._closeFlow = void 0, r && x(); - const S = t.events.length; - let w = S, E; + if ((o++, t.containerState._closeFlow)) { + (t.containerState._closeFlow = void 0), r && x(); + const E = t.events.length; + let w = E, + S; for (; w--; ) if (t.events[w][0] === "exit" && t.events[w][1].type === "chunkFlow") { - E = t.events[w][1].end; + S = t.events[w][1].end; break; } g(o); - let M = S; - for (; M < t.events.length; ) - t.events[M][1].end = Object.assign({}, E), M++; - return un( - t.events, - w + 1, - 0, - t.events.slice(S) - ), t.events.length = M, u(C); + let _ = E; + for (; _ < t.events.length; ) + (t.events[_][1].end = Object.assign({}, S)), _++; + return ( + cn(t.events, w + 1, 0, t.events.slice(E)), (t.events.length = _), u(C) + ); } return l(C); } function u(C) { if (o === n.length) { - if (!r) - return p(C); - if (r.currentConstruct && r.currentConstruct.concrete) - return m(C); + if (!r) return h(C); + if (r.currentConstruct && r.currentConstruct.concrete) return m(C); t.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack); } - return t.containerState = {}, e.check( - x0, - c, - d - )(C); + return (t.containerState = {}), e.check(p0, c, d)(C); } function c(C) { - return r && x(), g(o), p(C); + return r && x(), g(o), h(C); } function d(C) { - return t.parser.lazy[t.now().line] = o !== n.length, i = t.now().offset, m(C); - } - function p(C) { - return t.containerState = {}, e.attempt( - x0, - h, - m - )(C); + return ( + (t.parser.lazy[t.now().line] = o !== n.length), (a = t.now().offset), m(C) + ); } function h(C) { - return o++, n.push([t.currentConstruct, t.containerState]), p(C); + return (t.containerState = {}), e.attempt(p0, f, m)(C); + } + function f(C) { + return o++, n.push([t.currentConstruct, t.containerState]), h(C); } function m(C) { if (C === null) { r && x(), g(0), e.consume(C); return; } - return r = r || t.parser.flow(t.now()), e.enter("chunkFlow", { - contentType: "flow", - previous: a, - _tokenizer: r - }), b(C); + return ( + (r = r || t.parser.flow(t.now())), + e.enter("chunkFlow", { + contentType: "flow", + previous: i, + _tokenizer: r, + }), + b(C) + ); } function b(C) { if (C === null) { y(e.exit("chunkFlow"), !0), g(0), e.consume(C); return; } - return pe(C) ? (e.consume(C), y(e.exit("chunkFlow")), o = 0, t.interrupt = void 0, l) : (e.consume(C), b); + return he(C) + ? (e.consume(C), + y(e.exit("chunkFlow")), + (o = 0), + (t.interrupt = void 0), + l) + : (e.consume(C), b); } - function y(C, S) { + function y(C, E) { const w = t.sliceStream(C); - if (S && w.push(null), C.previous = a, a && (a.next = C), a = C, r.defineSkip(C.start), r.write(w), t.parser.lazy[C.start.line]) { - let E = r.events.length; - for (; E--; ) + if ( + (E && w.push(null), + (C.previous = i), + i && (i.next = C), + (i = C), + r.defineSkip(C.start), + r.write(w), + t.parser.lazy[C.start.line]) + ) { + let S = r.events.length; + for (; S--; ) if ( // The token starts before the line ending… - r.events[E][1].start.offset < i && // …and either is not ended yet… - (!r.events[E][1].end || // …or ends after it. - r.events[E][1].end.offset > i) + r.events[S][1].start.offset < a && // …and either is not ended yet… + (!r.events[S][1].end || // …or ends after it. + r.events[S][1].end.offset > a) ) return; - const M = t.events.length; - let _ = M, L, R; - for (; _--; ) - if (t.events[_][0] === "exit" && t.events[_][1].type === "chunkFlow") { - if (L) { - R = t.events[_][1].end; + const _ = t.events.length; + let A = _, + R, + L; + for (; A--; ) + if (t.events[A][0] === "exit" && t.events[A][1].type === "chunkFlow") { + if (R) { + L = t.events[A][1].end; break; } - L = !0; + R = !0; } - for (g(o), E = M; E < t.events.length; ) - t.events[E][1].end = Object.assign({}, R), E++; - un( - t.events, - _ + 1, - 0, - t.events.slice(M) - ), t.events.length = E; + for (g(o), S = _; S < t.events.length; ) + (t.events[S][1].end = Object.assign({}, L)), S++; + cn(t.events, A + 1, 0, t.events.slice(_)), (t.events.length = S); } } function g(C) { - let S = n.length; - for (; S-- > C; ) { - const w = n[S]; - t.containerState = w[1], w[0].exit.call(t, e); + let E = n.length; + for (; E-- > C; ) { + const w = n[E]; + (t.containerState = w[1]), w[0].exit.call(t, e); } n.length = C; } function x() { - r.write([null]), a = void 0, r = void 0, t.containerState._closeFlow = void 0; + r.write([null]), + (i = void 0), + (r = void 0), + (t.containerState._closeFlow = void 0); } } -function yE(e, t, n) { - return Be( +function aE(e, t, n) { + return He( e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", - this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 + this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, ); } -function w0(e) { - if (e === null || wt(e) || hE(e)) - return 1; - if (fE(e)) - return 2; +function h0(e) { + if (e === null || wt(e) || tE(e)) return 1; + if (eE(e)) return 2; } -function h1(e, t, n) { +function a1(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) { - const a = e[r].resolveAll; - a && !o.includes(a) && (t = a(t, n), o.push(a)); + const i = e[r].resolveAll; + i && !o.includes(i) && ((t = i(t, n)), o.push(i)); } return t; } -const qs = { +const Vs = { name: "attention", - tokenize: vE, - resolveAll: CE + tokenize: sE, + resolveAll: lE, }; -function CE(e, t) { - let n = -1, o, r, a, i, l, s, u, c; +function lE(e, t) { + let n = -1, + o, + r, + i, + a, + l, + s, + u, + c; for (; ++n < e.length; ) - if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) { + if ( + e[n][0] === "enter" && + e[n][1].type === "attentionSequence" && + e[n][1]._close + ) { for (o = n; o--; ) - if (e[o][0] === "exit" && e[o][1].type === "attentionSequence" && e[o][1]._open && // If the markers are the same: - t.sliceSerialize(e[o][1]).charCodeAt(0) === t.sliceSerialize(e[n][1]).charCodeAt(0)) { - if ((e[o][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[o][1].end.offset - e[o][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3)) - continue; - s = e[o][1].end.offset - e[o][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1; - const d = Object.assign({}, e[o][1].end), p = Object.assign({}, e[n][1].start); - E0(d, -s), E0(p, s), i = { - type: s > 1 ? "strongSequence" : "emphasisSequence", - start: d, - end: Object.assign({}, e[o][1].end) - }, l = { - type: s > 1 ? "strongSequence" : "emphasisSequence", - start: Object.assign({}, e[n][1].start), - end: p - }, a = { - type: s > 1 ? "strongText" : "emphasisText", - start: Object.assign({}, e[o][1].end), - end: Object.assign({}, e[n][1].start) - }, r = { - type: s > 1 ? "strong" : "emphasis", - start: Object.assign({}, i.start), - end: Object.assign({}, l.end) - }, e[o][1].end = Object.assign({}, i.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = jt(u, [ - ["enter", e[o][1], t], - ["exit", e[o][1], t] - ])), u = jt(u, [ - ["enter", r, t], - ["enter", i, t], - ["exit", i, t], - ["enter", a, t] - ]), u = jt( - u, - h1( - t.parser.constructs.insideSpan.null, - e.slice(o + 1, n), - t + if ( + e[o][0] === "exit" && + e[o][1].type === "attentionSequence" && + e[o][1]._open && // If the markers are the same: + t.sliceSerialize(e[o][1]).charCodeAt(0) === + t.sliceSerialize(e[n][1]).charCodeAt(0) + ) { + if ( + (e[o][1]._close || e[n][1]._open) && + (e[n][1].end.offset - e[n][1].start.offset) % 3 && + !( + (e[o][1].end.offset - + e[o][1].start.offset + + e[n][1].end.offset - + e[n][1].start.offset) % + 3 ) - ), u = jt(u, [ - ["exit", a, t], - ["enter", l, t], - ["exit", l, t], - ["exit", r, t] - ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = jt(u, [ - ["enter", e[n][1], t], - ["exit", e[n][1], t] - ])) : c = 0, un(e, o - 1, n - o + 3, u), n = o + u.length - c - 2; + ) + continue; + s = + e[o][1].end.offset - e[o][1].start.offset > 1 && + e[n][1].end.offset - e[n][1].start.offset > 1 + ? 2 + : 1; + const d = Object.assign({}, e[o][1].end), + h = Object.assign({}, e[n][1].start); + g0(d, -s), + g0(h, s), + (a = { + type: s > 1 ? "strongSequence" : "emphasisSequence", + start: d, + end: Object.assign({}, e[o][1].end), + }), + (l = { + type: s > 1 ? "strongSequence" : "emphasisSequence", + start: Object.assign({}, e[n][1].start), + end: h, + }), + (i = { + type: s > 1 ? "strongText" : "emphasisText", + start: Object.assign({}, e[o][1].end), + end: Object.assign({}, e[n][1].start), + }), + (r = { + type: s > 1 ? "strong" : "emphasis", + start: Object.assign({}, a.start), + end: Object.assign({}, l.end), + }), + (e[o][1].end = Object.assign({}, a.start)), + (e[n][1].start = Object.assign({}, l.end)), + (u = []), + e[o][1].end.offset - e[o][1].start.offset && + (u = Ft(u, [ + ["enter", e[o][1], t], + ["exit", e[o][1], t], + ])), + (u = Ft(u, [ + ["enter", r, t], + ["enter", a, t], + ["exit", a, t], + ["enter", i, t], + ])), + (u = Ft( + u, + a1(t.parser.constructs.insideSpan.null, e.slice(o + 1, n), t), + )), + (u = Ft(u, [ + ["exit", i, t], + ["enter", l, t], + ["exit", l, t], + ["exit", r, t], + ])), + e[n][1].end.offset - e[n][1].start.offset + ? ((c = 2), + (u = Ft(u, [ + ["enter", e[n][1], t], + ["exit", e[n][1], t], + ]))) + : (c = 0), + cn(e, o - 1, n - o + 3, u), + (n = o + u.length - c - 2); break; } } @@ -26841,531 +38281,884 @@ function CE(e, t) { e[n][1].type === "attentionSequence" && (e[n][1].type = "data"); return e; } -function vE(e, t) { - const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = w0(o); - let a; - return i; - function i(s) { - return a = s, e.enter("attentionSequence"), l(s); +function sE(e, t) { + const n = this.parser.constructs.attentionMarkers.null, + o = this.previous, + r = h0(o); + let i; + return a; + function a(s) { + return (i = s), e.enter("attentionSequence"), l(s); } function l(s) { - if (s === a) - return e.consume(s), l; - const u = e.exit("attentionSequence"), c = w0(s), d = !c || c === 2 && r || n.includes(s), p = !r || r === 2 && c || n.includes(o); - return u._open = !!(a === 42 ? d : d && (r || !p)), u._close = !!(a === 42 ? p : p && (c || !d)), t(s); + if (s === i) return e.consume(s), l; + const u = e.exit("attentionSequence"), + c = h0(s), + d = !c || (c === 2 && r) || n.includes(s), + h = !r || (r === 2 && c) || n.includes(o); + return ( + (u._open = !!(i === 42 ? d : d && (r || !h))), + (u._close = !!(i === 42 ? h : h && (c || !d))), + t(s) + ); } } -function E0(e, t) { - e.column += t, e.offset += t, e._bufferIndex += t; +function g0(e, t) { + (e.column += t), (e.offset += t), (e._bufferIndex += t); } -const xE = { +const cE = { name: "autolink", - tokenize: wE + tokenize: uE, }; -function wE(e, t, n) { +function uE(e, t, n) { let o = 0; return r; - function r(h) { - return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a; - } - function a(h) { - return sn(h) ? (e.consume(h), i) : u(h); - } - function i(h) { - return h === 43 || h === 45 || h === 46 || _t(h) ? (o = 1, l(h)) : u(h); - } - function l(h) { - return h === 58 ? (e.consume(h), o = 0, s) : (h === 43 || h === 45 || h === 46 || _t(h)) && o++ < 32 ? (e.consume(h), l) : (o = 0, u(h)); - } - function s(h) { - return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : h === null || h === 32 || h === 60 || Zs(h) ? n(h) : (e.consume(h), s); - } - function u(h) { - return h === 64 ? (e.consume(h), c) : cE(h) ? (e.consume(h), u) : n(h); - } - function c(h) { - return _t(h) ? d(h) : n(h); - } - function d(h) { - return h === 46 ? (e.consume(h), o = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : p(h); - } - function p(h) { - if ((h === 45 || _t(h)) && o++ < 63) { - const m = h === 45 ? p : d; - return e.consume(h), m; - } - return n(h); + function r(f) { + return ( + e.enter("autolink"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.enter("autolinkProtocol"), + i + ); } -} -const gi = { - tokenize: EE, - partial: !0 + function i(f) { + return an(f) ? (e.consume(f), a) : u(f); + } + function a(f) { + return f === 43 || f === 45 || f === 46 || _t(f) ? ((o = 1), l(f)) : u(f); + } + function l(f) { + return f === 58 + ? (e.consume(f), (o = 0), s) + : (f === 43 || f === 45 || f === 46 || _t(f)) && o++ < 32 + ? (e.consume(f), l) + : ((o = 0), u(f)); + } + function s(f) { + return f === 62 + ? (e.exit("autolinkProtocol"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.exit("autolink"), + t) + : f === null || f === 32 || f === 60 || Ps(f) + ? n(f) + : (e.consume(f), s); + } + function u(f) { + return f === 64 ? (e.consume(f), c) : Xw(f) ? (e.consume(f), u) : n(f); + } + function c(f) { + return _t(f) ? d(f) : n(f); + } + function d(f) { + return f === 46 + ? (e.consume(f), (o = 0), c) + : f === 62 + ? ((e.exit("autolinkProtocol").type = "autolinkEmail"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.exit("autolink"), + t) + : h(f); + } + function h(f) { + if ((f === 45 || _t(f)) && o++ < 63) { + const m = f === 45 ? h : d; + return e.consume(f), m; + } + return n(f); + } +} +const ua = { + tokenize: dE, + partial: !0, }; -function EE(e, t, n) { +function dE(e, t, n) { return o; - function o(a) { - return Ne(a) ? Be(e, r, "linePrefix")(a) : r(a); + function o(i) { + return Oe(i) ? He(e, r, "linePrefix")(i) : r(i); } - function r(a) { - return a === null || pe(a) ? t(a) : n(a); + function r(i) { + return i === null || he(i) ? t(i) : n(i); } } -const s5 = { +const Kf = { name: "blockQuote", - tokenize: SE, + tokenize: fE, continuation: { - tokenize: kE + tokenize: pE, }, - exit: _E + exit: hE, }; -function SE(e, t, n) { +function fE(e, t, n) { const o = this; return r; - function r(i) { - if (i === 62) { + function r(a) { + if (a === 62) { const l = o.containerState; - return l.open || (e.enter("blockQuote", { - _container: !0 - }), l.open = !0), e.enter("blockQuotePrefix"), e.enter("blockQuoteMarker"), e.consume(i), e.exit("blockQuoteMarker"), a; + return ( + l.open || + (e.enter("blockQuote", { + _container: !0, + }), + (l.open = !0)), + e.enter("blockQuotePrefix"), + e.enter("blockQuoteMarker"), + e.consume(a), + e.exit("blockQuoteMarker"), + i + ); } - return n(i); + return n(a); } - function a(i) { - return Ne(i) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(i), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(i)); + function i(a) { + return Oe(a) + ? (e.enter("blockQuotePrefixWhitespace"), + e.consume(a), + e.exit("blockQuotePrefixWhitespace"), + e.exit("blockQuotePrefix"), + t) + : (e.exit("blockQuotePrefix"), t(a)); } } -function kE(e, t, n) { +function pE(e, t, n) { const o = this; return r; - function r(i) { - return Ne(i) ? Be( - e, - a, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(i) : a(i); + function r(a) { + return Oe(a) + ? He( + e, + i, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(a) + : i(a); } - function a(i) { - return e.attempt(s5, t, n)(i); + function i(a) { + return e.attempt(Kf, t, n)(a); } } -function _E(e) { +function hE(e) { e.exit("blockQuote"); } -const c5 = { +const Xf = { name: "characterEscape", - tokenize: AE + tokenize: gE, }; -function AE(e, t, n) { +function gE(e, t, n) { return o; - function o(a) { - return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(a), e.exit("escapeMarker"), r; + function o(i) { + return ( + e.enter("characterEscape"), + e.enter("escapeMarker"), + e.consume(i), + e.exit("escapeMarker"), + r + ); } - function r(a) { - return dE(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a); + function r(i) { + return Jw(i) + ? (e.enter("characterEscapeValue"), + e.consume(i), + e.exit("characterEscapeValue"), + e.exit("characterEscape"), + t) + : n(i); } } -const S0 = document.createElement("i"); -function p1(e) { +const m0 = document.createElement("i"); +function l1(e) { const t = "&" + e + ";"; - S0.innerHTML = t; - const n = S0.textContent; - return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n; + m0.innerHTML = t; + const n = m0.textContent; + return (n.charCodeAt(n.length - 1) === 59 && e !== "semi") || n === t + ? !1 + : n; } -const u5 = { +const Qf = { name: "characterReference", - tokenize: ME + tokenize: mE, }; -function ME(e, t, n) { +function mE(e, t, n) { const o = this; - let r = 0, a, i; + let r = 0, + i, + a; return l; function l(d) { - return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), s; + return ( + e.enter("characterReference"), + e.enter("characterReferenceMarker"), + e.consume(d), + e.exit("characterReferenceMarker"), + s + ); } function s(d) { - return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i = _t, c(d)); + return d === 35 + ? (e.enter("characterReferenceMarkerNumeric"), + e.consume(d), + e.exit("characterReferenceMarkerNumeric"), + u) + : (e.enter("characterReferenceValue"), (i = 31), (a = _t), c(d)); } function u(d) { - return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = uE, c) : (e.enter("characterReferenceValue"), a = 7, i = Us, c(d)); + return d === 88 || d === 120 + ? (e.enter("characterReferenceMarkerHexadecimal"), + e.consume(d), + e.exit("characterReferenceMarkerHexadecimal"), + e.enter("characterReferenceValue"), + (i = 6), + (a = Qw), + c) + : (e.enter("characterReferenceValue"), (i = 7), (a = Bs), c(d)); } function c(d) { if (d === 59 && r) { - const p = e.exit("characterReferenceValue"); - return i === _t && !p1(o.sliceSerialize(p)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); + const h = e.exit("characterReferenceValue"); + return a === _t && !l1(o.sliceSerialize(h)) + ? n(d) + : (e.enter("characterReferenceMarker"), + e.consume(d), + e.exit("characterReferenceMarker"), + e.exit("characterReference"), + t); } - return i(d) && r++ < a ? (e.consume(d), c) : n(d); + return a(d) && r++ < i ? (e.consume(d), c) : n(d); } } -const k0 = { - tokenize: OE, - partial: !0 -}, _0 = { - name: "codeFenced", - tokenize: TE, - concrete: !0 -}; -function TE(e, t, n) { - const o = this, r = { - tokenize: w, - partial: !0 +const b0 = { + tokenize: yE, + partial: !0, + }, + y0 = { + name: "codeFenced", + tokenize: bE, + concrete: !0, }; - let a = 0, i = 0, l; +function bE(e, t, n) { + const o = this, + r = { + tokenize: w, + partial: !0, + }; + let i = 0, + a = 0, + l; return s; - function s(E) { - return u(E); - } - function u(E) { - const M = o.events[o.events.length - 1]; - return a = M && M[1].type === "linePrefix" ? M[2].sliceSerialize(M[1], !0).length : 0, l = E, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(E); - } - function c(E) { - return E === l ? (i++, e.consume(E), c) : i < 3 ? n(E) : (e.exit("codeFencedFenceSequence"), Ne(E) ? Be(e, d, "whitespace")(E) : d(E)); - } - function d(E) { - return E === null || pe(E) ? (e.exit("codeFencedFence"), o.interrupt ? t(E) : e.check(k0, b, S)(E)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { - contentType: "string" - }), p(E)); - } - function p(E) { - return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(E)) : Ne(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Be(e, h, "whitespace")(E)) : E === 96 && E === l ? n(E) : (e.consume(E), p); + function s(S) { + return u(S); + } + function u(S) { + const _ = o.events[o.events.length - 1]; + return ( + (i = + _ && _[1].type === "linePrefix" + ? _[2].sliceSerialize(_[1], !0).length + : 0), + (l = S), + e.enter("codeFenced"), + e.enter("codeFencedFence"), + e.enter("codeFencedFenceSequence"), + c(S) + ); } - function h(E) { - return E === null || pe(E) ? d(E) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { - contentType: "string" - }), m(E)); + function c(S) { + return S === l + ? (a++, e.consume(S), c) + : a < 3 + ? n(S) + : (e.exit("codeFencedFenceSequence"), + Oe(S) ? He(e, d, "whitespace")(S) : d(S)); + } + function d(S) { + return S === null || he(S) + ? (e.exit("codeFencedFence"), o.interrupt ? t(S) : e.check(b0, b, E)(S)) + : (e.enter("codeFencedFenceInfo"), + e.enter("chunkString", { + contentType: "string", + }), + h(S)); + } + function h(S) { + return S === null || he(S) + ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) + : Oe(S) + ? (e.exit("chunkString"), + e.exit("codeFencedFenceInfo"), + He(e, f, "whitespace")(S)) + : S === 96 && S === l + ? n(S) + : (e.consume(S), h); + } + function f(S) { + return S === null || he(S) + ? d(S) + : (e.enter("codeFencedFenceMeta"), + e.enter("chunkString", { + contentType: "string", + }), + m(S)); } - function m(E) { - return E === null || pe(E) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(E)) : E === 96 && E === l ? n(E) : (e.consume(E), m); + function m(S) { + return S === null || he(S) + ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(S)) + : S === 96 && S === l + ? n(S) + : (e.consume(S), m); } - function b(E) { - return e.attempt(r, S, y)(E); + function b(S) { + return e.attempt(r, E, y)(S); } - function y(E) { - return e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), g; + function y(S) { + return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), g; } - function g(E) { - return a > 0 && Ne(E) ? Be( - e, - x, - "linePrefix", - a + 1 - )(E) : x(E); + function g(S) { + return i > 0 && Oe(S) ? He(e, x, "linePrefix", i + 1)(S) : x(S); } - function x(E) { - return E === null || pe(E) ? e.check(k0, b, S)(E) : (e.enter("codeFlowValue"), C(E)); + function x(S) { + return S === null || he(S) + ? e.check(b0, b, E)(S) + : (e.enter("codeFlowValue"), C(S)); } - function C(E) { - return E === null || pe(E) ? (e.exit("codeFlowValue"), x(E)) : (e.consume(E), C); + function C(S) { + return S === null || he(S) + ? (e.exit("codeFlowValue"), x(S)) + : (e.consume(S), C); } - function S(E) { - return e.exit("codeFenced"), t(E); + function E(S) { + return e.exit("codeFenced"), t(S); } - function w(E, M, _) { - let L = 0; - return R; - function R(N) { - return E.enter("lineEnding"), E.consume(N), E.exit("lineEnding"), j; + function w(S, _, A) { + let R = 0; + return L; + function L(N) { + return S.enter("lineEnding"), S.consume(N), S.exit("lineEnding"), j; } function j(N) { - return E.enter("codeFencedFence"), Ne(N) ? Be( - E, - P, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(N) : P(N); + return ( + S.enter("codeFencedFence"), + Oe(N) + ? He( + S, + P, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(N) + : P(N) + ); } function P(N) { - return N === l ? (E.enter("codeFencedFenceSequence"), V(N)) : _(N); + return N === l ? (S.enter("codeFencedFenceSequence"), V(N)) : A(N); } function V(N) { - return N === l ? (L++, E.consume(N), V) : L >= i ? (E.exit("codeFencedFenceSequence"), Ne(N) ? Be(E, k, "whitespace")(N) : k(N)) : _(N); + return N === l + ? (R++, S.consume(N), V) + : R >= a + ? (S.exit("codeFencedFenceSequence"), + Oe(N) ? He(S, k, "whitespace")(N) : k(N)) + : A(N); } function k(N) { - return N === null || pe(N) ? (E.exit("codeFencedFence"), M(N)) : _(N); + return N === null || he(N) ? (S.exit("codeFencedFence"), _(N)) : A(N); } } } -function OE(e, t, n) { +function yE(e, t, n) { const o = this; return r; - function r(i) { - return i === null ? n(i) : (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), a); + function r(a) { + return a === null + ? n(a) + : (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i); } - function a(i) { - return o.parser.lazy[o.now().line] ? n(i) : t(i); + function i(a) { + return o.parser.lazy[o.now().line] ? n(a) : t(a); } } -const Ql = { - name: "codeIndented", - tokenize: DE -}, NE = { - tokenize: LE, - partial: !0 -}; -function DE(e, t, n) { +const Yl = { + name: "codeIndented", + tokenize: vE, + }, + CE = { + tokenize: xE, + partial: !0, + }; +function vE(e, t, n) { const o = this; return r; function r(u) { - return e.enter("codeIndented"), Be(e, a, "linePrefix", 5)(u); + return e.enter("codeIndented"), He(e, i, "linePrefix", 5)(u); } - function a(u) { + function i(u) { const c = o.events[o.events.length - 1]; - return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? i(u) : n(u); + return c && + c[1].type === "linePrefix" && + c[2].sliceSerialize(c[1], !0).length >= 4 + ? a(u) + : n(u); } - function i(u) { - return u === null ? s(u) : pe(u) ? e.attempt(NE, i, s)(u) : (e.enter("codeFlowValue"), l(u)); + function a(u) { + return u === null + ? s(u) + : he(u) + ? e.attempt(CE, a, s)(u) + : (e.enter("codeFlowValue"), l(u)); } function l(u) { - return u === null || pe(u) ? (e.exit("codeFlowValue"), i(u)) : (e.consume(u), l); + return u === null || he(u) + ? (e.exit("codeFlowValue"), a(u)) + : (e.consume(u), l); } function s(u) { return e.exit("codeIndented"), t(u); } } -function LE(e, t, n) { +function xE(e, t, n) { const o = this; return r; - function r(i) { - return o.parser.lazy[o.now().line] ? n(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : Be(e, a, "linePrefix", 5)(i); + function r(a) { + return o.parser.lazy[o.now().line] + ? n(a) + : he(a) + ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), r) + : He(e, i, "linePrefix", 5)(a); } - function a(i) { + function i(a) { const l = o.events[o.events.length - 1]; - return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : pe(i) ? r(i) : n(i); + return l && + l[1].type === "linePrefix" && + l[2].sliceSerialize(l[1], !0).length >= 4 + ? t(a) + : he(a) + ? r(a) + : n(a); } } -const jE = { +const wE = { name: "codeText", - tokenize: IE, - resolve: FE, - previous: RE + tokenize: kE, + resolve: EE, + previous: SE, }; -function FE(e) { - let t = e.length - 4, n = 3, o, r; - if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { +function EE(e) { + let t = e.length - 4, + n = 3, + o, + r; + if ( + (e[n][1].type === "lineEnding" || e[n][1].type === "space") && + (e[t][1].type === "lineEnding" || e[t][1].type === "space") + ) { for (o = n; ++o < t; ) if (e[o][1].type === "codeTextData") { - e[n][1].type = "codeTextPadding", e[t][1].type = "codeTextPadding", n += 2, t -= 2; + (e[n][1].type = "codeTextPadding"), + (e[t][1].type = "codeTextPadding"), + (n += 2), + (t -= 2); break; } } for (o = n - 1, t++; ++o <= t; ) - r === void 0 ? o !== t && e[o][1].type !== "lineEnding" && (r = o) : (o === t || e[o][1].type === "lineEnding") && (e[r][1].type = "codeTextData", o !== r + 2 && (e[r][1].end = e[o - 1][1].end, e.splice(r + 2, o - r - 2), t -= o - r - 2, o = r + 2), r = void 0); + r === void 0 + ? o !== t && e[o][1].type !== "lineEnding" && (r = o) + : (o === t || e[o][1].type === "lineEnding") && + ((e[r][1].type = "codeTextData"), + o !== r + 2 && + ((e[r][1].end = e[o - 1][1].end), + e.splice(r + 2, o - r - 2), + (t -= o - r - 2), + (o = r + 2)), + (r = void 0)); return e; } -function RE(e) { - return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; +function SE(e) { + return ( + e !== 96 || + this.events[this.events.length - 1][1].type === "characterEscape" + ); } -function IE(e, t, n) { - let o = 0, r, a; - return i; - function i(d) { +function kE(e, t, n) { + let o = 0, + r, + i; + return a; + function a(d) { return e.enter("codeText"), e.enter("codeTextSequence"), l(d); } function l(d) { - return d === 96 ? (e.consume(d), o++, l) : (e.exit("codeTextSequence"), s(d)); + return d === 96 + ? (e.consume(d), o++, l) + : (e.exit("codeTextSequence"), s(d)); } function s(d) { - return d === null ? n(d) : d === 32 ? (e.enter("space"), e.consume(d), e.exit("space"), s) : d === 96 ? (a = e.enter("codeTextSequence"), r = 0, c(d)) : pe(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), s) : (e.enter("codeTextData"), u(d)); + return d === null + ? n(d) + : d === 32 + ? (e.enter("space"), e.consume(d), e.exit("space"), s) + : d === 96 + ? ((i = e.enter("codeTextSequence")), (r = 0), c(d)) + : he(d) + ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), s) + : (e.enter("codeTextData"), u(d)); } function u(d) { - return d === null || d === 32 || d === 96 || pe(d) ? (e.exit("codeTextData"), s(d)) : (e.consume(d), u); + return d === null || d === 32 || d === 96 || he(d) + ? (e.exit("codeTextData"), s(d)) + : (e.consume(d), u); } function c(d) { - return d === 96 ? (e.consume(d), r++, c) : r === o ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (a.type = "codeTextData", u(d)); + return d === 96 + ? (e.consume(d), r++, c) + : r === o + ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) + : ((i.type = "codeTextData"), u(d)); } } -function d5(e) { +function Jf(e) { const t = {}; - let n = -1, o, r, a, i, l, s, u; + let n = -1, + o, + r, + i, + a, + l, + s, + u; for (; ++n < e.length; ) { - for (; n in t; ) - n = t[n]; - if (o = e[n], n && o[1].type === "chunkFlow" && e[n - 1][1].type === "listItemPrefix" && (s = o[1]._tokenizer.events, a = 0, a < s.length && s[a][1].type === "lineEndingBlank" && (a += 2), a < s.length && s[a][1].type === "content")) - for (; ++a < s.length && s[a][1].type !== "content"; ) - s[a][1].type === "chunkText" && (s[a][1]._isInFirstContentOfListItem = !0, a++); + for (; n in t; ) n = t[n]; + if ( + ((o = e[n]), + n && + o[1].type === "chunkFlow" && + e[n - 1][1].type === "listItemPrefix" && + ((s = o[1]._tokenizer.events), + (i = 0), + i < s.length && s[i][1].type === "lineEndingBlank" && (i += 2), + i < s.length && s[i][1].type === "content")) + ) + for (; ++i < s.length && s[i][1].type !== "content"; ) + s[i][1].type === "chunkText" && + ((s[i][1]._isInFirstContentOfListItem = !0), i++); if (o[0] === "enter") - o[1].contentType && (Object.assign(t, zE(e, n)), n = t[n], u = !0); + o[1].contentType && (Object.assign(t, _E(e, n)), (n = t[n]), (u = !0)); else if (o[1]._container) { - for (a = n, r = void 0; a-- && (i = e[a], i[1].type === "lineEnding" || i[1].type === "lineEndingBlank"); ) - i[0] === "enter" && (r && (e[r][1].type = "lineEndingBlank"), i[1].type = "lineEnding", r = a); - r && (o[1].end = Object.assign({}, e[r][1].start), l = e.slice(r, n), l.unshift(o), un(e, r, n - r + 1, l)); + for ( + i = n, r = void 0; + i-- && + ((a = e[i]), + a[1].type === "lineEnding" || a[1].type === "lineEndingBlank"); + + ) + a[0] === "enter" && + (r && (e[r][1].type = "lineEndingBlank"), + (a[1].type = "lineEnding"), + (r = i)); + r && + ((o[1].end = Object.assign({}, e[r][1].start)), + (l = e.slice(r, n)), + l.unshift(o), + cn(e, r, n - r + 1, l)); } } return !u; } -function zE(e, t) { - const n = e[t][1], o = e[t][2]; +function _E(e, t) { + const n = e[t][1], + o = e[t][2]; let r = t - 1; - const a = [], i = n._tokenizer || o.parser[n.contentType](n.start), l = i.events, s = [], u = {}; - let c, d, p = -1, h = n, m = 0, b = 0; + const i = [], + a = n._tokenizer || o.parser[n.contentType](n.start), + l = a.events, + s = [], + u = {}; + let c, + d, + h = -1, + f = n, + m = 0, + b = 0; const y = [b]; - for (; h; ) { - for (; e[++r][1] !== h; ) - ; - a.push(r), h._tokenizer || (c = o.sliceStream(h), h.next || c.push(null), d && i.defineSkip(h.start), h._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = !0), i.write(c), h._isInFirstContentOfListItem && (i._gfmTasklistFirstContentOfListItem = void 0)), d = h, h = h.next; - } - for (h = n; ++p < l.length; ) + for (; f; ) { + for (; e[++r][1] !== f; ); + i.push(r), + f._tokenizer || + ((c = o.sliceStream(f)), + f.next || c.push(null), + d && a.defineSkip(f.start), + f._isInFirstContentOfListItem && + (a._gfmTasklistFirstContentOfListItem = !0), + a.write(c), + f._isInFirstContentOfListItem && + (a._gfmTasklistFirstContentOfListItem = void 0)), + (d = f), + (f = f.next); + } + for (f = n; ++h < l.length; ) // Find a void token that includes a break. - l[p][0] === "exit" && l[p - 1][0] === "enter" && l[p][1].type === l[p - 1][1].type && l[p][1].start.line !== l[p][1].end.line && (b = p + 1, y.push(b), h._tokenizer = void 0, h.previous = void 0, h = h.next); - for (i.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : y.pop(), p = y.length; p--; ) { - const g = l.slice(y[p], y[p + 1]), x = a.pop(); - s.unshift([x, x + g.length - 1]), un(e, x, 2, g); + l[h][0] === "exit" && + l[h - 1][0] === "enter" && + l[h][1].type === l[h - 1][1].type && + l[h][1].start.line !== l[h][1].end.line && + ((b = h + 1), + y.push(b), + (f._tokenizer = void 0), + (f.previous = void 0), + (f = f.next)); + for ( + a.events = [], + f ? ((f._tokenizer = void 0), (f.previous = void 0)) : y.pop(), + h = y.length; + h--; + + ) { + const g = l.slice(y[h], y[h + 1]), + x = i.pop(); + s.unshift([x, x + g.length - 1]), cn(e, x, 2, g); } - for (p = -1; ++p < s.length; ) - u[m + s[p][0]] = m + s[p][1], m += s[p][1] - s[p][0] - 1; + for (h = -1; ++h < s.length; ) + (u[m + s[h][0]] = m + s[h][1]), (m += s[h][1] - s[h][0] - 1); return u; } -const HE = { - tokenize: VE, - resolve: BE -}, PE = { - tokenize: $E, - partial: !0 -}; -function BE(e) { - return d5(e), e; +const AE = { + tokenize: OE, + resolve: TE, + }, + ME = { + tokenize: NE, + partial: !0, + }; +function TE(e) { + return Jf(e), e; } -function VE(e, t) { +function OE(e, t) { let n; return o; function o(l) { - return e.enter("content"), n = e.enter("chunkContent", { - contentType: "content" - }), r(l); + return ( + e.enter("content"), + (n = e.enter("chunkContent", { + contentType: "content", + })), + r(l) + ); } function r(l) { - return l === null ? a(l) : pe(l) ? e.check( - PE, - i, - a - )(l) : (e.consume(l), r); + return l === null ? i(l) : he(l) ? e.check(ME, a, i)(l) : (e.consume(l), r); } - function a(l) { + function i(l) { return e.exit("chunkContent"), e.exit("content"), t(l); } - function i(l) { - return e.consume(l), e.exit("chunkContent"), n.next = e.enter("chunkContent", { - contentType: "content", - previous: n - }), n = n.next, r; + function a(l) { + return ( + e.consume(l), + e.exit("chunkContent"), + (n.next = e.enter("chunkContent", { + contentType: "content", + previous: n, + })), + (n = n.next), + r + ); } } -function $E(e, t, n) { +function NE(e, t, n) { const o = this; return r; - function r(i) { - return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), Be(e, a, "linePrefix"); + function r(a) { + return ( + e.exit("chunkContent"), + e.enter("lineEnding"), + e.consume(a), + e.exit("lineEnding"), + He(e, i, "linePrefix") + ); } - function a(i) { - if (i === null || pe(i)) - return n(i); + function i(a) { + if (a === null || he(a)) return n(a); const l = o.events[o.events.length - 1]; - return !o.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(i) : e.interrupt(o.parser.constructs.flow, n, t)(i); + return !o.parser.constructs.disable.null.includes("codeIndented") && + l && + l[1].type === "linePrefix" && + l[2].sliceSerialize(l[1], !0).length >= 4 + ? t(a) + : e.interrupt(o.parser.constructs.flow, n, t)(a); } } -function f5(e, t, n, o, r, a, i, l, s) { +function e5(e, t, n, o, r, i, a, l, s) { const u = s || Number.POSITIVE_INFINITY; let c = 0; return d; function d(g) { - return g === 60 ? (e.enter(o), e.enter(r), e.enter(a), e.consume(g), e.exit(a), p) : g === null || g === 32 || g === 41 || Zs(g) ? n(g) : (e.enter(o), e.enter(i), e.enter(l), e.enter("chunkString", { - contentType: "string" - }), b(g)); - } - function p(g) { - return g === 62 ? (e.enter(a), e.consume(g), e.exit(a), e.exit(r), e.exit(o), t) : (e.enter(l), e.enter("chunkString", { - contentType: "string" - }), h(g)); + return g === 60 + ? (e.enter(o), e.enter(r), e.enter(i), e.consume(g), e.exit(i), h) + : g === null || g === 32 || g === 41 || Ps(g) + ? n(g) + : (e.enter(o), + e.enter(a), + e.enter(l), + e.enter("chunkString", { + contentType: "string", + }), + b(g)); } function h(g) { - return g === 62 ? (e.exit("chunkString"), e.exit(l), p(g)) : g === null || g === 60 || pe(g) ? n(g) : (e.consume(g), g === 92 ? m : h); + return g === 62 + ? (e.enter(i), e.consume(g), e.exit(i), e.exit(r), e.exit(o), t) + : (e.enter(l), + e.enter("chunkString", { + contentType: "string", + }), + f(g)); + } + function f(g) { + return g === 62 + ? (e.exit("chunkString"), e.exit(l), h(g)) + : g === null || g === 60 || he(g) + ? n(g) + : (e.consume(g), g === 92 ? m : f); } function m(g) { - return g === 60 || g === 62 || g === 92 ? (e.consume(g), h) : h(g); + return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g); } function b(g) { - return !c && (g === null || g === 41 || wt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(i), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Zs(g) ? n(g) : (e.consume(g), g === 92 ? y : b); + return !c && (g === null || g === 41 || wt(g)) + ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(o), t(g)) + : c < u && g === 40 + ? (e.consume(g), c++, b) + : g === 41 + ? (e.consume(g), c--, b) + : g === null || g === 32 || g === 40 || Ps(g) + ? n(g) + : (e.consume(g), g === 92 ? y : b); } function y(g) { return g === 40 || g === 41 || g === 92 ? (e.consume(g), b) : b(g); } } -function h5(e, t, n, o, r, a) { - const i = this; - let l = 0, s; +function t5(e, t, n, o, r, i) { + const a = this; + let l = 0, + s; return u; - function u(h) { - return e.enter(o), e.enter(r), e.consume(h), e.exit(r), e.enter(a), c; - } - function c(h) { - return l > 999 || h === null || h === 91 || h === 93 && !s || // To do: remove in the future once we’ve switched from - // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, - // which doesn’t need this. - // Hidden footnotes hook. - /* c8 ignore next 3 */ - h === 94 && !l && "_hiddenFootnoteSupport" in i.parser.constructs ? n(h) : h === 93 ? (e.exit(a), e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) : pe(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), c) : (e.enter("chunkString", { - contentType: "string" - }), d(h)); + function u(f) { + return e.enter(o), e.enter(r), e.consume(f), e.exit(r), e.enter(i), c; + } + function c(f) { + return l > 999 || + f === null || + f === 91 || + (f === 93 && !s) || // To do: remove in the future once we’ve switched from + // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, + // which doesn’t need this. + // Hidden footnotes hook. + /* c8 ignore next 3 */ + (f === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs) + ? n(f) + : f === 93 + ? (e.exit(i), e.enter(r), e.consume(f), e.exit(r), e.exit(o), t) + : he(f) + ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), c) + : (e.enter("chunkString", { + contentType: "string", + }), + d(f)); } - function d(h) { - return h === null || h === 91 || h === 93 || pe(h) || l++ > 999 ? (e.exit("chunkString"), c(h)) : (e.consume(h), s || (s = !Ne(h)), h === 92 ? p : d); + function d(f) { + return f === null || f === 91 || f === 93 || he(f) || l++ > 999 + ? (e.exit("chunkString"), c(f)) + : (e.consume(f), s || (s = !Oe(f)), f === 92 ? h : d); } - function p(h) { - return h === 91 || h === 92 || h === 93 ? (e.consume(h), l++, d) : d(h); + function h(f) { + return f === 91 || f === 92 || f === 93 ? (e.consume(f), l++, d) : d(f); } } -function p5(e, t, n, o, r, a) { - let i; +function n5(e, t, n, o, r, i) { + let a; return l; - function l(p) { - return p === 34 || p === 39 || p === 40 ? (e.enter(o), e.enter(r), e.consume(p), e.exit(r), i = p === 40 ? 41 : p, s) : n(p); + function l(h) { + return h === 34 || h === 39 || h === 40 + ? (e.enter(o), + e.enter(r), + e.consume(h), + e.exit(r), + (a = h === 40 ? 41 : h), + s) + : n(h); } - function s(p) { - return p === i ? (e.enter(r), e.consume(p), e.exit(r), e.exit(o), t) : (e.enter(a), u(p)); + function s(h) { + return h === a + ? (e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) + : (e.enter(i), u(h)); } - function u(p) { - return p === i ? (e.exit(a), s(i)) : p === null ? n(p) : pe(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Be(e, u, "linePrefix")) : (e.enter("chunkString", { - contentType: "string" - }), c(p)); + function u(h) { + return h === a + ? (e.exit(i), s(a)) + : h === null + ? n(h) + : he(h) + ? (e.enter("lineEnding"), + e.consume(h), + e.exit("lineEnding"), + He(e, u, "linePrefix")) + : (e.enter("chunkString", { + contentType: "string", + }), + c(h)); } - function c(p) { - return p === i || p === null || pe(p) ? (e.exit("chunkString"), u(p)) : (e.consume(p), p === 92 ? d : c); + function c(h) { + return h === a || h === null || he(h) + ? (e.exit("chunkString"), u(h)) + : (e.consume(h), h === 92 ? d : c); } - function d(p) { - return p === i || p === 92 ? (e.consume(p), c) : c(p); + function d(h) { + return h === a || h === 92 ? (e.consume(h), c) : c(h); } } -function ir(e, t) { +function or(e, t) { let n; return o; function o(r) { - return pe(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Ne(r) ? Be( - e, - o, - n ? "linePrefix" : "lineSuffix" - )(r) : t(r); - } -} -function Eo(e) { - return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); -} -const WE = { - name: "definition", - tokenize: UE -}, ZE = { - tokenize: qE, - partial: !0 -}; -function UE(e, t, n) { + return he(r) + ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), (n = !0), o) + : Oe(r) + ? He(e, o, n ? "linePrefix" : "lineSuffix")(r) + : t(r); + } +} +function Co(e) { + return e + .replace(/[\t\n\r ]+/g, " ") + .replace(/^ | $/g, "") + .toLowerCase() + .toUpperCase(); +} +const DE = { + name: "definition", + tokenize: FE, + }, + LE = { + tokenize: RE, + partial: !0, + }; +function FE(e, t, n) { const o = this; let r; - return a; - function a(h) { - return e.enter("definition"), i(h); + return i; + function i(f) { + return e.enter("definition"), a(f); } - function i(h) { - return h5.call( + function a(f) { + return t5.call( o, e, l, @@ -27373,19 +39166,25 @@ function UE(e, t, n) { n, "definitionLabel", "definitionLabelMarker", - "definitionLabelString" - )(h); - } - function l(h) { - return r = Eo( - o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) - ), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), s) : n(h); + "definitionLabelString", + )(f); + } + function l(f) { + return ( + (r = Co(o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1))), + f === 58 + ? (e.enter("definitionMarker"), + e.consume(f), + e.exit("definitionMarker"), + s) + : n(f) + ); } - function s(h) { - return wt(h) ? ir(e, u)(h) : u(h); + function s(f) { + return wt(f) ? or(e, u)(f) : u(f); } - function u(h) { - return f5( + function u(f) { + return e5( e, c, // Note: we don’t need to reset the way `markdown-rs` does. @@ -27394,343 +39193,486 @@ function UE(e, t, n) { "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", - "definitionDestinationString" - )(h); + "definitionDestinationString", + )(f); } - function c(h) { - return e.attempt(ZE, d, d)(h); + function c(f) { + return e.attempt(LE, d, d)(f); } - function d(h) { - return Ne(h) ? Be(e, p, "whitespace")(h) : p(h); + function d(f) { + return Oe(f) ? He(e, h, "whitespace")(f) : h(f); } - function p(h) { - return h === null || pe(h) ? (e.exit("definition"), o.parser.defined.push(r), t(h)) : n(h); + function h(f) { + return f === null || he(f) + ? (e.exit("definition"), o.parser.defined.push(r), t(f)) + : n(f); } } -function qE(e, t, n) { +function RE(e, t, n) { return o; function o(l) { - return wt(l) ? ir(e, r)(l) : n(l); + return wt(l) ? or(e, r)(l) : n(l); } function r(l) { - return p5( + return n5( e, - a, + i, n, "definitionTitle", "definitionTitleMarker", - "definitionTitleString" + "definitionTitleString", )(l); } - function a(l) { - return Ne(l) ? Be(e, i, "whitespace")(l) : i(l); - } function i(l) { - return l === null || pe(l) ? t(l) : n(l); + return Oe(l) ? He(e, a, "whitespace")(l) : a(l); + } + function a(l) { + return l === null || he(l) ? t(l) : n(l); } } -const YE = { +const jE = { name: "hardBreakEscape", - tokenize: GE + tokenize: IE, }; -function GE(e, t, n) { +function IE(e, t, n) { return o; - function o(a) { - return e.enter("hardBreakEscape"), e.consume(a), r; + function o(i) { + return e.enter("hardBreakEscape"), e.consume(i), r; } - function r(a) { - return pe(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a); + function r(i) { + return he(i) ? (e.exit("hardBreakEscape"), t(i)) : n(i); } } -const KE = { +const zE = { name: "headingAtx", - tokenize: QE, - resolve: XE + tokenize: PE, + resolve: HE, }; -function XE(e, t) { - let n = e.length - 2, o = 3, r, a; - return e[o][1].type === "whitespace" && (o += 2), n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (o === n - 1 || n - 4 > o && e[n - 2][1].type === "whitespace") && (n -= o + 1 === n ? 2 : 4), n > o && (r = { - type: "atxHeadingText", - start: e[o][1].start, - end: e[n][1].end - }, a = { - type: "chunkText", - start: e[o][1].start, - end: e[n][1].end, - contentType: "text" - }, un(e, o, n - o + 1, [ - ["enter", r, t], - ["enter", a, t], - ["exit", a, t], - ["exit", r, t] - ])), e; -} -function QE(e, t, n) { +function HE(e, t) { + let n = e.length - 2, + o = 3, + r, + i; + return ( + e[o][1].type === "whitespace" && (o += 2), + n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), + e[n][1].type === "atxHeadingSequence" && + (o === n - 1 || (n - 4 > o && e[n - 2][1].type === "whitespace")) && + (n -= o + 1 === n ? 2 : 4), + n > o && + ((r = { + type: "atxHeadingText", + start: e[o][1].start, + end: e[n][1].end, + }), + (i = { + type: "chunkText", + start: e[o][1].start, + end: e[n][1].end, + contentType: "text", + }), + cn(e, o, n - o + 1, [ + ["enter", r, t], + ["enter", i, t], + ["exit", i, t], + ["exit", r, t], + ])), + e + ); +} +function PE(e, t, n) { let o = 0; return r; function r(c) { - return e.enter("atxHeading"), a(c); - } - function a(c) { - return e.enter("atxHeadingSequence"), i(c); + return e.enter("atxHeading"), i(c); } function i(c) { - return c === 35 && o++ < 6 ? (e.consume(c), i) : c === null || wt(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c); + return e.enter("atxHeadingSequence"), a(c); + } + function a(c) { + return c === 35 && o++ < 6 + ? (e.consume(c), a) + : c === null || wt(c) + ? (e.exit("atxHeadingSequence"), l(c)) + : n(c); } function l(c) { - return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : Ne(c) ? Be(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); + return c === 35 + ? (e.enter("atxHeadingSequence"), s(c)) + : c === null || he(c) + ? (e.exit("atxHeading"), t(c)) + : Oe(c) + ? He(e, l, "whitespace")(c) + : (e.enter("atxHeadingText"), u(c)); } function s(c) { return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c)); } function u(c) { - return c === null || c === 35 || wt(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u); - } -} -const JE = [ - "address", - "article", - "aside", - "base", - "basefont", - "blockquote", - "body", - "caption", - "center", - "col", - "colgroup", - "dd", - "details", - "dialog", - "dir", - "div", - "dl", - "dt", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "frame", - "frameset", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hr", - "html", - "iframe", - "legend", - "li", - "link", - "main", - "menu", - "menuitem", - "nav", - "noframes", - "ol", - "optgroup", - "option", - "p", - "param", - "search", - "section", - "summary", - "table", - "tbody", - "td", - "tfoot", - "th", - "thead", - "title", - "tr", - "track", - "ul" -], A0 = ["pre", "script", "style", "textarea"], eS = { - name: "htmlFlow", - tokenize: rS, - resolveTo: oS, - concrete: !0 -}, tS = { - tokenize: iS, - partial: !0 -}, nS = { - tokenize: aS, - partial: !0 -}; -function oS(e) { + return c === null || c === 35 || wt(c) + ? (e.exit("atxHeadingText"), l(c)) + : (e.consume(c), u); + } +} +const BE = [ + "address", + "article", + "aside", + "base", + "basefont", + "blockquote", + "body", + "caption", + "center", + "col", + "colgroup", + "dd", + "details", + "dialog", + "dir", + "div", + "dl", + "dt", + "fieldset", + "figcaption", + "figure", + "footer", + "form", + "frame", + "frameset", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "head", + "header", + "hr", + "html", + "iframe", + "legend", + "li", + "link", + "main", + "menu", + "menuitem", + "nav", + "noframes", + "ol", + "optgroup", + "option", + "p", + "param", + "search", + "section", + "summary", + "table", + "tbody", + "td", + "tfoot", + "th", + "thead", + "title", + "tr", + "track", + "ul", + ], + C0 = ["pre", "script", "style", "textarea"], + VE = { + name: "htmlFlow", + tokenize: UE, + resolveTo: ZE, + concrete: !0, + }, + $E = { + tokenize: YE, + partial: !0, + }, + WE = { + tokenize: qE, + partial: !0, + }; +function ZE(e) { let t = e.length; - for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) - ; - return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; + for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ); + return ( + t > 1 && + e[t - 2][1].type === "linePrefix" && + ((e[t][1].start = e[t - 2][1].start), + (e[t + 1][1].start = e[t - 2][1].start), + e.splice(t - 2, 2)), + e + ); } -function rS(e, t, n) { +function UE(e, t, n) { const o = this; - let r, a, i, l, s; + let r, i, a, l, s; return u; - function u(A) { - return c(A); - } - function c(A) { - return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(A), d; - } - function d(A) { - return A === 33 ? (e.consume(A), p) : A === 47 ? (e.consume(A), a = !0, b) : A === 63 ? (e.consume(A), r = 3, o.interrupt ? t : v) : sn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); - } - function p(A) { - return A === 45 ? (e.consume(A), r = 2, h) : A === 91 ? (e.consume(A), r = 5, l = 0, m) : sn(A) ? (e.consume(A), r = 4, o.interrupt ? t : v) : n(A); - } - function h(A) { - return A === 45 ? (e.consume(A), o.interrupt ? t : v) : n(A); - } - function m(A) { + function u(M) { + return c(M); + } + function c(M) { + return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(M), d; + } + function d(M) { + return M === 33 + ? (e.consume(M), h) + : M === 47 + ? (e.consume(M), (i = !0), b) + : M === 63 + ? (e.consume(M), (r = 3), o.interrupt ? t : v) + : an(M) + ? (e.consume(M), (a = String.fromCharCode(M)), y) + : n(M); + } + function h(M) { + return M === 45 + ? (e.consume(M), (r = 2), f) + : M === 91 + ? (e.consume(M), (r = 5), (l = 0), m) + : an(M) + ? (e.consume(M), (r = 4), o.interrupt ? t : v) + : n(M); + } + function f(M) { + return M === 45 ? (e.consume(M), o.interrupt ? t : v) : n(M); + } + function m(M) { const W = "CDATA["; - return A === W.charCodeAt(l++) ? (e.consume(A), l === W.length ? o.interrupt ? t : P : m) : n(A); - } - function b(A) { - return sn(A) ? (e.consume(A), i = String.fromCharCode(A), y) : n(A); - } - function y(A) { - if (A === null || A === 47 || A === 62 || wt(A)) { - const W = A === 47, Y = i.toLowerCase(); - return !W && !a && A0.includes(Y) ? (r = 1, o.interrupt ? t(A) : P(A)) : JE.includes(i.toLowerCase()) ? (r = 6, W ? (e.consume(A), g) : o.interrupt ? t(A) : P(A)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(A) : a ? x(A) : C(A)); - } - return A === 45 || _t(A) ? (e.consume(A), i += String.fromCharCode(A), y) : n(A); - } - function g(A) { - return A === 62 ? (e.consume(A), o.interrupt ? t : P) : n(A); - } - function x(A) { - return Ne(A) ? (e.consume(A), x) : R(A); - } - function C(A) { - return A === 47 ? (e.consume(A), R) : A === 58 || A === 95 || sn(A) ? (e.consume(A), S) : Ne(A) ? (e.consume(A), C) : R(A); - } - function S(A) { - return A === 45 || A === 46 || A === 58 || A === 95 || _t(A) ? (e.consume(A), S) : w(A); - } - function w(A) { - return A === 61 ? (e.consume(A), E) : Ne(A) ? (e.consume(A), w) : C(A); - } - function E(A) { - return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), s = A, M) : Ne(A) ? (e.consume(A), E) : _(A); - } - function M(A) { - return A === s ? (e.consume(A), s = null, L) : A === null || pe(A) ? n(A) : (e.consume(A), M); - } - function _(A) { - return A === null || A === 34 || A === 39 || A === 47 || A === 60 || A === 61 || A === 62 || A === 96 || wt(A) ? w(A) : (e.consume(A), _); - } - function L(A) { - return A === 47 || A === 62 || Ne(A) ? C(A) : n(A); - } - function R(A) { - return A === 62 ? (e.consume(A), j) : n(A); - } - function j(A) { - return A === null || pe(A) ? P(A) : Ne(A) ? (e.consume(A), j) : n(A); - } - function P(A) { - return A === 45 && r === 2 ? (e.consume(A), T) : A === 60 && r === 1 ? (e.consume(A), D) : A === 62 && r === 4 ? (e.consume(A), z) : A === 63 && r === 3 ? (e.consume(A), v) : A === 93 && r === 5 ? (e.consume(A), F) : pe(A) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( - tS, - B, - V - )(A)) : A === null || pe(A) ? (e.exit("htmlFlowData"), V(A)) : (e.consume(A), P); - } - function V(A) { - return e.check( - nS, - k, - B - )(A); - } - function k(A) { - return e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), N; - } - function N(A) { - return A === null || pe(A) ? V(A) : (e.enter("htmlFlowData"), P(A)); - } - function T(A) { - return A === 45 ? (e.consume(A), v) : P(A); - } - function D(A) { - return A === 47 ? (e.consume(A), i = "", I) : P(A); - } - function I(A) { - if (A === 62) { - const W = i.toLowerCase(); - return A0.includes(W) ? (e.consume(A), z) : P(A); - } - return sn(A) && i.length < 8 ? (e.consume(A), i += String.fromCharCode(A), I) : P(A); - } - function F(A) { - return A === 93 ? (e.consume(A), v) : P(A); - } - function v(A) { - return A === 62 ? (e.consume(A), z) : A === 45 && r === 2 ? (e.consume(A), v) : P(A); - } - function z(A) { - return A === null || pe(A) ? (e.exit("htmlFlowData"), B(A)) : (e.consume(A), z); - } - function B(A) { - return e.exit("htmlFlow"), t(A); + return M === W.charCodeAt(l++) + ? (e.consume(M), l === W.length ? (o.interrupt ? t : P) : m) + : n(M); + } + function b(M) { + return an(M) ? (e.consume(M), (a = String.fromCharCode(M)), y) : n(M); + } + function y(M) { + if (M === null || M === 47 || M === 62 || wt(M)) { + const W = M === 47, + G = a.toLowerCase(); + return !W && !i && C0.includes(G) + ? ((r = 1), o.interrupt ? t(M) : P(M)) + : BE.includes(a.toLowerCase()) + ? ((r = 6), W ? (e.consume(M), g) : o.interrupt ? t(M) : P(M)) + : ((r = 7), + o.interrupt && !o.parser.lazy[o.now().line] + ? n(M) + : i + ? x(M) + : C(M)); + } + return M === 45 || _t(M) + ? (e.consume(M), (a += String.fromCharCode(M)), y) + : n(M); + } + function g(M) { + return M === 62 ? (e.consume(M), o.interrupt ? t : P) : n(M); + } + function x(M) { + return Oe(M) ? (e.consume(M), x) : L(M); + } + function C(M) { + return M === 47 + ? (e.consume(M), L) + : M === 58 || M === 95 || an(M) + ? (e.consume(M), E) + : Oe(M) + ? (e.consume(M), C) + : L(M); + } + function E(M) { + return M === 45 || M === 46 || M === 58 || M === 95 || _t(M) + ? (e.consume(M), E) + : w(M); + } + function w(M) { + return M === 61 ? (e.consume(M), S) : Oe(M) ? (e.consume(M), w) : C(M); + } + function S(M) { + return M === null || M === 60 || M === 61 || M === 62 || M === 96 + ? n(M) + : M === 34 || M === 39 + ? (e.consume(M), (s = M), _) + : Oe(M) + ? (e.consume(M), S) + : A(M); + } + function _(M) { + return M === s + ? (e.consume(M), (s = null), R) + : M === null || he(M) + ? n(M) + : (e.consume(M), _); + } + function A(M) { + return M === null || + M === 34 || + M === 39 || + M === 47 || + M === 60 || + M === 61 || + M === 62 || + M === 96 || + wt(M) + ? w(M) + : (e.consume(M), A); + } + function R(M) { + return M === 47 || M === 62 || Oe(M) ? C(M) : n(M); + } + function L(M) { + return M === 62 ? (e.consume(M), j) : n(M); + } + function j(M) { + return M === null || he(M) ? P(M) : Oe(M) ? (e.consume(M), j) : n(M); + } + function P(M) { + return M === 45 && r === 2 + ? (e.consume(M), T) + : M === 60 && r === 1 + ? (e.consume(M), F) + : M === 62 && r === 4 + ? (e.consume(M), z) + : M === 63 && r === 3 + ? (e.consume(M), v) + : M === 93 && r === 5 + ? (e.consume(M), D) + : he(M) && (r === 6 || r === 7) + ? (e.exit("htmlFlowData"), e.check($E, B, V)(M)) + : M === null || he(M) + ? (e.exit("htmlFlowData"), V(M)) + : (e.consume(M), P); + } + function V(M) { + return e.check(WE, k, B)(M); + } + function k(M) { + return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), N; + } + function N(M) { + return M === null || he(M) ? V(M) : (e.enter("htmlFlowData"), P(M)); + } + function T(M) { + return M === 45 ? (e.consume(M), v) : P(M); + } + function F(M) { + return M === 47 ? (e.consume(M), (a = ""), I) : P(M); + } + function I(M) { + if (M === 62) { + const W = a.toLowerCase(); + return C0.includes(W) ? (e.consume(M), z) : P(M); + } + return an(M) && a.length < 8 + ? (e.consume(M), (a += String.fromCharCode(M)), I) + : P(M); + } + function D(M) { + return M === 93 ? (e.consume(M), v) : P(M); + } + function v(M) { + return M === 62 + ? (e.consume(M), z) + : M === 45 && r === 2 + ? (e.consume(M), v) + : P(M); + } + function z(M) { + return M === null || he(M) + ? (e.exit("htmlFlowData"), B(M)) + : (e.consume(M), z); + } + function B(M) { + return e.exit("htmlFlow"), t(M); } } -function aS(e, t, n) { +function qE(e, t, n) { const o = this; return r; - function r(i) { - return pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), a) : n(i); + function r(a) { + return he(a) + ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) + : n(a); } - function a(i) { - return o.parser.lazy[o.now().line] ? n(i) : t(i); + function i(a) { + return o.parser.lazy[o.now().line] ? n(a) : t(a); } } -function iS(e, t, n) { +function YE(e, t, n) { return o; function o(r) { - return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(gi, t, n); + return ( + e.enter("lineEnding"), + e.consume(r), + e.exit("lineEnding"), + e.attempt(ua, t, n) + ); } } -const lS = { +const GE = { name: "htmlText", - tokenize: sS + tokenize: KE, }; -function sS(e, t, n) { +function KE(e, t, n) { const o = this; - let r, a, i; + let r, i, a; return l; function l(v) { return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(v), s; } function s(v) { - return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), w) : v === 63 ? (e.consume(v), C) : sn(v) ? (e.consume(v), _) : n(v); + return v === 33 + ? (e.consume(v), u) + : v === 47 + ? (e.consume(v), w) + : v === 63 + ? (e.consume(v), C) + : an(v) + ? (e.consume(v), A) + : n(v); } function u(v) { - return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), a = 0, m) : sn(v) ? (e.consume(v), x) : n(v); + return v === 45 + ? (e.consume(v), c) + : v === 91 + ? (e.consume(v), (i = 0), m) + : an(v) + ? (e.consume(v), x) + : n(v); } function c(v) { - return v === 45 ? (e.consume(v), h) : n(v); + return v === 45 ? (e.consume(v), f) : n(v); } function d(v) { - return v === null ? n(v) : v === 45 ? (e.consume(v), p) : pe(v) ? (i = d, D(v)) : (e.consume(v), d); - } - function p(v) { - return v === 45 ? (e.consume(v), h) : d(v); + return v === null + ? n(v) + : v === 45 + ? (e.consume(v), h) + : he(v) + ? ((a = d), F(v)) + : (e.consume(v), d); } function h(v) { - return v === 62 ? T(v) : v === 45 ? p(v) : d(v); + return v === 45 ? (e.consume(v), f) : d(v); + } + function f(v) { + return v === 62 ? T(v) : v === 45 ? h(v) : d(v); } function m(v) { const z = "CDATA["; - return v === z.charCodeAt(a++) ? (e.consume(v), a === z.length ? b : m) : n(v); + return v === z.charCodeAt(i++) + ? (e.consume(v), i === z.length ? b : m) + : n(v); } function b(v) { - return v === null ? n(v) : v === 93 ? (e.consume(v), y) : pe(v) ? (i = b, D(v)) : (e.consume(v), b); + return v === null + ? n(v) + : v === 93 + ? (e.consume(v), y) + : he(v) + ? ((a = b), F(v)) + : (e.consume(v), b); } function y(v) { return v === 93 ? (e.consume(v), g) : b(v); @@ -27739,427 +39681,639 @@ function sS(e, t, n) { return v === 62 ? T(v) : v === 93 ? (e.consume(v), g) : b(v); } function x(v) { - return v === null || v === 62 ? T(v) : pe(v) ? (i = x, D(v)) : (e.consume(v), x); + return v === null || v === 62 + ? T(v) + : he(v) + ? ((a = x), F(v)) + : (e.consume(v), x); } function C(v) { - return v === null ? n(v) : v === 63 ? (e.consume(v), S) : pe(v) ? (i = C, D(v)) : (e.consume(v), C); + return v === null + ? n(v) + : v === 63 + ? (e.consume(v), E) + : he(v) + ? ((a = C), F(v)) + : (e.consume(v), C); } - function S(v) { + function E(v) { return v === 62 ? T(v) : C(v); } function w(v) { - return sn(v) ? (e.consume(v), E) : n(v); + return an(v) ? (e.consume(v), S) : n(v); } - function E(v) { - return v === 45 || _t(v) ? (e.consume(v), E) : M(v); - } - function M(v) { - return pe(v) ? (i = M, D(v)) : Ne(v) ? (e.consume(v), M) : T(v); + function S(v) { + return v === 45 || _t(v) ? (e.consume(v), S) : _(v); } function _(v) { - return v === 45 || _t(v) ? (e.consume(v), _) : v === 47 || v === 62 || wt(v) ? L(v) : n(v); + return he(v) ? ((a = _), F(v)) : Oe(v) ? (e.consume(v), _) : T(v); } - function L(v) { - return v === 47 ? (e.consume(v), T) : v === 58 || v === 95 || sn(v) ? (e.consume(v), R) : pe(v) ? (i = L, D(v)) : Ne(v) ? (e.consume(v), L) : T(v); + function A(v) { + return v === 45 || _t(v) + ? (e.consume(v), A) + : v === 47 || v === 62 || wt(v) + ? R(v) + : n(v); } function R(v) { - return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) ? (e.consume(v), R) : j(v); + return v === 47 + ? (e.consume(v), T) + : v === 58 || v === 95 || an(v) + ? (e.consume(v), L) + : he(v) + ? ((a = R), F(v)) + : Oe(v) + ? (e.consume(v), R) + : T(v); + } + function L(v) { + return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) + ? (e.consume(v), L) + : j(v); } function j(v) { - return v === 61 ? (e.consume(v), P) : pe(v) ? (i = j, D(v)) : Ne(v) ? (e.consume(v), j) : L(v); + return v === 61 + ? (e.consume(v), P) + : he(v) + ? ((a = j), F(v)) + : Oe(v) + ? (e.consume(v), j) + : R(v); } function P(v) { - return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : pe(v) ? (i = P, D(v)) : Ne(v) ? (e.consume(v), P) : (e.consume(v), k); + return v === null || v === 60 || v === 61 || v === 62 || v === 96 + ? n(v) + : v === 34 || v === 39 + ? (e.consume(v), (r = v), V) + : he(v) + ? ((a = P), F(v)) + : Oe(v) + ? (e.consume(v), P) + : (e.consume(v), k); } function V(v) { - return v === r ? (e.consume(v), r = void 0, N) : v === null ? n(v) : pe(v) ? (i = V, D(v)) : (e.consume(v), V); + return v === r + ? (e.consume(v), (r = void 0), N) + : v === null + ? n(v) + : he(v) + ? ((a = V), F(v)) + : (e.consume(v), V); } function k(v) { - return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 96 ? n(v) : v === 47 || v === 62 || wt(v) ? L(v) : (e.consume(v), k); + return v === null || + v === 34 || + v === 39 || + v === 60 || + v === 61 || + v === 96 + ? n(v) + : v === 47 || v === 62 || wt(v) + ? R(v) + : (e.consume(v), k); } function N(v) { - return v === 47 || v === 62 || wt(v) ? L(v) : n(v); + return v === 47 || v === 62 || wt(v) ? R(v) : n(v); } function T(v) { - return v === 62 ? (e.consume(v), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(v); + return v === 62 + ? (e.consume(v), e.exit("htmlTextData"), e.exit("htmlText"), t) + : n(v); } - function D(v) { - return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), I; + function F(v) { + return ( + e.exit("htmlTextData"), + e.enter("lineEnding"), + e.consume(v), + e.exit("lineEnding"), + I + ); } function I(v) { - return Ne(v) ? Be( - e, - F, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(v) : F(v); + return Oe(v) + ? He( + e, + D, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(v) + : D(v); } - function F(v) { - return e.enter("htmlTextData"), i(v); - } -} -const g1 = { - name: "labelEnd", - tokenize: pS, - resolveTo: hS, - resolveAll: fS -}, cS = { - tokenize: gS -}, uS = { - tokenize: mS -}, dS = { - tokenize: bS -}; -function fS(e) { + function D(v) { + return e.enter("htmlTextData"), a(v); + } +} +const s1 = { + name: "labelEnd", + tokenize: nS, + resolveTo: tS, + resolveAll: eS, + }, + XE = { + tokenize: oS, + }, + QE = { + tokenize: rS, + }, + JE = { + tokenize: iS, + }; +function eS(e) { let t = -1; for (; ++t < e.length; ) { const n = e[t][1]; - (n.type === "labelImage" || n.type === "labelLink" || n.type === "labelEnd") && (e.splice(t + 1, n.type === "labelImage" ? 4 : 2), n.type = "data", t++); + (n.type === "labelImage" || + n.type === "labelLink" || + n.type === "labelEnd") && + (e.splice(t + 1, n.type === "labelImage" ? 4 : 2), + (n.type = "data"), + t++); } return e; } -function hS(e, t) { - let n = e.length, o = 0, r, a, i, l; +function tS(e, t) { + let n = e.length, + o = 0, + r, + i, + a, + l; for (; n--; ) - if (r = e[n][1], a) { - if (r.type === "link" || r.type === "labelLink" && r._inactive) - break; + if (((r = e[n][1]), i)) { + if (r.type === "link" || (r.type === "labelLink" && r._inactive)) break; e[n][0] === "enter" && r.type === "labelLink" && (r._inactive = !0); - } else if (i) { - if (e[n][0] === "enter" && (r.type === "labelImage" || r.type === "labelLink") && !r._balanced && (a = n, r.type !== "labelLink")) { + } else if (a) { + if ( + e[n][0] === "enter" && + (r.type === "labelImage" || r.type === "labelLink") && + !r._balanced && + ((i = n), r.type !== "labelLink") + ) { o = 2; break; } - } else r.type === "labelEnd" && (i = n); + } else r.type === "labelEnd" && (a = n); const s = { - type: e[a][1].type === "labelLink" ? "link" : "image", - start: Object.assign({}, e[a][1].start), - end: Object.assign({}, e[e.length - 1][1].end) - }, u = { - type: "label", - start: Object.assign({}, e[a][1].start), - end: Object.assign({}, e[i][1].end) - }, c = { - type: "labelText", - start: Object.assign({}, e[a + o + 2][1].end), - end: Object.assign({}, e[i - 2][1].start) - }; - return l = [ - ["enter", s, t], - ["enter", u, t] - ], l = jt(l, e.slice(a + 1, a + o + 3)), l = jt(l, [["enter", c, t]]), l = jt( - l, - h1( - t.parser.constructs.insideSpan.null, - e.slice(a + o + 4, i - 3), - t - ) - ), l = jt(l, [ - ["exit", c, t], - e[i - 2], - e[i - 1], - ["exit", u, t] - ]), l = jt(l, e.slice(i + 1)), l = jt(l, [["exit", s, t]]), un(e, a, e.length, l), e; -} -function pS(e, t, n) { + type: e[i][1].type === "labelLink" ? "link" : "image", + start: Object.assign({}, e[i][1].start), + end: Object.assign({}, e[e.length - 1][1].end), + }, + u = { + type: "label", + start: Object.assign({}, e[i][1].start), + end: Object.assign({}, e[a][1].end), + }, + c = { + type: "labelText", + start: Object.assign({}, e[i + o + 2][1].end), + end: Object.assign({}, e[a - 2][1].start), + }; + return ( + (l = [ + ["enter", s, t], + ["enter", u, t], + ]), + (l = Ft(l, e.slice(i + 1, i + o + 3))), + (l = Ft(l, [["enter", c, t]])), + (l = Ft( + l, + a1(t.parser.constructs.insideSpan.null, e.slice(i + o + 4, a - 3), t), + )), + (l = Ft(l, [["exit", c, t], e[a - 2], e[a - 1], ["exit", u, t]])), + (l = Ft(l, e.slice(a + 1))), + (l = Ft(l, [["exit", s, t]])), + cn(e, i, e.length, l), + e + ); +} +function nS(e, t, n) { const o = this; - let r = o.events.length, a, i; + let r = o.events.length, + i, + a; for (; r--; ) - if ((o.events[r][1].type === "labelImage" || o.events[r][1].type === "labelLink") && !o.events[r][1]._balanced) { - a = o.events[r][1]; + if ( + (o.events[r][1].type === "labelImage" || + o.events[r][1].type === "labelLink") && + !o.events[r][1]._balanced + ) { + i = o.events[r][1]; break; } return l; - function l(p) { - return a ? a._inactive ? d(p) : (i = o.parser.defined.includes( - Eo( - o.sliceSerialize({ - start: a.end, - end: o.now() - }) - ) - ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(p), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(p); + function l(h) { + return i + ? i._inactive + ? d(h) + : ((a = o.parser.defined.includes( + Co( + o.sliceSerialize({ + start: i.end, + end: o.now(), + }), + ), + )), + e.enter("labelEnd"), + e.enter("labelMarker"), + e.consume(h), + e.exit("labelMarker"), + e.exit("labelEnd"), + s) + : n(h); } - function s(p) { - return p === 40 ? e.attempt( - cS, - c, - i ? c : d - )(p) : p === 91 ? e.attempt( - uS, - c, - i ? u : d - )(p) : i ? c(p) : d(p); + function s(h) { + return h === 40 + ? e.attempt(XE, c, a ? c : d)(h) + : h === 91 + ? e.attempt(QE, c, a ? u : d)(h) + : a + ? c(h) + : d(h); } - function u(p) { - return e.attempt( - dS, - c, - d - )(p); + function u(h) { + return e.attempt(JE, c, d)(h); } - function c(p) { - return t(p); + function c(h) { + return t(h); } - function d(p) { - return a._balanced = !0, n(p); + function d(h) { + return (i._balanced = !0), n(h); } } -function gS(e, t, n) { +function oS(e, t, n) { return o; function o(d) { - return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r; + return ( + e.enter("resource"), + e.enter("resourceMarker"), + e.consume(d), + e.exit("resourceMarker"), + r + ); } function r(d) { - return wt(d) ? ir(e, a)(d) : a(d); - } - function a(d) { - return d === 41 ? c(d) : f5( - e, - i, - l, - "resourceDestination", - "resourceDestinationLiteral", - "resourceDestinationLiteralMarker", - "resourceDestinationRaw", - "resourceDestinationString", - 32 - )(d); + return wt(d) ? or(e, i)(d) : i(d); } function i(d) { - return wt(d) ? ir(e, s)(d) : c(d); + return d === 41 + ? c(d) + : e5( + e, + a, + l, + "resourceDestination", + "resourceDestinationLiteral", + "resourceDestinationLiteralMarker", + "resourceDestinationRaw", + "resourceDestinationString", + 32, + )(d); + } + function a(d) { + return wt(d) ? or(e, s)(d) : c(d); } function l(d) { return n(d); } function s(d) { - return d === 34 || d === 39 || d === 40 ? p5( - e, - u, - n, - "resourceTitle", - "resourceTitleMarker", - "resourceTitleString" - )(d) : c(d); + return d === 34 || d === 39 || d === 40 + ? n5( + e, + u, + n, + "resourceTitle", + "resourceTitleMarker", + "resourceTitleString", + )(d) + : c(d); } function u(d) { - return wt(d) ? ir(e, c)(d) : c(d); + return wt(d) ? or(e, c)(d) : c(d); } function c(d) { - return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d); + return d === 41 + ? (e.enter("resourceMarker"), + e.consume(d), + e.exit("resourceMarker"), + e.exit("resource"), + t) + : n(d); } } -function mS(e, t, n) { +function rS(e, t, n) { const o = this; return r; function r(l) { - return h5.call( + return t5.call( o, e, - a, i, + a, "reference", "referenceMarker", - "referenceString" + "referenceString", )(l); } - function a(l) { + function i(l) { return o.parser.defined.includes( - Eo( - o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) - ) - ) ? t(l) : n(l); + Co(o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1)), + ) + ? t(l) + : n(l); } - function i(l) { + function a(l) { return n(l); } } -function bS(e, t, n) { +function iS(e, t, n) { return o; - function o(a) { - return e.enter("reference"), e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), r; + function o(i) { + return ( + e.enter("reference"), + e.enter("referenceMarker"), + e.consume(i), + e.exit("referenceMarker"), + r + ); } - function r(a) { - return a === 93 ? (e.enter("referenceMarker"), e.consume(a), e.exit("referenceMarker"), e.exit("reference"), t) : n(a); + function r(i) { + return i === 93 + ? (e.enter("referenceMarker"), + e.consume(i), + e.exit("referenceMarker"), + e.exit("reference"), + t) + : n(i); } } -const yS = { +const aS = { name: "labelStartImage", - tokenize: CS, - resolveAll: g1.resolveAll + tokenize: lS, + resolveAll: s1.resolveAll, }; -function CS(e, t, n) { +function lS(e, t, n) { const o = this; return r; function r(l) { - return e.enter("labelImage"), e.enter("labelImageMarker"), e.consume(l), e.exit("labelImageMarker"), a; - } - function a(l) { - return l === 91 ? (e.enter("labelMarker"), e.consume(l), e.exit("labelMarker"), e.exit("labelImage"), i) : n(l); + return ( + e.enter("labelImage"), + e.enter("labelImageMarker"), + e.consume(l), + e.exit("labelImageMarker"), + i + ); } function i(l) { - return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : t(l); + return l === 91 + ? (e.enter("labelMarker"), + e.consume(l), + e.exit("labelMarker"), + e.exit("labelImage"), + a) + : n(l); + } + function a(l) { + return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs + ? n(l) + : t(l); } } -const vS = { +const sS = { name: "labelStartLink", - tokenize: xS, - resolveAll: g1.resolveAll + tokenize: cS, + resolveAll: s1.resolveAll, }; -function xS(e, t, n) { +function cS(e, t, n) { const o = this; return r; - function r(i) { - return e.enter("labelLink"), e.enter("labelMarker"), e.consume(i), e.exit("labelMarker"), e.exit("labelLink"), a; + function r(a) { + return ( + e.enter("labelLink"), + e.enter("labelMarker"), + e.consume(a), + e.exit("labelMarker"), + e.exit("labelLink"), + i + ); } - function a(i) { - return i === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(i) : t(i); + function i(a) { + return a === 94 && "_hiddenFootnoteSupport" in o.parser.constructs + ? n(a) + : t(a); } } -const Jl = { +const Gl = { name: "lineEnding", - tokenize: wS + tokenize: uS, }; -function wS(e, t) { +function uS(e, t) { return n; function n(o) { - return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), Be(e, t, "linePrefix"); + return ( + e.enter("lineEnding"), + e.consume(o), + e.exit("lineEnding"), + He(e, t, "linePrefix") + ); } } -const ka = { +const yi = { name: "thematicBreak", - tokenize: ES + tokenize: dS, }; -function ES(e, t, n) { - let o = 0, r; - return a; - function a(u) { - return e.enter("thematicBreak"), i(u); - } +function dS(e, t, n) { + let o = 0, + r; + return i; function i(u) { - return r = u, l(u); + return e.enter("thematicBreak"), a(u); + } + function a(u) { + return (r = u), l(u); } function l(u) { - return u === r ? (e.enter("thematicBreakSequence"), s(u)) : o >= 3 && (u === null || pe(u)) ? (e.exit("thematicBreak"), t(u)) : n(u); + return u === r + ? (e.enter("thematicBreakSequence"), s(u)) + : o >= 3 && (u === null || he(u)) + ? (e.exit("thematicBreak"), t(u)) + : n(u); } function s(u) { - return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Ne(u) ? Be(e, l, "whitespace")(u) : l(u)); + return u === r + ? (e.consume(u), o++, s) + : (e.exit("thematicBreakSequence"), + Oe(u) ? He(e, l, "whitespace")(u) : l(u)); } } const yt = { - name: "list", - tokenize: _S, - continuation: { - tokenize: AS - }, - exit: TS -}, SS = { - tokenize: OS, - partial: !0 -}, kS = { - tokenize: MS, - partial: !0 -}; -function _S(e, t, n) { - const o = this, r = o.events[o.events.length - 1]; - let a = r && r[1].type === "linePrefix" ? r[2].sliceSerialize(r[1], !0).length : 0, i = 0; + name: "list", + tokenize: hS, + continuation: { + tokenize: gS, + }, + exit: bS, + }, + fS = { + tokenize: yS, + partial: !0, + }, + pS = { + tokenize: mS, + partial: !0, + }; +function hS(e, t, n) { + const o = this, + r = o.events[o.events.length - 1]; + let i = + r && r[1].type === "linePrefix" + ? r[2].sliceSerialize(r[1], !0).length + : 0, + a = 0; return l; - function l(h) { - const m = o.containerState.type || (h === 42 || h === 43 || h === 45 ? "listUnordered" : "listOrdered"); - if (m === "listUnordered" ? !o.containerState.marker || h === o.containerState.marker : Us(h)) { - if (o.containerState.type || (o.containerState.type = m, e.enter(m, { - _container: !0 - })), m === "listUnordered") - return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(ka, n, u)(h) : u(h); - if (!o.interrupt || h === 49) - return e.enter("listItemPrefix"), e.enter("listItemValue"), s(h); - } - return n(h); - } - function s(h) { - return Us(h) && ++i < 10 ? (e.consume(h), s) : (!o.interrupt || i < 2) && (o.containerState.marker ? h === o.containerState.marker : h === 41 || h === 46) ? (e.exit("listItemValue"), u(h)) : n(h); - } - function u(h) { - return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), o.containerState.marker = o.containerState.marker || h, e.check( - gi, - // Can’t be empty when interrupting. - o.interrupt ? n : c, - e.attempt( - SS, - p, - d + function l(f) { + const m = + o.containerState.type || + (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered"); + if ( + m === "listUnordered" + ? !o.containerState.marker || f === o.containerState.marker + : Bs(f) + ) { + if ( + (o.containerState.type || + ((o.containerState.type = m), + e.enter(m, { + _container: !0, + })), + m === "listUnordered") + ) + return ( + e.enter("listItemPrefix"), + f === 42 || f === 45 ? e.check(yi, n, u)(f) : u(f) + ); + if (!o.interrupt || f === 49) + return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f); + } + return n(f); + } + function s(f) { + return Bs(f) && ++a < 10 + ? (e.consume(f), s) + : (!o.interrupt || a < 2) && + (o.containerState.marker + ? f === o.containerState.marker + : f === 41 || f === 46) + ? (e.exit("listItemValue"), u(f)) + : n(f); + } + function u(f) { + return ( + e.enter("listItemMarker"), + e.consume(f), + e.exit("listItemMarker"), + (o.containerState.marker = o.containerState.marker || f), + e.check( + ua, + // Can’t be empty when interrupting. + o.interrupt ? n : c, + e.attempt(fS, h, d), ) ); } - function c(h) { - return o.containerState.initialBlankLine = !0, a++, p(h); - } - function d(h) { - return Ne(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), p) : n(h); - } - function p(h) { - return o.containerState.size = a + o.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(h); + function c(f) { + return (o.containerState.initialBlankLine = !0), i++, h(f); + } + function d(f) { + return Oe(f) + ? (e.enter("listItemPrefixWhitespace"), + e.consume(f), + e.exit("listItemPrefixWhitespace"), + h) + : n(f); + } + function h(f) { + return ( + (o.containerState.size = + i + o.sliceSerialize(e.exit("listItemPrefix"), !0).length), + t(f) + ); } } -function AS(e, t, n) { +function gS(e, t, n) { const o = this; - return o.containerState._closeFlow = void 0, e.check(gi, r, a); + return (o.containerState._closeFlow = void 0), e.check(ua, r, i); function r(l) { - return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, Be( - e, - t, - "listItemIndent", - o.containerState.size + 1 - )(l); - } - function a(l) { - return o.containerState.furtherBlankLines || !Ne(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, i(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(kS, t, i)(l)); + return ( + (o.containerState.furtherBlankLines = + o.containerState.furtherBlankLines || + o.containerState.initialBlankLine), + He(e, t, "listItemIndent", o.containerState.size + 1)(l) + ); } function i(l) { - return o.containerState._closeFlow = !0, o.interrupt = void 0, Be( - e, - e.attempt(yt, t, n), - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(l); + return o.containerState.furtherBlankLines || !Oe(l) + ? ((o.containerState.furtherBlankLines = void 0), + (o.containerState.initialBlankLine = void 0), + a(l)) + : ((o.containerState.furtherBlankLines = void 0), + (o.containerState.initialBlankLine = void 0), + e.attempt(pS, t, a)(l)); + } + function a(l) { + return ( + (o.containerState._closeFlow = !0), + (o.interrupt = void 0), + He( + e, + e.attempt(yt, t, n), + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, + )(l) + ); } } -function MS(e, t, n) { +function mS(e, t, n) { const o = this; - return Be( - e, - r, - "listItemIndent", - o.containerState.size + 1 - ); - function r(a) { - const i = o.events[o.events.length - 1]; - return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === o.containerState.size ? t(a) : n(a); + return He(e, r, "listItemIndent", o.containerState.size + 1); + function r(i) { + const a = o.events[o.events.length - 1]; + return a && + a[1].type === "listItemIndent" && + a[2].sliceSerialize(a[1], !0).length === o.containerState.size + ? t(i) + : n(i); } } -function TS(e) { +function bS(e) { e.exit(this.containerState.type); } -function OS(e, t, n) { +function yS(e, t, n) { const o = this; - return Be( + return He( e, r, "listItemPrefixWhitespace", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5 + o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5, ); - function r(a) { - const i = o.events[o.events.length - 1]; - return !Ne(a) && i && i[1].type === "listItemPrefixWhitespace" ? t(a) : n(a); + function r(i) { + const a = o.events[o.events.length - 1]; + return !Oe(i) && a && a[1].type === "listItemPrefixWhitespace" + ? t(i) + : n(i); } } -const M0 = { +const v0 = { name: "setextUnderline", - tokenize: DS, - resolveTo: NS + tokenize: vS, + resolveTo: CS, }; -function NS(e, t) { - let n = e.length, o, r, a; +function CS(e, t) { + let n = e.length, + o, + r, + i; for (; n--; ) if (e[n][0] === "enter") { if (e[n][1].type === "content") { @@ -28168,91 +40322,122 @@ function NS(e, t) { } e[n][1].type === "paragraph" && (r = n); } else - e[n][1].type === "content" && e.splice(n, 1), !a && e[n][1].type === "definition" && (a = n); - const i = { + e[n][1].type === "content" && e.splice(n, 1), + !i && e[n][1].type === "definition" && (i = n); + const a = { type: "setextHeading", start: Object.assign({}, e[r][1].start), - end: Object.assign({}, e[e.length - 1][1].end) + end: Object.assign({}, e[e.length - 1][1].end), }; - return e[r][1].type = "setextHeadingText", a ? (e.splice(r, 0, ["enter", i, t]), e.splice(a + 1, 0, ["exit", e[o][1], t]), e[o][1].end = Object.assign({}, e[a][1].end)) : e[o][1] = i, e.push(["exit", i, t]), e; + return ( + (e[r][1].type = "setextHeadingText"), + i + ? (e.splice(r, 0, ["enter", a, t]), + e.splice(i + 1, 0, ["exit", e[o][1], t]), + (e[o][1].end = Object.assign({}, e[i][1].end))) + : (e[o][1] = a), + e.push(["exit", a, t]), + e + ); } -function DS(e, t, n) { +function vS(e, t, n) { const o = this; let r; - return a; - function a(u) { - let c = o.events.length, d; + return i; + function i(u) { + let c = o.events.length, + d; for (; c--; ) - if (o.events[c][1].type !== "lineEnding" && o.events[c][1].type !== "linePrefix" && o.events[c][1].type !== "content") { + if ( + o.events[c][1].type !== "lineEnding" && + o.events[c][1].type !== "linePrefix" && + o.events[c][1].type !== "content" + ) { d = o.events[c][1].type === "paragraph"; break; } - return !o.parser.lazy[o.now().line] && (o.interrupt || d) ? (e.enter("setextHeadingLine"), r = u, i(u)) : n(u); + return !o.parser.lazy[o.now().line] && (o.interrupt || d) + ? (e.enter("setextHeadingLine"), (r = u), a(u)) + : n(u); } - function i(u) { + function a(u) { return e.enter("setextHeadingLineSequence"), l(u); } function l(u) { - return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Ne(u) ? Be(e, s, "lineSuffix")(u) : s(u)); + return u === r + ? (e.consume(u), l) + : (e.exit("setextHeadingLineSequence"), + Oe(u) ? He(e, s, "lineSuffix")(u) : s(u)); } function s(u) { - return u === null || pe(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u); + return u === null || he(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u); } } -const LS = { - tokenize: jS +const xS = { + tokenize: wS, }; -function jS(e) { - const t = this, n = e.attempt( - // Try to parse a blank line. - gi, - o, - // Try to parse initial flow (essentially, only code). - e.attempt( - this.parser.constructs.flowInitial, - r, - Be( - e, - e.attempt( - this.parser.constructs.flow, - r, - e.attempt(HE, r) +function wS(e) { + const t = this, + n = e.attempt( + // Try to parse a blank line. + ua, + o, + // Try to parse initial flow (essentially, only code). + e.attempt( + this.parser.constructs.flowInitial, + r, + He( + e, + e.attempt(this.parser.constructs.flow, r, e.attempt(AE, r)), + "linePrefix", ), - "linePrefix" - ) - ) - ); + ), + ); return n; - function o(a) { - if (a === null) { - e.consume(a); + function o(i) { + if (i === null) { + e.consume(i); return; } - return e.enter("lineEndingBlank"), e.consume(a), e.exit("lineEndingBlank"), t.currentConstruct = void 0, n; + return ( + e.enter("lineEndingBlank"), + e.consume(i), + e.exit("lineEndingBlank"), + (t.currentConstruct = void 0), + n + ); } - function r(a) { - if (a === null) { - e.consume(a); + function r(i) { + if (i === null) { + e.consume(i); return; } - return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), t.currentConstruct = void 0, n; + return ( + e.enter("lineEnding"), + e.consume(i), + e.exit("lineEnding"), + (t.currentConstruct = void 0), + n + ); } } -const FS = { - resolveAll: m5() -}, RS = g5("string"), IS = g5("text"); -function g5(e) { +const ES = { + resolveAll: r5(), + }, + SS = o5("string"), + kS = o5("text"); +function o5(e) { return { tokenize: t, - resolveAll: m5( - e === "text" ? zS : void 0 - ) + resolveAll: r5(e === "text" ? _S : void 0), }; function t(n) { - const o = this, r = this.parser.constructs[e], a = n.attempt(r, i, l); - return i; - function i(c) { - return u(c) ? a(c) : l(c); + const o = this, + r = this.parser.constructs[e], + i = n.attempt(r, a, l); + return a; + function a(c) { + return u(c) ? i(c) : l(c); } function l(c) { if (c === null) { @@ -28262,120 +40447,141 @@ function g5(e) { return n.enter("data"), n.consume(c), s; } function s(c) { - return u(c) ? (n.exit("data"), a(c)) : (n.consume(c), s); + return u(c) ? (n.exit("data"), i(c)) : (n.consume(c), s); } function u(c) { - if (c === null) - return !0; + if (c === null) return !0; const d = r[c]; - let p = -1; + let h = -1; if (d) - for (; ++p < d.length; ) { - const h = d[p]; - if (!h.previous || h.previous.call(o, o.previous)) - return !0; + for (; ++h < d.length; ) { + const f = d[h]; + if (!f.previous || f.previous.call(o, o.previous)) return !0; } return !1; } } } -function m5(e) { +function r5(e) { return t; function t(n, o) { - let r = -1, a; + let r = -1, + i; for (; ++r <= n.length; ) - a === void 0 ? n[r] && n[r][1].type === "data" && (a = r, r++) : (!n[r] || n[r][1].type !== "data") && (r !== a + 2 && (n[a][1].end = n[r - 1][1].end, n.splice(a + 2, r - a - 2), r = a + 2), a = void 0); + i === void 0 + ? n[r] && n[r][1].type === "data" && ((i = r), r++) + : (!n[r] || n[r][1].type !== "data") && + (r !== i + 2 && + ((n[i][1].end = n[r - 1][1].end), + n.splice(i + 2, r - i - 2), + (r = i + 2)), + (i = void 0)); return e ? e(n, o) : n; } } -function zS(e, t) { +function _S(e, t) { let n = 0; for (; ++n <= e.length; ) - if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") { - const o = e[n - 1][1], r = t.sliceStream(o); - let a = r.length, i = -1, l = 0, s; - for (; a--; ) { - const u = r[a]; + if ( + (n === e.length || e[n][1].type === "lineEnding") && + e[n - 1][1].type === "data" + ) { + const o = e[n - 1][1], + r = t.sliceStream(o); + let i = r.length, + a = -1, + l = 0, + s; + for (; i--; ) { + const u = r[i]; if (typeof u == "string") { - for (i = u.length; u.charCodeAt(i - 1) === 32; ) - l++, i--; - if (i) break; - i = -1; - } else if (u === -2) - s = !0, l++; + for (a = u.length; u.charCodeAt(a - 1) === 32; ) l++, a--; + if (a) break; + a = -1; + } else if (u === -2) (s = !0), l++; else if (u !== -1) { - a++; + i++; break; } } if (l) { const u = { - type: n === e.length || s || l < 2 ? "lineSuffix" : "hardBreakTrailing", + type: + n === e.length || s || l < 2 ? "lineSuffix" : "hardBreakTrailing", start: { line: o.end.line, column: o.end.column - l, offset: o.end.offset - l, - _index: o.start._index + a, - _bufferIndex: a ? i : o.start._bufferIndex + i + _index: o.start._index + i, + _bufferIndex: i ? a : o.start._bufferIndex + a, }, - end: Object.assign({}, o.end) + end: Object.assign({}, o.end), }; - o.end = Object.assign({}, u.start), o.start.offset === o.end.offset ? Object.assign(o, u) : (e.splice( - n, - 0, - ["enter", u, t], - ["exit", u, t] - ), n += 2); + (o.end = Object.assign({}, u.start)), + o.start.offset === o.end.offset + ? Object.assign(o, u) + : (e.splice(n, 0, ["enter", u, t], ["exit", u, t]), (n += 2)); } n++; } return e; } -function HS(e, t, n) { +function AS(e, t, n) { let o = Object.assign( - n ? Object.assign({}, n) : { - line: 1, - column: 1, - offset: 0 - }, + n + ? Object.assign({}, n) + : { + line: 1, + column: 1, + offset: 0, + }, { _index: 0, - _bufferIndex: -1 - } + _bufferIndex: -1, + }, ); - const r = {}, a = []; - let i = [], l = []; + const r = {}, + i = []; + let a = [], + l = []; const s = { - consume: x, - enter: C, - exit: S, - attempt: M(w), - check: M(E), - interrupt: M(E, { - interrupt: !0 - }) - }, u = { - previous: null, - code: null, - containerState: {}, - events: [], - parser: e, - sliceStream: h, - sliceSerialize: p, - now: m, - defineSkip: b, - write: d - }; + consume: x, + enter: C, + exit: E, + attempt: _(w), + check: _(S), + interrupt: _(S, { + interrupt: !0, + }), + }, + u = { + previous: null, + code: null, + containerState: {}, + events: [], + parser: e, + sliceStream: f, + sliceSerialize: h, + now: m, + defineSkip: b, + write: d, + }; let c = t.tokenize.call(u, s); - return t.resolveAll && a.push(t), u; + return t.resolveAll && i.push(t), u; function d(j) { - return i = jt(i, j), y(), i[i.length - 1] !== null ? [] : (_(t, 0), u.events = h1(a, u.events, u), u.events); + return ( + (a = Ft(a, j)), + y(), + a[a.length - 1] !== null + ? [] + : (A(t, 0), (u.events = a1(i, u.events, u)), u.events) + ); } - function p(j, P) { - return BS(h(j), P); + function h(j, P) { + return TS(f(j), P); } - function h(j) { - return PS(i, j); + function f(j) { + return MS(a, j); } function m() { const { line: j, column: P, offset: V, _index: k, _bufferIndex: N } = o; @@ -28384,267 +40590,339 @@ function HS(e, t, n) { column: P, offset: V, _index: k, - _bufferIndex: N + _bufferIndex: N, }; } function b(j) { - r[j.line] = j.column, R(); + (r[j.line] = j.column), L(); } function y() { let j; - for (; o._index < i.length; ) { - const P = i[o._index]; + for (; o._index < a.length; ) { + const P = a[o._index]; if (typeof P == "string") - for (j = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); o._index === j && o._bufferIndex < P.length; ) + for ( + j = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); + o._index === j && o._bufferIndex < P.length; + + ) g(P.charCodeAt(o._bufferIndex)); - else - g(P); + else g(P); } } function g(j) { c = c(j); } function x(j) { - pe(j) ? (o.line++, o.column = 1, o.offset += j === -3 ? 2 : 1, R()) : j !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === i[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = j; + he(j) + ? (o.line++, (o.column = 1), (o.offset += j === -3 ? 2 : 1), L()) + : j !== -1 && (o.column++, o.offset++), + o._bufferIndex < 0 + ? o._index++ + : (o._bufferIndex++, + o._bufferIndex === a[o._index].length && + ((o._bufferIndex = -1), o._index++)), + (u.previous = j); } function C(j, P) { const V = P || {}; - return V.type = j, V.start = m(), u.events.push(["enter", V, u]), l.push(V), V; + return ( + (V.type = j), + (V.start = m()), + u.events.push(["enter", V, u]), + l.push(V), + V + ); } - function S(j) { + function E(j) { const P = l.pop(); - return P.end = m(), u.events.push(["exit", P, u]), P; + return (P.end = m()), u.events.push(["exit", P, u]), P; } function w(j, P) { - _(j, P.from); + A(j, P.from); } - function E(j, P) { + function S(j, P) { P.restore(); } - function M(j, P) { + function _(j, P) { return V; function V(k, N, T) { - let D, I, F, v; - return Array.isArray(k) ? B(k) : "tokenize" in k ? ( - // @ts-expect-error Looks like a construct. - B([k]) - ) : z(k); + let F, I, D, v; + return Array.isArray(k) + ? B(k) + : "tokenize" in k + ? // @ts-expect-error Looks like a construct. + B([k]) + : z(k); function z(K) { return Q; function Q(ne) { - const oe = ne !== null && K[ne], U = ne !== null && K.null, ge = [ - // To do: add more extension tests. - /* c8 ignore next 2 */ - ...Array.isArray(oe) ? oe : oe ? [oe] : [], - ...Array.isArray(U) ? U : U ? [U] : [] - ]; + const oe = ne !== null && K[ne], + U = ne !== null && K.null, + ge = [ + // To do: add more extension tests. + /* c8 ignore next 2 */ + ...(Array.isArray(oe) ? oe : oe ? [oe] : []), + ...(Array.isArray(U) ? U : U ? [U] : []), + ]; return B(ge)(ne); } } function B(K) { - return D = K, I = 0, K.length === 0 ? T : A(K[I]); + return (F = K), (I = 0), K.length === 0 ? T : M(K[I]); } - function A(K) { + function M(K) { return Q; function Q(ne) { - return v = L(), F = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? Y() : K.tokenize.call( - // If we do have fields, create an object w/ `context` as its - // prototype. - // This allows a “live binding”, which is needed for `interrupt`. - P ? Object.assign(Object.create(u), P) : u, - s, - W, - Y - )(ne); + return ( + (v = R()), + (D = K), + K.partial || (u.currentConstruct = K), + K.name && u.parser.constructs.disable.null.includes(K.name) + ? G() + : K.tokenize.call( + // If we do have fields, create an object w/ `context` as its + // prototype. + // This allows a “live binding”, which is needed for `interrupt`. + P ? Object.assign(Object.create(u), P) : u, + s, + W, + G, + )(ne) + ); } } function W(K) { - return j(F, v), N; + return j(D, v), N; } - function Y(K) { - return v.restore(), ++I < D.length ? A(D[I]) : T; + function G(K) { + return v.restore(), ++I < F.length ? M(F[I]) : T; } } } - function _(j, P) { - j.resolveAll && !a.includes(j) && a.push(j), j.resolve && un( - u.events, - P, - u.events.length - P, - j.resolve(u.events.slice(P), u) - ), j.resolveTo && (u.events = j.resolveTo(u.events, u)); + function A(j, P) { + j.resolveAll && !i.includes(j) && i.push(j), + j.resolve && + cn(u.events, P, u.events.length - P, j.resolve(u.events.slice(P), u)), + j.resolveTo && (u.events = j.resolveTo(u.events, u)); } - function L() { - const j = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, N = Array.from(l); + function R() { + const j = m(), + P = u.previous, + V = u.currentConstruct, + k = u.events.length, + N = Array.from(l); return { restore: T, - from: k + from: k, }; function T() { - o = j, u.previous = P, u.currentConstruct = V, u.events.length = k, l = N, R(); + (o = j), + (u.previous = P), + (u.currentConstruct = V), + (u.events.length = k), + (l = N), + L(); } } - function R() { - o.line in r && o.column < 2 && (o.column = r[o.line], o.offset += r[o.line] - 1); + function L() { + o.line in r && + o.column < 2 && + ((o.column = r[o.line]), (o.offset += r[o.line] - 1)); } } -function PS(e, t) { - const n = t.start._index, o = t.start._bufferIndex, r = t.end._index, a = t.end._bufferIndex; - let i; - if (n === r) - i = [e[n].slice(o, a)]; +function MS(e, t) { + const n = t.start._index, + o = t.start._bufferIndex, + r = t.end._index, + i = t.end._bufferIndex; + let a; + if (n === r) a = [e[n].slice(o, i)]; else { - if (i = e.slice(n, r), o > -1) { - const l = i[0]; - typeof l == "string" ? i[0] = l.slice(o) : i.shift(); + if (((a = e.slice(n, r)), o > -1)) { + const l = a[0]; + typeof l == "string" ? (a[0] = l.slice(o)) : a.shift(); } - a > 0 && i.push(e[r].slice(0, a)); + i > 0 && a.push(e[r].slice(0, i)); } - return i; + return a; } -function BS(e, t) { +function TS(e, t) { let n = -1; const o = []; let r; for (; ++n < e.length; ) { - const a = e[n]; - let i; - if (typeof a == "string") - i = a; + const i = e[n]; + let a; + if (typeof i == "string") a = i; else - switch (a) { + switch (i) { case -5: { - i = "\r"; + a = "\r"; break; } case -4: { - i = ` + a = ` `; break; } case -3: { - i = `\r + a = `\r `; break; } case -2: { - i = t ? " " : " "; + a = t ? " " : " "; break; } case -1: { if (!t && r) continue; - i = " "; + a = " "; break; } default: - i = String.fromCharCode(a); + a = String.fromCharCode(i); } - r = a === -2, o.push(i); + (r = i === -2), o.push(a); } return o.join(""); } -const VS = { - 42: yt, - 43: yt, - 45: yt, - 48: yt, - 49: yt, - 50: yt, - 51: yt, - 52: yt, - 53: yt, - 54: yt, - 55: yt, - 56: yt, - 57: yt, - 62: s5 -}, $S = { - 91: WE -}, WS = { - [-2]: Ql, - [-1]: Ql, - 32: Ql -}, ZS = { - 35: KE, - 42: ka, - 45: [M0, ka], - 60: eS, - 61: M0, - 95: ka, - 96: _0, - 126: _0 -}, US = { - 38: u5, - 92: c5 -}, qS = { - [-5]: Jl, - [-4]: Jl, - [-3]: Jl, - 33: yS, - 38: u5, - 42: qs, - 60: [xE, lS], - 91: vS, - 92: [YE, c5], - 93: g1, - 95: qs, - 96: jE -}, YS = { - null: [qs, FS] -}, GS = { - null: [42, 95] -}, KS = { - null: [] -}, XS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - attentionMarkers: GS, - contentInitial: $S, - disable: KS, - document: VS, - flow: ZS, - flowInitial: WS, - insideSpan: YS, - string: US, - text: qS -}, Symbol.toStringTag, { value: "Module" })); -function QS(e) { - const n = ( - /** @type {FullNormalizedExtension} */ - aE([XS, ...(e || {}).extensions || []]) - ), o = { - defined: [], - lazy: {}, - constructs: n, - content: r(pE), - document: r(mE), - flow: r(LS), - string: r(RS), - text: r(IS) - }; +const OS = { + 42: yt, + 43: yt, + 45: yt, + 48: yt, + 49: yt, + 50: yt, + 51: yt, + 52: yt, + 53: yt, + 54: yt, + 55: yt, + 56: yt, + 57: yt, + 62: Kf, + }, + NS = { + 91: DE, + }, + DS = { + [-2]: Yl, + [-1]: Yl, + 32: Yl, + }, + LS = { + 35: zE, + 42: yi, + 45: [v0, yi], + 60: VE, + 61: v0, + 95: yi, + 96: y0, + 126: y0, + }, + FS = { + 38: Qf, + 92: Xf, + }, + RS = { + [-5]: Gl, + [-4]: Gl, + [-3]: Gl, + 33: aS, + 38: Qf, + 42: Vs, + 60: [cE, GE], + 91: sS, + 92: [jE, Xf], + 93: s1, + 95: Vs, + 96: wE, + }, + jS = { + null: [Vs, ES], + }, + IS = { + null: [42, 95], + }, + zS = { + null: [], + }, + HS = /* @__PURE__ */ Object.freeze( + /* @__PURE__ */ Object.defineProperty( + { + __proto__: null, + attentionMarkers: IS, + contentInitial: NS, + disable: zS, + document: OS, + flow: LS, + flowInitial: DS, + insideSpan: jS, + string: FS, + text: RS, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ); +function PS(e) { + const n = + /** @type {FullNormalizedExtension} */ + qw([HS, ...((e || {}).extensions || [])]), + o = { + defined: [], + lazy: {}, + constructs: n, + content: r(nE), + document: r(rE), + flow: r(xS), + string: r(SS), + text: r(kS), + }; return o; - function r(a) { - return i; - function i(l) { - return HS(o, a, l); + function r(i) { + return a; + function a(l) { + return AS(o, i, l); } } } -const T0 = /[\0\t\n\r]/g; -function JS() { - let e = 1, t = "", n = !0, o; +const x0 = /[\0\t\n\r]/g; +function BS() { + let e = 1, + t = "", + n = !0, + o; return r; - function r(a, i, l) { + function r(i, a, l) { const s = []; - let u, c, d, p, h; - for (a = t + a.toString(i), d = 0, t = "", n && (a.charCodeAt(0) === 65279 && d++, n = void 0); d < a.length; ) { - if (T0.lastIndex = d, u = T0.exec(a), p = u && u.index !== void 0 ? u.index : a.length, h = a.charCodeAt(p), !u) { - t = a.slice(d); + let u, c, d, h, f; + for ( + i = t + i.toString(a), + d = 0, + t = "", + n && (i.charCodeAt(0) === 65279 && d++, (n = void 0)); + d < i.length; + + ) { + if ( + ((x0.lastIndex = d), + (u = x0.exec(i)), + (h = u && u.index !== void 0 ? u.index : i.length), + (f = i.charCodeAt(h)), + !u) + ) { + t = i.slice(d); break; } - if (h === 10 && d === p && o) - s.push(-3), o = void 0; + if (f === 10 && d === h && o) s.push(-3), (o = void 0); else - switch (o && (s.push(-5), o = void 0), d < p && (s.push(a.slice(d, p)), e += p - d), h) { + switch ( + (o && (s.push(-5), (o = void 0)), + d < h && (s.push(i.slice(d, h)), (e += h - d)), + f) + ) { case 0: { s.push(65533), e++; break; @@ -28654,68 +40932,78 @@ function JS() { break; } case 10: { - s.push(-4), e = 1; + s.push(-4), (e = 1); break; } default: - o = !0, e = 1; + (o = !0), (e = 1); } - d = p + 1; + d = h + 1; } return l && (o && s.push(-5), t && s.push(t), s.push(null)), s; } } -function ek(e) { - for (; !d5(e); ) - ; +function VS(e) { + for (; !Jf(e); ); return e; } -function b5(e, t) { +function i5(e, t) { const n = Number.parseInt(e, t); return ( // C0 except for HT, LF, FF, CR, space. - n < 9 || n === 11 || n > 13 && n < 32 || // Control character (DEL) of C0, and C1 controls. - n > 126 && n < 160 || // Lone high surrogates and low surrogates. - n > 55295 && n < 57344 || // Noncharacters. - n > 64975 && n < 65008 || (n & 65535) === 65535 || (n & 65535) === 65534 || // Out of range - n > 1114111 ? "�" : String.fromCharCode(n) + n < 9 || + n === 11 || + (n > 13 && n < 32) || // Control character (DEL) of C0, and C1 controls. + (n > 126 && n < 160) || // Lone high surrogates and low surrogates. + (n > 55295 && n < 57344) || // Noncharacters. + (n > 64975 && n < 65008) || + (n & 65535) === 65535 || + (n & 65535) === 65534 || // Out of range + n > 1114111 + ? "�" + : String.fromCharCode(n) ); } -const tk = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function nk(e) { - return e.replace(tk, ok); +const $S = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; +function WS(e) { + return e.replace($S, ZS); } -function ok(e, t, n) { - if (t) - return t; +function ZS(e, t, n) { + if (t) return t; if (n.charCodeAt(0) === 35) { - const r = n.charCodeAt(1), a = r === 120 || r === 88; - return b5(n.slice(a ? 2 : 1), a ? 16 : 10); + const r = n.charCodeAt(1), + i = r === 120 || r === 88; + return i5(n.slice(i ? 2 : 1), i ? 16 : 10); } - return p1(n) || e; + return l1(n) || e; } -const y5 = {}.hasOwnProperty, rk = ( - /** - * @type {( - * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & - * ((value: Value, options?: Options | null | undefined) => Root) - * )} - */ - /** - * @param {Value} value - * @param {Encoding | Options | null | undefined} [encoding] - * @param {Options | null | undefined} [options] - * @returns {Root} - */ - function(e, t, n) { - return typeof t != "string" && (n = t, t = void 0), ak(n)( - ek( - QS(n).document().write(JS()(e, t, !0)) - ) - ); - } -); -function ak(e) { +const a5 = {}.hasOwnProperty, + US = + /** + * @type {( + * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & + * ((value: Value, options?: Options | null | undefined) => Root) + * )} + */ + /** + * @param {Value} value + * @param {Encoding | Options | null | undefined} [encoding] + * @param {Options | null | undefined} [options] + * @returns {Root} + */ + function (e, t, n) { + return ( + typeof t != "string" && ((n = t), (t = void 0)), + qS(n)( + VS( + PS(n) + .document() + .write(BS()(e, t, !0)), + ), + ) + ); + }; +function qS(e) { const t = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], @@ -28723,7 +41011,7 @@ function ak(e) { autolink: l(Ot), autolinkProtocol: j, autolinkEmail: j, - atxHeading: l(We), + atxHeading: l($e), blockQuote: l(ge), characterEscape: j, characterReference: j, @@ -28735,7 +41023,7 @@ function ak(e) { codeTextData: j, data: j, codeFlowValue: j, - definition: l(ae), + definition: l(ie), definitionDestinationString: s, definitionLabelString: s, definitionTitleString: s, @@ -28746,25 +41034,25 @@ function ak(e) { htmlFlowData: j, htmlText: l(le, s), htmlTextData: j, - image: l(Xe), + image: l(Ge), label: s, link: l(Ot), listItem: l(Nt), listItemValue: m, - listOrdered: l(tn, h), - listUnordered: l(tn), - paragraph: l(nn), - reference: Y, + listOrdered: l(Jt, f), + listUnordered: l(Jt), + paragraph: l(en), + reference: G, referenceString: s, resourceDestinationString: s, resourceTitleString: s, - setextHeading: l(We), + setextHeading: l($e), strong: l(St), - thematicBreak: l(Dt) + thematicBreak: l(Dt), }, exit: { atxHeading: c(), - atxHeadingSequence: M, + atxHeadingSequence: _, autolink: c(), autolinkEmail: U, autolinkProtocol: oe, @@ -28779,12 +41067,12 @@ function ak(e) { codeFencedFenceMeta: y, codeFlowValue: P, codeIndented: c(C), - codeText: c(D), + codeText: c(F), codeTextData: P, data: P, definition: c(), - definitionDestinationString: E, - definitionLabelString: S, + definitionDestinationString: S, + definitionLabelString: E, definitionTitleString: w, emphasis: c(), hardBreakEscape: c(k), @@ -28793,7 +41081,7 @@ function ak(e) { htmlFlowData: P, htmlText: c(T), htmlTextData: P, - image: c(F), + image: c(D), label: z, labelText: v, lineEnding: V, @@ -28804,112 +41092,167 @@ function ak(e) { paragraph: c(), referenceString: K, resourceDestinationString: B, - resourceTitleString: A, + resourceTitleString: M, resource: W, - setextHeading: c(R), - setextHeadingLineSequence: L, - setextHeadingText: _, + setextHeading: c(L), + setextHeadingLineSequence: R, + setextHeadingText: A, strong: c(), - thematicBreak: c() - } + thematicBreak: c(), + }, }; - C5(t, (e || {}).mdastExtensions || []); + l5(t, (e || {}).mdastExtensions || []); const n = {}; return o; function o(Z) { let ee = { type: "root", - children: [] + children: [], }; const se = { - stack: [ee], - tokenStack: [], - config: t, - enter: u, - exit: d, - buffer: s, - resume: p, - setData: a, - getData: i - }, xe = []; + stack: [ee], + tokenStack: [], + config: t, + enter: u, + exit: d, + buffer: s, + resume: h, + setData: i, + getData: a, + }, + xe = []; let de = -1; for (; ++de < Z.length; ) if (Z[de][1].type === "listOrdered" || Z[de][1].type === "listUnordered") - if (Z[de][0] === "enter") - xe.push(de); + if (Z[de][0] === "enter") xe.push(de); else { - const $e = xe.pop(); - de = r(Z, $e, de); + const Ve = xe.pop(); + de = r(Z, Ve, de); } for (de = -1; ++de < Z.length; ) { - const $e = t[Z[de][0]]; - y5.call($e, Z[de][1].type) && $e[Z[de][1].type].call( - Object.assign( - { - sliceSerialize: Z[de][2].sliceSerialize - }, - se - ), - Z[de][1] - ); + const Ve = t[Z[de][0]]; + a5.call(Ve, Z[de][1].type) && + Ve[Z[de][1].type].call( + Object.assign( + { + sliceSerialize: Z[de][2].sliceSerialize, + }, + se, + ), + Z[de][1], + ); } if (se.tokenStack.length > 0) { - const $e = se.tokenStack[se.tokenStack.length - 1]; - ($e[1] || O0).call(se, void 0, $e[0]); - } - for (ee.position = { - start: Tn( - Z.length > 0 ? Z[0][1].start : { - line: 1, - column: 1, - offset: 0 - } - ), - end: Tn( - Z.length > 0 ? Z[Z.length - 2][1].end : { - line: 1, - column: 1, - offset: 0 - } - ) - }, de = -1; ++de < t.transforms.length; ) + const Ve = se.tokenStack[se.tokenStack.length - 1]; + (Ve[1] || w0).call(se, void 0, Ve[0]); + } + for ( + ee.position = { + start: An( + Z.length > 0 + ? Z[0][1].start + : { + line: 1, + column: 1, + offset: 0, + }, + ), + end: An( + Z.length > 0 + ? Z[Z.length - 2][1].end + : { + line: 1, + column: 1, + offset: 0, + }, + ), + }, + de = -1; + ++de < t.transforms.length; + + ) ee = t.transforms[de](ee) || ee; return ee; } function r(Z, ee, se) { - let xe = ee - 1, de = -1, $e = !1, nt, et, ht, it; + let xe = ee - 1, + de = -1, + Ve = !1, + et, + Qe, + ft, + rt; for (; ++xe <= se; ) { const Se = Z[xe]; - if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, it = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (nt && !it && !de && !ht && (ht = xe), it = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (it = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { - if (nt) { - let Wt = xe; - for (et = void 0; Wt--; ) { - const lt = Z[Wt]; - if (lt[1].type === "lineEnding" || lt[1].type === "lineEndingBlank") { - if (lt[0] === "exit") continue; - et && (Z[et][1].type = "lineEndingBlank", $e = !0), lt[1].type = "lineEnding", et = Wt; - } else if (!(lt[1].type === "linePrefix" || lt[1].type === "blockQuotePrefix" || lt[1].type === "blockQuotePrefixWhitespace" || lt[1].type === "blockQuoteMarker" || lt[1].type === "listItemIndent")) break; + if ( + (Se[1].type === "listUnordered" || + Se[1].type === "listOrdered" || + Se[1].type === "blockQuote" + ? (Se[0] === "enter" ? de++ : de--, (rt = void 0)) + : Se[1].type === "lineEndingBlank" + ? Se[0] === "enter" && + (et && !rt && !de && !ft && (ft = xe), (rt = void 0)) + : Se[1].type === "linePrefix" || + Se[1].type === "listItemValue" || + Se[1].type === "listItemMarker" || + Se[1].type === "listItemPrefix" || + Se[1].type === "listItemPrefixWhitespace" || + (rt = void 0), + (!de && Se[0] === "enter" && Se[1].type === "listItemPrefix") || + (de === -1 && + Se[0] === "exit" && + (Se[1].type === "listUnordered" || Se[1].type === "listOrdered"))) + ) { + if (et) { + let $t = xe; + for (Qe = void 0; $t--; ) { + const it = Z[$t]; + if ( + it[1].type === "lineEnding" || + it[1].type === "lineEndingBlank" + ) { + if (it[0] === "exit") continue; + Qe && ((Z[Qe][1].type = "lineEndingBlank"), (Ve = !0)), + (it[1].type = "lineEnding"), + (Qe = $t); + } else if ( + !( + it[1].type === "linePrefix" || + it[1].type === "blockQuotePrefix" || + it[1].type === "blockQuotePrefixWhitespace" || + it[1].type === "blockQuoteMarker" || + it[1].type === "listItemIndent" + ) + ) + break; } - ht && (!et || ht < et) && (nt._spread = !0), nt.end = Object.assign( - {}, - et ? Z[et][1].start : Se[1].end - ), Z.splice(et || xe, 0, ["exit", nt, Se[2]]), xe++, se++; + ft && (!Qe || ft < Qe) && (et._spread = !0), + (et.end = Object.assign({}, Qe ? Z[Qe][1].start : Se[1].end)), + Z.splice(Qe || xe, 0, ["exit", et, Se[2]]), + xe++, + se++; } - Se[1].type === "listItemPrefix" && (nt = { - type: "listItem", - _spread: !1, - start: Object.assign({}, Se[1].start), - // @ts-expect-error: we’ll add `end` in a second. - end: void 0 - }, Z.splice(xe, 0, ["enter", nt, Se[2]]), xe++, se++, ht = void 0, it = !0); + Se[1].type === "listItemPrefix" && + ((et = { + type: "listItem", + _spread: !1, + start: Object.assign({}, Se[1].start), + // @ts-expect-error: we’ll add `end` in a second. + end: void 0, + }), + Z.splice(xe, 0, ["enter", et, Se[2]]), + xe++, + se++, + (ft = void 0), + (rt = !0)); } } - return Z[ee][1]._spread = $e, se; + return (Z[ee][1]._spread = Ve), se; } - function a(Z, ee) { + function i(Z, ee) { n[Z] = ee; } - function i(Z) { + function a(Z) { return n[Z]; } function l(Z, ee) { @@ -28921,13 +41264,19 @@ function ak(e) { function s() { this.stack.push({ type: "fragment", - children: [] + children: [], }); } function u(Z, ee, se) { - return this.stack[this.stack.length - 1].children.push(Z), this.stack.push(Z), this.tokenStack.push([ee, se]), Z.position = { - start: Tn(ee.start) - }, Z; + return ( + this.stack[this.stack.length - 1].children.push(Z), + this.stack.push(Z), + this.tokenStack.push([ee, se]), + (Z.position = { + start: An(ee.start), + }), + Z + ); } function c(Z) { return ee; @@ -28936,176 +41285,208 @@ function ak(e) { } } function d(Z, ee) { - const se = this.stack.pop(), xe = this.tokenStack.pop(); + const se = this.stack.pop(), + xe = this.tokenStack.pop(); if (xe) - xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || O0).call(this, Z, xe[0])); - else throw new Error( - "Cannot close `" + Z.type + "` (" + ar({ - start: Z.start, - end: Z.end - }) + "): it’s not open" - ); - return se.position.end = Tn(Z.end), se; - } - function p() { - return oE(this.stack.pop()); + xe[0].type !== Z.type && + (ee ? ee.call(this, Z, xe[0]) : (xe[1] || w0).call(this, Z, xe[0])); + else + throw new Error( + "Cannot close `" + + Z.type + + "` (" + + nr({ + start: Z.start, + end: Z.end, + }) + + "): it’s not open", + ); + return (se.position.end = An(Z.end)), se; } function h() { - a("expectingFirstListItemValue", !0); + return Zw(this.stack.pop()); + } + function f() { + i("expectingFirstListItemValue", !0); } function m(Z) { - if (i("expectingFirstListItemValue")) { + if (a("expectingFirstListItemValue")) { const ee = this.stack[this.stack.length - 2]; - ee.start = Number.parseInt(this.sliceSerialize(Z), 10), a("expectingFirstListItemValue"); + (ee.start = Number.parseInt(this.sliceSerialize(Z), 10)), + i("expectingFirstListItemValue"); } } function b() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.lang = Z; } function y() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.meta = Z; } function g() { - i("flowCodeInside") || (this.buffer(), a("flowCodeInside", !0)); + a("flowCodeInside") || (this.buffer(), i("flowCodeInside", !0)); } function x() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; - ee.value = Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), a("flowCodeInside"); + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; + (ee.value = Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "")), i("flowCodeInside"); } function C() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z.replace(/(\r?\n|\r)$/g, ""); } - function S(Z) { - const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Eo( - this.sliceSerialize(Z) - ).toLowerCase(); + function E(Z) { + const ee = this.resume(), + se = this.stack[this.stack.length - 1]; + (se.label = ee), (se.identifier = Co(this.sliceSerialize(Z)).toLowerCase()); } function w() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.title = Z; } - function E() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + function S() { + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.url = Z; } - function M(Z) { + function _(Z) { const ee = this.stack[this.stack.length - 1]; if (!ee.depth) { const se = this.sliceSerialize(Z).length; ee.depth = se; } } - function _() { - a("setextHeadingSlurpLineEnding", !0); + function A() { + i("setextHeadingSlurpLineEnding", !0); } - function L(Z) { + function R(Z) { const ee = this.stack[this.stack.length - 1]; ee.depth = this.sliceSerialize(Z).charCodeAt(0) === 61 ? 1 : 2; } - function R() { - a("setextHeadingSlurpLineEnding"); + function L() { + i("setextHeadingSlurpLineEnding"); } function j(Z) { const ee = this.stack[this.stack.length - 1]; let se = ee.children[ee.children.length - 1]; - (!se || se.type !== "text") && (se = $t(), se.position = { - start: Tn(Z.start) - }, ee.children.push(se)), this.stack.push(se); + (!se || se.type !== "text") && + ((se = Vt()), + (se.position = { + start: An(Z.start), + }), + ee.children.push(se)), + this.stack.push(se); } function P(Z) { const ee = this.stack.pop(); - ee.value += this.sliceSerialize(Z), ee.position.end = Tn(Z.end); + (ee.value += this.sliceSerialize(Z)), (ee.position.end = An(Z.end)); } function V(Z) { const ee = this.stack[this.stack.length - 1]; - if (i("atHardBreak")) { + if (a("atHardBreak")) { const se = ee.children[ee.children.length - 1]; - se.position.end = Tn(Z.end), a("atHardBreak"); + (se.position.end = An(Z.end)), i("atHardBreak"); return; } - !i("setextHeadingSlurpLineEnding") && t.canContainEols.includes(ee.type) && (j.call(this, Z), P.call(this, Z)); + !a("setextHeadingSlurpLineEnding") && + t.canContainEols.includes(ee.type) && + (j.call(this, Z), P.call(this, Z)); } function k() { - a("atHardBreak", !0); + i("atHardBreak", !0); } function N() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } function T() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } - function D() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + function F() { + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } function I() { const Z = this.stack[this.stack.length - 1]; - if (i("inReference")) { - const ee = i("referenceType") || "shortcut"; - Z.type += "Reference", Z.referenceType = ee, delete Z.url, delete Z.title; - } else - delete Z.identifier, delete Z.label; - a("referenceType"); + if (a("inReference")) { + const ee = a("referenceType") || "shortcut"; + (Z.type += "Reference"), + (Z.referenceType = ee), + delete Z.url, + delete Z.title; + } else delete Z.identifier, delete Z.label; + i("referenceType"); } - function F() { + function D() { const Z = this.stack[this.stack.length - 1]; - if (i("inReference")) { - const ee = i("referenceType") || "shortcut"; - Z.type += "Reference", Z.referenceType = ee, delete Z.url, delete Z.title; - } else - delete Z.identifier, delete Z.label; - a("referenceType"); + if (a("inReference")) { + const ee = a("referenceType") || "shortcut"; + (Z.type += "Reference"), + (Z.referenceType = ee), + delete Z.url, + delete Z.title; + } else delete Z.identifier, delete Z.label; + i("referenceType"); } function v(Z) { - const ee = this.sliceSerialize(Z), se = this.stack[this.stack.length - 2]; - se.label = nk(ee), se.identifier = Eo(ee).toLowerCase(); + const ee = this.sliceSerialize(Z), + se = this.stack[this.stack.length - 2]; + (se.label = WS(ee)), (se.identifier = Co(ee).toLowerCase()); } function z() { - const Z = this.stack[this.stack.length - 1], ee = this.resume(), se = this.stack[this.stack.length - 1]; - if (a("inReference", !0), se.type === "link") { + const Z = this.stack[this.stack.length - 1], + ee = this.resume(), + se = this.stack[this.stack.length - 1]; + if ((i("inReference", !0), se.type === "link")) { const xe = Z.children; se.children = xe; - } else - se.alt = ee; + } else se.alt = ee; } function B() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.url = Z; } - function A() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + function M() { + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.title = Z; } function W() { - a("inReference"); + i("inReference"); } - function Y() { - a("referenceType", "collapsed"); + function G() { + i("referenceType", "collapsed"); } function K(Z) { - const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Eo( - this.sliceSerialize(Z) - ).toLowerCase(), a("referenceType", "full"); + const ee = this.resume(), + se = this.stack[this.stack.length - 1]; + (se.label = ee), + (se.identifier = Co(this.sliceSerialize(Z)).toLowerCase()), + i("referenceType", "full"); } function Q(Z) { - a("characterReferenceType", Z.type); + i("characterReferenceType", Z.type); } function ne(Z) { - const ee = this.sliceSerialize(Z), se = i("characterReferenceType"); + const ee = this.sliceSerialize(Z), + se = a("characterReferenceType"); let xe; - se ? (xe = b5( - ee, - se === "characterReferenceMarkerNumeric" ? 10 : 16 - ), a("characterReferenceType")) : xe = p1(ee); + se + ? ((xe = i5(ee, se === "characterReferenceMarkerNumeric" ? 10 : 16)), + i("characterReferenceType")) + : (xe = l1(ee)); const de = this.stack.pop(); - de.value += xe, de.position.end = Tn(Z.end); + (de.value += xe), (de.position.end = An(Z.end)); } function oe(Z) { P.call(this, Z); @@ -29120,7 +41501,7 @@ function ak(e) { function ge() { return { type: "blockquote", - children: [] + children: [], }; } function J() { @@ -29128,54 +41509,54 @@ function ak(e) { type: "code", lang: null, meta: null, - value: "" + value: "", }; } function ke() { return { type: "inlineCode", - value: "" + value: "", }; } - function ae() { + function ie() { return { type: "definition", identifier: "", label: null, title: null, - url: "" + url: "", }; } function _e() { return { type: "emphasis", - children: [] + children: [], }; } - function We() { + function $e() { return { type: "heading", depth: void 0, - children: [] + children: [], }; } function Ee() { return { - type: "break" + type: "break", }; } function le() { return { type: "html", - value: "" + value: "", }; } - function Xe() { + function Ge() { return { type: "image", title: null, url: "", - alt: null + alt: null, }; } function Ot() { @@ -29183,16 +41564,16 @@ function ak(e) { type: "link", title: null, url: "", - children: [] + children: [], }; } - function tn(Z) { + function Jt(Z) { return { type: "list", ordered: Z.type === "listOrdered", start: null, spread: Z._spread, - children: [] + children: [], }; } function Nt(Z) { @@ -29200,51 +41581,51 @@ function ak(e) { type: "listItem", spread: Z._spread, checked: null, - children: [] + children: [], }; } - function nn() { + function en() { return { type: "paragraph", - children: [] + children: [], }; } function St() { return { type: "strong", - children: [] + children: [], }; } - function $t() { + function Vt() { return { type: "text", - value: "" + value: "", }; } function Dt() { return { - type: "thematicBreak" + type: "thematicBreak", }; } } -function Tn(e) { +function An(e) { return { line: e.line, column: e.column, - offset: e.offset + offset: e.offset, }; } -function C5(e, t) { +function l5(e, t) { let n = -1; for (; ++n < t.length; ) { const o = t[n]; - Array.isArray(o) ? C5(e, o) : ik(e, o); + Array.isArray(o) ? l5(e, o) : YS(e, o); } } -function ik(e, t) { +function YS(e, t) { let n; for (n in t) - if (y5.call(t, n)) { + if (a5.call(t, n)) { if (n === "canContainEols") { const o = t[n]; o && e[n].push(...o); @@ -29257,446 +41638,552 @@ function ik(e, t) { } } } -function O0(e, t) { - throw e ? new Error( - "Cannot close `" + e.type + "` (" + ar({ - start: e.start, - end: e.end - }) + "): a different token (`" + t.type + "`, " + ar({ - start: t.start, - end: t.end - }) + ") is open" - ) : new Error( - "Cannot close document, a token (`" + t.type + "`, " + ar({ - start: t.start, - end: t.end - }) + ") is still open" - ); +function w0(e, t) { + throw e + ? new Error( + "Cannot close `" + + e.type + + "` (" + + nr({ + start: e.start, + end: e.end, + }) + + "): a different token (`" + + t.type + + "`, " + + nr({ + start: t.start, + end: t.end, + }) + + ") is open", + ) + : new Error( + "Cannot close document, a token (`" + + t.type + + "`, " + + nr({ + start: t.start, + end: t.end, + }) + + ") is still open", + ); } -function lk(e) { - Object.assign(this, { Parser: (n) => { - const o = ( - /** @type {Options} */ - this.data("settings") - ); - return rk( - n, - Object.assign({}, o, e, { - // Note: these options are not in the readme. - // The goal is for them to be set by plugins on `data` instead of being - // passed by users. - extensions: this.data("micromarkExtensions") || [], - mdastExtensions: this.data("fromMarkdownExtensions") || [] - }) - ); - } }); +function GS(e) { + Object.assign(this, { + Parser: (n) => { + const o = + /** @type {Options} */ + this.data("settings"); + return US( + n, + Object.assign({}, o, e, { + // Note: these options are not in the readme. + // The goal is for them to be set by plugins on `data` instead of being + // passed by users. + extensions: this.data("micromarkExtensions") || [], + mdastExtensions: this.data("fromMarkdownExtensions") || [], + }), + ); + }, + }); } -function sk(e, t) { +function KS(e, t) { const n = { type: "element", tagName: "blockquote", properties: {}, - children: e.wrap(e.all(t), !0) + children: e.wrap(e.all(t), !0), }; return e.patch(t, n), e.applyData(t, n); } -function ck(e, t) { +function XS(e, t) { const n = { type: "element", tagName: "br", properties: {}, children: [] }; - return e.patch(t, n), [e.applyData(t, n), { type: "text", value: ` -` }]; + return ( + e.patch(t, n), + [ + e.applyData(t, n), + { + type: "text", + value: ` +`, + }, + ] + ); } -function uk(e, t) { - const n = t.value ? t.value + ` -` : "", o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, r = {}; +function QS(e, t) { + const n = t.value + ? t.value + + ` +` + : "", + o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, + r = {}; o && (r.className = ["language-" + o]); - let a = { + let i = { type: "element", tagName: "code", properties: r, - children: [{ type: "text", value: n }] + children: [{ type: "text", value: n }], }; - return t.meta && (a.data = { meta: t.meta }), e.patch(t, a), a = e.applyData(t, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, e.patch(t, a), a; + return ( + t.meta && (i.data = { meta: t.meta }), + e.patch(t, i), + (i = e.applyData(t, i)), + (i = { type: "element", tagName: "pre", properties: {}, children: [i] }), + e.patch(t, i), + i + ); } -function dk(e, t) { +function JS(e, t) { const n = { type: "element", tagName: "del", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -function fk(e, t) { +function ek(e, t) { const n = { type: "element", tagName: "em", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -function Po(e) { +function jo(e) { const t = []; - let n = -1, o = 0, r = 0; + let n = -1, + o = 0, + r = 0; for (; ++n < e.length; ) { - const a = e.charCodeAt(n); - let i = ""; - if (a === 37 && _t(e.charCodeAt(n + 1)) && _t(e.charCodeAt(n + 2))) - r = 2; - else if (a < 128) - /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (i = String.fromCharCode(a)); - else if (a > 55295 && a < 57344) { + const i = e.charCodeAt(n); + let a = ""; + if (i === 37 && _t(e.charCodeAt(n + 1)) && _t(e.charCodeAt(n + 2))) r = 2; + else if (i < 128) + /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i)) || + (a = String.fromCharCode(i)); + else if (i > 55295 && i < 57344) { const l = e.charCodeAt(n + 1); - a < 56320 && l > 56319 && l < 57344 ? (i = String.fromCharCode(a, l), r = 1) : i = "�"; - } else - i = String.fromCharCode(a); - i && (t.push(e.slice(o, n), encodeURIComponent(i)), o = n + r + 1, i = ""), r && (n += r, r = 0); + i < 56320 && l > 56319 && l < 57344 + ? ((a = String.fromCharCode(i, l)), (r = 1)) + : (a = "�"); + } else a = String.fromCharCode(i); + a && + (t.push(e.slice(o, n), encodeURIComponent(a)), (o = n + r + 1), (a = "")), + r && ((n += r), (r = 0)); } return t.join("") + e.slice(o); } -function v5(e, t) { - const n = String(t.identifier).toUpperCase(), o = Po(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); - let a; - r === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, a = e.footnoteOrder.length) : (e.footnoteCounts[n]++, a = r + 1); - const i = e.footnoteCounts[n], l = { - type: "element", - tagName: "a", - properties: { - href: "#" + e.clobberPrefix + "fn-" + o, - id: e.clobberPrefix + "fnref-" + o + (i > 1 ? "-" + i : ""), - dataFootnoteRef: !0, - ariaDescribedBy: ["footnote-label"] - }, - children: [{ type: "text", value: String(a) }] - }; +function s5(e, t) { + const n = String(t.identifier).toUpperCase(), + o = jo(n.toLowerCase()), + r = e.footnoteOrder.indexOf(n); + let i; + r === -1 + ? (e.footnoteOrder.push(n), + (e.footnoteCounts[n] = 1), + (i = e.footnoteOrder.length)) + : (e.footnoteCounts[n]++, (i = r + 1)); + const a = e.footnoteCounts[n], + l = { + type: "element", + tagName: "a", + properties: { + href: "#" + e.clobberPrefix + "fn-" + o, + id: e.clobberPrefix + "fnref-" + o + (a > 1 ? "-" + a : ""), + dataFootnoteRef: !0, + ariaDescribedBy: ["footnote-label"], + }, + children: [{ type: "text", value: String(i) }], + }; e.patch(t, l); const s = { type: "element", tagName: "sup", properties: {}, - children: [l] + children: [l], }; return e.patch(t, s), e.applyData(t, s); } -function hk(e, t) { +function tk(e, t) { const n = e.footnoteById; let o = 1; for (; o in n; ) o++; const r = String(o); - return n[r] = { - type: "footnoteDefinition", - identifier: r, - children: [{ type: "paragraph", children: t.children }], - position: t.position - }, v5(e, { - type: "footnoteReference", - identifier: r, - position: t.position - }); + return ( + (n[r] = { + type: "footnoteDefinition", + identifier: r, + children: [{ type: "paragraph", children: t.children }], + position: t.position, + }), + s5(e, { + type: "footnoteReference", + identifier: r, + position: t.position, + }) + ); } -function pk(e, t) { +function nk(e, t) { const n = { type: "element", tagName: "h" + t.depth, properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -function gk(e, t) { +function ok(e, t) { if (e.dangerous) { const n = { type: "raw", value: t.value }; return e.patch(t, n), e.applyData(t, n); } return null; } -function x5(e, t) { +function c5(e, t) { const n = t.referenceType; let o = "]"; - if (n === "collapsed" ? o += "[]" : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference") + if ( + (n === "collapsed" + ? (o += "[]") + : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), + t.type === "imageReference") + ) return { type: "text", value: "![" + t.alt + o }; - const r = e.all(t), a = r[0]; - a && a.type === "text" ? a.value = "[" + a.value : r.unshift({ type: "text", value: "[" }); - const i = r[r.length - 1]; - return i && i.type === "text" ? i.value += o : r.push({ type: "text", value: o }), r; + const r = e.all(t), + i = r[0]; + i && i.type === "text" + ? (i.value = "[" + i.value) + : r.unshift({ type: "text", value: "[" }); + const a = r[r.length - 1]; + return ( + a && a.type === "text" + ? (a.value += o) + : r.push({ type: "text", value: o }), + r + ); } -function mk(e, t) { +function rk(e, t) { const n = e.definition(t.identifier); - if (!n) - return x5(e, t); - const o = { src: Po(n.url || ""), alt: t.alt }; + if (!n) return c5(e, t); + const o = { src: jo(n.url || ""), alt: t.alt }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "img", properties: o, children: [] }; return e.patch(t, r), e.applyData(t, r); } -function bk(e, t) { - const n = { src: Po(t.url) }; - t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); +function ik(e, t) { + const n = { src: jo(t.url) }; + t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), + t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, o), e.applyData(t, o); } -function yk(e, t) { +function ak(e, t) { const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; e.patch(t, n); const o = { type: "element", tagName: "code", properties: {}, - children: [n] + children: [n], }; return e.patch(t, o), e.applyData(t, o); } -function Ck(e, t) { +function lk(e, t) { const n = e.definition(t.identifier); - if (!n) - return x5(e, t); - const o = { href: Po(n.url || "") }; + if (!n) return c5(e, t); + const o = { href: jo(n.url || "") }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "a", properties: o, - children: e.all(t) + children: e.all(t), }; return e.patch(t, r), e.applyData(t, r); } -function vk(e, t) { - const n = { href: Po(t.url) }; +function sk(e, t) { + const n = { href: jo(t.url) }; t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "a", properties: n, - children: e.all(t) + children: e.all(t), }; return e.patch(t, o), e.applyData(t, o); } -function xk(e, t, n) { - const o = e.all(t), r = n ? wk(n) : w5(t), a = {}, i = []; +function ck(e, t, n) { + const o = e.all(t), + r = n ? uk(n) : u5(t), + i = {}, + a = []; if (typeof t.checked == "boolean") { const c = o[0]; let d; - c && c.type === "element" && c.tagName === "p" ? d = c : (d = { type: "element", tagName: "p", properties: {}, children: [] }, o.unshift(d)), d.children.length > 0 && d.children.unshift({ type: "text", value: " " }), d.children.unshift({ - type: "element", - tagName: "input", - properties: { type: "checkbox", checked: t.checked, disabled: !0 }, - children: [] - }), a.className = ["task-list-item"]; + c && c.type === "element" && c.tagName === "p" + ? (d = c) + : ((d = { type: "element", tagName: "p", properties: {}, children: [] }), + o.unshift(d)), + d.children.length > 0 && d.children.unshift({ type: "text", value: " " }), + d.children.unshift({ + type: "element", + tagName: "input", + properties: { type: "checkbox", checked: t.checked, disabled: !0 }, + children: [], + }), + (i.className = ["task-list-item"]); } let l = -1; for (; ++l < o.length; ) { const c = o[l]; - (r || l !== 0 || c.type !== "element" || c.tagName !== "p") && i.push({ type: "text", value: ` -` }), c.type === "element" && c.tagName === "p" && !r ? i.push(...c.children) : i.push(c); + (r || l !== 0 || c.type !== "element" || c.tagName !== "p") && + a.push({ + type: "text", + value: ` +`, + }), + c.type === "element" && c.tagName === "p" && !r + ? a.push(...c.children) + : a.push(c); } const s = o[o.length - 1]; - s && (r || s.type !== "element" || s.tagName !== "p") && i.push({ type: "text", value: ` -` }); - const u = { type: "element", tagName: "li", properties: a, children: i }; + s && + (r || s.type !== "element" || s.tagName !== "p") && + a.push({ + type: "text", + value: ` +`, + }); + const u = { type: "element", tagName: "li", properties: i, children: a }; return e.patch(t, u), e.applyData(t, u); } -function wk(e) { +function uk(e) { let t = !1; if (e.type === "list") { t = e.spread || !1; const n = e.children; let o = -1; - for (; !t && ++o < n.length; ) - t = w5(n[o]); + for (; !t && ++o < n.length; ) t = u5(n[o]); } return t; } -function w5(e) { +function u5(e) { const t = e.spread; return t ?? e.children.length > 1; } -function Ek(e, t) { - const n = {}, o = e.all(t); +function dk(e, t) { + const n = {}, + o = e.all(t); let r = -1; - for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++r < o.length; ) { - const i = o[r]; - if (i.type === "element" && i.tagName === "li" && i.properties && Array.isArray(i.properties.className) && i.properties.className.includes("task-list-item")) { + for ( + typeof t.start == "number" && t.start !== 1 && (n.start = t.start); + ++r < o.length; + + ) { + const a = o[r]; + if ( + a.type === "element" && + a.tagName === "li" && + a.properties && + Array.isArray(a.properties.className) && + a.properties.className.includes("task-list-item") + ) { n.className = ["contains-task-list"]; break; } } - const a = { + const i = { type: "element", tagName: t.ordered ? "ol" : "ul", properties: n, - children: e.wrap(o, !0) + children: e.wrap(o, !0), }; - return e.patch(t, a), e.applyData(t, a); + return e.patch(t, i), e.applyData(t, i); } -function Sk(e, t) { +function fk(e, t) { const n = { type: "element", tagName: "p", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -function kk(e, t) { +function pk(e, t) { const n = { type: "root", children: e.wrap(e.all(t)) }; return e.patch(t, n), e.applyData(t, n); } -function _k(e, t) { +function hk(e, t) { const n = { type: "element", tagName: "strong", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -const m1 = E5("start"), b1 = E5("end"); -function Ak(e) { - return { start: m1(e), end: b1(e) }; +const c1 = d5("start"), + u1 = d5("end"); +function gk(e) { + return { start: c1(e), end: u1(e) }; } -function E5(e) { +function d5(e) { return t; function t(n) { - const o = n && n.position && n.position[e] || {}; + const o = (n && n.position && n.position[e]) || {}; return { // @ts-expect-error: in practice, null is allowed. line: o.line || null, // @ts-expect-error: in practice, null is allowed. column: o.column || null, // @ts-expect-error: in practice, null is allowed. - offset: o.offset > -1 ? o.offset : null + offset: o.offset > -1 ? o.offset : null, }; } } -function Mk(e, t) { - const n = e.all(t), o = n.shift(), r = []; +function mk(e, t) { + const n = e.all(t), + o = n.shift(), + r = []; if (o) { - const i = { + const a = { type: "element", tagName: "thead", properties: {}, - children: e.wrap([o], !0) + children: e.wrap([o], !0), }; - e.patch(t.children[0], i), r.push(i); + e.patch(t.children[0], a), r.push(a); } if (n.length > 0) { - const i = { - type: "element", - tagName: "tbody", - properties: {}, - children: e.wrap(n, !0) - }, l = m1(t.children[1]), s = b1(t.children[t.children.length - 1]); - l.line && s.line && (i.position = { start: l, end: s }), r.push(i); + const a = { + type: "element", + tagName: "tbody", + properties: {}, + children: e.wrap(n, !0), + }, + l = c1(t.children[1]), + s = u1(t.children[t.children.length - 1]); + l.line && s.line && (a.position = { start: l, end: s }), r.push(a); } - const a = { + const i = { type: "element", tagName: "table", properties: {}, - children: e.wrap(r, !0) + children: e.wrap(r, !0), }; - return e.patch(t, a), e.applyData(t, a); + return e.patch(t, i), e.applyData(t, i); } -function Tk(e, t, n) { - const o = n ? n.children : void 0, a = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", i = n && n.type === "table" ? n.align : void 0, l = i ? i.length : t.children.length; +function bk(e, t, n) { + const o = n ? n.children : void 0, + i = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", + a = n && n.type === "table" ? n.align : void 0, + l = a ? a.length : t.children.length; let s = -1; const u = []; for (; ++s < l; ) { - const d = t.children[s], p = {}, h = i ? i[s] : void 0; - h && (p.align = h); - let m = { type: "element", tagName: a, properties: p, children: [] }; - d && (m.children = e.all(d), e.patch(d, m), m = e.applyData(t, m)), u.push(m); + const d = t.children[s], + h = {}, + f = a ? a[s] : void 0; + f && (h.align = f); + let m = { type: "element", tagName: i, properties: h, children: [] }; + d && ((m.children = e.all(d)), e.patch(d, m), (m = e.applyData(t, m))), + u.push(m); } const c = { type: "element", tagName: "tr", properties: {}, - children: e.wrap(u, !0) + children: e.wrap(u, !0), }; return e.patch(t, c), e.applyData(t, c); } -function Ok(e, t) { +function yk(e, t) { const n = { type: "element", tagName: "td", // Assume body cell. properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -const N0 = 9, D0 = 32; -function Nk(e) { - const t = String(e), n = /\r?\n|\r/g; - let o = n.exec(t), r = 0; - const a = []; +const E0 = 9, + S0 = 32; +function Ck(e) { + const t = String(e), + n = /\r?\n|\r/g; + let o = n.exec(t), + r = 0; + const i = []; for (; o; ) - a.push( - L0(t.slice(r, o.index), r > 0, !0), - o[0] - ), r = o.index + o[0].length, o = n.exec(t); - return a.push(L0(t.slice(r), r > 0, !1)), a.join(""); -} -function L0(e, t, n) { - let o = 0, r = e.length; + i.push(k0(t.slice(r, o.index), r > 0, !0), o[0]), + (r = o.index + o[0].length), + (o = n.exec(t)); + return i.push(k0(t.slice(r), r > 0, !1)), i.join(""); +} +function k0(e, t, n) { + let o = 0, + r = e.length; if (t) { - let a = e.codePointAt(o); - for (; a === N0 || a === D0; ) - o++, a = e.codePointAt(o); + let i = e.codePointAt(o); + for (; i === E0 || i === S0; ) o++, (i = e.codePointAt(o)); } if (n) { - let a = e.codePointAt(r - 1); - for (; a === N0 || a === D0; ) - r--, a = e.codePointAt(r - 1); + let i = e.codePointAt(r - 1); + for (; i === E0 || i === S0; ) r--, (i = e.codePointAt(r - 1)); } return r > o ? e.slice(o, r) : ""; } -function Dk(e, t) { - const n = { type: "text", value: Nk(String(t.value)) }; +function vk(e, t) { + const n = { type: "text", value: Ck(String(t.value)) }; return e.patch(t, n), e.applyData(t, n); } -function Lk(e, t) { +function xk(e, t) { const n = { type: "element", tagName: "hr", properties: {}, - children: [] + children: [], }; return e.patch(t, n), e.applyData(t, n); } -const jk = { - blockquote: sk, - break: ck, - code: uk, - delete: dk, - emphasis: fk, - footnoteReference: v5, - footnote: hk, - heading: pk, - html: gk, - imageReference: mk, - image: bk, - inlineCode: yk, - linkReference: Ck, - link: vk, - listItem: xk, - list: Ek, - paragraph: Sk, - root: kk, - strong: _k, - table: Mk, - tableCell: Ok, - tableRow: Tk, - text: Dk, - thematicBreak: Lk, - toml: da, - yaml: da, - definition: da, - footnoteDefinition: da +const wk = { + blockquote: KS, + break: XS, + code: QS, + delete: JS, + emphasis: ek, + footnoteReference: s5, + footnote: tk, + heading: nk, + html: ok, + imageReference: rk, + image: ik, + inlineCode: ak, + linkReference: lk, + link: sk, + listItem: ck, + list: dk, + paragraph: fk, + root: pk, + strong: hk, + table: mk, + tableCell: yk, + tableRow: bk, + text: vk, + thematicBreak: xk, + toml: ii, + yaml: ii, + definition: ii, + footnoteDefinition: ii, }; -function da() { +function ii() { return null; } -const S5 = ( +const f5 = /** * @type {( * ((test: PredicateTest) => AssertPredicate) & @@ -29707,107 +42194,119 @@ const S5 = ( * @param {Test} [test] * @returns {AssertAnything} */ - function(e) { - if (e == null) - return zk; - if (typeof e == "string") - return Ik(e); - if (typeof e == "object") - return Array.isArray(e) ? Fk(e) : Rk(e); - if (typeof e == "function") - return mi(e); + function (e) { + if (e == null) return _k; + if (typeof e == "string") return kk(e); + if (typeof e == "object") return Array.isArray(e) ? Ek(e) : Sk(e); + if (typeof e == "function") return da(e); throw new Error("Expected function, string, or object as test"); - } -); -function Fk(e) { + }; +function Ek(e) { const t = []; let n = -1; - for (; ++n < e.length; ) - t[n] = S5(e[n]); - return mi(o); + for (; ++n < e.length; ) t[n] = f5(e[n]); + return da(o); function o(...r) { - let a = -1; - for (; ++a < t.length; ) - if (t[a].call(this, ...r)) return !0; + let i = -1; + for (; ++i < t.length; ) if (t[i].call(this, ...r)) return !0; return !1; } } -function Rk(e) { - return mi(t); +function Sk(e) { + return da(t); function t(n) { let o; - for (o in e) - if (n[o] !== e[o]) return !1; + for (o in e) if (n[o] !== e[o]) return !1; return !0; } } -function Ik(e) { - return mi(t); +function kk(e) { + return da(t); function t(n) { return n && n.type === e; } } -function mi(e) { +function da(e) { return t; function t(n, ...o) { - return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...o)); + return !!( + n && + typeof n == "object" && + "type" in n && + e.call(this, n, ...o) + ); } } -function zk() { +function _k() { return !0; } -const Hk = !0, j0 = !1, Pk = "skip", Bk = ( - /** - * @type {( - * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & - * ((tree: Tree, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) - * )} - */ - /** - * @param {Node} tree - * @param {Test} test - * @param {Visitor} visitor - * @param {boolean | null | undefined} [reverse] - * @returns {void} - */ - function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null); - const r = S5(t), a = o ? -1 : 1; - i(e, void 0, [])(); - function i(l, s, u) { - const c = l && typeof l == "object" ? l : {}; - if (typeof c.type == "string") { - const p = ( - // `hast` - typeof c.tagName == "string" ? c.tagName : ( - // `xast` - typeof c.name == "string" ? c.name : void 0 +const Ak = !0, + _0 = !1, + Mk = "skip", + Tk = + /** + * @type {( + * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & + * ((tree: Tree, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) + * )} + */ + /** + * @param {Node} tree + * @param {Test} test + * @param {Visitor} visitor + * @param {boolean | null | undefined} [reverse] + * @returns {void} + */ + function (e, t, n, o) { + typeof t == "function" && + typeof n != "function" && + ((o = n), (n = t), (t = null)); + const r = f5(t), + i = o ? -1 : 1; + a(e, void 0, [])(); + function a(l, s, u) { + const c = l && typeof l == "object" ? l : {}; + if (typeof c.type == "string") { + const h = + // `hast` + typeof c.tagName == "string" + ? c.tagName + : // `xast` + typeof c.name == "string" + ? c.name + : void 0; + Object.defineProperty(d, "name", { + value: "node (" + (l.type + (h ? "<" + h + ">" : "")) + ")", + }); + } + return d; + function d() { + let h = [], + f, + m, + b; + if ( + (!t || r(l, s, u[u.length - 1] || null)) && + ((h = Ok(n(l, u))), h[0] === _0) ) - ); - Object.defineProperty(d, "name", { - value: "node (" + (l.type + (p ? "<" + p + ">" : "")) + ")" - }); - } - return d; - function d() { - let p = [], h, m, b; - if ((!t || r(l, s, u[u.length - 1] || null)) && (p = Vk(n(l, u)), p[0] === j0)) - return p; - if (l.children && p[0] !== Pk) - for (m = (o ? l.children.length : -1) + a, b = u.concat(l); m > -1 && m < l.children.length; ) { - if (h = i(l.children[m], m, b)(), h[0] === j0) - return h; - m = typeof h[1] == "number" ? h[1] : m + a; - } - return p; + return h; + if (l.children && h[0] !== Mk) + for ( + m = (o ? l.children.length : -1) + i, b = u.concat(l); + m > -1 && m < l.children.length; + + ) { + if (((f = a(l.children[m], m, b)()), f[0] === _0)) return f; + m = typeof f[1] == "number" ? f[1] : m + i; + } + return h; + } } - } - } -); -function Vk(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [Hk, e] : [e]; + }; +function Ok(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [Ak, e] : [e]; } -const y1 = ( +const d1 = /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29821,176 +42320,281 @@ const y1 = ( * @param {boolean | null | undefined} [reverse] * @returns {void} */ - function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), Bk(e, t, r, o); - function r(a, i) { - const l = i[i.length - 1]; - return n( - a, - l ? l.children.indexOf(a) : null, - l - ); + function (e, t, n, o) { + typeof t == "function" && + typeof n != "function" && + ((o = n), (n = t), (t = null)), + Tk(e, t, r, o); + function r(i, a) { + const l = a[a.length - 1]; + return n(i, l ? l.children.indexOf(i) : null, l); } - } -); -function $k(e) { - return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column; + }; +function Nk(e) { + return ( + !e || + !e.position || + !e.position.start || + !e.position.start.line || + !e.position.start.column || + !e.position.end || + !e.position.end.line || + !e.position.end.column + ); } -const F0 = {}.hasOwnProperty; -function Wk(e) { +const A0 = {}.hasOwnProperty; +function Dk(e) { const t = /* @__PURE__ */ Object.create(null); - if (!e || !e.type) - throw new Error("mdast-util-definitions expected node"); - return y1(e, "definition", (o) => { - const r = R0(o.identifier); - r && !F0.call(t, r) && (t[r] = o); - }), n; + if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); + return ( + d1(e, "definition", (o) => { + const r = M0(o.identifier); + r && !A0.call(t, r) && (t[r] = o); + }), + n + ); function n(o) { - const r = R0(o); - return r && F0.call(t, r) ? t[r] : null; + const r = M0(o); + return r && A0.call(t, r) ? t[r] : null; } } -function R0(e) { +function M0(e) { return String(e || "").toUpperCase(); } -const Ga = {}.hasOwnProperty; -function Zk(e, t) { - const n = t || {}, o = n.allowDangerousHtml || !1, r = {}; - return i.dangerous = o, i.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, i.footnoteLabel = n.footnoteLabel || "Footnotes", i.footnoteLabelTagName = n.footnoteLabelTagName || "h2", i.footnoteLabelProperties = n.footnoteLabelProperties || { - className: ["sr-only"] - }, i.footnoteBackLabel = n.footnoteBackLabel || "Back to content", i.unknownHandler = n.unknownHandler, i.passThrough = n.passThrough, i.handlers = { ...jk, ...n.handlers }, i.definition = Wk(e), i.footnoteById = r, i.footnoteOrder = [], i.footnoteCounts = {}, i.patch = Uk, i.applyData = qk, i.one = l, i.all = s, i.wrap = Gk, i.augment = a, y1(e, "footnoteDefinition", (u) => { - const c = String(u.identifier).toUpperCase(); - Ga.call(r, c) || (r[c] = u); - }), i; - function a(u, c) { +const $i = {}.hasOwnProperty; +function Lk(e, t) { + const n = t || {}, + o = n.allowDangerousHtml || !1, + r = {}; + return ( + (a.dangerous = o), + (a.clobberPrefix = + n.clobberPrefix === void 0 || n.clobberPrefix === null + ? "user-content-" + : n.clobberPrefix), + (a.footnoteLabel = n.footnoteLabel || "Footnotes"), + (a.footnoteLabelTagName = n.footnoteLabelTagName || "h2"), + (a.footnoteLabelProperties = n.footnoteLabelProperties || { + className: ["sr-only"], + }), + (a.footnoteBackLabel = n.footnoteBackLabel || "Back to content"), + (a.unknownHandler = n.unknownHandler), + (a.passThrough = n.passThrough), + (a.handlers = { ...wk, ...n.handlers }), + (a.definition = Dk(e)), + (a.footnoteById = r), + (a.footnoteOrder = []), + (a.footnoteCounts = {}), + (a.patch = Fk), + (a.applyData = Rk), + (a.one = l), + (a.all = s), + (a.wrap = Ik), + (a.augment = i), + d1(e, "footnoteDefinition", (u) => { + const c = String(u.identifier).toUpperCase(); + $i.call(r, c) || (r[c] = u); + }), + a + ); + function i(u, c) { if (u && "data" in u && u.data) { const d = u.data; - d.hName && (c.type !== "element" && (c = { - type: "element", - tagName: "", - properties: {}, - children: [] - }), c.tagName = d.hName), c.type === "element" && d.hProperties && (c.properties = { ...c.properties, ...d.hProperties }), "children" in c && c.children && d.hChildren && (c.children = d.hChildren); + d.hName && + (c.type !== "element" && + (c = { + type: "element", + tagName: "", + properties: {}, + children: [], + }), + (c.tagName = d.hName)), + c.type === "element" && + d.hProperties && + (c.properties = { ...c.properties, ...d.hProperties }), + "children" in c && + c.children && + d.hChildren && + (c.children = d.hChildren); } if (u) { const d = "type" in u ? u : { position: u }; - $k(d) || (c.position = { start: m1(d), end: b1(d) }); + Nk(d) || (c.position = { start: c1(d), end: u1(d) }); } return c; } - function i(u, c, d, p) { - return Array.isArray(d) && (p = d, d = {}), a(u, { - type: "element", - tagName: c, - properties: d || {}, - children: p || [] - }); + function a(u, c, d, h) { + return ( + Array.isArray(d) && ((h = d), (d = {})), + i(u, { + type: "element", + tagName: c, + properties: d || {}, + children: h || [], + }) + ); } function l(u, c) { - return k5(i, u, c); + return p5(a, u, c); } function s(u) { - return C1(i, u); + return f1(a, u); } } -function Uk(e, t) { - e.position && (t.position = Ak(e)); +function Fk(e, t) { + e.position && (t.position = gk(e)); } -function qk(e, t) { +function Rk(e, t) { let n = t; if (e && e.data) { - const o = e.data.hName, r = e.data.hChildren, a = e.data.hProperties; - typeof o == "string" && (n.type === "element" ? n.tagName = o : n = { - type: "element", - tagName: o, - properties: {}, - children: [] - }), n.type === "element" && a && (n.properties = { ...n.properties, ...a }), "children" in n && n.children && r !== null && r !== void 0 && (n.children = r); + const o = e.data.hName, + r = e.data.hChildren, + i = e.data.hProperties; + typeof o == "string" && + (n.type === "element" + ? (n.tagName = o) + : (n = { + type: "element", + tagName: o, + properties: {}, + children: [], + })), + n.type === "element" && i && (n.properties = { ...n.properties, ...i }), + "children" in n && + n.children && + r !== null && + r !== void 0 && + (n.children = r); } return n; } -function k5(e, t, n) { +function p5(e, t, n) { const o = t && t.type; - if (!o) - throw new Error("Expected node, got `" + t + "`"); - return Ga.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: C1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Yk(e, t); -} -function C1(e, t) { + if (!o) throw new Error("Expected node, got `" + t + "`"); + return $i.call(e.handlers, o) + ? e.handlers[o](e, t, n) + : e.passThrough && e.passThrough.includes(o) + ? "children" in t + ? { ...t, children: f1(e, t) } + : t + : e.unknownHandler + ? e.unknownHandler(e, t, n) + : jk(e, t); +} +function f1(e, t) { const n = []; if ("children" in t) { const o = t.children; let r = -1; for (; ++r < o.length; ) { - const a = k5(e, o[r], t); - if (a) { - if (r && o[r - 1].type === "break" && (!Array.isArray(a) && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")), !Array.isArray(a) && a.type === "element")) { - const i = a.children[0]; - i && i.type === "text" && (i.value = i.value.replace(/^\s+/, "")); + const i = p5(e, o[r], t); + if (i) { + if ( + r && + o[r - 1].type === "break" && + (!Array.isArray(i) && + i.type === "text" && + (i.value = i.value.replace(/^\s+/, "")), + !Array.isArray(i) && i.type === "element") + ) { + const a = i.children[0]; + a && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")); } - Array.isArray(a) ? n.push(...a) : n.push(a); + Array.isArray(i) ? n.push(...i) : n.push(i); } } } return n; } -function Yk(e, t) { - const n = t.data || {}, o = "value" in t && !(Ga.call(n, "hProperties") || Ga.call(n, "hChildren")) ? { type: "text", value: t.value } : { - type: "element", - tagName: "div", - properties: {}, - children: C1(e, t) - }; +function jk(e, t) { + const n = t.data || {}, + o = + "value" in t && !($i.call(n, "hProperties") || $i.call(n, "hChildren")) + ? { type: "text", value: t.value } + : { + type: "element", + tagName: "div", + properties: {}, + children: f1(e, t), + }; return e.patch(t, o), e.applyData(t, o); } -function Gk(e, t) { +function Ik(e, t) { const n = []; let o = -1; - for (t && n.push({ type: "text", value: ` -` }); ++o < e.length; ) - o && n.push({ type: "text", value: ` -` }), n.push(e[o]); - return t && e.length > 0 && n.push({ type: "text", value: ` -` }), n; + for ( + t && + n.push({ + type: "text", + value: ` +`, + }); + ++o < e.length; + + ) + o && + n.push({ + type: "text", + value: ` +`, + }), + n.push(e[o]); + return ( + t && + e.length > 0 && + n.push({ + type: "text", + value: ` +`, + }), + n + ); } -function Kk(e) { +function zk(e) { const t = []; let n = -1; for (; ++n < e.footnoteOrder.length; ) { const o = e.footnoteById[e.footnoteOrder[n]]; - if (!o) - continue; - const r = e.all(o), a = String(o.identifier).toUpperCase(), i = Po(a.toLowerCase()); + if (!o) continue; + const r = e.all(o), + i = String(o.identifier).toUpperCase(), + a = jo(i.toLowerCase()); let l = 0; const s = []; - for (; ++l <= e.footnoteCounts[a]; ) { + for (; ++l <= e.footnoteCounts[i]; ) { const d = { type: "element", tagName: "a", properties: { - href: "#" + e.clobberPrefix + "fnref-" + i + (l > 1 ? "-" + l : ""), + href: "#" + e.clobberPrefix + "fnref-" + a + (l > 1 ? "-" + l : ""), dataFootnoteBackref: !0, className: ["data-footnote-backref"], - ariaLabel: e.footnoteBackLabel + ariaLabel: e.footnoteBackLabel, }, - children: [{ type: "text", value: "↩" }] + children: [{ type: "text", value: "↩" }], }; - l > 1 && d.children.push({ - type: "element", - tagName: "sup", - children: [{ type: "text", value: String(l) }] - }), s.length > 0 && s.push({ type: "text", value: " " }), s.push(d); + l > 1 && + d.children.push({ + type: "element", + tagName: "sup", + children: [{ type: "text", value: String(l) }], + }), + s.length > 0 && s.push({ type: "text", value: " " }), + s.push(d); } const u = r[r.length - 1]; if (u && u.type === "element" && u.tagName === "p") { const d = u.children[u.children.length - 1]; - d && d.type === "text" ? d.value += " " : u.children.push({ type: "text", value: " " }), u.children.push(...s); - } else - r.push(...s); + d && d.type === "text" + ? (d.value += " ") + : u.children.push({ type: "text", value: " " }), + u.children.push(...s); + } else r.push(...s); const c = { type: "element", tagName: "li", - properties: { id: e.clobberPrefix + "fn-" + i }, - children: e.wrap(r, !0) + properties: { id: e.clobberPrefix + "fn-" + a }, + children: e.wrap(r, !0), }; e.patch(o, c), t.push(c); } @@ -30006,45 +42610,62 @@ function Kk(e) { properties: { // To do: use structured clone. ...JSON.parse(JSON.stringify(e.footnoteLabelProperties)), - id: "footnote-label" + id: "footnote-label", }, - children: [{ type: "text", value: e.footnoteLabel }] + children: [{ type: "text", value: e.footnoteLabel }], + }, + { + type: "text", + value: ` +`, }, - { type: "text", value: ` -` }, { type: "element", tagName: "ol", properties: {}, - children: e.wrap(t, !0) + children: e.wrap(t, !0), + }, + { + type: "text", + value: ` +`, }, - { type: "text", value: ` -` } - ] + ], }; } -function _5(e, t) { - const n = Zk(e, t), o = n.one(e, null), r = Kk(n); - return r && o.children.push({ type: "text", value: ` -` }, r), Array.isArray(o) ? { type: "root", children: o } : o; +function h5(e, t) { + const n = Lk(e, t), + o = n.one(e, null), + r = zk(n); + return ( + r && + o.children.push( + { + type: "text", + value: ` +`, + }, + r, + ), + Array.isArray(o) ? { type: "root", children: o } : o + ); } -const Xk = ( +const Hk = /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ - function(e, t) { - return e && "run" in e ? Qk(e, t) : Jk(e || t); - } -); -function Qk(e, t) { + function (e, t) { + return e && "run" in e ? Pk(e, t) : Bk(e || t); + }; +function Pk(e, t) { return (n, o, r) => { - e.run(_5(n, t), o, (a) => { - r(a); + e.run(h5(n, t), o, (i) => { + r(i); }); }; } -function Jk(e) { - return (t) => _5(t, e); +function Bk(e) { + return (t) => h5(t, e); } -class zr { +class Dr { /** * @constructor * @param {Properties} property @@ -30052,58 +42673,72 @@ class zr { * @param {string} [space] */ constructor(t, n, o) { - this.property = t, this.normal = n, o && (this.space = o); + (this.property = t), (this.normal = n), o && (this.space = o); } } -zr.prototype.property = {}; -zr.prototype.normal = {}; -zr.prototype.space = null; -function A5(e, t) { - const n = {}, o = {}; +Dr.prototype.property = {}; +Dr.prototype.normal = {}; +Dr.prototype.space = null; +function g5(e, t) { + const n = {}, + o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); - return new zr(n, o, t); + return new Dr(n, o, t); } -function Ys(e) { +function $s(e) { return e.toLowerCase(); } -class Vt { +class Bt { /** * @constructor * @param {string} property * @param {string} attribute */ constructor(t, n) { - this.property = t, this.attribute = n; - } -} -Vt.prototype.space = null; -Vt.prototype.boolean = !1; -Vt.prototype.booleanish = !1; -Vt.prototype.overloadedBoolean = !1; -Vt.prototype.number = !1; -Vt.prototype.commaSeparated = !1; -Vt.prototype.spaceSeparated = !1; -Vt.prototype.commaOrSpaceSeparated = !1; -Vt.prototype.mustUseProperty = !1; -Vt.prototype.defined = !1; -let e_ = 0; -const me = ao(), Qe = ao(), M5 = ao(), te = ao(), Pe = ao(), So = ao(), kt = ao(); -function ao() { - return 2 ** ++e_; -} -const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - boolean: me, - booleanish: Qe, - commaOrSpaceSeparated: kt, - commaSeparated: So, - number: te, - overloadedBoolean: M5, - spaceSeparated: Pe -}, Symbol.toStringTag, { value: "Module" })), es = Object.keys(Gs); -class v1 extends Vt { + (this.property = t), (this.attribute = n); + } +} +Bt.prototype.space = null; +Bt.prototype.boolean = !1; +Bt.prototype.booleanish = !1; +Bt.prototype.overloadedBoolean = !1; +Bt.prototype.number = !1; +Bt.prototype.commaSeparated = !1; +Bt.prototype.spaceSeparated = !1; +Bt.prototype.commaOrSpaceSeparated = !1; +Bt.prototype.mustUseProperty = !1; +Bt.prototype.defined = !1; +let Vk = 0; +const me = to(), + Ke = to(), + m5 = to(), + te = to(), + ze = to(), + vo = to(), + kt = to(); +function to() { + return 2 ** ++Vk; +} +const Ws = /* @__PURE__ */ Object.freeze( + /* @__PURE__ */ Object.defineProperty( + { + __proto__: null, + boolean: me, + booleanish: Ke, + commaOrSpaceSeparated: kt, + commaSeparated: vo, + number: te, + overloadedBoolean: m5, + spaceSeparated: ze, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + Kl = Object.keys(Ws); +class p1 extends Bt { /** * @constructor * @param {string} property @@ -30112,1106 +42747,1132 @@ class v1 extends Vt { * @param {string} [space] */ constructor(t, n, o, r) { - let a = -1; - if (super(t, n), I0(this, "space", r), typeof o == "number") - for (; ++a < es.length; ) { - const i = es[a]; - I0(this, es[a], (o & Gs[i]) === Gs[i]); + let i = -1; + if ((super(t, n), T0(this, "space", r), typeof o == "number")) + for (; ++i < Kl.length; ) { + const a = Kl[i]; + T0(this, Kl[i], (o & Ws[a]) === Ws[a]); } } } -v1.prototype.defined = !0; -function I0(e, t, n) { +p1.prototype.defined = !0; +function T0(e, t, n) { n && (e[t] = n); } -const t_ = {}.hasOwnProperty; -function Bo(e) { - const t = {}, n = {}; +const $k = {}.hasOwnProperty; +function Io(e) { + const t = {}, + n = {}; let o; for (o in e.properties) - if (t_.call(e.properties, o)) { - const r = e.properties[o], a = new v1( - o, - e.transform(e.attributes || {}, o), - r, - e.space - ); - e.mustUseProperty && e.mustUseProperty.includes(o) && (a.mustUseProperty = !0), t[o] = a, n[Ys(o)] = o, n[Ys(a.attribute)] = o; - } - return new zr(t, n, e.space); -} -const T5 = Bo({ - space: "xlink", - transform(e, t) { - return "xlink:" + t.slice(5).toLowerCase(); - }, - properties: { - xLinkActuate: null, - xLinkArcRole: null, - xLinkHref: null, - xLinkRole: null, - xLinkShow: null, - xLinkTitle: null, - xLinkType: null - } -}), O5 = Bo({ - space: "xml", - transform(e, t) { - return "xml:" + t.slice(3).toLowerCase(); - }, - properties: { xmlLang: null, xmlBase: null, xmlSpace: null } -}); -function N5(e, t) { + if ($k.call(e.properties, o)) { + const r = e.properties[o], + i = new p1(o, e.transform(e.attributes || {}, o), r, e.space); + e.mustUseProperty && + e.mustUseProperty.includes(o) && + (i.mustUseProperty = !0), + (t[o] = i), + (n[$s(o)] = o), + (n[$s(i.attribute)] = o); + } + return new Dr(t, n, e.space); +} +const b5 = Io({ + space: "xlink", + transform(e, t) { + return "xlink:" + t.slice(5).toLowerCase(); + }, + properties: { + xLinkActuate: null, + xLinkArcRole: null, + xLinkHref: null, + xLinkRole: null, + xLinkShow: null, + xLinkTitle: null, + xLinkType: null, + }, + }), + y5 = Io({ + space: "xml", + transform(e, t) { + return "xml:" + t.slice(3).toLowerCase(); + }, + properties: { xmlLang: null, xmlBase: null, xmlSpace: null }, + }); +function C5(e, t) { return t in e ? e[t] : t; } -function D5(e, t) { - return N5(e, t.toLowerCase()); -} -const L5 = Bo({ - space: "xmlns", - attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: D5, - properties: { xmlns: null, xmlnsXLink: null } -}), j5 = Bo({ - transform(e, t) { - return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); - }, - properties: { - ariaActiveDescendant: null, - ariaAtomic: Qe, - ariaAutoComplete: null, - ariaBusy: Qe, - ariaChecked: Qe, - ariaColCount: te, - ariaColIndex: te, - ariaColSpan: te, - ariaControls: Pe, - ariaCurrent: null, - ariaDescribedBy: Pe, - ariaDetails: null, - ariaDisabled: Qe, - ariaDropEffect: Pe, - ariaErrorMessage: null, - ariaExpanded: Qe, - ariaFlowTo: Pe, - ariaGrabbed: Qe, - ariaHasPopup: null, - ariaHidden: Qe, - ariaInvalid: null, - ariaKeyShortcuts: null, - ariaLabel: null, - ariaLabelledBy: Pe, - ariaLevel: te, - ariaLive: null, - ariaModal: Qe, - ariaMultiLine: Qe, - ariaMultiSelectable: Qe, - ariaOrientation: null, - ariaOwns: Pe, - ariaPlaceholder: null, - ariaPosInSet: te, - ariaPressed: Qe, - ariaReadOnly: Qe, - ariaRelevant: null, - ariaRequired: Qe, - ariaRoleDescription: Pe, - ariaRowCount: te, - ariaRowIndex: te, - ariaRowSpan: te, - ariaSelected: Qe, - ariaSetSize: te, - ariaSort: null, - ariaValueMax: te, - ariaValueMin: te, - ariaValueNow: te, - ariaValueText: null, - role: null - } -}), n_ = Bo({ - space: "html", - attributes: { - acceptcharset: "accept-charset", - classname: "class", - htmlfor: "for", - httpequiv: "http-equiv" - }, - transform: D5, - mustUseProperty: ["checked", "multiple", "muted", "selected"], - properties: { - // Standard Properties. - abbr: null, - accept: So, - acceptCharset: Pe, - accessKey: Pe, - action: null, - allow: null, - allowFullScreen: me, - allowPaymentRequest: me, - allowUserMedia: me, - alt: null, - as: null, - async: me, - autoCapitalize: null, - autoComplete: Pe, - autoFocus: me, - autoPlay: me, - blocking: Pe, - capture: null, - charSet: null, - checked: me, - cite: null, - className: Pe, - cols: te, - colSpan: null, - content: null, - contentEditable: Qe, - controls: me, - controlsList: Pe, - coords: te | So, - crossOrigin: null, - data: null, - dateTime: null, - decoding: null, - default: me, - defer: me, - dir: null, - dirName: null, - disabled: me, - download: M5, - draggable: Qe, - encType: null, - enterKeyHint: null, - fetchPriority: null, - form: null, - formAction: null, - formEncType: null, - formMethod: null, - formNoValidate: me, - formTarget: null, - headers: Pe, - height: te, - hidden: me, - high: te, - href: null, - hrefLang: null, - htmlFor: Pe, - httpEquiv: Pe, - id: null, - imageSizes: null, - imageSrcSet: null, - inert: me, - inputMode: null, - integrity: null, - is: null, - isMap: me, - itemId: null, - itemProp: Pe, - itemRef: Pe, - itemScope: me, - itemType: Pe, - kind: null, - label: null, - lang: null, - language: null, - list: null, - loading: null, - loop: me, - low: te, - manifest: null, - max: null, - maxLength: te, - media: null, - method: null, - min: null, - minLength: te, - multiple: me, - muted: me, - name: null, - nonce: null, - noModule: me, - noValidate: me, - onAbort: null, - onAfterPrint: null, - onAuxClick: null, - onBeforeMatch: null, - onBeforePrint: null, - onBeforeToggle: null, - onBeforeUnload: null, - onBlur: null, - onCancel: null, - onCanPlay: null, - onCanPlayThrough: null, - onChange: null, - onClick: null, - onClose: null, - onContextLost: null, - onContextMenu: null, - onContextRestored: null, - onCopy: null, - onCueChange: null, - onCut: null, - onDblClick: null, - onDrag: null, - onDragEnd: null, - onDragEnter: null, - onDragExit: null, - onDragLeave: null, - onDragOver: null, - onDragStart: null, - onDrop: null, - onDurationChange: null, - onEmptied: null, - onEnded: null, - onError: null, - onFocus: null, - onFormData: null, - onHashChange: null, - onInput: null, - onInvalid: null, - onKeyDown: null, - onKeyPress: null, - onKeyUp: null, - onLanguageChange: null, - onLoad: null, - onLoadedData: null, - onLoadedMetadata: null, - onLoadEnd: null, - onLoadStart: null, - onMessage: null, - onMessageError: null, - onMouseDown: null, - onMouseEnter: null, - onMouseLeave: null, - onMouseMove: null, - onMouseOut: null, - onMouseOver: null, - onMouseUp: null, - onOffline: null, - onOnline: null, - onPageHide: null, - onPageShow: null, - onPaste: null, - onPause: null, - onPlay: null, - onPlaying: null, - onPopState: null, - onProgress: null, - onRateChange: null, - onRejectionHandled: null, - onReset: null, - onResize: null, - onScroll: null, - onScrollEnd: null, - onSecurityPolicyViolation: null, - onSeeked: null, - onSeeking: null, - onSelect: null, - onSlotChange: null, - onStalled: null, - onStorage: null, - onSubmit: null, - onSuspend: null, - onTimeUpdate: null, - onToggle: null, - onUnhandledRejection: null, - onUnload: null, - onVolumeChange: null, - onWaiting: null, - onWheel: null, - open: me, - optimum: te, - pattern: null, - ping: Pe, - placeholder: null, - playsInline: me, - popover: null, - popoverTarget: null, - popoverTargetAction: null, - poster: null, - preload: null, - readOnly: me, - referrerPolicy: null, - rel: Pe, - required: me, - reversed: me, - rows: te, - rowSpan: te, - sandbox: Pe, - scope: null, - scoped: me, - seamless: me, - selected: me, - shadowRootClonable: me, - shadowRootDelegatesFocus: me, - shadowRootMode: null, - shape: null, - size: te, - sizes: null, - slot: null, - span: te, - spellCheck: Qe, - src: null, - srcDoc: null, - srcLang: null, - srcSet: null, - start: te, - step: null, - style: null, - tabIndex: te, - target: null, - title: null, - translate: null, - type: null, - typeMustMatch: me, - useMap: null, - value: Qe, - width: te, - wrap: null, - writingSuggestions: null, - // Legacy. - // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis - align: null, - // Several. Use CSS `text-align` instead, - aLink: null, - // ``. Use CSS `a:active {color}` instead - archive: Pe, - // ``. List of URIs to archives - axis: null, - // `
` and ``. Use `scope` on `` - background: null, - // ``. Use CSS `background-image` instead - bgColor: null, - // `` and table elements. Use CSS `background-color` instead - border: te, - // ``. Use CSS `border-width` instead, - borderColor: null, - // `
`. Use CSS `border-color` instead, - bottomMargin: te, - // `` - cellPadding: null, - // `
` - cellSpacing: null, - // `
` - char: null, - // Several table elements. When `align=char`, sets the character to align on - charOff: null, - // Several table elements. When `char`, offsets the alignment - classId: null, - // `` - clear: null, - // `
`. Use CSS `clear` instead - code: null, - // `` - codeBase: null, - // `` - codeType: null, - // `` - color: null, - // `` and `
`. Use CSS instead - compact: me, - // Lists. Use CSS to reduce space between items instead - declare: me, - // `` - event: null, - // `