drizzle-cube 0.4.40 → 0.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.cjs +439 -0
- package/dist/client/charts/ChartLoader.d.ts +18 -3
- package/dist/client/charts/chartConfigRegistry.d.ts +11 -1
- package/dist/client/charts/chartPlugin.d.ts +74 -0
- package/dist/client/charts/lazyChartConfigRegistry.d.ts +10 -0
- package/dist/client/charts.js +13 -15
- package/dist/client/chunks/{DashboardEditModal-iGhIvNP6.js → DashboardEditModal-4zzjtZRR.js} +683 -685
- package/dist/client/chunks/DashboardEditModal-4zzjtZRR.js.map +1 -0
- package/dist/client/chunks/{FieldSearchModal-BxQ5JhWz.js → FieldSearchModal-trURu9Sa.js} +15 -16
- package/dist/client/chunks/{FieldSearchModal-BxQ5JhWz.js.map → FieldSearchModal-trURu9Sa.js.map} +1 -1
- package/dist/client/chunks/{RetentionCombinedChart-D4Yf1TnQ.js → RetentionCombinedChart-B1hUYaXt.js} +2 -2
- package/dist/client/chunks/{RetentionCombinedChart-D4Yf1TnQ.js.map → RetentionCombinedChart-B1hUYaXt.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-BoGY6mlZ.js → RetentionHeatmap-Dn2ocjVf.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-BoGY6mlZ.js.map → RetentionHeatmap-Dn2ocjVf.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-DEGG5NwE.js → analysis-builder-B7XSIMkr.js} +1474 -1523
- package/dist/client/chunks/analysis-builder-B7XSIMkr.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-BxHYfTzo.js → analysis-builder-shared-DaqtrLxd.js} +762 -778
- package/dist/client/chunks/analysis-builder-shared-DaqtrLxd.js.map +1 -0
- package/dist/client/chunks/{chart-bar-Bx4oKlqo.js → chart-bar-CPt67rLR.js} +1 -1
- package/dist/client/chunks/{chart-bar-Bx4oKlqo.js.map → chart-bar-CPt67rLR.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-CVIi1aM5.js → chart-box-plot-Dp_nqQen.js} +1 -1
- package/dist/client/chunks/{chart-box-plot-CVIi1aM5.js.map → chart-box-plot-Dp_nqQen.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-DvyG15UB.js → chart-bubble-CYQ8loeS.js} +1 -1
- package/dist/client/chunks/{chart-bubble-DvyG15UB.js.map → chart-bubble-CYQ8loeS.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-caHyxB9O.js → chart-candlestick-DTeSf7C5.js} +1 -1
- package/dist/client/chunks/{chart-candlestick-caHyxB9O.js.map → chart-candlestick-DTeSf7C5.js.map} +1 -1
- package/dist/client/chunks/{chart-config-activity-grid-USo7JrPh.js → chart-config-activity-grid-BSWS08cI.js} +1 -1
- package/dist/client/chunks/{chart-config-activity-grid-USo7JrPh.js.map → chart-config-activity-grid-BSWS08cI.js.map} +1 -1
- package/dist/client/chunks/{chart-config-area-D_ZufYzg.js → chart-config-area-DKwgcHp4.js} +1 -1
- package/dist/client/chunks/{chart-config-area-D_ZufYzg.js.map → chart-config-area-DKwgcHp4.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bar-BCi2Wmd6.js → chart-config-bar-deTjEhap.js} +1 -1
- package/dist/client/chunks/{chart-config-bar-BCi2Wmd6.js.map → chart-config-bar-deTjEhap.js.map} +1 -1
- package/dist/client/chunks/{chart-config-box-plot-afKLzJSp.js → chart-config-box-plot-DU4iWk3V.js} +1 -1
- package/dist/client/chunks/{chart-config-box-plot-afKLzJSp.js.map → chart-config-box-plot-DU4iWk3V.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bubble-CgbBjPv8.js → chart-config-bubble-B8FSHSW-.js} +1 -1
- package/dist/client/chunks/{chart-config-bubble-CgbBjPv8.js.map → chart-config-bubble-B8FSHSW-.js.map} +1 -1
- package/dist/client/chunks/{chart-config-candlestick-7boGjZ-A.js → chart-config-candlestick-BGfyWFft.js} +1 -1
- package/dist/client/chunks/{chart-config-candlestick-7boGjZ-A.js.map → chart-config-candlestick-BGfyWFft.js.map} +1 -1
- package/dist/client/chunks/{chart-config-data-table-Cl7sBasW.js → chart-config-data-table-DKRcGa8t.js} +1 -1
- package/dist/client/chunks/{chart-config-data-table-Cl7sBasW.js.map → chart-config-data-table-DKRcGa8t.js.map} +1 -1
- package/dist/client/chunks/{chart-config-funnel-CXPYQtTl.js → chart-config-funnel-Bt4iGFo_.js} +1 -1
- package/dist/client/chunks/{chart-config-funnel-CXPYQtTl.js.map → chart-config-funnel-Bt4iGFo_.js.map} +1 -1
- package/dist/client/chunks/{chart-config-gauge-DUNEUCvh.js → chart-config-gauge-Bk4Jjp3W.js} +1 -1
- package/dist/client/chunks/{chart-config-gauge-DUNEUCvh.js.map → chart-config-gauge-Bk4Jjp3W.js.map} +1 -1
- package/dist/client/chunks/{chart-config-heat-map-BFf1tO11.js → chart-config-heat-map-CkHsqkrY.js} +1 -1
- package/dist/client/chunks/{chart-config-heat-map-BFf1tO11.js.map → chart-config-heat-map-CkHsqkrY.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-delta-C5k2waIJ.js → chart-config-kpi-delta-CkUX98JV.js} +1 -1
- package/dist/client/chunks/{chart-config-kpi-delta-C5k2waIJ.js.map → chart-config-kpi-delta-CkUX98JV.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-number-DptOyhk0.js → chart-config-kpi-number-DcxyiUgs.js} +1 -1
- package/dist/client/chunks/{chart-config-kpi-number-DptOyhk0.js.map → chart-config-kpi-number-DcxyiUgs.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-text-D9DdVWqd.js → chart-config-kpi-text-DI4mj8CN.js} +1 -1
- package/dist/client/chunks/{chart-config-kpi-text-D9DdVWqd.js.map → chart-config-kpi-text-DI4mj8CN.js.map} +1 -1
- package/dist/client/chunks/{chart-config-line-B3NgLF7K.js → chart-config-line--j7-dLue.js} +1 -1
- package/dist/client/chunks/{chart-config-line-B3NgLF7K.js.map → chart-config-line--j7-dLue.js.map} +1 -1
- package/dist/client/chunks/{chart-config-markdown-tlfivQTt.js → chart-config-markdown-DUjvVjV4.js} +1 -1
- package/dist/client/chunks/{chart-config-markdown-tlfivQTt.js.map → chart-config-markdown-DUjvVjV4.js.map} +1 -1
- package/dist/client/chunks/{chart-config-measure-profile-D7XDwrU2.js → chart-config-measure-profile-B9FKBNGc.js} +1 -1
- package/dist/client/chunks/{chart-config-measure-profile-D7XDwrU2.js.map → chart-config-measure-profile-B9FKBNGc.js.map} +1 -1
- package/dist/client/chunks/{chart-config-pie-wY0B52PC.js → chart-config-pie-yU4jipl9.js} +1 -1
- package/dist/client/chunks/{chart-config-pie-wY0B52PC.js.map → chart-config-pie-yU4jipl9.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radar-DRpJBy1M.js → chart-config-radar-R9Fkc8wL.js} +1 -1
- package/dist/client/chunks/{chart-config-radar-DRpJBy1M.js.map → chart-config-radar-R9Fkc8wL.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radial-bar-DCUpXv9G.js → chart-config-radial-bar-DeoXfpIp.js} +1 -1
- package/dist/client/chunks/{chart-config-radial-bar-DCUpXv9G.js.map → chart-config-radial-bar-DeoXfpIp.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sankey-CdOhlm4h.js → chart-config-sankey-CXEsxo6s.js} +1 -1
- package/dist/client/chunks/{chart-config-sankey-CdOhlm4h.js.map → chart-config-sankey-CXEsxo6s.js.map} +1 -1
- package/dist/client/chunks/{chart-config-scatter-B2su_x8f.js → chart-config-scatter-MVUFupub.js} +1 -1
- package/dist/client/chunks/{chart-config-scatter-B2su_x8f.js.map → chart-config-scatter-MVUFupub.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sunburst-BPdjbk18.js → chart-config-sunburst-Z_gqIY5u.js} +1 -1
- package/dist/client/chunks/{chart-config-sunburst-BPdjbk18.js.map → chart-config-sunburst-Z_gqIY5u.js.map} +1 -1
- package/dist/client/chunks/{chart-config-tree-map-Cbsh2fe2.js → chart-config-tree-map-BD-xAeIy.js} +1 -1
- package/dist/client/chunks/{chart-config-tree-map-Cbsh2fe2.js.map → chart-config-tree-map-BD-xAeIy.js.map} +1 -1
- package/dist/client/chunks/{chart-config-waterfall-DGmuZfQF.js → chart-config-waterfall-CHwVkXZc.js} +1 -1
- package/dist/client/chunks/{chart-config-waterfall-DGmuZfQF.js.map → chart-config-waterfall-CHwVkXZc.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-CW_qZDpt.js → chart-data-table-BZ7StNWv.js} +1452 -826
- package/dist/client/chunks/chart-data-table-BZ7StNWv.js.map +1 -0
- package/dist/client/chunks/{chart-gauge-BLLJqeXo.js → chart-gauge-_Xdgk_qI.js} +1 -1
- package/dist/client/chunks/{chart-gauge-BLLJqeXo.js.map → chart-gauge-_Xdgk_qI.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-f2fM2mDC.js → chart-heat-map-BOMQeUDL.js} +1 -1
- package/dist/client/chunks/{chart-heat-map-f2fM2mDC.js.map → chart-heat-map-BOMQeUDL.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-BPexzOe7.js → chart-kpi-delta-C2tdpWki.js} +4 -4
- package/dist/client/chunks/{chart-kpi-delta-BPexzOe7.js.map → chart-kpi-delta-C2tdpWki.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-BBtGBtZL.js → chart-kpi-number-BUNKM7yg.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-BBtGBtZL.js.map → chart-kpi-number-BUNKM7yg.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-BqHhmJEB.js → chart-kpi-text-COF8iN0K.js} +2 -2
- package/dist/client/chunks/{chart-kpi-text-BqHhmJEB.js.map → chart-kpi-text-COF8iN0K.js.map} +1 -1
- package/dist/client/chunks/{chart-line-CPhQRMZ7.js → chart-line-D3SEwXDS.js} +1 -1
- package/dist/client/chunks/{chart-line-CPhQRMZ7.js.map → chart-line-D3SEwXDS.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-B2X4IwLO.js → chart-markdown-DMekYkKz.js} +647 -644
- package/dist/client/chunks/chart-markdown-DMekYkKz.js.map +1 -0
- package/dist/client/chunks/{chart-measure-profile-CVlqGslU.js → chart-measure-profile-BPhI1Z9s.js} +1 -1
- package/dist/client/chunks/{chart-measure-profile-CVlqGslU.js.map → chart-measure-profile-BPhI1Z9s.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-DafSc9sE.js → chart-pie-COl3Rmdk.js} +1 -1
- package/dist/client/chunks/{chart-pie-DafSc9sE.js.map → chart-pie-COl3Rmdk.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-Dz9F5k-B.js → chart-radar-BKZXylBB.js} +1 -1
- package/dist/client/chunks/{chart-radar-Dz9F5k-B.js.map → chart-radar-BKZXylBB.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-N3MNUL7o.js → chart-radial-bar-CMfC7SPd.js} +1 -1
- package/dist/client/chunks/{chart-radial-bar-N3MNUL7o.js.map → chart-radial-bar-CMfC7SPd.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-J2JNi88S.js → chart-scatter-xQMa3dUt.js} +1 -1
- package/dist/client/chunks/{chart-scatter-J2JNi88S.js.map → chart-scatter-xQMa3dUt.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-D1NFQjqk.js → chart-sunburst-BGhJ4fui.js} +1 -1
- package/dist/client/chunks/{chart-sunburst-D1NFQjqk.js.map → chart-sunburst-BGhJ4fui.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-CbYjko2s.js → chart-tree-map-Cn1pmrAw.js} +1 -1
- package/dist/client/chunks/{chart-tree-map-CbYjko2s.js.map → chart-tree-map-Cn1pmrAw.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-Z65TGMUO.js → chart-waterfall-C2nVN4pn.js} +1 -1
- package/dist/client/chunks/{chart-waterfall-Z65TGMUO.js.map → chart-waterfall-C2nVN4pn.js.map} +1 -1
- package/dist/client/chunks/{charts-core-CJlGzwsW.js → charts-core-Cy3rHADX.js} +1 -1
- package/dist/client/chunks/{charts-core-CJlGzwsW.js.map → charts-core-Cy3rHADX.js.map} +1 -1
- package/dist/client/chunks/{core-DJrniqct.js → core-BdWfCZ3y.js} +1 -1
- package/dist/client/chunks/{core-DJrniqct.js.map → core-BdWfCZ3y.js.map} +1 -1
- package/dist/client/chunks/{dist-DDBeV_JI.js → dist-BWPE2m_X.js} +1 -1
- package/dist/client/chunks/{dist-DDBeV_JI.js.map → dist-BWPE2m_X.js.map} +1 -1
- package/dist/client/chunks/{javascript-BBwTSo6e.js → javascript-O1RIRkZr.js} +1 -1
- package/dist/client/chunks/{javascript-BBwTSo6e.js.map → javascript-O1RIRkZr.js.map} +1 -1
- package/dist/client/chunks/{json-BpTrLZSh.js → json-C5bX2tt1.js} +1 -1
- package/dist/client/chunks/{json-BpTrLZSh.js.map → json-C5bX2tt1.js.map} +1 -1
- package/dist/client/chunks/{retention-UEXlSdZ-.js → retention-YhT1Oohi.js} +1 -1
- package/dist/client/chunks/{retention-UEXlSdZ-.js.map → retention-YhT1Oohi.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-CwiEtwdu.js → schema-visualization-DVdfx6N8.js} +92 -96
- package/dist/client/chunks/schema-visualization-DVdfx6N8.js.map +1 -0
- package/dist/client/chunks/{sql-B0chxcEK.js → sql-D2qikO5q.js} +1 -1
- package/dist/client/chunks/{sql-B0chxcEK.js.map → sql-D2qikO5q.js.map} +1 -1
- package/dist/client/chunks/{syntaxHighlighting-BLl0ch4A.js → syntaxHighlighting-BYYWYmjr.js} +2 -2
- package/dist/client/chunks/{syntaxHighlighting-BLl0ch4A.js.map → syntaxHighlighting-BYYWYmjr.js.map} +1 -1
- package/dist/client/chunks/{useDebounce-C_wstEud.js → useDebounce-Bel8J05v.js} +12 -12
- package/dist/client/chunks/{useDebounce-C_wstEud.js.map → useDebounce-Bel8J05v.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-CgKZWkel.js → useDirtyStateTracking-KAjwj1Ht.js} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-CgKZWkel.js.map → useDirtyStateTracking-KAjwj1Ht.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-C9ytXRIC.js → useExplainAI-CxdzY2N0.js} +14 -14
- package/dist/client/chunks/{useExplainAI-C9ytXRIC.js.map → useExplainAI-CxdzY2N0.js.map} +1 -1
- package/dist/client/chunks/{useNotebookLayout-BFZ_33Kb.js → useNotebookLayout-DKkMenhj.js} +1 -1
- package/dist/client/chunks/{useNotebookLayout-BFZ_33Kb.js.map → useNotebookLayout-DKkMenhj.js.map} +1 -1
- package/dist/client/chunks/{utils-3FNmeZJR.js → utils-CMkS7h9x.js} +2 -2
- package/dist/client/chunks/{utils-3FNmeZJR.js.map → utils-CMkS7h9x.js.map} +1 -1
- package/dist/client/chunks/{vendor-BPRWulB7.js → vendor-BoWEubRu.js} +40 -40
- package/dist/client/chunks/{vendor-BPRWulB7.js.map → vendor-BoWEubRu.js.map} +1 -1
- package/dist/client/components.js +3 -3
- package/dist/client/hooks.js +5 -5
- package/dist/client/icons/registry.d.ts +6 -0
- package/dist/client/icons.js +2 -2
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.js +39 -41
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers/CubeProvider.d.ts +4 -1
- package/dist/client/providers.js +2 -2
- package/dist/client/schema.d.ts +13 -0
- package/dist/client/schema.js +2 -0
- package/dist/client/styles.css +1 -1
- package/dist/client/types.d.ts +2 -1
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/package.json +10 -2
- package/dist/client/chunks/DashboardEditModal-iGhIvNP6.js.map +0 -1
- package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js +0 -56
- package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js.map +0 -1
- package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js +0 -25
- package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js.map +0 -1
- package/dist/client/chunks/analysis-builder-DEGG5NwE.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-BxHYfTzo.js.map +0 -1
- package/dist/client/chunks/chart-data-table-CW_qZDpt.js.map +0 -1
- package/dist/client/chunks/chart-markdown-B2X4IwLO.js.map +0 -1
- package/dist/client/chunks/charts-loader-gZjOqZwG.js +0 -259
- package/dist/client/chunks/charts-loader-gZjOqZwG.js.map +0 -1
- package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js +0 -149
- package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js.map +0 -1
- package/dist/client/chunks/schema-visualization-CwiEtwdu.js.map +0 -1
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
|
|
2
2
|
import { A as t, k as n, x as r, y as i } from "./chart-activity-grid-wR2Twpo7.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
3
|
+
import { n as a } from "./chart-config-bar-deTjEhap.js";
|
|
4
|
+
import { n as o } from "./chart-config-line--j7-dLue.js";
|
|
5
|
+
import { n as s } from "./chart-config-area-DKwgcHp4.js";
|
|
6
|
+
import { n as c } from "./chart-config-pie-yU4jipl9.js";
|
|
7
|
+
import { n as l } from "./chart-config-scatter-MVUFupub.js";
|
|
8
|
+
import { n as u } from "./chart-config-bubble-B8FSHSW-.js";
|
|
9
|
+
import { n as d } from "./chart-config-radar-R9Fkc8wL.js";
|
|
10
|
+
import { n as f } from "./chart-config-radial-bar-DeoXfpIp.js";
|
|
11
|
+
import { n as p } from "./chart-config-tree-map-BD-xAeIy.js";
|
|
12
|
+
import { n as m } from "./chart-config-data-table-DKRcGa8t.js";
|
|
13
|
+
import { n as h } from "./chart-config-activity-grid-BSWS08cI.js";
|
|
14
|
+
import { n as g } from "./chart-config-kpi-number-DcxyiUgs.js";
|
|
15
|
+
import { n as _ } from "./chart-config-kpi-delta-CkUX98JV.js";
|
|
16
|
+
import { n as v } from "./chart-config-kpi-text-DI4mj8CN.js";
|
|
17
|
+
import { n as ee } from "./chart-config-markdown-DUjvVjV4.js";
|
|
18
|
+
import { n as y } from "./chart-config-funnel-Bt4iGFo_.js";
|
|
19
|
+
import { n as b } from "./chart-config-sankey-CXEsxo6s.js";
|
|
20
|
+
import { n as te } from "./chart-config-sunburst-Z_gqIY5u.js";
|
|
21
|
+
import { n as ne } from "./chart-config-heat-map-CkHsqkrY.js";
|
|
22
|
+
import { n as re } from "./chart-config-box-plot-DU4iWk3V.js";
|
|
23
|
+
import { n as ie } from "./chart-config-waterfall-CHwVkXZc.js";
|
|
24
|
+
import { n as ae } from "./chart-config-candlestick-BGfyWFft.js";
|
|
25
|
+
import { n as oe } from "./chart-config-measure-profile-B9FKBNGc.js";
|
|
26
|
+
import { n as se } from "./chart-config-gauge-Bk4Jjp3W.js";
|
|
27
|
+
import * as x from "react";
|
|
28
|
+
import ce, { Suspense as le, createContext as ue, createElement as de, forwardRef as fe, lazy as pe, useCallback as me, useContext as he, useEffect as S, useMemo as C, useRef as ge, useState as w } from "react";
|
|
29
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
6
30
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
7
|
-
var
|
|
31
|
+
var D = class {
|
|
8
32
|
constructor() {
|
|
9
33
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
10
34
|
}
|
|
@@ -18,7 +42,7 @@ var _ = class {
|
|
|
18
42
|
}
|
|
19
43
|
onSubscribe() {}
|
|
20
44
|
onUnsubscribe() {}
|
|
21
|
-
},
|
|
45
|
+
}, _e = new class extends D {
|
|
22
46
|
#e;
|
|
23
47
|
#t;
|
|
24
48
|
#n;
|
|
@@ -55,13 +79,13 @@ var _ = class {
|
|
|
55
79
|
isFocused() {
|
|
56
80
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
57
81
|
}
|
|
58
|
-
}(),
|
|
82
|
+
}(), ve = {
|
|
59
83
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
60
84
|
clearTimeout: (e) => clearTimeout(e),
|
|
61
85
|
setInterval: (e, t) => setInterval(e, t),
|
|
62
86
|
clearInterval: (e) => clearInterval(e)
|
|
63
|
-
},
|
|
64
|
-
#e =
|
|
87
|
+
}, O = new class {
|
|
88
|
+
#e = ve;
|
|
65
89
|
#t = !1;
|
|
66
90
|
setTimeoutProvider(e) {
|
|
67
91
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
|
|
@@ -82,34 +106,34 @@ var _ = class {
|
|
|
82
106
|
this.#e.clearInterval(e);
|
|
83
107
|
}
|
|
84
108
|
}();
|
|
85
|
-
function
|
|
109
|
+
function ye(e) {
|
|
86
110
|
setTimeout(e, 0);
|
|
87
111
|
}
|
|
88
112
|
//#endregion
|
|
89
113
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
90
|
-
var
|
|
91
|
-
function
|
|
92
|
-
function
|
|
114
|
+
var be = typeof window > "u" || "Deno" in globalThis;
|
|
115
|
+
function k() {}
|
|
116
|
+
function xe(e, t) {
|
|
93
117
|
return typeof e == "function" ? e(t) : e;
|
|
94
118
|
}
|
|
95
|
-
function
|
|
119
|
+
function Se(e) {
|
|
96
120
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
97
121
|
}
|
|
98
|
-
function
|
|
122
|
+
function Ce(e, t) {
|
|
99
123
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
100
124
|
}
|
|
101
|
-
function
|
|
125
|
+
function A(e, t) {
|
|
102
126
|
return typeof e == "function" ? e(t) : e;
|
|
103
127
|
}
|
|
104
|
-
function
|
|
128
|
+
function j(e, t) {
|
|
105
129
|
return typeof e == "function" ? e(t) : e;
|
|
106
130
|
}
|
|
107
|
-
function
|
|
131
|
+
function we(e, t) {
|
|
108
132
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
109
133
|
if (o) {
|
|
110
134
|
if (r) {
|
|
111
|
-
if (t.queryHash !==
|
|
112
|
-
} else if (!
|
|
135
|
+
if (t.queryHash !== Ee(o, t.options)) return !1;
|
|
136
|
+
} else if (!N(t.queryKey, o)) return !1;
|
|
113
137
|
}
|
|
114
138
|
if (n !== "all") {
|
|
115
139
|
let e = t.isActive();
|
|
@@ -117,98 +141,98 @@ function ie(e, t) {
|
|
|
117
141
|
}
|
|
118
142
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
119
143
|
}
|
|
120
|
-
function
|
|
144
|
+
function Te(e, t) {
|
|
121
145
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
122
146
|
if (a) {
|
|
123
147
|
if (!t.options.mutationKey) return !1;
|
|
124
148
|
if (n) {
|
|
125
|
-
if (
|
|
126
|
-
} else if (!
|
|
149
|
+
if (M(t.options.mutationKey) !== M(a)) return !1;
|
|
150
|
+
} else if (!N(t.options.mutationKey, a)) return !1;
|
|
127
151
|
}
|
|
128
152
|
return !(r && t.state.status !== r || i && !i(t));
|
|
129
153
|
}
|
|
130
|
-
function
|
|
131
|
-
return (t?.queryKeyHashFn ||
|
|
154
|
+
function Ee(e, t) {
|
|
155
|
+
return (t?.queryKeyHashFn || M)(e);
|
|
132
156
|
}
|
|
133
|
-
function
|
|
134
|
-
return JSON.stringify(e, (e, t) =>
|
|
157
|
+
function M(e) {
|
|
158
|
+
return JSON.stringify(e, (e, t) => je(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
135
159
|
}
|
|
136
|
-
function
|
|
137
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
160
|
+
function N(e, t) {
|
|
161
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => N(e[n], t[n])) : !1;
|
|
138
162
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
163
|
+
var De = Object.prototype.hasOwnProperty;
|
|
164
|
+
function Oe(e, t, n = 0) {
|
|
141
165
|
if (e === t) return e;
|
|
142
166
|
if (n > 500) return t;
|
|
143
|
-
let r =
|
|
144
|
-
if (!r && !(
|
|
167
|
+
let r = Ae(e) && Ae(t);
|
|
168
|
+
if (!r && !(je(e) && je(t))) return t;
|
|
145
169
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
146
170
|
for (let l = 0; l < o; l++) {
|
|
147
171
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
148
172
|
if (u === d) {
|
|
149
|
-
s[o] = u, (r ? l < i :
|
|
173
|
+
s[o] = u, (r ? l < i : De.call(e, o)) && c++;
|
|
150
174
|
continue;
|
|
151
175
|
}
|
|
152
176
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
153
177
|
s[o] = d;
|
|
154
178
|
continue;
|
|
155
179
|
}
|
|
156
|
-
let f =
|
|
180
|
+
let f = Oe(u, d, n + 1);
|
|
157
181
|
s[o] = f, f === u && c++;
|
|
158
182
|
}
|
|
159
183
|
return i === o && c === i ? e : s;
|
|
160
184
|
}
|
|
161
|
-
function
|
|
185
|
+
function ke(e, t) {
|
|
162
186
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
163
187
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
164
188
|
return !0;
|
|
165
189
|
}
|
|
166
|
-
function
|
|
190
|
+
function Ae(e) {
|
|
167
191
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
168
192
|
}
|
|
169
|
-
function
|
|
170
|
-
if (!
|
|
193
|
+
function je(e) {
|
|
194
|
+
if (!Me(e)) return !1;
|
|
171
195
|
let t = e.constructor;
|
|
172
196
|
if (t === void 0) return !0;
|
|
173
197
|
let n = t.prototype;
|
|
174
|
-
return !(!
|
|
198
|
+
return !(!Me(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
175
199
|
}
|
|
176
|
-
function
|
|
200
|
+
function Me(e) {
|
|
177
201
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
178
202
|
}
|
|
179
|
-
function
|
|
203
|
+
function Ne(e) {
|
|
180
204
|
return new Promise((t) => {
|
|
181
|
-
|
|
205
|
+
O.setTimeout(t, e);
|
|
182
206
|
});
|
|
183
207
|
}
|
|
184
|
-
function
|
|
208
|
+
function Pe(e, t, n) {
|
|
185
209
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
186
210
|
if (n.structuralSharing !== !1) {
|
|
187
211
|
if (process.env.NODE_ENV !== "production") try {
|
|
188
|
-
return
|
|
212
|
+
return Oe(e, t);
|
|
189
213
|
} catch (e) {
|
|
190
214
|
throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
|
|
191
215
|
}
|
|
192
|
-
return
|
|
216
|
+
return Oe(e, t);
|
|
193
217
|
}
|
|
194
218
|
return t;
|
|
195
219
|
}
|
|
196
|
-
function
|
|
220
|
+
function Fe(e, t, n = 0) {
|
|
197
221
|
let r = [...e, t];
|
|
198
222
|
return n && r.length > n ? r.slice(1) : r;
|
|
199
223
|
}
|
|
200
|
-
function
|
|
224
|
+
function Ie(e, t, n = 0) {
|
|
201
225
|
let r = [t, ...e];
|
|
202
226
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
203
227
|
}
|
|
204
|
-
var
|
|
205
|
-
function
|
|
206
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
228
|
+
var Le = /* @__PURE__ */ Symbol();
|
|
229
|
+
function Re(e, t) {
|
|
230
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Le && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Le ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
207
231
|
}
|
|
208
|
-
function
|
|
232
|
+
function ze(e, t) {
|
|
209
233
|
return typeof e == "function" ? e(...t) : !!e;
|
|
210
234
|
}
|
|
211
|
-
function
|
|
235
|
+
function Be(e, t, n) {
|
|
212
236
|
let r = !1, i;
|
|
213
237
|
return Object.defineProperty(e, "signal", {
|
|
214
238
|
enumerable: !0,
|
|
@@ -217,8 +241,8 @@ function _e(e, t, n) {
|
|
|
217
241
|
}
|
|
218
242
|
//#endregion
|
|
219
243
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
220
|
-
var
|
|
221
|
-
let e = () =>
|
|
244
|
+
var P = /* @__PURE__ */ (() => {
|
|
245
|
+
let e = () => be;
|
|
222
246
|
return {
|
|
223
247
|
isServer() {
|
|
224
248
|
return e();
|
|
@@ -230,7 +254,7 @@ var A = /* @__PURE__ */ (() => {
|
|
|
230
254
|
})();
|
|
231
255
|
//#endregion
|
|
232
256
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
233
|
-
function
|
|
257
|
+
function Ve() {
|
|
234
258
|
let e, t, n = new Promise((n, r) => {
|
|
235
259
|
e = n, t = r;
|
|
236
260
|
});
|
|
@@ -252,13 +276,13 @@ function ve() {
|
|
|
252
276
|
}
|
|
253
277
|
//#endregion
|
|
254
278
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
255
|
-
var
|
|
256
|
-
function
|
|
279
|
+
var He = ye;
|
|
280
|
+
function Ue() {
|
|
257
281
|
let e = [], t = 0, n = (e) => {
|
|
258
282
|
e();
|
|
259
283
|
}, r = (e) => {
|
|
260
284
|
e();
|
|
261
|
-
}, i =
|
|
285
|
+
}, i = He, a = (r) => {
|
|
262
286
|
t ? e.push(r) : i(() => {
|
|
263
287
|
n(r);
|
|
264
288
|
});
|
|
@@ -300,7 +324,7 @@ function be() {
|
|
|
300
324
|
}
|
|
301
325
|
};
|
|
302
326
|
}
|
|
303
|
-
var
|
|
327
|
+
var F = Ue(), I = new class extends D {
|
|
304
328
|
#e = !0;
|
|
305
329
|
#t;
|
|
306
330
|
#n;
|
|
@@ -334,28 +358,28 @@ var j = be(), M = new class extends _ {
|
|
|
334
358
|
}();
|
|
335
359
|
//#endregion
|
|
336
360
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
337
|
-
function
|
|
361
|
+
function We(e) {
|
|
338
362
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
339
363
|
}
|
|
340
|
-
function
|
|
341
|
-
return (e ?? "online") === "online" ?
|
|
364
|
+
function Ge(e) {
|
|
365
|
+
return (e ?? "online") === "online" ? I.isOnline() : !0;
|
|
342
366
|
}
|
|
343
|
-
var
|
|
367
|
+
var Ke = class extends Error {
|
|
344
368
|
constructor(e) {
|
|
345
369
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
346
370
|
}
|
|
347
371
|
};
|
|
348
|
-
function
|
|
349
|
-
let t = !1, n = 0, r, i =
|
|
372
|
+
function qe(e) {
|
|
373
|
+
let t = !1, n = 0, r, i = Ve(), a = () => i.status !== "pending", o = (t) => {
|
|
350
374
|
if (!a()) {
|
|
351
|
-
let n = new
|
|
375
|
+
let n = new Ke(t);
|
|
352
376
|
f(n), e.onCancel?.(n);
|
|
353
377
|
}
|
|
354
378
|
}, s = () => {
|
|
355
379
|
t = !0;
|
|
356
380
|
}, c = () => {
|
|
357
381
|
t = !1;
|
|
358
|
-
}, l = () =>
|
|
382
|
+
}, l = () => _e.isFocused() && (e.networkMode === "always" || I.isOnline()) && e.canRun(), u = () => Ge(e.networkMode) && e.canRun(), d = (e) => {
|
|
359
383
|
a() || (r?.(), i.resolve(e));
|
|
360
384
|
}, f = (e) => {
|
|
361
385
|
a() || (r?.(), i.reject(e));
|
|
@@ -375,12 +399,12 @@ function Ce(e) {
|
|
|
375
399
|
}
|
|
376
400
|
Promise.resolve(r).then(d).catch((r) => {
|
|
377
401
|
if (a()) return;
|
|
378
|
-
let i = e.retry ?? (
|
|
402
|
+
let i = e.retry ?? (P.isServer() ? 0 : 3), o = e.retryDelay ?? We, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
379
403
|
if (t || !c) {
|
|
380
404
|
f(r);
|
|
381
405
|
return;
|
|
382
406
|
}
|
|
383
|
-
n++, e.onFail?.(n, r),
|
|
407
|
+
n++, e.onFail?.(n, r), Ne(s).then(() => l() ? void 0 : p()).then(() => {
|
|
384
408
|
t ? f(r) : m();
|
|
385
409
|
});
|
|
386
410
|
});
|
|
@@ -398,23 +422,23 @@ function Ce(e) {
|
|
|
398
422
|
}
|
|
399
423
|
//#endregion
|
|
400
424
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
401
|
-
var
|
|
425
|
+
var Je = class {
|
|
402
426
|
#e;
|
|
403
427
|
destroy() {
|
|
404
428
|
this.clearGcTimeout();
|
|
405
429
|
}
|
|
406
430
|
scheduleGc() {
|
|
407
|
-
this.clearGcTimeout(),
|
|
431
|
+
this.clearGcTimeout(), Se(this.gcTime) && (this.#e = O.setTimeout(() => {
|
|
408
432
|
this.optionalRemove();
|
|
409
433
|
}, this.gcTime));
|
|
410
434
|
}
|
|
411
435
|
updateGcTime(e) {
|
|
412
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
436
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (P.isServer() ? Infinity : 300 * 1e3));
|
|
413
437
|
}
|
|
414
438
|
clearGcTimeout() {
|
|
415
|
-
this.#e &&= (
|
|
439
|
+
this.#e &&= (O.clearTimeout(this.#e), void 0);
|
|
416
440
|
}
|
|
417
|
-
},
|
|
441
|
+
}, Ye = class extends Je {
|
|
418
442
|
#e;
|
|
419
443
|
#t;
|
|
420
444
|
#n;
|
|
@@ -423,7 +447,7 @@ var we = class {
|
|
|
423
447
|
#a;
|
|
424
448
|
#o;
|
|
425
449
|
constructor(e) {
|
|
426
|
-
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
|
450
|
+
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Qe(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
|
427
451
|
}
|
|
428
452
|
get meta() {
|
|
429
453
|
return this.options.meta;
|
|
@@ -436,15 +460,15 @@ var we = class {
|
|
|
436
460
|
...this.#a,
|
|
437
461
|
...e
|
|
438
462
|
}, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
439
|
-
let e =
|
|
440
|
-
e.data !== void 0 && (this.setState(
|
|
463
|
+
let e = Qe(this.options);
|
|
464
|
+
e.data !== void 0 && (this.setState(Ze(e.data, e.dataUpdatedAt)), this.#e = e);
|
|
441
465
|
}
|
|
442
466
|
}
|
|
443
467
|
optionalRemove() {
|
|
444
468
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
|
|
445
469
|
}
|
|
446
470
|
setData(e, t) {
|
|
447
|
-
let n =
|
|
471
|
+
let n = Pe(this.state.data, e, this.options);
|
|
448
472
|
return this.#c({
|
|
449
473
|
data: n,
|
|
450
474
|
type: "success",
|
|
@@ -461,7 +485,7 @@ var we = class {
|
|
|
461
485
|
}
|
|
462
486
|
cancel(e) {
|
|
463
487
|
let t = this.#i?.promise;
|
|
464
|
-
return this.#i?.cancel(e), t ? t.then(
|
|
488
|
+
return this.#i?.cancel(e), t ? t.then(k).catch(k) : Promise.resolve();
|
|
465
489
|
}
|
|
466
490
|
destroy() {
|
|
467
491
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -473,22 +497,22 @@ var we = class {
|
|
|
473
497
|
this.destroy(), this.setState(this.resetState);
|
|
474
498
|
}
|
|
475
499
|
isActive() {
|
|
476
|
-
return this.observers.some((e) =>
|
|
500
|
+
return this.observers.some((e) => j(e.options.enabled, this) !== !1);
|
|
477
501
|
}
|
|
478
502
|
isDisabled() {
|
|
479
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
503
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Le || !this.isFetched();
|
|
480
504
|
}
|
|
481
505
|
isFetched() {
|
|
482
506
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
483
507
|
}
|
|
484
508
|
isStatic() {
|
|
485
|
-
return this.getObserversCount() > 0 ? this.observers.some((e) =>
|
|
509
|
+
return this.getObserversCount() > 0 ? this.observers.some((e) => A(e.options.staleTime, this) === "static") : !1;
|
|
486
510
|
}
|
|
487
511
|
isStale() {
|
|
488
512
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
489
513
|
}
|
|
490
514
|
isStaleByTime(e = 0) {
|
|
491
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
515
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Ce(this.state.dataUpdatedAt, e);
|
|
492
516
|
}
|
|
493
517
|
onFocus() {
|
|
494
518
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#i?.continue();
|
|
@@ -535,7 +559,7 @@ var we = class {
|
|
|
535
559
|
get: () => (this.#o = !0, n.signal)
|
|
536
560
|
});
|
|
537
561
|
}, i = () => {
|
|
538
|
-
let e =
|
|
562
|
+
let e = Re(this.options, t), n = (() => {
|
|
539
563
|
let e = {
|
|
540
564
|
client: this.#r,
|
|
541
565
|
queryKey: this.queryKey,
|
|
@@ -558,11 +582,11 @@ var we = class {
|
|
|
558
582
|
this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
|
|
559
583
|
type: "fetch",
|
|
560
584
|
meta: a.fetchOptions?.meta
|
|
561
|
-
}), this.#i =
|
|
585
|
+
}), this.#i = qe({
|
|
562
586
|
initialPromise: t?.initialPromise,
|
|
563
587
|
fn: a.fetchFn,
|
|
564
588
|
onCancel: (e) => {
|
|
565
|
-
e instanceof
|
|
589
|
+
e instanceof Ke && e.revert && this.setState({
|
|
566
590
|
...this.#t,
|
|
567
591
|
fetchStatus: "idle"
|
|
568
592
|
}), n.abort();
|
|
@@ -590,7 +614,7 @@ var we = class {
|
|
|
590
614
|
if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
|
|
591
615
|
return this.setData(e), this.#n.config.onSuccess?.(e, this), this.#n.config.onSettled?.(e, this.state.error, this), e;
|
|
592
616
|
} catch (e) {
|
|
593
|
-
if (e instanceof
|
|
617
|
+
if (e instanceof Ke) {
|
|
594
618
|
if (e.silent) return this.#i.promise;
|
|
595
619
|
if (e.revert) {
|
|
596
620
|
if (this.state.data === void 0) throw e;
|
|
@@ -623,13 +647,13 @@ var we = class {
|
|
|
623
647
|
};
|
|
624
648
|
case "fetch": return {
|
|
625
649
|
...t,
|
|
626
|
-
...
|
|
650
|
+
...Xe(t.data, this.options),
|
|
627
651
|
fetchMeta: e.meta ?? null
|
|
628
652
|
};
|
|
629
653
|
case "success":
|
|
630
654
|
let n = {
|
|
631
655
|
...t,
|
|
632
|
-
...
|
|
656
|
+
...Ze(e.data, e.dataUpdatedAt),
|
|
633
657
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
634
658
|
...!e.manual && {
|
|
635
659
|
fetchStatus: "idle",
|
|
@@ -660,7 +684,7 @@ var we = class {
|
|
|
660
684
|
...e.state
|
|
661
685
|
};
|
|
662
686
|
}
|
|
663
|
-
})(this.state),
|
|
687
|
+
})(this.state), F.batch(() => {
|
|
664
688
|
this.observers.forEach((e) => {
|
|
665
689
|
e.onQueryUpdate();
|
|
666
690
|
}), this.#n.notify({
|
|
@@ -671,18 +695,18 @@ var we = class {
|
|
|
671
695
|
});
|
|
672
696
|
}
|
|
673
697
|
};
|
|
674
|
-
function
|
|
698
|
+
function Xe(e, t) {
|
|
675
699
|
return {
|
|
676
700
|
fetchFailureCount: 0,
|
|
677
701
|
fetchFailureReason: null,
|
|
678
|
-
fetchStatus:
|
|
702
|
+
fetchStatus: Ge(t.networkMode) ? "fetching" : "paused",
|
|
679
703
|
...e === void 0 && {
|
|
680
704
|
error: null,
|
|
681
705
|
status: "pending"
|
|
682
706
|
}
|
|
683
707
|
};
|
|
684
708
|
}
|
|
685
|
-
function
|
|
709
|
+
function Ze(e, t) {
|
|
686
710
|
return {
|
|
687
711
|
data: e,
|
|
688
712
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -691,7 +715,7 @@ function De(e, t) {
|
|
|
691
715
|
status: "success"
|
|
692
716
|
};
|
|
693
717
|
}
|
|
694
|
-
function
|
|
718
|
+
function Qe(e) {
|
|
695
719
|
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
696
720
|
return {
|
|
697
721
|
data: t,
|
|
@@ -710,9 +734,9 @@ function Oe(e) {
|
|
|
710
734
|
}
|
|
711
735
|
//#endregion
|
|
712
736
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
713
|
-
var
|
|
737
|
+
var $e = class extends D {
|
|
714
738
|
constructor(e, t) {
|
|
715
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
739
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = Ve(), this.bindMethods(), this.setOptions(t);
|
|
716
740
|
}
|
|
717
741
|
#e;
|
|
718
742
|
#t = void 0;
|
|
@@ -733,36 +757,36 @@ var ke = class extends _ {
|
|
|
733
757
|
this.refetch = this.refetch.bind(this);
|
|
734
758
|
}
|
|
735
759
|
onSubscribe() {
|
|
736
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
760
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), tt(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
737
761
|
}
|
|
738
762
|
onUnsubscribe() {
|
|
739
763
|
this.hasListeners() || this.destroy();
|
|
740
764
|
}
|
|
741
765
|
shouldFetchOnReconnect() {
|
|
742
|
-
return
|
|
766
|
+
return nt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
743
767
|
}
|
|
744
768
|
shouldFetchOnWindowFocus() {
|
|
745
|
-
return
|
|
769
|
+
return nt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
746
770
|
}
|
|
747
771
|
destroy() {
|
|
748
772
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
749
773
|
}
|
|
750
774
|
setOptions(e) {
|
|
751
775
|
let t = this.options, n = this.#t;
|
|
752
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
753
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
776
|
+
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof j(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
777
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !ke(this.options, t) && this.#e.getQueryCache().notify({
|
|
754
778
|
type: "observerOptionsUpdated",
|
|
755
779
|
query: this.#t,
|
|
756
780
|
observer: this
|
|
757
781
|
});
|
|
758
782
|
let r = this.hasListeners();
|
|
759
|
-
r &&
|
|
783
|
+
r && rt(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();
|
|
760
784
|
let i = this.#_();
|
|
761
|
-
r && (this.#t !== n ||
|
|
785
|
+
r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
762
786
|
}
|
|
763
787
|
getOptimisticResult(e) {
|
|
764
788
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
765
|
-
return
|
|
789
|
+
return at(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
766
790
|
}
|
|
767
791
|
getCurrentResult() {
|
|
768
792
|
return this.#r;
|
|
@@ -792,14 +816,14 @@ var ke = class extends _ {
|
|
|
792
816
|
#h(e) {
|
|
793
817
|
this.#S();
|
|
794
818
|
let t = this.#t.fetch(this.options, e);
|
|
795
|
-
return e?.throwOnError || (t = t.catch(
|
|
819
|
+
return e?.throwOnError || (t = t.catch(k)), t;
|
|
796
820
|
}
|
|
797
821
|
#g() {
|
|
798
822
|
this.#b();
|
|
799
|
-
let e =
|
|
800
|
-
if (
|
|
801
|
-
let t =
|
|
802
|
-
this.#d =
|
|
823
|
+
let e = A(this.options.staleTime, this.#t);
|
|
824
|
+
if (P.isServer() || this.#r.isStale || !Se(e)) return;
|
|
825
|
+
let t = Ce(this.#r.dataUpdatedAt, e) + 1;
|
|
826
|
+
this.#d = O.setTimeout(() => {
|
|
803
827
|
this.#r.isStale || this.updateResult();
|
|
804
828
|
}, t);
|
|
805
829
|
}
|
|
@@ -807,26 +831,26 @@ var ke = class extends _ {
|
|
|
807
831
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
808
832
|
}
|
|
809
833
|
#v(e) {
|
|
810
|
-
this.#x(), this.#p = e, !(
|
|
811
|
-
(this.options.refetchIntervalInBackground ||
|
|
834
|
+
this.#x(), this.#p = e, !(P.isServer() || j(this.options.enabled, this.#t) === !1 || !Se(this.#p) || this.#p === 0) && (this.#f = O.setInterval(() => {
|
|
835
|
+
(this.options.refetchIntervalInBackground || _e.isFocused()) && this.#h();
|
|
812
836
|
}, this.#p));
|
|
813
837
|
}
|
|
814
838
|
#y() {
|
|
815
839
|
this.#g(), this.#v(this.#_());
|
|
816
840
|
}
|
|
817
841
|
#b() {
|
|
818
|
-
this.#d &&= (
|
|
842
|
+
this.#d &&= (O.clearTimeout(this.#d), void 0);
|
|
819
843
|
}
|
|
820
844
|
#x() {
|
|
821
|
-
this.#f &&= (
|
|
845
|
+
this.#f &&= (O.clearInterval(this.#f), void 0);
|
|
822
846
|
}
|
|
823
847
|
createResult(e, t) {
|
|
824
848
|
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
|
|
825
849
|
if (t._optimisticResults) {
|
|
826
|
-
let i = this.hasListeners(), a = !i &&
|
|
850
|
+
let i = this.hasListeners(), a = !i && tt(e, t), o = i && rt(e, n, t, r);
|
|
827
851
|
(a || o) && (l = {
|
|
828
852
|
...l,
|
|
829
|
-
...
|
|
853
|
+
...Xe(c.data, e.options)
|
|
830
854
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
831
855
|
}
|
|
832
856
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -834,23 +858,23 @@ var ke = class extends _ {
|
|
|
834
858
|
let h = !1;
|
|
835
859
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
836
860
|
let e;
|
|
837
|
-
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d =
|
|
861
|
+
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = Pe(i?.data, e, t), u = !0);
|
|
838
862
|
}
|
|
839
863
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
840
864
|
else try {
|
|
841
|
-
this.#c = t.select, d = t.select(d), d =
|
|
865
|
+
this.#c = t.select, d = t.select(d), d = Pe(i?.data, d, t), this.#l = d, this.#s = null;
|
|
842
866
|
} catch (e) {
|
|
843
867
|
this.#s = e;
|
|
844
868
|
}
|
|
845
869
|
this.#s && (f = this.#s, d = this.#l, p = Date.now(), m = "error");
|
|
846
|
-
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error",
|
|
870
|
+
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", ee = _ && g, y = d !== void 0, b = {
|
|
847
871
|
status: m,
|
|
848
872
|
fetchStatus: l.fetchStatus,
|
|
849
873
|
isPending: _,
|
|
850
874
|
isSuccess: m === "success",
|
|
851
875
|
isError: v,
|
|
852
|
-
isInitialLoading:
|
|
853
|
-
isLoading:
|
|
876
|
+
isInitialLoading: ee,
|
|
877
|
+
isLoading: ee,
|
|
854
878
|
data: d,
|
|
855
879
|
dataUpdatedAt: l.dataUpdatedAt,
|
|
856
880
|
error: f,
|
|
@@ -862,38 +886,38 @@ var ke = class extends _ {
|
|
|
862
886
|
isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
|
|
863
887
|
isFetching: g,
|
|
864
888
|
isRefetching: g && !_,
|
|
865
|
-
isLoadingError: v && !
|
|
889
|
+
isLoadingError: v && !y,
|
|
866
890
|
isPaused: l.fetchStatus === "paused",
|
|
867
891
|
isPlaceholderData: u,
|
|
868
|
-
isRefetchError: v &&
|
|
869
|
-
isStale:
|
|
892
|
+
isRefetchError: v && y,
|
|
893
|
+
isStale: it(e, t),
|
|
870
894
|
refetch: this.refetch,
|
|
871
895
|
promise: this.#o,
|
|
872
|
-
isEnabled:
|
|
896
|
+
isEnabled: j(t.enabled, e) !== !1
|
|
873
897
|
};
|
|
874
898
|
if (this.options.experimental_prefetchInRender) {
|
|
875
|
-
let t =
|
|
876
|
-
r ? e.reject(
|
|
899
|
+
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
900
|
+
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
877
901
|
}, a = () => {
|
|
878
|
-
i(this.#o =
|
|
902
|
+
i(this.#o = b.promise = Ve());
|
|
879
903
|
}, o = this.#o;
|
|
880
904
|
switch (o.status) {
|
|
881
905
|
case "pending":
|
|
882
906
|
e.queryHash === n.queryHash && i(o);
|
|
883
907
|
break;
|
|
884
908
|
case "fulfilled":
|
|
885
|
-
(r ||
|
|
909
|
+
(r || b.data !== o.value) && a();
|
|
886
910
|
break;
|
|
887
911
|
case "rejected":
|
|
888
|
-
(!r ||
|
|
912
|
+
(!r || b.error !== o.reason) && a();
|
|
889
913
|
break;
|
|
890
914
|
}
|
|
891
915
|
}
|
|
892
|
-
return
|
|
916
|
+
return b;
|
|
893
917
|
}
|
|
894
918
|
updateResult() {
|
|
895
919
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
896
|
-
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !
|
|
920
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !ke(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
897
921
|
if (!e) return !0;
|
|
898
922
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
899
923
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -914,7 +938,7 @@ var ke = class extends _ {
|
|
|
914
938
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
915
939
|
}
|
|
916
940
|
#C(e) {
|
|
917
|
-
|
|
941
|
+
F.batch(() => {
|
|
918
942
|
e.listeners && this.listeners.forEach((e) => {
|
|
919
943
|
e(this.#r);
|
|
920
944
|
}), this.#e.getQueryCache().notify({
|
|
@@ -924,39 +948,39 @@ var ke = class extends _ {
|
|
|
924
948
|
});
|
|
925
949
|
}
|
|
926
950
|
};
|
|
927
|
-
function
|
|
928
|
-
return
|
|
951
|
+
function et(e, t) {
|
|
952
|
+
return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
929
953
|
}
|
|
930
|
-
function
|
|
931
|
-
return
|
|
954
|
+
function tt(e, t) {
|
|
955
|
+
return et(e, t) || e.state.data !== void 0 && nt(e, t, t.refetchOnMount);
|
|
932
956
|
}
|
|
933
|
-
function
|
|
934
|
-
if (
|
|
957
|
+
function nt(e, t, n) {
|
|
958
|
+
if (j(t.enabled, e) !== !1 && A(t.staleTime, e) !== "static") {
|
|
935
959
|
let r = typeof n == "function" ? n(e) : n;
|
|
936
|
-
return r === "always" || r !== !1 &&
|
|
960
|
+
return r === "always" || r !== !1 && it(e, t);
|
|
937
961
|
}
|
|
938
962
|
return !1;
|
|
939
963
|
}
|
|
940
|
-
function
|
|
941
|
-
return (e !== t ||
|
|
964
|
+
function rt(e, t, n, r) {
|
|
965
|
+
return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && it(e, n);
|
|
942
966
|
}
|
|
943
|
-
function
|
|
944
|
-
return
|
|
967
|
+
function it(e, t) {
|
|
968
|
+
return j(t.enabled, e) !== !1 && e.isStaleByTime(A(t.staleTime, e));
|
|
945
969
|
}
|
|
946
|
-
function
|
|
947
|
-
return !
|
|
970
|
+
function at(e, t) {
|
|
971
|
+
return !ke(e.getCurrentResult(), t);
|
|
948
972
|
}
|
|
949
973
|
//#endregion
|
|
950
974
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
951
|
-
function
|
|
975
|
+
function ot(e) {
|
|
952
976
|
return { onFetch: (t, n) => {
|
|
953
977
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
954
978
|
pages: [],
|
|
955
979
|
pageParams: []
|
|
956
980
|
}, c = 0, l = async () => {
|
|
957
981
|
let n = !1, l = (e) => {
|
|
958
|
-
|
|
959
|
-
}, u =
|
|
982
|
+
Be(e, () => t.signal, () => n = !0);
|
|
983
|
+
}, u = Re(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
960
984
|
if (n) return Promise.reject();
|
|
961
985
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
962
986
|
let a = await u((() => {
|
|
@@ -968,14 +992,14 @@ function Pe(e) {
|
|
|
968
992
|
meta: t.options.meta
|
|
969
993
|
};
|
|
970
994
|
return l(e), e;
|
|
971
|
-
})()), { maxPages: o } = t.options, s = i ?
|
|
995
|
+
})()), { maxPages: o } = t.options, s = i ? Ie : Fe;
|
|
972
996
|
return {
|
|
973
997
|
pages: s(e.pages, a, o),
|
|
974
998
|
pageParams: s(e.pageParams, r, o)
|
|
975
999
|
};
|
|
976
1000
|
};
|
|
977
1001
|
if (i && a.length) {
|
|
978
|
-
let e = i === "backward", t = e ?
|
|
1002
|
+
let e = i === "backward", t = e ? ct : st, n = {
|
|
979
1003
|
pages: a,
|
|
980
1004
|
pageParams: o
|
|
981
1005
|
};
|
|
@@ -983,7 +1007,7 @@ function Pe(e) {
|
|
|
983
1007
|
} else {
|
|
984
1008
|
let t = e ?? a.length;
|
|
985
1009
|
do {
|
|
986
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
1010
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : st(r, s);
|
|
987
1011
|
if (c > 0 && e == null) break;
|
|
988
1012
|
s = await d(s, e), c++;
|
|
989
1013
|
} while (c < t);
|
|
@@ -998,22 +1022,22 @@ function Pe(e) {
|
|
|
998
1022
|
}, n) : t.fetchFn = l;
|
|
999
1023
|
} };
|
|
1000
1024
|
}
|
|
1001
|
-
function
|
|
1025
|
+
function st(e, { pages: t, pageParams: n }) {
|
|
1002
1026
|
let r = t.length - 1;
|
|
1003
1027
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
1004
1028
|
}
|
|
1005
|
-
function
|
|
1029
|
+
function ct(e, { pages: t, pageParams: n }) {
|
|
1006
1030
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
1007
1031
|
}
|
|
1008
1032
|
//#endregion
|
|
1009
1033
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1010
|
-
var
|
|
1034
|
+
var lt = class extends Je {
|
|
1011
1035
|
#e;
|
|
1012
1036
|
#t;
|
|
1013
1037
|
#n;
|
|
1014
1038
|
#r;
|
|
1015
1039
|
constructor(e) {
|
|
1016
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1040
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || ut(), this.setOptions(e.options), this.scheduleGc();
|
|
1017
1041
|
}
|
|
1018
1042
|
setOptions(e) {
|
|
1019
1043
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1049,7 +1073,7 @@ var Le = class extends we {
|
|
|
1049
1073
|
meta: this.options.meta,
|
|
1050
1074
|
mutationKey: this.options.mutationKey
|
|
1051
1075
|
};
|
|
1052
|
-
this.#r =
|
|
1076
|
+
this.#r = qe({
|
|
1053
1077
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1054
1078
|
onFail: (e, t) => {
|
|
1055
1079
|
this.#i({
|
|
@@ -1165,7 +1189,7 @@ var Le = class extends we {
|
|
|
1165
1189
|
status: "error"
|
|
1166
1190
|
};
|
|
1167
1191
|
}
|
|
1168
|
-
})(this.state),
|
|
1192
|
+
})(this.state), F.batch(() => {
|
|
1169
1193
|
this.#t.forEach((t) => {
|
|
1170
1194
|
t.onMutationUpdate(e);
|
|
1171
1195
|
}), this.#n.notify({
|
|
@@ -1176,7 +1200,7 @@ var Le = class extends we {
|
|
|
1176
1200
|
});
|
|
1177
1201
|
}
|
|
1178
1202
|
};
|
|
1179
|
-
function
|
|
1203
|
+
function ut() {
|
|
1180
1204
|
return {
|
|
1181
1205
|
context: void 0,
|
|
1182
1206
|
data: void 0,
|
|
@@ -1191,7 +1215,7 @@ function Re() {
|
|
|
1191
1215
|
}
|
|
1192
1216
|
//#endregion
|
|
1193
1217
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1194
|
-
var
|
|
1218
|
+
var dt = class extends D {
|
|
1195
1219
|
constructor(e = {}) {
|
|
1196
1220
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1197
1221
|
}
|
|
@@ -1199,7 +1223,7 @@ var ze = class extends _ {
|
|
|
1199
1223
|
#t;
|
|
1200
1224
|
#n;
|
|
1201
1225
|
build(e, t, n) {
|
|
1202
|
-
let r = new
|
|
1226
|
+
let r = new lt({
|
|
1203
1227
|
client: e,
|
|
1204
1228
|
mutationCache: this,
|
|
1205
1229
|
mutationId: ++this.#n,
|
|
@@ -1210,7 +1234,7 @@ var ze = class extends _ {
|
|
|
1210
1234
|
}
|
|
1211
1235
|
add(e) {
|
|
1212
1236
|
this.#e.add(e);
|
|
1213
|
-
let t =
|
|
1237
|
+
let t = L(e);
|
|
1214
1238
|
if (typeof t == "string") {
|
|
1215
1239
|
let n = this.#t.get(t);
|
|
1216
1240
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1222,7 +1246,7 @@ var ze = class extends _ {
|
|
|
1222
1246
|
}
|
|
1223
1247
|
remove(e) {
|
|
1224
1248
|
if (this.#e.delete(e)) {
|
|
1225
|
-
let t =
|
|
1249
|
+
let t = L(e);
|
|
1226
1250
|
if (typeof t == "string") {
|
|
1227
1251
|
let n = this.#t.get(t);
|
|
1228
1252
|
if (n) if (n.length > 1) {
|
|
@@ -1237,18 +1261,18 @@ var ze = class extends _ {
|
|
|
1237
1261
|
});
|
|
1238
1262
|
}
|
|
1239
1263
|
canRun(e) {
|
|
1240
|
-
let t =
|
|
1264
|
+
let t = L(e);
|
|
1241
1265
|
if (typeof t == "string") {
|
|
1242
1266
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1243
1267
|
return !n || n === e;
|
|
1244
1268
|
} else return !0;
|
|
1245
1269
|
}
|
|
1246
1270
|
runNext(e) {
|
|
1247
|
-
let t =
|
|
1271
|
+
let t = L(e);
|
|
1248
1272
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1249
1273
|
}
|
|
1250
1274
|
clear() {
|
|
1251
|
-
|
|
1275
|
+
F.batch(() => {
|
|
1252
1276
|
this.#e.forEach((e) => {
|
|
1253
1277
|
this.notify({
|
|
1254
1278
|
type: "removed",
|
|
@@ -1265,13 +1289,13 @@ var ze = class extends _ {
|
|
|
1265
1289
|
exact: !0,
|
|
1266
1290
|
...e
|
|
1267
1291
|
};
|
|
1268
|
-
return this.getAll().find((e) =>
|
|
1292
|
+
return this.getAll().find((e) => Te(t, e));
|
|
1269
1293
|
}
|
|
1270
1294
|
findAll(e = {}) {
|
|
1271
|
-
return this.getAll().filter((t) =>
|
|
1295
|
+
return this.getAll().filter((t) => Te(e, t));
|
|
1272
1296
|
}
|
|
1273
1297
|
notify(e) {
|
|
1274
|
-
|
|
1298
|
+
F.batch(() => {
|
|
1275
1299
|
this.listeners.forEach((t) => {
|
|
1276
1300
|
t(e);
|
|
1277
1301
|
});
|
|
@@ -1279,22 +1303,22 @@ var ze = class extends _ {
|
|
|
1279
1303
|
}
|
|
1280
1304
|
resumePausedMutations() {
|
|
1281
1305
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1282
|
-
return
|
|
1306
|
+
return F.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));
|
|
1283
1307
|
}
|
|
1284
1308
|
};
|
|
1285
|
-
function
|
|
1309
|
+
function L(e) {
|
|
1286
1310
|
return e.options.scope?.id;
|
|
1287
1311
|
}
|
|
1288
1312
|
//#endregion
|
|
1289
1313
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1290
|
-
var
|
|
1314
|
+
var ft = class extends D {
|
|
1291
1315
|
constructor(e = {}) {
|
|
1292
1316
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1293
1317
|
}
|
|
1294
1318
|
#e;
|
|
1295
1319
|
build(e, t, n) {
|
|
1296
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1297
|
-
return a || (a = new
|
|
1320
|
+
let r = t.queryKey, i = t.queryHash ?? Ee(r, t), a = this.get(i);
|
|
1321
|
+
return a || (a = new Ye({
|
|
1298
1322
|
client: e,
|
|
1299
1323
|
queryKey: r,
|
|
1300
1324
|
queryHash: i,
|
|
@@ -1317,7 +1341,7 @@ var Be = class extends _ {
|
|
|
1317
1341
|
}));
|
|
1318
1342
|
}
|
|
1319
1343
|
clear() {
|
|
1320
|
-
|
|
1344
|
+
F.batch(() => {
|
|
1321
1345
|
this.getAll().forEach((e) => {
|
|
1322
1346
|
this.remove(e);
|
|
1323
1347
|
});
|
|
@@ -1334,34 +1358,34 @@ var Be = class extends _ {
|
|
|
1334
1358
|
exact: !0,
|
|
1335
1359
|
...e
|
|
1336
1360
|
};
|
|
1337
|
-
return this.getAll().find((e) =>
|
|
1361
|
+
return this.getAll().find((e) => we(t, e));
|
|
1338
1362
|
}
|
|
1339
1363
|
findAll(e = {}) {
|
|
1340
1364
|
let t = this.getAll();
|
|
1341
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1365
|
+
return Object.keys(e).length > 0 ? t.filter((t) => we(e, t)) : t;
|
|
1342
1366
|
}
|
|
1343
1367
|
notify(e) {
|
|
1344
|
-
|
|
1368
|
+
F.batch(() => {
|
|
1345
1369
|
this.listeners.forEach((t) => {
|
|
1346
1370
|
t(e);
|
|
1347
1371
|
});
|
|
1348
1372
|
});
|
|
1349
1373
|
}
|
|
1350
1374
|
onFocus() {
|
|
1351
|
-
|
|
1375
|
+
F.batch(() => {
|
|
1352
1376
|
this.getAll().forEach((e) => {
|
|
1353
1377
|
e.onFocus();
|
|
1354
1378
|
});
|
|
1355
1379
|
});
|
|
1356
1380
|
}
|
|
1357
1381
|
onOnline() {
|
|
1358
|
-
|
|
1382
|
+
F.batch(() => {
|
|
1359
1383
|
this.getAll().forEach((e) => {
|
|
1360
1384
|
e.onOnline();
|
|
1361
1385
|
});
|
|
1362
1386
|
});
|
|
1363
1387
|
}
|
|
1364
|
-
},
|
|
1388
|
+
}, pt = class {
|
|
1365
1389
|
#e;
|
|
1366
1390
|
#t;
|
|
1367
1391
|
#n;
|
|
@@ -1371,12 +1395,12 @@ var Be = class extends _ {
|
|
|
1371
1395
|
#o;
|
|
1372
1396
|
#s;
|
|
1373
1397
|
constructor(e = {}) {
|
|
1374
|
-
this.#e = e.queryCache || new
|
|
1398
|
+
this.#e = e.queryCache || new ft(), this.#t = e.mutationCache || new dt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1375
1399
|
}
|
|
1376
1400
|
mount() {
|
|
1377
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1401
|
+
this.#a++, this.#a === 1 && (this.#o = _e.subscribe(async (e) => {
|
|
1378
1402
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1379
|
-
}), this.#s =
|
|
1403
|
+
}), this.#s = I.subscribe(async (e) => {
|
|
1380
1404
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1381
1405
|
}));
|
|
1382
1406
|
}
|
|
@@ -1401,20 +1425,20 @@ var Be = class extends _ {
|
|
|
1401
1425
|
}
|
|
1402
1426
|
ensureQueryData(e) {
|
|
1403
1427
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1404
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1428
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(A(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1405
1429
|
}
|
|
1406
1430
|
getQueriesData(e) {
|
|
1407
1431
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1408
1432
|
}
|
|
1409
1433
|
setQueryData(e, t, n) {
|
|
1410
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1434
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = xe(t, i);
|
|
1411
1435
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1412
1436
|
...n,
|
|
1413
1437
|
manual: !0
|
|
1414
1438
|
});
|
|
1415
1439
|
}
|
|
1416
1440
|
setQueriesData(e, t, n) {
|
|
1417
|
-
return
|
|
1441
|
+
return F.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1418
1442
|
}
|
|
1419
1443
|
getQueryState(e) {
|
|
1420
1444
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1422,7 +1446,7 @@ var Be = class extends _ {
|
|
|
1422
1446
|
}
|
|
1423
1447
|
removeQueries(e) {
|
|
1424
1448
|
let t = this.#e;
|
|
1425
|
-
|
|
1449
|
+
F.batch(() => {
|
|
1426
1450
|
t.findAll(e).forEach((e) => {
|
|
1427
1451
|
t.remove(e);
|
|
1428
1452
|
});
|
|
@@ -1430,7 +1454,7 @@ var Be = class extends _ {
|
|
|
1430
1454
|
}
|
|
1431
1455
|
resetQueries(e, t) {
|
|
1432
1456
|
let n = this.#e;
|
|
1433
|
-
return
|
|
1457
|
+
return F.batch(() => (n.findAll(e).forEach((e) => {
|
|
1434
1458
|
e.reset();
|
|
1435
1459
|
}), this.refetchQueries({
|
|
1436
1460
|
type: "active",
|
|
@@ -1441,11 +1465,11 @@ var Be = class extends _ {
|
|
|
1441
1465
|
let n = {
|
|
1442
1466
|
revert: !0,
|
|
1443
1467
|
...t
|
|
1444
|
-
}, r =
|
|
1445
|
-
return Promise.all(r).then(
|
|
1468
|
+
}, r = F.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1469
|
+
return Promise.all(r).then(k).catch(k);
|
|
1446
1470
|
}
|
|
1447
1471
|
invalidateQueries(e, t = {}) {
|
|
1448
|
-
return
|
|
1472
|
+
return F.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1449
1473
|
e.invalidate();
|
|
1450
1474
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1451
1475
|
...e,
|
|
@@ -1456,32 +1480,32 @@ var Be = class extends _ {
|
|
|
1456
1480
|
let n = {
|
|
1457
1481
|
...t,
|
|
1458
1482
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1459
|
-
}, r =
|
|
1483
|
+
}, r = F.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1460
1484
|
let t = e.fetch(void 0, n);
|
|
1461
|
-
return n.throwOnError || (t = t.catch(
|
|
1485
|
+
return n.throwOnError || (t = t.catch(k)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1462
1486
|
}));
|
|
1463
|
-
return Promise.all(r).then(
|
|
1487
|
+
return Promise.all(r).then(k);
|
|
1464
1488
|
}
|
|
1465
1489
|
fetchQuery(e) {
|
|
1466
1490
|
let t = this.defaultQueryOptions(e);
|
|
1467
1491
|
t.retry === void 0 && (t.retry = !1);
|
|
1468
1492
|
let n = this.#e.build(this, t);
|
|
1469
|
-
return n.isStaleByTime(
|
|
1493
|
+
return n.isStaleByTime(A(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1470
1494
|
}
|
|
1471
1495
|
prefetchQuery(e) {
|
|
1472
|
-
return this.fetchQuery(e).then(
|
|
1496
|
+
return this.fetchQuery(e).then(k).catch(k);
|
|
1473
1497
|
}
|
|
1474
1498
|
fetchInfiniteQuery(e) {
|
|
1475
|
-
return e.behavior =
|
|
1499
|
+
return e.behavior = ot(e.pages), this.fetchQuery(e);
|
|
1476
1500
|
}
|
|
1477
1501
|
prefetchInfiniteQuery(e) {
|
|
1478
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1502
|
+
return this.fetchInfiniteQuery(e).then(k).catch(k);
|
|
1479
1503
|
}
|
|
1480
1504
|
ensureInfiniteQueryData(e) {
|
|
1481
|
-
return e.behavior =
|
|
1505
|
+
return e.behavior = ot(e.pages), this.ensureQueryData(e);
|
|
1482
1506
|
}
|
|
1483
1507
|
resumePausedMutations() {
|
|
1484
|
-
return
|
|
1508
|
+
return I.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1485
1509
|
}
|
|
1486
1510
|
getQueryCache() {
|
|
1487
1511
|
return this.#e;
|
|
@@ -1496,7 +1520,7 @@ var Be = class extends _ {
|
|
|
1496
1520
|
this.#n = e;
|
|
1497
1521
|
}
|
|
1498
1522
|
setQueryDefaults(e, t) {
|
|
1499
|
-
this.#r.set(
|
|
1523
|
+
this.#r.set(M(e), {
|
|
1500
1524
|
queryKey: e,
|
|
1501
1525
|
defaultOptions: t
|
|
1502
1526
|
});
|
|
@@ -1504,11 +1528,11 @@ var Be = class extends _ {
|
|
|
1504
1528
|
getQueryDefaults(e) {
|
|
1505
1529
|
let t = [...this.#r.values()], n = {};
|
|
1506
1530
|
return t.forEach((t) => {
|
|
1507
|
-
|
|
1531
|
+
N(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1508
1532
|
}), n;
|
|
1509
1533
|
}
|
|
1510
1534
|
setMutationDefaults(e, t) {
|
|
1511
|
-
this.#i.set(
|
|
1535
|
+
this.#i.set(M(e), {
|
|
1512
1536
|
mutationKey: e,
|
|
1513
1537
|
defaultOptions: t
|
|
1514
1538
|
});
|
|
@@ -1516,7 +1540,7 @@ var Be = class extends _ {
|
|
|
1516
1540
|
getMutationDefaults(e) {
|
|
1517
1541
|
let t = [...this.#i.values()], n = {};
|
|
1518
1542
|
return t.forEach((t) => {
|
|
1519
|
-
|
|
1543
|
+
N(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1520
1544
|
}), n;
|
|
1521
1545
|
}
|
|
1522
1546
|
defaultQueryOptions(e) {
|
|
@@ -1527,7 +1551,7 @@ var Be = class extends _ {
|
|
|
1527
1551
|
...e,
|
|
1528
1552
|
_defaulted: !0
|
|
1529
1553
|
};
|
|
1530
|
-
return t.queryHash ||=
|
|
1554
|
+
return t.queryHash ||= Ee(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Le && (t.enabled = !1), t;
|
|
1531
1555
|
}
|
|
1532
1556
|
defaultMutationOptions(e) {
|
|
1533
1557
|
return e?._defaulted ? e : {
|
|
@@ -1540,20 +1564,20 @@ var Be = class extends _ {
|
|
|
1540
1564
|
clear() {
|
|
1541
1565
|
this.#e.clear(), this.#t.clear();
|
|
1542
1566
|
}
|
|
1543
|
-
},
|
|
1544
|
-
let t =
|
|
1567
|
+
}, mt = x.createContext(void 0), ht = (e) => {
|
|
1568
|
+
let t = x.useContext(mt);
|
|
1545
1569
|
if (e) return e;
|
|
1546
1570
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1547
1571
|
return t;
|
|
1548
|
-
},
|
|
1572
|
+
}, gt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1549
1573
|
e.unmount();
|
|
1550
|
-
}), [e]), /* @__PURE__ */
|
|
1574
|
+
}), [e]), /* @__PURE__ */ T(mt.Provider, {
|
|
1551
1575
|
value: e,
|
|
1552
1576
|
children: t
|
|
1553
|
-
})),
|
|
1577
|
+
})), _t = x.createContext(!1), vt = () => x.useContext(_t);
|
|
1554
1578
|
//#endregion
|
|
1555
1579
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1556
|
-
function
|
|
1580
|
+
function yt() {
|
|
1557
1581
|
let e = !1;
|
|
1558
1582
|
return {
|
|
1559
1583
|
clearReset: () => {
|
|
@@ -1565,55 +1589,55 @@ function Ke() {
|
|
|
1565
1589
|
isReset: () => e
|
|
1566
1590
|
};
|
|
1567
1591
|
}
|
|
1568
|
-
var
|
|
1569
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1592
|
+
var bt = x.createContext(yt()), xt = () => x.useContext(bt), St = (e, t, n) => {
|
|
1593
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? ze(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1570
1594
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1571
|
-
},
|
|
1572
|
-
|
|
1595
|
+
}, Ct = (e) => {
|
|
1596
|
+
x.useEffect(() => {
|
|
1573
1597
|
e.clearReset();
|
|
1574
1598
|
}, [e]);
|
|
1575
|
-
},
|
|
1599
|
+
}, wt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ze(n, [e.error, r])), Tt = (e) => {
|
|
1576
1600
|
if (e.suspense) {
|
|
1577
1601
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1578
1602
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1579
1603
|
}
|
|
1580
|
-
},
|
|
1604
|
+
}, Et = (e, t) => e.isLoading && e.isFetching && !t, Dt = (e, t) => e?.suspense && t.isPending, Ot = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1581
1605
|
n.clearReset();
|
|
1582
1606
|
});
|
|
1583
1607
|
//#endregion
|
|
1584
1608
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1585
|
-
function
|
|
1609
|
+
function kt(e, t, n) {
|
|
1586
1610
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e))) throw Error("Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object");
|
|
1587
|
-
let r =
|
|
1588
|
-
|
|
1589
|
-
let
|
|
1590
|
-
process.env.NODE_ENV !== "production" && (
|
|
1591
|
-
let
|
|
1592
|
-
if (
|
|
1593
|
-
let t =
|
|
1594
|
-
return
|
|
1595
|
-
}, [
|
|
1596
|
-
|
|
1597
|
-
}, [
|
|
1598
|
-
if (
|
|
1599
|
-
result:
|
|
1611
|
+
let r = vt(), i = xt(), a = ht(n), o = a.defaultQueryOptions(e);
|
|
1612
|
+
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1613
|
+
let s = a.getQueryCache().get(o.queryHash);
|
|
1614
|
+
process.env.NODE_ENV !== "production" && (o.queryFn || console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)), o._optimisticResults = r ? "isRestoring" : "optimistic", Tt(o), St(o, i, s), Ct(i);
|
|
1615
|
+
let c = !a.getQueryCache().get(o.queryHash), [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && e.subscribed !== !1;
|
|
1616
|
+
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1617
|
+
let t = d ? l.subscribe(F.batchCalls(e)) : k;
|
|
1618
|
+
return l.updateResult(), t;
|
|
1619
|
+
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {
|
|
1620
|
+
l.setOptions(o);
|
|
1621
|
+
}, [o, l]), Dt(o, u)) throw Ot(o, l, i);
|
|
1622
|
+
if (wt({
|
|
1623
|
+
result: u,
|
|
1600
1624
|
errorResetBoundary: i,
|
|
1601
|
-
throwOnError:
|
|
1602
|
-
query:
|
|
1603
|
-
suspense:
|
|
1604
|
-
})) throw
|
|
1605
|
-
return
|
|
1606
|
-
|
|
1607
|
-
}),
|
|
1625
|
+
throwOnError: o.throwOnError,
|
|
1626
|
+
query: s,
|
|
1627
|
+
suspense: o.suspense
|
|
1628
|
+
})) throw u.error;
|
|
1629
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !P.isServer() && Et(u, r) && (c ? Ot(o, l, i) : s?.promise)?.catch(k).finally(() => {
|
|
1630
|
+
l.updateResult();
|
|
1631
|
+
}), o.notifyOnChangeProps ? u : l.trackResult(u);
|
|
1608
1632
|
}
|
|
1609
1633
|
//#endregion
|
|
1610
1634
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1611
|
-
function
|
|
1612
|
-
return
|
|
1635
|
+
function At(e, t) {
|
|
1636
|
+
return kt(e, $e, t);
|
|
1613
1637
|
}
|
|
1614
1638
|
//#endregion
|
|
1615
1639
|
//#region src/client/client/CubeClient.ts
|
|
1616
|
-
var
|
|
1640
|
+
var jt = class {
|
|
1617
1641
|
apiUrl;
|
|
1618
1642
|
headers;
|
|
1619
1643
|
credentials;
|
|
@@ -1644,7 +1668,7 @@ var rt = class {
|
|
|
1644
1668
|
} catch {}
|
|
1645
1669
|
throw Error(e);
|
|
1646
1670
|
}
|
|
1647
|
-
return new
|
|
1671
|
+
return new Mt(await a.json());
|
|
1648
1672
|
}
|
|
1649
1673
|
async meta() {
|
|
1650
1674
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1734,14 +1758,14 @@ var rt = class {
|
|
|
1734
1758
|
throw Error(e);
|
|
1735
1759
|
}
|
|
1736
1760
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1737
|
-
...new
|
|
1761
|
+
...new Mt({
|
|
1738
1762
|
data: [],
|
|
1739
1763
|
annotation: {}
|
|
1740
1764
|
}),
|
|
1741
1765
|
error: e.error
|
|
1742
|
-
} : new
|
|
1766
|
+
} : new Mt(e));
|
|
1743
1767
|
}
|
|
1744
|
-
},
|
|
1768
|
+
}, Mt = class {
|
|
1745
1769
|
loadResponse;
|
|
1746
1770
|
constructor(e) {
|
|
1747
1771
|
this.loadResponse = e;
|
|
@@ -1762,12 +1786,12 @@ var rt = class {
|
|
|
1762
1786
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1763
1787
|
}
|
|
1764
1788
|
};
|
|
1765
|
-
function
|
|
1766
|
-
return new
|
|
1789
|
+
function Nt(e, t = {}) {
|
|
1790
|
+
return new jt(e, t);
|
|
1767
1791
|
}
|
|
1768
1792
|
//#endregion
|
|
1769
1793
|
//#region src/client/client/BatchCoordinator.ts
|
|
1770
|
-
var
|
|
1794
|
+
var Pt = class {
|
|
1771
1795
|
queue = [];
|
|
1772
1796
|
flushScheduled = !1;
|
|
1773
1797
|
batchExecutor;
|
|
@@ -1810,53 +1834,53 @@ var at = class {
|
|
|
1810
1834
|
clear() {
|
|
1811
1835
|
this.queue = [], this.flushScheduled = !1;
|
|
1812
1836
|
}
|
|
1813
|
-
},
|
|
1814
|
-
function
|
|
1815
|
-
let o =
|
|
1837
|
+
}, Ft = ue(null);
|
|
1838
|
+
function It({ apiOptions: e, token: t, options: n = {}, enableBatching: r = !0, batchDelayMs: i = 50, children: a }) {
|
|
1839
|
+
let o = C(() => ({
|
|
1816
1840
|
apiOptions: e,
|
|
1817
1841
|
token: t
|
|
1818
|
-
}), [e, t]), [s, c] =
|
|
1819
|
-
|
|
1842
|
+
}), [e, t]), [s, c] = w(null);
|
|
1843
|
+
S(() => {
|
|
1820
1844
|
c(null);
|
|
1821
1845
|
}, [o]);
|
|
1822
|
-
let l = s ?? o,
|
|
1846
|
+
let l = s ?? o, u = C(() => Nt(l.token, l.apiOptions), [l.apiOptions, l.token]), d = C(() => r ? new Pt((e) => u.batchLoad(e), i) : null, [
|
|
1823
1847
|
r,
|
|
1824
|
-
|
|
1848
|
+
u,
|
|
1825
1849
|
i
|
|
1826
|
-
]),
|
|
1850
|
+
]), f = me((e, t) => {
|
|
1827
1851
|
c({
|
|
1828
1852
|
apiOptions: e,
|
|
1829
1853
|
token: t
|
|
1830
1854
|
});
|
|
1831
|
-
}, []),
|
|
1832
|
-
cubeApi:
|
|
1855
|
+
}, []), p = C(() => ({
|
|
1856
|
+
cubeApi: u,
|
|
1833
1857
|
options: n,
|
|
1834
1858
|
apiOptions: l.apiOptions,
|
|
1835
|
-
updateApiConfig:
|
|
1836
|
-
batchCoordinator:
|
|
1859
|
+
updateApiConfig: f,
|
|
1860
|
+
batchCoordinator: d,
|
|
1837
1861
|
enableBatching: r
|
|
1838
1862
|
}), [
|
|
1839
|
-
|
|
1863
|
+
u,
|
|
1840
1864
|
n,
|
|
1841
1865
|
l.apiOptions,
|
|
1842
|
-
|
|
1843
|
-
|
|
1866
|
+
f,
|
|
1867
|
+
d,
|
|
1844
1868
|
r
|
|
1845
1869
|
]);
|
|
1846
|
-
return /* @__PURE__ */
|
|
1847
|
-
value:
|
|
1870
|
+
return /* @__PURE__ */ T(Ft.Provider, {
|
|
1871
|
+
value: p,
|
|
1848
1872
|
children: a
|
|
1849
1873
|
});
|
|
1850
1874
|
}
|
|
1851
|
-
function
|
|
1852
|
-
let e =
|
|
1875
|
+
function Lt() {
|
|
1876
|
+
let e = he(Ft);
|
|
1853
1877
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
1854
1878
|
return e;
|
|
1855
1879
|
}
|
|
1856
1880
|
//#endregion
|
|
1857
1881
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
1858
|
-
var
|
|
1859
|
-
function
|
|
1882
|
+
var Rt = ["cube", "meta"];
|
|
1883
|
+
function zt(e) {
|
|
1860
1884
|
let t = {};
|
|
1861
1885
|
return e.cubes.forEach((e) => {
|
|
1862
1886
|
e.measures.forEach((e) => {
|
|
@@ -1868,14 +1892,14 @@ function lt(e) {
|
|
|
1868
1892
|
});
|
|
1869
1893
|
}), t;
|
|
1870
1894
|
}
|
|
1871
|
-
function
|
|
1872
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
1873
|
-
queryKey:
|
|
1895
|
+
function Bt(e = {}) {
|
|
1896
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = Lt(), i = ht(), a = At({
|
|
1897
|
+
queryKey: Rt,
|
|
1874
1898
|
queryFn: async () => {
|
|
1875
1899
|
let e = await r.meta();
|
|
1876
1900
|
return {
|
|
1877
1901
|
meta: e,
|
|
1878
|
-
labelMap:
|
|
1902
|
+
labelMap: zt(e)
|
|
1879
1903
|
};
|
|
1880
1904
|
},
|
|
1881
1905
|
enabled: t,
|
|
@@ -1889,15 +1913,15 @@ function ut(e = {}) {
|
|
|
1889
1913
|
isFetching: a.isFetching,
|
|
1890
1914
|
error: a.error,
|
|
1891
1915
|
refetch: () => {
|
|
1892
|
-
i.invalidateQueries({ queryKey:
|
|
1916
|
+
i.invalidateQueries({ queryKey: Rt });
|
|
1893
1917
|
},
|
|
1894
1918
|
getFieldLabel: (e) => s[e] || e
|
|
1895
1919
|
};
|
|
1896
1920
|
}
|
|
1897
1921
|
//#endregion
|
|
1898
1922
|
//#region src/client/utils/thumbnail.ts
|
|
1899
|
-
var
|
|
1900
|
-
function
|
|
1923
|
+
var R = null, Vt = !1;
|
|
1924
|
+
function Ht(e, t, n, r, i) {
|
|
1901
1925
|
return new Promise((a, o) => {
|
|
1902
1926
|
let s = new Image();
|
|
1903
1927
|
s.onload = () => {
|
|
@@ -1914,26 +1938,26 @@ function ft(e, t, n, r, i) {
|
|
|
1914
1938
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
1915
1939
|
});
|
|
1916
1940
|
}
|
|
1917
|
-
async function
|
|
1918
|
-
if (
|
|
1941
|
+
async function z() {
|
|
1942
|
+
if (Vt) return R;
|
|
1919
1943
|
try {
|
|
1920
|
-
return
|
|
1944
|
+
return R = await import("./dist-BWPE2m_X.js"), Vt = !0, R;
|
|
1921
1945
|
} catch {
|
|
1922
|
-
return
|
|
1946
|
+
return Vt = !0, R = null, null;
|
|
1923
1947
|
}
|
|
1924
1948
|
}
|
|
1925
|
-
function
|
|
1926
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
1949
|
+
function Ut(e) {
|
|
1950
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || z().then((e) => {
|
|
1927
1951
|
!e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
|
|
1928
1952
|
}));
|
|
1929
1953
|
}
|
|
1930
|
-
async function
|
|
1954
|
+
async function Wt(e, t) {
|
|
1931
1955
|
if (typeof window > "u" || !e.current) return null;
|
|
1932
|
-
let n = await
|
|
1956
|
+
let n = await z();
|
|
1933
1957
|
if (!n) return null;
|
|
1934
1958
|
try {
|
|
1935
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
1936
|
-
return await
|
|
1959
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = Jt(s);
|
|
1960
|
+
return await Ht(await n.domToPng(s, {
|
|
1937
1961
|
scale: 2,
|
|
1938
1962
|
backgroundColor: c
|
|
1939
1963
|
}), r, i, a, o);
|
|
@@ -1941,31 +1965,31 @@ async function mt(e, t) {
|
|
|
1941
1965
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
1942
1966
|
}
|
|
1943
1967
|
}
|
|
1944
|
-
async function
|
|
1945
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
1968
|
+
async function Gt(e) {
|
|
1969
|
+
return !e?.enabled || typeof window > "u" ? !1 : await z() !== null;
|
|
1946
1970
|
}
|
|
1947
|
-
async function
|
|
1948
|
-
return typeof window > "u" || !await
|
|
1971
|
+
async function Kt() {
|
|
1972
|
+
return typeof window > "u" || !await z() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
1949
1973
|
}
|
|
1950
|
-
function
|
|
1974
|
+
function qt(e) {
|
|
1951
1975
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
1952
1976
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
1953
1977
|
return !!(t && parseFloat(t[1]) === 0);
|
|
1954
1978
|
}
|
|
1955
|
-
function
|
|
1979
|
+
function Jt(e) {
|
|
1956
1980
|
let t = e;
|
|
1957
1981
|
for (; t;) {
|
|
1958
1982
|
let e = getComputedStyle(t).backgroundColor;
|
|
1959
|
-
if (!
|
|
1983
|
+
if (!qt(e)) return e;
|
|
1960
1984
|
t = t.parentElement;
|
|
1961
1985
|
}
|
|
1962
1986
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
1963
1987
|
}
|
|
1964
|
-
async function
|
|
1988
|
+
async function Yt(e) {
|
|
1965
1989
|
try {
|
|
1966
|
-
let t = await
|
|
1990
|
+
let t = await z();
|
|
1967
1991
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
1968
|
-
let n =
|
|
1992
|
+
let n = Jt(e), r = await t.domToPng(e, {
|
|
1969
1993
|
scale: 2,
|
|
1970
1994
|
backgroundColor: n
|
|
1971
1995
|
}), i = await (await fetch(r)).blob();
|
|
@@ -1976,7 +2000,7 @@ async function yt(e) {
|
|
|
1976
2000
|
}
|
|
1977
2001
|
//#endregion
|
|
1978
2002
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
1979
|
-
var
|
|
2003
|
+
var Xt = ue(null), Zt = {
|
|
1980
2004
|
enableAI: !0,
|
|
1981
2005
|
aiEndpoint: "/api/ai/generate",
|
|
1982
2006
|
showSchemaDiagram: !1,
|
|
@@ -1984,20 +2008,20 @@ var bt = s(null), xt = {
|
|
|
1984
2008
|
editToolbar: "both",
|
|
1985
2009
|
floatingToolbarPosition: "right"
|
|
1986
2010
|
};
|
|
1987
|
-
function
|
|
1988
|
-
let [r, i] =
|
|
1989
|
-
...
|
|
2011
|
+
function Qt({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2012
|
+
let [r, i] = w(() => ({
|
|
2013
|
+
...Zt,
|
|
1990
2014
|
...e
|
|
1991
2015
|
}));
|
|
1992
|
-
|
|
1993
|
-
|
|
2016
|
+
S(() => {
|
|
2017
|
+
Ut(r.thumbnail);
|
|
1994
2018
|
}, [r.thumbnail]);
|
|
1995
|
-
let a =
|
|
2019
|
+
let a = me((e) => {
|
|
1996
2020
|
i((t) => ({
|
|
1997
2021
|
...t,
|
|
1998
2022
|
...e
|
|
1999
2023
|
}));
|
|
2000
|
-
}, []), o =
|
|
2024
|
+
}, []), o = C(() => ({
|
|
2001
2025
|
features: r,
|
|
2002
2026
|
dashboardModes: t,
|
|
2003
2027
|
updateFeatures: a
|
|
@@ -2006,22 +2030,22 @@ function St({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2006
2030
|
t,
|
|
2007
2031
|
a
|
|
2008
2032
|
]);
|
|
2009
|
-
return /* @__PURE__ */
|
|
2033
|
+
return /* @__PURE__ */ T(Xt.Provider, {
|
|
2010
2034
|
value: o,
|
|
2011
2035
|
children: n
|
|
2012
2036
|
});
|
|
2013
2037
|
}
|
|
2014
|
-
var
|
|
2015
|
-
features:
|
|
2038
|
+
var $t = {
|
|
2039
|
+
features: Zt,
|
|
2016
2040
|
dashboardModes: ["rows", "grid"],
|
|
2017
2041
|
updateFeatures: () => {}
|
|
2018
2042
|
};
|
|
2019
|
-
function
|
|
2020
|
-
return
|
|
2043
|
+
function en() {
|
|
2044
|
+
return he(Xt) ?? $t;
|
|
2021
2045
|
}
|
|
2022
2046
|
//#endregion
|
|
2023
2047
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2024
|
-
function
|
|
2048
|
+
function tn(e, t) {
|
|
2025
2049
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2026
2050
|
function a(e) {
|
|
2027
2051
|
if (n[e]) return i[e] = [];
|
|
@@ -2034,82 +2058,82 @@ function Tt(e, t) {
|
|
|
2034
2058
|
}
|
|
2035
2059
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2036
2060
|
}
|
|
2037
|
-
var
|
|
2061
|
+
var nn = Object.freeze({
|
|
2038
2062
|
left: 0,
|
|
2039
2063
|
top: 0,
|
|
2040
2064
|
width: 16,
|
|
2041
2065
|
height: 16
|
|
2042
|
-
}),
|
|
2066
|
+
}), rn = Object.freeze({
|
|
2043
2067
|
rotate: 0,
|
|
2044
2068
|
vFlip: !1,
|
|
2045
2069
|
hFlip: !1
|
|
2046
|
-
}),
|
|
2047
|
-
...
|
|
2048
|
-
...
|
|
2049
|
-
}),
|
|
2050
|
-
...
|
|
2070
|
+
}), an = Object.freeze({
|
|
2071
|
+
...nn,
|
|
2072
|
+
...rn
|
|
2073
|
+
}), on = Object.freeze({
|
|
2074
|
+
...an,
|
|
2051
2075
|
body: "",
|
|
2052
2076
|
hidden: !1
|
|
2053
2077
|
});
|
|
2054
|
-
function
|
|
2078
|
+
function sn(e, t) {
|
|
2055
2079
|
let n = {};
|
|
2056
2080
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2057
2081
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2058
2082
|
return r && (n.rotate = r), n;
|
|
2059
2083
|
}
|
|
2060
|
-
function
|
|
2061
|
-
let n =
|
|
2062
|
-
for (let r in
|
|
2084
|
+
function cn(e, t) {
|
|
2085
|
+
let n = sn(e, t);
|
|
2086
|
+
for (let r in on) r in rn ? r in e && !(r in n) && (n[r] = rn[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2063
2087
|
return n;
|
|
2064
2088
|
}
|
|
2065
|
-
function
|
|
2089
|
+
function ln(e, t, n) {
|
|
2066
2090
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2067
2091
|
function o(e) {
|
|
2068
|
-
a =
|
|
2092
|
+
a = cn(r[e] || i[e], a);
|
|
2069
2093
|
}
|
|
2070
|
-
return o(t), n.forEach(o),
|
|
2094
|
+
return o(t), n.forEach(o), cn(e, a);
|
|
2071
2095
|
}
|
|
2072
|
-
function
|
|
2096
|
+
function un(e, t) {
|
|
2073
2097
|
let n = [];
|
|
2074
2098
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2075
2099
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2076
2100
|
t(e, null), n.push(e);
|
|
2077
2101
|
});
|
|
2078
|
-
let r =
|
|
2102
|
+
let r = tn(e);
|
|
2079
2103
|
for (let i in r) {
|
|
2080
2104
|
let a = r[i];
|
|
2081
|
-
a && (t(i,
|
|
2105
|
+
a && (t(i, ln(e, i, a)), n.push(i));
|
|
2082
2106
|
}
|
|
2083
2107
|
return n;
|
|
2084
2108
|
}
|
|
2085
|
-
var
|
|
2109
|
+
var dn = {
|
|
2086
2110
|
provider: "",
|
|
2087
2111
|
aliases: {},
|
|
2088
2112
|
not_found: {},
|
|
2089
|
-
...
|
|
2113
|
+
...nn
|
|
2090
2114
|
};
|
|
2091
|
-
function
|
|
2115
|
+
function fn(e, t) {
|
|
2092
2116
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2093
2117
|
return !0;
|
|
2094
2118
|
}
|
|
2095
|
-
function
|
|
2119
|
+
function pn(e) {
|
|
2096
2120
|
if (typeof e != "object" || !e) return null;
|
|
2097
2121
|
let t = e;
|
|
2098
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2122
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !fn(e, dn)) return null;
|
|
2099
2123
|
let n = t.icons;
|
|
2100
2124
|
for (let e in n) {
|
|
2101
2125
|
let t = n[e];
|
|
2102
|
-
if (!e || typeof t.body != "string" || !
|
|
2126
|
+
if (!e || typeof t.body != "string" || !fn(t, on)) return null;
|
|
2103
2127
|
}
|
|
2104
2128
|
let r = t.aliases || Object.create(null);
|
|
2105
2129
|
for (let e in r) {
|
|
2106
2130
|
let t = r[e], i = t.parent;
|
|
2107
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2131
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !fn(t, on)) return null;
|
|
2108
2132
|
}
|
|
2109
2133
|
return t;
|
|
2110
2134
|
}
|
|
2111
|
-
var
|
|
2112
|
-
function
|
|
2135
|
+
var mn = Object.create(null);
|
|
2136
|
+
function hn(e, t) {
|
|
2113
2137
|
return {
|
|
2114
2138
|
provider: e,
|
|
2115
2139
|
prefix: t,
|
|
@@ -2117,22 +2141,22 @@ function Lt(e, t) {
|
|
|
2117
2141
|
missing: /* @__PURE__ */ new Set()
|
|
2118
2142
|
};
|
|
2119
2143
|
}
|
|
2120
|
-
function
|
|
2121
|
-
let n =
|
|
2122
|
-
return n[t] || (n[t] =
|
|
2144
|
+
function B(e, t) {
|
|
2145
|
+
let n = mn[e] || (mn[e] = Object.create(null));
|
|
2146
|
+
return n[t] || (n[t] = hn(e, t));
|
|
2123
2147
|
}
|
|
2124
|
-
function
|
|
2125
|
-
return
|
|
2148
|
+
function gn(e, t) {
|
|
2149
|
+
return pn(t) ? un(t, (t, n) => {
|
|
2126
2150
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2127
2151
|
}) : [];
|
|
2128
2152
|
}
|
|
2129
|
-
function
|
|
2153
|
+
function _n(e, t, n) {
|
|
2130
2154
|
try {
|
|
2131
2155
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2132
2156
|
} catch {}
|
|
2133
2157
|
return !1;
|
|
2134
2158
|
}
|
|
2135
|
-
var
|
|
2159
|
+
var vn = /^[a-z0-9]+(-[a-z0-9]+)*$/, yn = (e, t, n, r = "") => {
|
|
2136
2160
|
let i = e.split(":");
|
|
2137
2161
|
if (e.slice(0, 1) === "@") {
|
|
2138
2162
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2145,7 +2169,7 @@ var Bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
|
|
|
2145
2169
|
prefix: n,
|
|
2146
2170
|
name: e
|
|
2147
2171
|
};
|
|
2148
|
-
return t && !
|
|
2172
|
+
return t && !bn(a) ? null : a;
|
|
2149
2173
|
}
|
|
2150
2174
|
let a = i[0], o = a.split("-");
|
|
2151
2175
|
if (o.length > 1) {
|
|
@@ -2154,7 +2178,7 @@ var Bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
|
|
|
2154
2178
|
prefix: o.shift(),
|
|
2155
2179
|
name: o.join("-")
|
|
2156
2180
|
};
|
|
2157
|
-
return t && !
|
|
2181
|
+
return t && !bn(e) ? null : e;
|
|
2158
2182
|
}
|
|
2159
2183
|
if (n && r === "") {
|
|
2160
2184
|
let e = {
|
|
@@ -2162,54 +2186,54 @@ var Bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
|
|
|
2162
2186
|
prefix: "",
|
|
2163
2187
|
name: a
|
|
2164
2188
|
};
|
|
2165
|
-
return t && !
|
|
2189
|
+
return t && !bn(e, n) ? null : e;
|
|
2166
2190
|
}
|
|
2167
2191
|
return null;
|
|
2168
|
-
},
|
|
2169
|
-
function
|
|
2170
|
-
return typeof e == "boolean" && (
|
|
2192
|
+
}, bn = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, V = !1;
|
|
2193
|
+
function xn(e) {
|
|
2194
|
+
return typeof e == "boolean" && (V = e), V;
|
|
2171
2195
|
}
|
|
2172
|
-
function
|
|
2173
|
-
let t = typeof e == "string" ?
|
|
2196
|
+
function Sn(e) {
|
|
2197
|
+
let t = typeof e == "string" ? yn(e, !0, V) : e;
|
|
2174
2198
|
if (t) {
|
|
2175
|
-
let e =
|
|
2199
|
+
let e = B(t.provider, t.prefix), n = t.name;
|
|
2176
2200
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2177
2201
|
}
|
|
2178
2202
|
}
|
|
2179
|
-
function
|
|
2180
|
-
let n =
|
|
2203
|
+
function Cn(e, t) {
|
|
2204
|
+
let n = yn(e, !0, V);
|
|
2181
2205
|
if (!n) return !1;
|
|
2182
|
-
let r =
|
|
2183
|
-
return t ?
|
|
2206
|
+
let r = B(n.provider, n.prefix);
|
|
2207
|
+
return t ? _n(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2184
2208
|
}
|
|
2185
|
-
function
|
|
2209
|
+
function wn(e, t) {
|
|
2186
2210
|
if (typeof e != "object") return !1;
|
|
2187
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2211
|
+
if (typeof t != "string" && (t = e.provider || ""), V && !t && !e.prefix) {
|
|
2188
2212
|
let t = !1;
|
|
2189
|
-
return
|
|
2190
|
-
|
|
2213
|
+
return pn(e) && (e.prefix = "", un(e, (e, n) => {
|
|
2214
|
+
Cn(e, n) && (t = !0);
|
|
2191
2215
|
})), t;
|
|
2192
2216
|
}
|
|
2193
2217
|
let n = e.prefix;
|
|
2194
|
-
return
|
|
2218
|
+
return bn({
|
|
2195
2219
|
prefix: n,
|
|
2196
2220
|
name: "a"
|
|
2197
|
-
}) ? !!
|
|
2221
|
+
}) ? !!gn(B(t, n), e) : !1;
|
|
2198
2222
|
}
|
|
2199
|
-
var
|
|
2223
|
+
var Tn = Object.freeze({
|
|
2200
2224
|
width: null,
|
|
2201
2225
|
height: null
|
|
2202
|
-
}),
|
|
2203
|
-
...
|
|
2204
|
-
...
|
|
2205
|
-
}),
|
|
2206
|
-
function
|
|
2226
|
+
}), En = Object.freeze({
|
|
2227
|
+
...Tn,
|
|
2228
|
+
...rn
|
|
2229
|
+
}), Dn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, On = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2230
|
+
function kn(e, t, n) {
|
|
2207
2231
|
if (t === 1) return e;
|
|
2208
2232
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2209
2233
|
if (typeof e != "string") return e;
|
|
2210
|
-
let r = e.split(
|
|
2234
|
+
let r = e.split(Dn);
|
|
2211
2235
|
if (r === null || !r.length) return e;
|
|
2212
|
-
let i = [], a = r.shift(), o =
|
|
2236
|
+
let i = [], a = r.shift(), o = On.test(a);
|
|
2213
2237
|
for (;;) {
|
|
2214
2238
|
if (o) {
|
|
2215
2239
|
let e = parseFloat(a);
|
|
@@ -2219,7 +2243,7 @@ function Yt(e, t, n) {
|
|
|
2219
2243
|
o = !o;
|
|
2220
2244
|
}
|
|
2221
2245
|
}
|
|
2222
|
-
function
|
|
2246
|
+
function An(e, t = "defs") {
|
|
2223
2247
|
let n = "", r = e.indexOf("<" + t);
|
|
2224
2248
|
for (; r >= 0;) {
|
|
2225
2249
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2233,20 +2257,20 @@ function Xt(e, t = "defs") {
|
|
|
2233
2257
|
content: e
|
|
2234
2258
|
};
|
|
2235
2259
|
}
|
|
2236
|
-
function
|
|
2260
|
+
function jn(e, t) {
|
|
2237
2261
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2238
2262
|
}
|
|
2239
|
-
function
|
|
2240
|
-
let r =
|
|
2241
|
-
return
|
|
2263
|
+
function Mn(e, t, n) {
|
|
2264
|
+
let r = An(e);
|
|
2265
|
+
return jn(r.defs, t + r.content + n);
|
|
2242
2266
|
}
|
|
2243
|
-
var
|
|
2244
|
-
function
|
|
2267
|
+
var Nn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2268
|
+
function Pn(e, t) {
|
|
2245
2269
|
let n = {
|
|
2246
|
-
...
|
|
2270
|
+
...an,
|
|
2247
2271
|
...e
|
|
2248
2272
|
}, r = {
|
|
2249
|
-
...
|
|
2273
|
+
...En,
|
|
2250
2274
|
...t
|
|
2251
2275
|
}, i = {
|
|
2252
2276
|
left: n.left,
|
|
@@ -2269,12 +2293,12 @@ function en(e, t) {
|
|
|
2269
2293
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2270
2294
|
break;
|
|
2271
2295
|
}
|
|
2272
|
-
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a =
|
|
2296
|
+
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = Mn(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2273
2297
|
});
|
|
2274
2298
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2275
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2299
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = kn(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? kn(u, l / c) : s === "auto" ? l : s);
|
|
2276
2300
|
let f = {}, p = (e, t) => {
|
|
2277
|
-
|
|
2301
|
+
Nn(t) || (f[e] = t.toString());
|
|
2278
2302
|
};
|
|
2279
2303
|
p("width", u), p("height", d);
|
|
2280
2304
|
let m = [
|
|
@@ -2289,25 +2313,25 @@ function en(e, t) {
|
|
|
2289
2313
|
body: a
|
|
2290
2314
|
};
|
|
2291
2315
|
}
|
|
2292
|
-
var
|
|
2293
|
-
function
|
|
2316
|
+
var Fn = /\sid="(\S+)"/g, In = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), Ln = 0;
|
|
2317
|
+
function Rn(e, t = In) {
|
|
2294
2318
|
let n = [], r;
|
|
2295
|
-
for (; r =
|
|
2319
|
+
for (; r = Fn.exec(e);) n.push(r[1]);
|
|
2296
2320
|
if (!n.length) return e;
|
|
2297
2321
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2298
2322
|
return n.forEach((n) => {
|
|
2299
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2323
|
+
let r = typeof t == "function" ? t(n) : t + (Ln++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2300
2324
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2301
2325
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2302
2326
|
}
|
|
2303
|
-
var
|
|
2304
|
-
function
|
|
2305
|
-
|
|
2327
|
+
var zn = Object.create(null);
|
|
2328
|
+
function Bn(e, t) {
|
|
2329
|
+
zn[e] = t;
|
|
2306
2330
|
}
|
|
2307
|
-
function
|
|
2308
|
-
return
|
|
2331
|
+
function Vn(e) {
|
|
2332
|
+
return zn[e] || zn[""];
|
|
2309
2333
|
}
|
|
2310
|
-
function
|
|
2334
|
+
function Hn(e) {
|
|
2311
2335
|
let t;
|
|
2312
2336
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2313
2337
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2322,23 +2346,23 @@ function ln(e) {
|
|
|
2322
2346
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2323
2347
|
};
|
|
2324
2348
|
}
|
|
2325
|
-
for (var
|
|
2326
|
-
|
|
2327
|
-
function
|
|
2328
|
-
let n =
|
|
2329
|
-
return n === null ? !1 : (
|
|
2349
|
+
for (var Un = Object.create(null), Wn = ["https://api.simplesvg.com", "https://api.unisvg.com"], Gn = []; Wn.length > 0;) Gn.push(Wn.length === 1 || Math.random() > .5 ? Wn.shift() : Wn.pop());
|
|
2350
|
+
Un[""] = Hn({ resources: ["https://api.iconify.design"].concat(Gn) });
|
|
2351
|
+
function Kn(e, t) {
|
|
2352
|
+
let n = Hn(t);
|
|
2353
|
+
return n === null ? !1 : (Un[e] = n, !0);
|
|
2330
2354
|
}
|
|
2331
|
-
function
|
|
2332
|
-
return
|
|
2355
|
+
function qn(e) {
|
|
2356
|
+
return Un[e];
|
|
2333
2357
|
}
|
|
2334
|
-
var
|
|
2358
|
+
var Jn = (() => {
|
|
2335
2359
|
let e;
|
|
2336
2360
|
try {
|
|
2337
2361
|
if (e = fetch, typeof e == "function") return e;
|
|
2338
2362
|
} catch {}
|
|
2339
2363
|
})();
|
|
2340
|
-
function
|
|
2341
|
-
let n =
|
|
2364
|
+
function Yn(e, t) {
|
|
2365
|
+
let n = qn(e);
|
|
2342
2366
|
if (!n) return 0;
|
|
2343
2367
|
let r;
|
|
2344
2368
|
if (!n.maxURL) r = 0;
|
|
@@ -2352,11 +2376,11 @@ function hn(e, t) {
|
|
|
2352
2376
|
}
|
|
2353
2377
|
return r;
|
|
2354
2378
|
}
|
|
2355
|
-
function
|
|
2379
|
+
function Xn(e) {
|
|
2356
2380
|
return e === 404;
|
|
2357
2381
|
}
|
|
2358
|
-
var
|
|
2359
|
-
let r = [], i =
|
|
2382
|
+
var Zn = (e, t, n) => {
|
|
2383
|
+
let r = [], i = Yn(e, t), a = "icons", o = {
|
|
2360
2384
|
type: a,
|
|
2361
2385
|
provider: e,
|
|
2362
2386
|
prefix: t,
|
|
@@ -2371,21 +2395,21 @@ var _n = (e, t, n) => {
|
|
|
2371
2395
|
}, s = n.length), o.icons.push(n);
|
|
2372
2396
|
}), r.push(o), r;
|
|
2373
2397
|
};
|
|
2374
|
-
function
|
|
2398
|
+
function Qn(e) {
|
|
2375
2399
|
if (typeof e == "string") {
|
|
2376
|
-
let t =
|
|
2400
|
+
let t = qn(e);
|
|
2377
2401
|
if (t) return t.path;
|
|
2378
2402
|
}
|
|
2379
2403
|
return "/";
|
|
2380
2404
|
}
|
|
2381
|
-
var
|
|
2382
|
-
prepare:
|
|
2405
|
+
var $n = {
|
|
2406
|
+
prepare: Zn,
|
|
2383
2407
|
send: (e, t, n) => {
|
|
2384
|
-
if (!
|
|
2408
|
+
if (!Jn) {
|
|
2385
2409
|
n("abort", 424);
|
|
2386
2410
|
return;
|
|
2387
2411
|
}
|
|
2388
|
-
let r =
|
|
2412
|
+
let r = Qn(t.provider);
|
|
2389
2413
|
switch (t.type) {
|
|
2390
2414
|
case "icons": {
|
|
2391
2415
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2402,11 +2426,11 @@ var yn = {
|
|
|
2402
2426
|
return;
|
|
2403
2427
|
}
|
|
2404
2428
|
let i = 503;
|
|
2405
|
-
|
|
2429
|
+
Jn(e + r).then((e) => {
|
|
2406
2430
|
let t = e.status;
|
|
2407
2431
|
if (t !== 200) {
|
|
2408
2432
|
setTimeout(() => {
|
|
2409
|
-
n(
|
|
2433
|
+
n(Xn(t) ? "abort" : "next", t);
|
|
2410
2434
|
});
|
|
2411
2435
|
return;
|
|
2412
2436
|
}
|
|
@@ -2426,13 +2450,13 @@ var yn = {
|
|
|
2426
2450
|
});
|
|
2427
2451
|
}
|
|
2428
2452
|
};
|
|
2429
|
-
function
|
|
2453
|
+
function er(e, t) {
|
|
2430
2454
|
e.forEach((e) => {
|
|
2431
2455
|
let n = e.loaderCallbacks;
|
|
2432
2456
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2433
2457
|
});
|
|
2434
2458
|
}
|
|
2435
|
-
function
|
|
2459
|
+
function tr(e) {
|
|
2436
2460
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2437
2461
|
e.pendingCallbacksFlag = !1;
|
|
2438
2462
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2455,13 +2479,13 @@ function xn(e) {
|
|
|
2455
2479
|
});
|
|
2456
2480
|
else return n = !0, !0;
|
|
2457
2481
|
return !1;
|
|
2458
|
-
}), a.pending.length !== o && (n ||
|
|
2482
|
+
}), a.pending.length !== o && (n || er([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2459
2483
|
});
|
|
2460
2484
|
}));
|
|
2461
2485
|
}
|
|
2462
|
-
var
|
|
2463
|
-
function
|
|
2464
|
-
let r =
|
|
2486
|
+
var nr = 0;
|
|
2487
|
+
function rr(e, t, n) {
|
|
2488
|
+
let r = nr++, i = er.bind(null, n, r);
|
|
2465
2489
|
if (!t.pending.length) return i;
|
|
2466
2490
|
let a = {
|
|
2467
2491
|
id: r,
|
|
@@ -2473,7 +2497,7 @@ function Cn(e, t, n) {
|
|
|
2473
2497
|
(e.loaderCallbacks ||= []).push(a);
|
|
2474
2498
|
}), i;
|
|
2475
2499
|
}
|
|
2476
|
-
function
|
|
2500
|
+
function ir(e) {
|
|
2477
2501
|
let t = {
|
|
2478
2502
|
loaded: [],
|
|
2479
2503
|
missing: [],
|
|
@@ -2488,7 +2512,7 @@ function wn(e) {
|
|
|
2488
2512
|
return e.forEach((e) => {
|
|
2489
2513
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
2490
2514
|
r = e;
|
|
2491
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
2515
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = B(i, a)), l;
|
|
2492
2516
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
2493
2517
|
provider: i,
|
|
2494
2518
|
prefix: a,
|
|
@@ -2496,14 +2520,14 @@ function wn(e) {
|
|
|
2496
2520
|
});
|
|
2497
2521
|
}), t;
|
|
2498
2522
|
}
|
|
2499
|
-
function
|
|
2523
|
+
function ar(e, t = !0, n = !1) {
|
|
2500
2524
|
let r = [];
|
|
2501
2525
|
return e.forEach((e) => {
|
|
2502
|
-
let i = typeof e == "string" ?
|
|
2526
|
+
let i = typeof e == "string" ? yn(e, t, n) : e;
|
|
2503
2527
|
i && r.push(i);
|
|
2504
2528
|
}), r;
|
|
2505
2529
|
}
|
|
2506
|
-
var
|
|
2530
|
+
var or = {
|
|
2507
2531
|
resources: [],
|
|
2508
2532
|
index: 0,
|
|
2509
2533
|
timeout: 2e3,
|
|
@@ -2511,7 +2535,7 @@ var En = {
|
|
|
2511
2535
|
random: !1,
|
|
2512
2536
|
dataAfterTimeout: !1
|
|
2513
2537
|
};
|
|
2514
|
-
function
|
|
2538
|
+
function sr(e, t, n, r) {
|
|
2515
2539
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2516
2540
|
if (e.random) {
|
|
2517
2541
|
let t = e.resources.slice(0);
|
|
@@ -2555,7 +2579,7 @@ function Dn(e, t, n, r) {
|
|
|
2555
2579
|
e.status === "pending" && (e.status = "aborted");
|
|
2556
2580
|
}), d = [];
|
|
2557
2581
|
}
|
|
2558
|
-
function
|
|
2582
|
+
function ee(t, n, r) {
|
|
2559
2583
|
let i = n !== "success";
|
|
2560
2584
|
switch (d = d.filter((e) => e !== t), s) {
|
|
2561
2585
|
case "pending": break;
|
|
@@ -2569,7 +2593,7 @@ function Dn(e, t, n, r) {
|
|
|
2569
2593
|
return;
|
|
2570
2594
|
}
|
|
2571
2595
|
if (i) {
|
|
2572
|
-
l = r, d.length || (a.length ?
|
|
2596
|
+
l = r, d.length || (a.length ? y() : _());
|
|
2573
2597
|
return;
|
|
2574
2598
|
}
|
|
2575
2599
|
if (p(), v(), !e.random) {
|
|
@@ -2580,7 +2604,7 @@ function Dn(e, t, n, r) {
|
|
|
2580
2604
|
e(r);
|
|
2581
2605
|
});
|
|
2582
2606
|
}
|
|
2583
|
-
function
|
|
2607
|
+
function y() {
|
|
2584
2608
|
if (s !== "pending") return;
|
|
2585
2609
|
p();
|
|
2586
2610
|
let r = a.shift();
|
|
@@ -2598,23 +2622,23 @@ function Dn(e, t, n, r) {
|
|
|
2598
2622
|
status: "pending",
|
|
2599
2623
|
resource: r,
|
|
2600
2624
|
callback: (e, t) => {
|
|
2601
|
-
|
|
2625
|
+
ee(i, e, t);
|
|
2602
2626
|
}
|
|
2603
2627
|
};
|
|
2604
|
-
d.push(i), c++, u = setTimeout(
|
|
2628
|
+
d.push(i), c++, u = setTimeout(y, e.rotate), n(r, t, i.callback);
|
|
2605
2629
|
}
|
|
2606
|
-
return setTimeout(
|
|
2630
|
+
return setTimeout(y), g;
|
|
2607
2631
|
}
|
|
2608
|
-
function
|
|
2632
|
+
function cr(e) {
|
|
2609
2633
|
let t = {
|
|
2610
|
-
...
|
|
2634
|
+
...or,
|
|
2611
2635
|
...e
|
|
2612
2636
|
}, n = [];
|
|
2613
2637
|
function r() {
|
|
2614
2638
|
n = n.filter((e) => e().status === "pending");
|
|
2615
2639
|
}
|
|
2616
2640
|
function i(e, i, a) {
|
|
2617
|
-
let o =
|
|
2641
|
+
let o = sr(t, e, i, (e, t) => {
|
|
2618
2642
|
r(), a && a(e, t);
|
|
2619
2643
|
});
|
|
2620
2644
|
return n.push(o), o;
|
|
@@ -2632,53 +2656,53 @@ function On(e) {
|
|
|
2632
2656
|
cleanup: r
|
|
2633
2657
|
};
|
|
2634
2658
|
}
|
|
2635
|
-
function
|
|
2636
|
-
var
|
|
2637
|
-
function
|
|
2638
|
-
if (!
|
|
2639
|
-
let t =
|
|
2659
|
+
function lr() {}
|
|
2660
|
+
var ur = Object.create(null);
|
|
2661
|
+
function dr(e) {
|
|
2662
|
+
if (!ur[e]) {
|
|
2663
|
+
let t = qn(e);
|
|
2640
2664
|
if (!t) return;
|
|
2641
|
-
|
|
2665
|
+
ur[e] = {
|
|
2642
2666
|
config: t,
|
|
2643
|
-
redundancy:
|
|
2667
|
+
redundancy: cr(t)
|
|
2644
2668
|
};
|
|
2645
2669
|
}
|
|
2646
|
-
return
|
|
2670
|
+
return ur[e];
|
|
2647
2671
|
}
|
|
2648
|
-
function
|
|
2672
|
+
function fr(e, t, n) {
|
|
2649
2673
|
let r, i;
|
|
2650
2674
|
if (typeof e == "string") {
|
|
2651
|
-
let t =
|
|
2652
|
-
if (!t) return n(void 0, 424),
|
|
2675
|
+
let t = Vn(e);
|
|
2676
|
+
if (!t) return n(void 0, 424), lr;
|
|
2653
2677
|
i = t.send;
|
|
2654
|
-
let a =
|
|
2678
|
+
let a = dr(e);
|
|
2655
2679
|
a && (r = a.redundancy);
|
|
2656
2680
|
} else {
|
|
2657
|
-
let t =
|
|
2681
|
+
let t = Hn(e);
|
|
2658
2682
|
if (t) {
|
|
2659
|
-
r =
|
|
2660
|
-
let n =
|
|
2683
|
+
r = cr(t);
|
|
2684
|
+
let n = Vn(e.resources ? e.resources[0] : "");
|
|
2661
2685
|
n && (i = n.send);
|
|
2662
2686
|
}
|
|
2663
2687
|
}
|
|
2664
|
-
return !r || !i ? (n(void 0, 424),
|
|
2688
|
+
return !r || !i ? (n(void 0, 424), lr) : r.query(t, i, n)().abort;
|
|
2665
2689
|
}
|
|
2666
|
-
function
|
|
2667
|
-
function
|
|
2690
|
+
function pr() {}
|
|
2691
|
+
function mr(e) {
|
|
2668
2692
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
2669
|
-
e.iconsLoaderFlag = !1,
|
|
2693
|
+
e.iconsLoaderFlag = !1, tr(e);
|
|
2670
2694
|
}));
|
|
2671
2695
|
}
|
|
2672
|
-
function
|
|
2696
|
+
function hr(e) {
|
|
2673
2697
|
let t = [], n = [];
|
|
2674
2698
|
return e.forEach((e) => {
|
|
2675
|
-
(e.match(
|
|
2699
|
+
(e.match(vn) ? t : n).push(e);
|
|
2676
2700
|
}), {
|
|
2677
2701
|
valid: t,
|
|
2678
2702
|
invalid: n
|
|
2679
2703
|
};
|
|
2680
2704
|
}
|
|
2681
|
-
function
|
|
2705
|
+
function H(e, t, n) {
|
|
2682
2706
|
function r() {
|
|
2683
2707
|
let n = e.pendingIcons;
|
|
2684
2708
|
t.forEach((t) => {
|
|
@@ -2686,38 +2710,38 @@ function Y(e, t, n) {
|
|
|
2686
2710
|
});
|
|
2687
2711
|
}
|
|
2688
2712
|
if (n && typeof n == "object") try {
|
|
2689
|
-
if (!
|
|
2713
|
+
if (!gn(e, n).length) {
|
|
2690
2714
|
r();
|
|
2691
2715
|
return;
|
|
2692
2716
|
}
|
|
2693
2717
|
} catch (e) {
|
|
2694
2718
|
console.error(e);
|
|
2695
2719
|
}
|
|
2696
|
-
r(),
|
|
2720
|
+
r(), mr(e);
|
|
2697
2721
|
}
|
|
2698
|
-
function
|
|
2722
|
+
function gr(e, t) {
|
|
2699
2723
|
e instanceof Promise ? e.then((e) => {
|
|
2700
2724
|
t(e);
|
|
2701
2725
|
}).catch(() => {
|
|
2702
2726
|
t(null);
|
|
2703
2727
|
}) : t(e);
|
|
2704
2728
|
}
|
|
2705
|
-
function
|
|
2729
|
+
function _r(e, t) {
|
|
2706
2730
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
2707
2731
|
e.iconsQueueFlag = !1;
|
|
2708
2732
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
2709
2733
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
2710
2734
|
let i = e.loadIcon;
|
|
2711
2735
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
2712
|
-
|
|
2713
|
-
|
|
2736
|
+
gr(e.loadIcons(r, n, t), (t) => {
|
|
2737
|
+
H(e, r, t);
|
|
2714
2738
|
});
|
|
2715
2739
|
return;
|
|
2716
2740
|
}
|
|
2717
2741
|
if (i) {
|
|
2718
2742
|
r.forEach((r) => {
|
|
2719
|
-
|
|
2720
|
-
|
|
2743
|
+
gr(i(r, n, t), (t) => {
|
|
2744
|
+
H(e, [r], t ? {
|
|
2721
2745
|
prefix: n,
|
|
2722
2746
|
icons: { [r]: t }
|
|
2723
2747
|
} : null);
|
|
@@ -2725,26 +2749,26 @@ function Ln(e, t) {
|
|
|
2725
2749
|
});
|
|
2726
2750
|
return;
|
|
2727
2751
|
}
|
|
2728
|
-
let { valid: a, invalid: o } =
|
|
2729
|
-
if (o.length &&
|
|
2730
|
-
let s = n.match(
|
|
2752
|
+
let { valid: a, invalid: o } = hr(r);
|
|
2753
|
+
if (o.length && H(e, o, null), !a.length) return;
|
|
2754
|
+
let s = n.match(vn) ? Vn(t) : null;
|
|
2731
2755
|
if (!s) {
|
|
2732
|
-
|
|
2756
|
+
H(e, a, null);
|
|
2733
2757
|
return;
|
|
2734
2758
|
}
|
|
2735
2759
|
s.prepare(t, n, a).forEach((n) => {
|
|
2736
|
-
|
|
2737
|
-
|
|
2760
|
+
fr(t, n, (t) => {
|
|
2761
|
+
H(e, n.icons, t);
|
|
2738
2762
|
});
|
|
2739
2763
|
});
|
|
2740
2764
|
}));
|
|
2741
2765
|
}
|
|
2742
|
-
var
|
|
2743
|
-
let n =
|
|
2766
|
+
var vr = (e, t) => {
|
|
2767
|
+
let n = ir(ar(e, !0, xn()));
|
|
2744
2768
|
if (!n.pending.length) {
|
|
2745
2769
|
let e = !0;
|
|
2746
2770
|
return t && setTimeout(() => {
|
|
2747
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
2771
|
+
e && t(n.loaded, n.missing, n.pending, pr);
|
|
2748
2772
|
}), () => {
|
|
2749
2773
|
e = !1;
|
|
2750
2774
|
};
|
|
@@ -2753,28 +2777,28 @@ var Rn = (e, t) => {
|
|
|
2753
2777
|
return n.pending.forEach((e) => {
|
|
2754
2778
|
let { provider: t, prefix: n } = e;
|
|
2755
2779
|
if (n === o && t === a) return;
|
|
2756
|
-
a = t, o = n, i.push(
|
|
2780
|
+
a = t, o = n, i.push(B(t, n));
|
|
2757
2781
|
let s = r[t] || (r[t] = Object.create(null));
|
|
2758
2782
|
s[n] || (s[n] = []);
|
|
2759
2783
|
}), n.pending.forEach((e) => {
|
|
2760
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
2784
|
+
let { provider: t, prefix: n, name: i } = e, a = B(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
2761
2785
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
2762
2786
|
}), i.forEach((e) => {
|
|
2763
2787
|
let t = r[e.provider][e.prefix];
|
|
2764
|
-
t.length &&
|
|
2765
|
-
}), t ?
|
|
2788
|
+
t.length && _r(e, t);
|
|
2789
|
+
}), t ? rr(t, n, i) : pr;
|
|
2766
2790
|
};
|
|
2767
|
-
function
|
|
2791
|
+
function yr(e, t) {
|
|
2768
2792
|
let n = { ...e };
|
|
2769
2793
|
for (let e in t) {
|
|
2770
2794
|
let r = t[e], i = typeof r;
|
|
2771
|
-
e in
|
|
2795
|
+
e in Tn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
2772
2796
|
}
|
|
2773
2797
|
return n;
|
|
2774
2798
|
}
|
|
2775
|
-
var
|
|
2776
|
-
function
|
|
2777
|
-
t.split(
|
|
2799
|
+
var br = /[\s,]+/;
|
|
2800
|
+
function xr(e, t) {
|
|
2801
|
+
t.split(br).forEach((t) => {
|
|
2778
2802
|
switch (t.trim()) {
|
|
2779
2803
|
case "horizontal":
|
|
2780
2804
|
e.hFlip = !0;
|
|
@@ -2785,7 +2809,7 @@ function Vn(e, t) {
|
|
|
2785
2809
|
}
|
|
2786
2810
|
});
|
|
2787
2811
|
}
|
|
2788
|
-
function
|
|
2812
|
+
function Sr(e, t = 0) {
|
|
2789
2813
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
2790
2814
|
function r(e) {
|
|
2791
2815
|
for (; e < 0;) e += 4;
|
|
@@ -2809,67 +2833,67 @@ function Hn(e, t = 0) {
|
|
|
2809
2833
|
}
|
|
2810
2834
|
return t;
|
|
2811
2835
|
}
|
|
2812
|
-
function
|
|
2836
|
+
function Cr(e, t) {
|
|
2813
2837
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
2814
2838
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
2815
2839
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
2816
2840
|
}
|
|
2817
|
-
function
|
|
2841
|
+
function wr(e) {
|
|
2818
2842
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2819
2843
|
}
|
|
2820
|
-
function
|
|
2821
|
-
return "data:image/svg+xml," +
|
|
2844
|
+
function Tr(e) {
|
|
2845
|
+
return "data:image/svg+xml," + wr(e);
|
|
2822
2846
|
}
|
|
2823
|
-
function
|
|
2824
|
-
return "url(\"" +
|
|
2847
|
+
function Er(e) {
|
|
2848
|
+
return "url(\"" + Tr(e) + "\")";
|
|
2825
2849
|
}
|
|
2826
|
-
var
|
|
2827
|
-
function
|
|
2850
|
+
var U;
|
|
2851
|
+
function Dr() {
|
|
2828
2852
|
try {
|
|
2829
|
-
|
|
2853
|
+
U = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
2830
2854
|
} catch {
|
|
2831
|
-
|
|
2855
|
+
U = null;
|
|
2832
2856
|
}
|
|
2833
2857
|
}
|
|
2834
|
-
function
|
|
2835
|
-
return
|
|
2858
|
+
function Or(e) {
|
|
2859
|
+
return U === void 0 && Dr(), U ? U.createHTML(e) : e;
|
|
2836
2860
|
}
|
|
2837
|
-
var
|
|
2838
|
-
...
|
|
2861
|
+
var kr = {
|
|
2862
|
+
...En,
|
|
2839
2863
|
inline: !1
|
|
2840
|
-
},
|
|
2864
|
+
}, Ar = {
|
|
2841
2865
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2842
2866
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2843
2867
|
"aria-hidden": !0,
|
|
2844
2868
|
role: "img"
|
|
2845
|
-
},
|
|
2869
|
+
}, jr = { display: "inline-block" }, Mr = { backgroundColor: "currentColor" }, Nr = { backgroundColor: "transparent" }, Pr = {
|
|
2846
2870
|
Image: "var(--svg)",
|
|
2847
2871
|
Repeat: "no-repeat",
|
|
2848
2872
|
Size: "100% 100%"
|
|
2849
|
-
},
|
|
2850
|
-
WebkitMask:
|
|
2851
|
-
mask:
|
|
2852
|
-
background:
|
|
2873
|
+
}, Fr = {
|
|
2874
|
+
WebkitMask: Mr,
|
|
2875
|
+
mask: Mr,
|
|
2876
|
+
background: Nr
|
|
2853
2877
|
};
|
|
2854
|
-
for (let e in
|
|
2855
|
-
let t =
|
|
2856
|
-
for (let n in
|
|
2878
|
+
for (let e in Fr) {
|
|
2879
|
+
let t = Fr[e];
|
|
2880
|
+
for (let n in Pr) t[e + n] = Pr[n];
|
|
2857
2881
|
}
|
|
2858
|
-
var
|
|
2859
|
-
...
|
|
2882
|
+
var Ir = {
|
|
2883
|
+
...kr,
|
|
2860
2884
|
inline: !0
|
|
2861
2885
|
};
|
|
2862
|
-
function
|
|
2886
|
+
function Lr(e) {
|
|
2863
2887
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2864
2888
|
}
|
|
2865
|
-
var
|
|
2866
|
-
let r = t.inline ?
|
|
2889
|
+
var Rr = (e, t, n) => {
|
|
2890
|
+
let r = t.inline ? Ir : kr, i = yr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? Ar : {} };
|
|
2867
2891
|
if (n) {
|
|
2868
|
-
let e =
|
|
2892
|
+
let e = yn(n, !1, !0);
|
|
2869
2893
|
if (e) {
|
|
2870
2894
|
let t = ["iconify"];
|
|
2871
2895
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
2872
|
-
|
|
2896
|
+
c.className = t.join(" ");
|
|
2873
2897
|
}
|
|
2874
2898
|
}
|
|
2875
2899
|
for (let e in t) {
|
|
@@ -2883,10 +2907,10 @@ var ir = (e, t, n) => {
|
|
|
2883
2907
|
case "ssr":
|
|
2884
2908
|
case "fallback": break;
|
|
2885
2909
|
case "_ref":
|
|
2886
|
-
|
|
2910
|
+
c.ref = n;
|
|
2887
2911
|
break;
|
|
2888
2912
|
case "className":
|
|
2889
|
-
|
|
2913
|
+
c[e] = (c[e] ? c[e] + " " : "") + n;
|
|
2890
2914
|
break;
|
|
2891
2915
|
case "inline":
|
|
2892
2916
|
case "hFlip":
|
|
@@ -2894,52 +2918,52 @@ var ir = (e, t, n) => {
|
|
|
2894
2918
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
2895
2919
|
break;
|
|
2896
2920
|
case "flip":
|
|
2897
|
-
typeof n == "string" &&
|
|
2921
|
+
typeof n == "string" && xr(i, n);
|
|
2898
2922
|
break;
|
|
2899
2923
|
case "color":
|
|
2900
2924
|
o.color = n;
|
|
2901
2925
|
break;
|
|
2902
2926
|
case "rotate":
|
|
2903
|
-
typeof n == "string" ? i[e] =
|
|
2927
|
+
typeof n == "string" ? i[e] = Sr(n) : typeof n == "number" && (i[e] = n);
|
|
2904
2928
|
break;
|
|
2905
2929
|
case "ariaHidden":
|
|
2906
2930
|
case "aria-hidden":
|
|
2907
|
-
n !== !0 && n !== "true" && delete
|
|
2931
|
+
n !== !0 && n !== "true" && delete c["aria-hidden"];
|
|
2908
2932
|
break;
|
|
2909
|
-
default: r[e] === void 0 && (
|
|
2933
|
+
default: r[e] === void 0 && (c[e] = n);
|
|
2910
2934
|
}
|
|
2911
2935
|
}
|
|
2912
|
-
let
|
|
2936
|
+
let l = Pn(e, i), u = l.attributes;
|
|
2913
2937
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
2914
|
-
|
|
2938
|
+
c.style = {
|
|
2915
2939
|
...o,
|
|
2916
2940
|
...s
|
|
2917
|
-
}, Object.assign(
|
|
2941
|
+
}, Object.assign(c, u);
|
|
2918
2942
|
let e = 0, n = t.id;
|
|
2919
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")),
|
|
2943
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Or(Rn(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, de("svg", c);
|
|
2920
2944
|
}
|
|
2921
|
-
let { body:
|
|
2922
|
-
...
|
|
2923
|
-
width:
|
|
2924
|
-
height:
|
|
2945
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Cr(d, {
|
|
2946
|
+
...u,
|
|
2947
|
+
width: f + "",
|
|
2948
|
+
height: p + ""
|
|
2925
2949
|
});
|
|
2926
|
-
return
|
|
2950
|
+
return c.style = {
|
|
2927
2951
|
...o,
|
|
2928
|
-
"--svg":
|
|
2929
|
-
width:
|
|
2930
|
-
height:
|
|
2931
|
-
...
|
|
2932
|
-
...
|
|
2952
|
+
"--svg": Er(h),
|
|
2953
|
+
width: Lr(u.width),
|
|
2954
|
+
height: Lr(u.height),
|
|
2955
|
+
...jr,
|
|
2956
|
+
...m ? Mr : Nr,
|
|
2933
2957
|
...s
|
|
2934
|
-
},
|
|
2958
|
+
}, de("span", c);
|
|
2935
2959
|
};
|
|
2936
|
-
if (
|
|
2960
|
+
if (xn(!0), Bn("", $n), typeof document < "u" && typeof window < "u") {
|
|
2937
2961
|
let e = window;
|
|
2938
2962
|
if (e.IconifyPreload !== void 0) {
|
|
2939
2963
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
2940
2964
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
2941
2965
|
try {
|
|
2942
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
2966
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !wn(e)) && console.error(n);
|
|
2943
2967
|
} catch {
|
|
2944
2968
|
console.error(n);
|
|
2945
2969
|
}
|
|
@@ -2952,15 +2976,15 @@ if (Vt(!0), sn("", yn), typeof document < "u" && typeof window < "u") {
|
|
|
2952
2976
|
try {
|
|
2953
2977
|
let r = t[e];
|
|
2954
2978
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
2955
|
-
|
|
2979
|
+
Kn(e, r) || console.error(n);
|
|
2956
2980
|
} catch {
|
|
2957
2981
|
console.error(n);
|
|
2958
2982
|
}
|
|
2959
2983
|
}
|
|
2960
2984
|
}
|
|
2961
2985
|
}
|
|
2962
|
-
function
|
|
2963
|
-
let [t, n] =
|
|
2986
|
+
function zr(e) {
|
|
2987
|
+
let [t, n] = w(!!e.ssr), [r, i] = w({});
|
|
2964
2988
|
function a(t) {
|
|
2965
2989
|
if (t) {
|
|
2966
2990
|
let t = e.icon;
|
|
@@ -2968,7 +2992,7 @@ function ar(e) {
|
|
|
2968
2992
|
name: "",
|
|
2969
2993
|
data: t
|
|
2970
2994
|
};
|
|
2971
|
-
let n =
|
|
2995
|
+
let n = Sn(t);
|
|
2972
2996
|
if (n) return {
|
|
2973
2997
|
name: t,
|
|
2974
2998
|
data: n
|
|
@@ -2976,491 +3000,491 @@ function ar(e) {
|
|
|
2976
3000
|
}
|
|
2977
3001
|
return { name: "" };
|
|
2978
3002
|
}
|
|
2979
|
-
let [o, s] =
|
|
2980
|
-
function
|
|
3003
|
+
let [o, s] = w(a(!!e.ssr));
|
|
3004
|
+
function c() {
|
|
2981
3005
|
let e = r.callback;
|
|
2982
3006
|
e && (e(), i({}));
|
|
2983
3007
|
}
|
|
2984
|
-
function
|
|
2985
|
-
if (JSON.stringify(o) !== JSON.stringify(e)) return
|
|
3008
|
+
function l(e) {
|
|
3009
|
+
if (JSON.stringify(o) !== JSON.stringify(e)) return c(), s(e), !0;
|
|
2986
3010
|
}
|
|
2987
|
-
function
|
|
3011
|
+
function u() {
|
|
2988
3012
|
var t;
|
|
2989
3013
|
let n = e.icon;
|
|
2990
3014
|
if (typeof n == "object") {
|
|
2991
|
-
|
|
3015
|
+
l({
|
|
2992
3016
|
name: "",
|
|
2993
3017
|
data: n
|
|
2994
3018
|
});
|
|
2995
3019
|
return;
|
|
2996
3020
|
}
|
|
2997
|
-
let r =
|
|
2998
|
-
|
|
3021
|
+
let r = Sn(n);
|
|
3022
|
+
l({
|
|
2999
3023
|
name: n,
|
|
3000
3024
|
data: r
|
|
3001
|
-
}) && (r === void 0 ? i({ callback:
|
|
3025
|
+
}) && (r === void 0 ? i({ callback: vr([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3002
3026
|
}
|
|
3003
|
-
|
|
3004
|
-
t &&
|
|
3027
|
+
S(() => (n(!0), c), []), S(() => {
|
|
3028
|
+
t && u();
|
|
3005
3029
|
}, [e.icon, t]);
|
|
3006
|
-
let { name:
|
|
3007
|
-
return
|
|
3008
|
-
...
|
|
3009
|
-
...
|
|
3010
|
-
}, e,
|
|
3030
|
+
let { name: d, data: f } = o;
|
|
3031
|
+
return f ? Rr({
|
|
3032
|
+
...an,
|
|
3033
|
+
...f
|
|
3034
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : de("span", {});
|
|
3011
3035
|
}
|
|
3012
|
-
var
|
|
3036
|
+
var Br = fe((e, t) => zr({
|
|
3013
3037
|
...e,
|
|
3014
3038
|
_ref: t
|
|
3015
3039
|
}));
|
|
3016
|
-
|
|
3040
|
+
fe((e, t) => zr({
|
|
3017
3041
|
inline: !0,
|
|
3018
3042
|
...e,
|
|
3019
3043
|
_ref: t
|
|
3020
3044
|
}));
|
|
3021
3045
|
//#endregion
|
|
3022
3046
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3023
|
-
var
|
|
3047
|
+
var Vr = {
|
|
3024
3048
|
width: 24,
|
|
3025
3049
|
height: 24,
|
|
3026
3050
|
hidden: !0,
|
|
3027
3051
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>"
|
|
3028
|
-
},
|
|
3052
|
+
}, Hr = {
|
|
3029
3053
|
width: 24,
|
|
3030
3054
|
height: 24,
|
|
3031
3055
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3032
|
-
},
|
|
3056
|
+
}, Ur = {
|
|
3033
3057
|
width: 24,
|
|
3034
3058
|
height: 24,
|
|
3035
3059
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>"
|
|
3036
|
-
},
|
|
3060
|
+
}, Wr = {
|
|
3037
3061
|
width: 24,
|
|
3038
3062
|
height: 24,
|
|
3039
3063
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>"
|
|
3040
|
-
},
|
|
3064
|
+
}, Gr = {
|
|
3041
3065
|
width: 24,
|
|
3042
3066
|
height: 24,
|
|
3043
3067
|
hidden: !0,
|
|
3044
3068
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>"
|
|
3045
|
-
},
|
|
3069
|
+
}, Kr = {
|
|
3046
3070
|
width: 24,
|
|
3047
3071
|
height: 24,
|
|
3048
3072
|
hidden: !0,
|
|
3049
3073
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>"
|
|
3050
|
-
},
|
|
3074
|
+
}, qr = {
|
|
3051
3075
|
width: 24,
|
|
3052
3076
|
height: 24,
|
|
3053
3077
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>"
|
|
3054
|
-
},
|
|
3078
|
+
}, Jr = {
|
|
3055
3079
|
width: 24,
|
|
3056
3080
|
height: 24,
|
|
3057
3081
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3058
|
-
},
|
|
3082
|
+
}, Yr = {
|
|
3059
3083
|
width: 24,
|
|
3060
3084
|
height: 24,
|
|
3061
3085
|
hidden: !0,
|
|
3062
3086
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>"
|
|
3063
|
-
},
|
|
3087
|
+
}, Xr = {
|
|
3064
3088
|
width: 24,
|
|
3065
3089
|
height: 24,
|
|
3066
3090
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>"
|
|
3067
|
-
},
|
|
3091
|
+
}, Zr = {
|
|
3068
3092
|
width: 24,
|
|
3069
3093
|
height: 24,
|
|
3070
3094
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3071
|
-
},
|
|
3095
|
+
}, Qr = {
|
|
3072
3096
|
width: 24,
|
|
3073
3097
|
height: 24,
|
|
3074
3098
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3075
|
-
},
|
|
3099
|
+
}, $r = {
|
|
3076
3100
|
width: 24,
|
|
3077
3101
|
height: 24,
|
|
3078
3102
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3079
|
-
},
|
|
3103
|
+
}, ei = {
|
|
3080
3104
|
width: 24,
|
|
3081
3105
|
height: 24,
|
|
3082
3106
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3083
|
-
},
|
|
3107
|
+
}, ti = {
|
|
3084
3108
|
width: 24,
|
|
3085
3109
|
height: 24,
|
|
3086
3110
|
hidden: !0,
|
|
3087
3111
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>"
|
|
3088
|
-
},
|
|
3112
|
+
}, ni = {
|
|
3089
3113
|
width: 24,
|
|
3090
3114
|
height: 24,
|
|
3091
3115
|
hidden: !0,
|
|
3092
3116
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>"
|
|
3093
|
-
},
|
|
3117
|
+
}, ri = {
|
|
3094
3118
|
width: 24,
|
|
3095
3119
|
height: 24,
|
|
3096
3120
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3097
|
-
},
|
|
3121
|
+
}, ii = {
|
|
3098
3122
|
width: 24,
|
|
3099
3123
|
height: 24,
|
|
3100
3124
|
hidden: !0,
|
|
3101
3125
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>"
|
|
3102
|
-
},
|
|
3126
|
+
}, ai = {
|
|
3103
3127
|
width: 24,
|
|
3104
3128
|
height: 24,
|
|
3105
3129
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3106
|
-
},
|
|
3130
|
+
}, oi = {
|
|
3107
3131
|
width: 24,
|
|
3108
3132
|
height: 24,
|
|
3109
3133
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>"
|
|
3110
|
-
},
|
|
3134
|
+
}, si = {
|
|
3111
3135
|
width: 24,
|
|
3112
3136
|
height: 24,
|
|
3113
3137
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>"
|
|
3114
|
-
},
|
|
3138
|
+
}, ci = {
|
|
3115
3139
|
width: 24,
|
|
3116
3140
|
height: 24,
|
|
3117
3141
|
hidden: !0,
|
|
3118
3142
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>"
|
|
3119
|
-
},
|
|
3143
|
+
}, li = {
|
|
3120
3144
|
width: 24,
|
|
3121
3145
|
height: 24,
|
|
3122
3146
|
hidden: !0,
|
|
3123
3147
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>"
|
|
3124
|
-
},
|
|
3148
|
+
}, ui = {
|
|
3125
3149
|
width: 24,
|
|
3126
3150
|
height: 24,
|
|
3127
3151
|
hidden: !0,
|
|
3128
3152
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>"
|
|
3129
|
-
},
|
|
3153
|
+
}, di = {
|
|
3130
3154
|
width: 24,
|
|
3131
3155
|
height: 24,
|
|
3132
3156
|
hidden: !0,
|
|
3133
3157
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>"
|
|
3134
|
-
},
|
|
3158
|
+
}, fi = {
|
|
3135
3159
|
width: 24,
|
|
3136
3160
|
height: 24,
|
|
3137
3161
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>"
|
|
3138
|
-
},
|
|
3162
|
+
}, pi = {
|
|
3139
3163
|
width: 24,
|
|
3140
3164
|
height: 24,
|
|
3141
3165
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3142
|
-
},
|
|
3166
|
+
}, mi = {
|
|
3143
3167
|
width: 24,
|
|
3144
3168
|
height: 24,
|
|
3145
3169
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>"
|
|
3146
|
-
},
|
|
3170
|
+
}, hi = {
|
|
3147
3171
|
width: 24,
|
|
3148
3172
|
height: 24,
|
|
3149
3173
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>"
|
|
3150
|
-
},
|
|
3174
|
+
}, gi = {
|
|
3151
3175
|
width: 24,
|
|
3152
3176
|
height: 24,
|
|
3153
3177
|
hidden: !0,
|
|
3154
3178
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>"
|
|
3155
|
-
},
|
|
3179
|
+
}, _i = {
|
|
3156
3180
|
width: 24,
|
|
3157
3181
|
height: 24,
|
|
3158
3182
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>"
|
|
3159
|
-
},
|
|
3183
|
+
}, vi = {
|
|
3160
3184
|
width: 24,
|
|
3161
3185
|
height: 24,
|
|
3162
3186
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>"
|
|
3163
|
-
},
|
|
3187
|
+
}, yi = {
|
|
3164
3188
|
width: 24,
|
|
3165
3189
|
height: 24,
|
|
3166
3190
|
hidden: !0,
|
|
3167
3191
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>"
|
|
3168
|
-
},
|
|
3192
|
+
}, bi = {
|
|
3169
3193
|
width: 24,
|
|
3170
3194
|
height: 24,
|
|
3171
3195
|
hidden: !0,
|
|
3172
3196
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>"
|
|
3173
|
-
},
|
|
3197
|
+
}, xi = {
|
|
3174
3198
|
width: 24,
|
|
3175
3199
|
height: 24,
|
|
3176
3200
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3177
|
-
},
|
|
3201
|
+
}, Si = {
|
|
3178
3202
|
width: 20,
|
|
3179
3203
|
height: 20,
|
|
3180
3204
|
hidden: !0,
|
|
3181
3205
|
body: "<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>"
|
|
3182
|
-
},
|
|
3206
|
+
}, Ci = {
|
|
3183
3207
|
width: 20,
|
|
3184
3208
|
height: 20,
|
|
3185
3209
|
hidden: !0,
|
|
3186
3210
|
body: "<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>"
|
|
3187
|
-
},
|
|
3211
|
+
}, wi = {
|
|
3188
3212
|
width: 20,
|
|
3189
3213
|
height: 20,
|
|
3190
3214
|
body: "<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>"
|
|
3191
|
-
},
|
|
3215
|
+
}, Ti = {
|
|
3192
3216
|
width: 20,
|
|
3193
3217
|
height: 20,
|
|
3194
3218
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>"
|
|
3195
|
-
},
|
|
3219
|
+
}, Ei = {
|
|
3196
3220
|
width: 20,
|
|
3197
3221
|
height: 20,
|
|
3198
3222
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>"
|
|
3199
|
-
},
|
|
3223
|
+
}, Di = {
|
|
3200
3224
|
width: 20,
|
|
3201
3225
|
height: 20,
|
|
3202
3226
|
hidden: !0,
|
|
3203
3227
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>"
|
|
3204
|
-
},
|
|
3228
|
+
}, Oi = {
|
|
3205
3229
|
width: 20,
|
|
3206
3230
|
height: 20,
|
|
3207
3231
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>"
|
|
3208
|
-
},
|
|
3232
|
+
}, ki = {
|
|
3209
3233
|
width: 20,
|
|
3210
3234
|
height: 20,
|
|
3211
3235
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>"
|
|
3212
|
-
},
|
|
3236
|
+
}, Ai = {
|
|
3213
3237
|
width: 20,
|
|
3214
3238
|
height: 20,
|
|
3215
3239
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>"
|
|
3216
|
-
},
|
|
3240
|
+
}, ji = {
|
|
3217
3241
|
width: 20,
|
|
3218
3242
|
height: 20,
|
|
3219
3243
|
hidden: !0,
|
|
3220
3244
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>"
|
|
3221
|
-
},
|
|
3245
|
+
}, Mi = {
|
|
3222
3246
|
width: 20,
|
|
3223
3247
|
height: 20,
|
|
3224
3248
|
hidden: !0,
|
|
3225
3249
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>"
|
|
3226
|
-
},
|
|
3250
|
+
}, Ni = {
|
|
3227
3251
|
width: 20,
|
|
3228
3252
|
height: 20,
|
|
3229
3253
|
hidden: !0,
|
|
3230
3254
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>"
|
|
3231
|
-
},
|
|
3255
|
+
}, Pi = {
|
|
3232
3256
|
width: 20,
|
|
3233
3257
|
height: 20,
|
|
3234
3258
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>"
|
|
3235
|
-
},
|
|
3259
|
+
}, Fi = {
|
|
3236
3260
|
width: 20,
|
|
3237
3261
|
height: 20,
|
|
3238
3262
|
hidden: !0,
|
|
3239
3263
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>"
|
|
3240
|
-
},
|
|
3264
|
+
}, Ii = {
|
|
3241
3265
|
width: 20,
|
|
3242
3266
|
height: 20,
|
|
3243
3267
|
body: "<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>"
|
|
3244
|
-
},
|
|
3268
|
+
}, Li = {
|
|
3245
3269
|
width: 20,
|
|
3246
3270
|
height: 20,
|
|
3247
3271
|
hidden: !0,
|
|
3248
3272
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>"
|
|
3249
|
-
},
|
|
3273
|
+
}, Ri = {
|
|
3250
3274
|
width: 20,
|
|
3251
3275
|
height: 20,
|
|
3252
3276
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>"
|
|
3253
|
-
},
|
|
3277
|
+
}, zi = {
|
|
3254
3278
|
width: 20,
|
|
3255
3279
|
height: 20,
|
|
3256
3280
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>"
|
|
3257
|
-
},
|
|
3281
|
+
}, Bi = {
|
|
3258
3282
|
width: 24,
|
|
3259
3283
|
height: 24,
|
|
3260
3284
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>"
|
|
3261
|
-
},
|
|
3285
|
+
}, Vi = {
|
|
3262
3286
|
width: 24,
|
|
3263
3287
|
height: 24,
|
|
3264
3288
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3265
|
-
},
|
|
3289
|
+
}, Hi = {
|
|
3266
3290
|
width: 24,
|
|
3267
3291
|
height: 24,
|
|
3268
3292
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>"
|
|
3269
|
-
},
|
|
3293
|
+
}, Ui = {
|
|
3270
3294
|
width: 24,
|
|
3271
3295
|
height: 24,
|
|
3272
3296
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>"
|
|
3273
|
-
},
|
|
3297
|
+
}, Wi = {
|
|
3274
3298
|
width: 24,
|
|
3275
3299
|
height: 24,
|
|
3276
3300
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>"
|
|
3277
|
-
},
|
|
3301
|
+
}, Gi = {
|
|
3278
3302
|
width: 24,
|
|
3279
3303
|
height: 24,
|
|
3280
3304
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>"
|
|
3281
|
-
},
|
|
3305
|
+
}, Ki = {
|
|
3282
3306
|
width: 24,
|
|
3283
3307
|
height: 24,
|
|
3284
3308
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>"
|
|
3285
|
-
},
|
|
3309
|
+
}, qi = {
|
|
3286
3310
|
width: 24,
|
|
3287
3311
|
height: 24,
|
|
3288
3312
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>"
|
|
3289
|
-
},
|
|
3313
|
+
}, Ji = {
|
|
3290
3314
|
width: 24,
|
|
3291
3315
|
height: 24,
|
|
3292
3316
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>"
|
|
3293
|
-
},
|
|
3317
|
+
}, Yi = {
|
|
3294
3318
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>",
|
|
3295
3319
|
width: 24,
|
|
3296
3320
|
height: 24
|
|
3297
|
-
},
|
|
3321
|
+
}, Xi = {
|
|
3298
3322
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>",
|
|
3299
3323
|
width: 24,
|
|
3300
3324
|
height: 24
|
|
3301
|
-
},
|
|
3325
|
+
}, Zi = {
|
|
3302
3326
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>",
|
|
3303
3327
|
width: 24,
|
|
3304
3328
|
height: 24
|
|
3305
|
-
},
|
|
3329
|
+
}, Qi = {
|
|
3306
3330
|
width: 24,
|
|
3307
3331
|
height: 24,
|
|
3308
3332
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>"
|
|
3309
|
-
},
|
|
3333
|
+
}, $i = {
|
|
3310
3334
|
width: 24,
|
|
3311
3335
|
height: 24,
|
|
3312
3336
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>"
|
|
3313
|
-
},
|
|
3337
|
+
}, ea = {
|
|
3314
3338
|
width: 24,
|
|
3315
3339
|
height: 24,
|
|
3316
3340
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>"
|
|
3317
|
-
},
|
|
3341
|
+
}, ta = {
|
|
3318
3342
|
width: 24,
|
|
3319
3343
|
height: 24,
|
|
3320
3344
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>"
|
|
3321
|
-
},
|
|
3345
|
+
}, na = {
|
|
3322
3346
|
width: 24,
|
|
3323
3347
|
height: 24,
|
|
3324
3348
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>"
|
|
3325
|
-
},
|
|
3349
|
+
}, ra = {
|
|
3326
3350
|
width: 24,
|
|
3327
3351
|
height: 24,
|
|
3328
3352
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>"
|
|
3329
|
-
},
|
|
3353
|
+
}, ia = {
|
|
3330
3354
|
width: 24,
|
|
3331
3355
|
height: 24,
|
|
3332
3356
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>"
|
|
3333
|
-
},
|
|
3357
|
+
}, aa = {
|
|
3334
3358
|
width: 24,
|
|
3335
3359
|
height: 24,
|
|
3336
3360
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>"
|
|
3337
|
-
},
|
|
3361
|
+
}, oa = {
|
|
3338
3362
|
close: {
|
|
3339
|
-
icon:
|
|
3363
|
+
icon: Vr,
|
|
3340
3364
|
category: "action"
|
|
3341
3365
|
},
|
|
3342
3366
|
add: {
|
|
3343
|
-
icon:
|
|
3367
|
+
icon: Hr,
|
|
3344
3368
|
category: "action"
|
|
3345
3369
|
},
|
|
3346
3370
|
edit: {
|
|
3347
|
-
icon:
|
|
3371
|
+
icon: Ur,
|
|
3348
3372
|
category: "action"
|
|
3349
3373
|
},
|
|
3350
3374
|
delete: {
|
|
3351
|
-
icon:
|
|
3375
|
+
icon: Wr,
|
|
3352
3376
|
category: "action"
|
|
3353
3377
|
},
|
|
3354
3378
|
refresh: {
|
|
3355
|
-
icon:
|
|
3379
|
+
icon: Gr,
|
|
3356
3380
|
category: "action"
|
|
3357
3381
|
},
|
|
3358
3382
|
copy: {
|
|
3359
|
-
icon:
|
|
3383
|
+
icon: Kr,
|
|
3360
3384
|
category: "action"
|
|
3361
3385
|
},
|
|
3362
3386
|
duplicate: {
|
|
3363
|
-
icon:
|
|
3387
|
+
icon: qr,
|
|
3364
3388
|
category: "action"
|
|
3365
3389
|
},
|
|
3366
3390
|
settings: {
|
|
3367
|
-
icon:
|
|
3391
|
+
icon: Jr,
|
|
3368
3392
|
category: "action"
|
|
3369
3393
|
},
|
|
3370
3394
|
filter: {
|
|
3371
|
-
icon:
|
|
3395
|
+
icon: Yr,
|
|
3372
3396
|
category: "action"
|
|
3373
3397
|
},
|
|
3374
3398
|
share: {
|
|
3375
|
-
icon:
|
|
3399
|
+
icon: Xr,
|
|
3376
3400
|
category: "action"
|
|
3377
3401
|
},
|
|
3378
3402
|
expand: {
|
|
3379
|
-
icon:
|
|
3403
|
+
icon: Qr,
|
|
3380
3404
|
category: "action"
|
|
3381
3405
|
},
|
|
3382
3406
|
collapse: {
|
|
3383
|
-
icon:
|
|
3407
|
+
icon: Zr,
|
|
3384
3408
|
category: "action"
|
|
3385
3409
|
},
|
|
3386
3410
|
search: {
|
|
3387
|
-
icon:
|
|
3411
|
+
icon: ti,
|
|
3388
3412
|
category: "action"
|
|
3389
3413
|
},
|
|
3390
3414
|
menu: {
|
|
3391
|
-
icon:
|
|
3415
|
+
icon: ni,
|
|
3392
3416
|
category: "action"
|
|
3393
3417
|
},
|
|
3394
3418
|
run: {
|
|
3395
|
-
icon:
|
|
3419
|
+
icon: Oi,
|
|
3396
3420
|
category: "action"
|
|
3397
3421
|
},
|
|
3398
3422
|
check: {
|
|
3399
|
-
icon:
|
|
3423
|
+
icon: ki,
|
|
3400
3424
|
category: "action"
|
|
3401
3425
|
},
|
|
3402
3426
|
link: {
|
|
3403
|
-
icon:
|
|
3427
|
+
icon: fi,
|
|
3404
3428
|
category: "action"
|
|
3405
3429
|
},
|
|
3406
3430
|
eye: {
|
|
3407
|
-
icon:
|
|
3431
|
+
icon: si,
|
|
3408
3432
|
category: "action"
|
|
3409
3433
|
},
|
|
3410
3434
|
eyeOff: {
|
|
3411
|
-
icon:
|
|
3435
|
+
icon: ci,
|
|
3412
3436
|
category: "action"
|
|
3413
3437
|
},
|
|
3414
3438
|
adjustments: {
|
|
3415
|
-
icon:
|
|
3439
|
+
icon: li,
|
|
3416
3440
|
category: "action"
|
|
3417
3441
|
},
|
|
3418
3442
|
desktop: {
|
|
3419
|
-
icon:
|
|
3443
|
+
icon: ui,
|
|
3420
3444
|
category: "action"
|
|
3421
3445
|
},
|
|
3422
3446
|
table: {
|
|
3423
|
-
icon:
|
|
3447
|
+
icon: di,
|
|
3424
3448
|
category: "action"
|
|
3425
3449
|
},
|
|
3426
3450
|
sun: {
|
|
3427
|
-
icon:
|
|
3451
|
+
icon: mi,
|
|
3428
3452
|
category: "action"
|
|
3429
3453
|
},
|
|
3430
3454
|
moon: {
|
|
3431
|
-
icon:
|
|
3455
|
+
icon: hi,
|
|
3432
3456
|
category: "action"
|
|
3433
3457
|
},
|
|
3434
3458
|
ellipsisHorizontal: {
|
|
3435
|
-
icon:
|
|
3459
|
+
icon: gi,
|
|
3436
3460
|
category: "action"
|
|
3437
3461
|
},
|
|
3438
3462
|
documentText: {
|
|
3439
|
-
icon:
|
|
3463
|
+
icon: _i,
|
|
3440
3464
|
category: "action"
|
|
3441
3465
|
},
|
|
3442
3466
|
bookOpen: {
|
|
3443
|
-
icon:
|
|
3467
|
+
icon: vi,
|
|
3444
3468
|
category: "action"
|
|
3445
3469
|
},
|
|
3446
3470
|
codeBracket: {
|
|
3447
|
-
icon:
|
|
3471
|
+
icon: yi,
|
|
3448
3472
|
category: "action"
|
|
3449
3473
|
},
|
|
3450
3474
|
swatch: {
|
|
3451
|
-
icon:
|
|
3475
|
+
icon: bi,
|
|
3452
3476
|
category: "action"
|
|
3453
3477
|
},
|
|
3454
3478
|
camera: {
|
|
3455
|
-
icon:
|
|
3479
|
+
icon: xi,
|
|
3456
3480
|
category: "action"
|
|
3457
3481
|
},
|
|
3458
3482
|
thumbUp: {
|
|
3459
|
-
icon:
|
|
3483
|
+
icon: Si,
|
|
3460
3484
|
category: "action"
|
|
3461
3485
|
},
|
|
3462
3486
|
thumbDown: {
|
|
3463
|
-
icon:
|
|
3487
|
+
icon: Ci,
|
|
3464
3488
|
category: "action"
|
|
3465
3489
|
},
|
|
3466
3490
|
schemaGraph: {
|
|
@@ -3480,91 +3504,91 @@ var sr = {
|
|
|
3480
3504
|
category: "action"
|
|
3481
3505
|
},
|
|
3482
3506
|
measure: {
|
|
3483
|
-
icon:
|
|
3507
|
+
icon: wi,
|
|
3484
3508
|
category: "field"
|
|
3485
3509
|
},
|
|
3486
3510
|
dimension: {
|
|
3487
|
-
icon:
|
|
3511
|
+
icon: Ti,
|
|
3488
3512
|
category: "field"
|
|
3489
3513
|
},
|
|
3490
3514
|
timeDimension: {
|
|
3491
|
-
icon:
|
|
3515
|
+
icon: Ei,
|
|
3492
3516
|
category: "field"
|
|
3493
3517
|
},
|
|
3494
3518
|
segment: {
|
|
3495
|
-
icon:
|
|
3519
|
+
icon: Di,
|
|
3496
3520
|
category: "field"
|
|
3497
3521
|
},
|
|
3498
3522
|
chartBar: {
|
|
3499
|
-
icon:
|
|
3523
|
+
icon: Bi,
|
|
3500
3524
|
category: "chart"
|
|
3501
3525
|
},
|
|
3502
3526
|
chartLine: {
|
|
3503
|
-
icon:
|
|
3527
|
+
icon: Vi,
|
|
3504
3528
|
category: "chart"
|
|
3505
3529
|
},
|
|
3506
3530
|
chartArea: {
|
|
3507
|
-
icon:
|
|
3531
|
+
icon: Hi,
|
|
3508
3532
|
category: "chart"
|
|
3509
3533
|
},
|
|
3510
3534
|
chartPie: {
|
|
3511
|
-
icon:
|
|
3535
|
+
icon: Ui,
|
|
3512
3536
|
category: "chart"
|
|
3513
3537
|
},
|
|
3514
3538
|
chartScatter: {
|
|
3515
|
-
icon:
|
|
3539
|
+
icon: Wi,
|
|
3516
3540
|
category: "chart"
|
|
3517
3541
|
},
|
|
3518
3542
|
chartBubble: {
|
|
3519
|
-
icon:
|
|
3543
|
+
icon: Gi,
|
|
3520
3544
|
category: "chart"
|
|
3521
3545
|
},
|
|
3522
3546
|
chartRadar: {
|
|
3523
|
-
icon:
|
|
3547
|
+
icon: Ki,
|
|
3524
3548
|
category: "chart"
|
|
3525
3549
|
},
|
|
3526
3550
|
chartRadialBar: {
|
|
3527
|
-
icon:
|
|
3551
|
+
icon: qi,
|
|
3528
3552
|
category: "chart"
|
|
3529
3553
|
},
|
|
3530
3554
|
chartTreemap: {
|
|
3531
|
-
icon:
|
|
3555
|
+
icon: Ji,
|
|
3532
3556
|
category: "chart"
|
|
3533
3557
|
},
|
|
3534
3558
|
chartTable: {
|
|
3535
|
-
icon:
|
|
3559
|
+
icon: $i,
|
|
3536
3560
|
category: "chart"
|
|
3537
3561
|
},
|
|
3538
3562
|
chartActivityGrid: {
|
|
3539
|
-
icon:
|
|
3563
|
+
icon: ea,
|
|
3540
3564
|
category: "chart"
|
|
3541
3565
|
},
|
|
3542
3566
|
chartKpiNumber: {
|
|
3543
|
-
icon:
|
|
3567
|
+
icon: ta,
|
|
3544
3568
|
category: "chart"
|
|
3545
3569
|
},
|
|
3546
3570
|
chartKpiDelta: {
|
|
3547
|
-
icon:
|
|
3571
|
+
icon: na,
|
|
3548
3572
|
category: "chart"
|
|
3549
3573
|
},
|
|
3550
3574
|
chartKpiText: {
|
|
3551
|
-
icon:
|
|
3575
|
+
icon: ra,
|
|
3552
3576
|
category: "chart"
|
|
3553
3577
|
},
|
|
3554
3578
|
chartMarkdown: {
|
|
3555
|
-
icon:
|
|
3579
|
+
icon: ia,
|
|
3556
3580
|
category: "chart"
|
|
3557
3581
|
},
|
|
3558
3582
|
chartFunnel: {
|
|
3559
|
-
icon:
|
|
3583
|
+
icon: Xi,
|
|
3560
3584
|
category: "chart"
|
|
3561
3585
|
},
|
|
3562
3586
|
chartSankey: {
|
|
3563
|
-
icon:
|
|
3587
|
+
icon: Yi,
|
|
3564
3588
|
category: "chart"
|
|
3565
3589
|
},
|
|
3566
3590
|
chartSunburst: {
|
|
3567
|
-
icon:
|
|
3591
|
+
icon: Qi,
|
|
3568
3592
|
category: "chart"
|
|
3569
3593
|
},
|
|
3570
3594
|
chartHeatmap: {
|
|
@@ -3576,87 +3600,87 @@ var sr = {
|
|
|
3576
3600
|
category: "chart"
|
|
3577
3601
|
},
|
|
3578
3602
|
chartRetention: {
|
|
3579
|
-
icon:
|
|
3603
|
+
icon: Zi,
|
|
3580
3604
|
category: "chart"
|
|
3581
3605
|
},
|
|
3582
3606
|
measureCount: {
|
|
3583
|
-
icon:
|
|
3607
|
+
icon: Fi,
|
|
3584
3608
|
category: "measure"
|
|
3585
3609
|
},
|
|
3586
3610
|
measureCountDistinct: {
|
|
3587
|
-
icon:
|
|
3611
|
+
icon: Ii,
|
|
3588
3612
|
category: "measure"
|
|
3589
3613
|
},
|
|
3590
3614
|
measureCountDistinctApprox: {
|
|
3591
|
-
icon:
|
|
3615
|
+
icon: Li,
|
|
3592
3616
|
category: "measure"
|
|
3593
3617
|
},
|
|
3594
3618
|
measureSum: {
|
|
3595
|
-
icon:
|
|
3619
|
+
icon: Ri,
|
|
3596
3620
|
category: "measure"
|
|
3597
3621
|
},
|
|
3598
3622
|
measureAvg: {
|
|
3599
|
-
icon:
|
|
3623
|
+
icon: Ai,
|
|
3600
3624
|
category: "measure"
|
|
3601
3625
|
},
|
|
3602
3626
|
measureMin: {
|
|
3603
|
-
icon:
|
|
3627
|
+
icon: ji,
|
|
3604
3628
|
category: "measure"
|
|
3605
3629
|
},
|
|
3606
3630
|
measureMax: {
|
|
3607
|
-
icon:
|
|
3631
|
+
icon: Mi,
|
|
3608
3632
|
category: "measure"
|
|
3609
3633
|
},
|
|
3610
3634
|
measureRunningTotal: {
|
|
3611
|
-
icon:
|
|
3635
|
+
icon: Ni,
|
|
3612
3636
|
category: "measure"
|
|
3613
3637
|
},
|
|
3614
3638
|
measureCalculated: {
|
|
3615
|
-
icon:
|
|
3639
|
+
icon: Pi,
|
|
3616
3640
|
category: "measure"
|
|
3617
3641
|
},
|
|
3618
3642
|
measureNumber: {
|
|
3619
|
-
icon:
|
|
3643
|
+
icon: zi,
|
|
3620
3644
|
category: "measure"
|
|
3621
3645
|
},
|
|
3622
3646
|
success: {
|
|
3623
|
-
icon:
|
|
3647
|
+
icon: ri,
|
|
3624
3648
|
category: "state"
|
|
3625
3649
|
},
|
|
3626
3650
|
warning: {
|
|
3627
|
-
icon:
|
|
3651
|
+
icon: ii,
|
|
3628
3652
|
category: "state"
|
|
3629
3653
|
},
|
|
3630
3654
|
error: {
|
|
3631
|
-
icon:
|
|
3655
|
+
icon: ai,
|
|
3632
3656
|
category: "state"
|
|
3633
3657
|
},
|
|
3634
3658
|
info: {
|
|
3635
|
-
icon:
|
|
3659
|
+
icon: aa,
|
|
3636
3660
|
category: "state"
|
|
3637
3661
|
},
|
|
3638
3662
|
loading: {
|
|
3639
|
-
icon:
|
|
3663
|
+
icon: Gr,
|
|
3640
3664
|
category: "state"
|
|
3641
3665
|
},
|
|
3642
3666
|
sparkles: {
|
|
3643
|
-
icon:
|
|
3667
|
+
icon: oi,
|
|
3644
3668
|
category: "state"
|
|
3645
3669
|
},
|
|
3646
3670
|
chevronUp: {
|
|
3647
|
-
icon:
|
|
3671
|
+
icon: Zr,
|
|
3648
3672
|
category: "navigation"
|
|
3649
3673
|
},
|
|
3650
3674
|
chevronDown: {
|
|
3651
|
-
icon:
|
|
3675
|
+
icon: Qr,
|
|
3652
3676
|
category: "navigation"
|
|
3653
3677
|
},
|
|
3654
3678
|
chevronLeft: {
|
|
3655
|
-
icon:
|
|
3679
|
+
icon: $r,
|
|
3656
3680
|
category: "navigation"
|
|
3657
3681
|
},
|
|
3658
3682
|
chevronRight: {
|
|
3659
|
-
icon:
|
|
3683
|
+
icon: ei,
|
|
3660
3684
|
category: "navigation"
|
|
3661
3685
|
},
|
|
3662
3686
|
chevronUpDown: {
|
|
@@ -3668,78 +3692,82 @@ var sr = {
|
|
|
3668
3692
|
category: "navigation"
|
|
3669
3693
|
},
|
|
3670
3694
|
arrowUp: {
|
|
3671
|
-
icon:
|
|
3695
|
+
icon: Mi,
|
|
3672
3696
|
category: "navigation"
|
|
3673
3697
|
},
|
|
3674
3698
|
arrowDown: {
|
|
3675
|
-
icon:
|
|
3699
|
+
icon: ji,
|
|
3676
3700
|
category: "navigation"
|
|
3677
3701
|
},
|
|
3678
3702
|
arrowRight: {
|
|
3679
|
-
icon:
|
|
3703
|
+
icon: pi,
|
|
3680
3704
|
category: "navigation"
|
|
3681
3705
|
},
|
|
3682
3706
|
arrowPath: {
|
|
3683
|
-
icon:
|
|
3707
|
+
icon: Gr,
|
|
3684
3708
|
category: "navigation"
|
|
3685
3709
|
}
|
|
3686
|
-
},
|
|
3687
|
-
function
|
|
3688
|
-
|
|
3710
|
+
}, W = { ...oa }, sa = null;
|
|
3711
|
+
function ca(e) {
|
|
3712
|
+
sa = e;
|
|
3713
|
+
}
|
|
3714
|
+
var G = /* @__PURE__ */ new Map();
|
|
3715
|
+
function la() {
|
|
3716
|
+
return W;
|
|
3689
3717
|
}
|
|
3690
|
-
function
|
|
3691
|
-
let t =
|
|
3718
|
+
function K(e) {
|
|
3719
|
+
let t = G.get(e);
|
|
3692
3720
|
if (t) return t;
|
|
3693
|
-
let n =
|
|
3694
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
3695
|
-
icon:
|
|
3721
|
+
let n = W[e];
|
|
3722
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(Br, {
|
|
3723
|
+
icon: W.info.icon,
|
|
3696
3724
|
className: e,
|
|
3697
3725
|
...t
|
|
3698
3726
|
});
|
|
3699
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
3727
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(Br, {
|
|
3700
3728
|
icon: n.icon,
|
|
3701
3729
|
className: e,
|
|
3702
3730
|
...t
|
|
3703
3731
|
});
|
|
3704
|
-
return
|
|
3732
|
+
return G.set(e, r), r;
|
|
3705
3733
|
}
|
|
3706
|
-
function
|
|
3707
|
-
return
|
|
3734
|
+
function ua(e) {
|
|
3735
|
+
return W[e]?.icon ?? W.info.icon;
|
|
3708
3736
|
}
|
|
3709
|
-
function
|
|
3710
|
-
|
|
3711
|
-
...
|
|
3737
|
+
function da(e, t) {
|
|
3738
|
+
W[e] && (W[e] = {
|
|
3739
|
+
...W[e],
|
|
3712
3740
|
icon: t
|
|
3713
|
-
},
|
|
3741
|
+
}, G.delete(e));
|
|
3714
3742
|
}
|
|
3715
|
-
function
|
|
3716
|
-
for (let [t, n] of Object.entries(e)) if (n && t in
|
|
3743
|
+
function fa(e) {
|
|
3744
|
+
for (let [t, n] of Object.entries(e)) if (n && t in W) {
|
|
3717
3745
|
let e = t;
|
|
3718
|
-
if ("body" in n)
|
|
3719
|
-
...
|
|
3746
|
+
if ("body" in n) W[e] = {
|
|
3747
|
+
...W[e],
|
|
3720
3748
|
icon: n
|
|
3721
3749
|
};
|
|
3722
3750
|
else {
|
|
3723
3751
|
let t = n;
|
|
3724
|
-
|
|
3725
|
-
...
|
|
3752
|
+
W[e] = {
|
|
3753
|
+
...W[e],
|
|
3726
3754
|
...t,
|
|
3727
|
-
icon: t.icon ??
|
|
3755
|
+
icon: t.icon ?? W[e].icon
|
|
3728
3756
|
};
|
|
3729
3757
|
}
|
|
3730
|
-
|
|
3758
|
+
G.delete(e);
|
|
3731
3759
|
}
|
|
3732
3760
|
}
|
|
3733
|
-
function
|
|
3734
|
-
|
|
3761
|
+
function pa() {
|
|
3762
|
+
W = { ...oa }, G.clear();
|
|
3735
3763
|
}
|
|
3736
|
-
function
|
|
3764
|
+
function ma(e) {
|
|
3737
3765
|
let t = {};
|
|
3738
|
-
for (let [n, r] of Object.entries(
|
|
3766
|
+
for (let [n, r] of Object.entries(W)) r.category === e && (t[n] = K(n));
|
|
3739
3767
|
return t;
|
|
3740
3768
|
}
|
|
3741
|
-
function
|
|
3742
|
-
return
|
|
3769
|
+
function ha(e) {
|
|
3770
|
+
return K({
|
|
3743
3771
|
count: "measureCount",
|
|
3744
3772
|
countDistinct: "measureCountDistinct",
|
|
3745
3773
|
countDistinctApprox: "measureCountDistinctApprox",
|
|
@@ -3752,8 +3780,8 @@ function Ni(e) {
|
|
|
3752
3780
|
number: "measureNumber"
|
|
3753
3781
|
}[e || ""] || "measureCount");
|
|
3754
3782
|
}
|
|
3755
|
-
function
|
|
3756
|
-
|
|
3783
|
+
function ga(e) {
|
|
3784
|
+
let t = {
|
|
3757
3785
|
bar: "chartBar",
|
|
3758
3786
|
line: "chartLine",
|
|
3759
3787
|
area: "chartArea",
|
|
@@ -3773,10 +3801,16 @@ function Pi(e) {
|
|
|
3773
3801
|
sankey: "chartSankey",
|
|
3774
3802
|
sunburst: "chartSunburst",
|
|
3775
3803
|
heatmap: "chartHeatmap"
|
|
3776
|
-
}[e]
|
|
3804
|
+
}[e];
|
|
3805
|
+
if (t) return K(t);
|
|
3806
|
+
if (sa) {
|
|
3807
|
+
let t = sa(e);
|
|
3808
|
+
if (t) return t;
|
|
3809
|
+
}
|
|
3810
|
+
return K("chartBar");
|
|
3777
3811
|
}
|
|
3778
|
-
function
|
|
3779
|
-
return
|
|
3812
|
+
function _a(e) {
|
|
3813
|
+
return K({
|
|
3780
3814
|
measure: "measure",
|
|
3781
3815
|
dimension: "dimension",
|
|
3782
3816
|
timeDimension: "timeDimension",
|
|
@@ -3785,60 +3819,652 @@ function Fi(e) {
|
|
|
3785
3819
|
}[e] || "dimension");
|
|
3786
3820
|
}
|
|
3787
3821
|
//#endregion
|
|
3822
|
+
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
3823
|
+
function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
3824
|
+
return /* @__PURE__ */ E("div", {
|
|
3825
|
+
className: "dc-missing-dependency-fallback",
|
|
3826
|
+
style: {
|
|
3827
|
+
height: typeof r == "number" ? `${r}px` : r,
|
|
3828
|
+
display: "flex",
|
|
3829
|
+
flexDirection: "column",
|
|
3830
|
+
alignItems: "center",
|
|
3831
|
+
justifyContent: "center",
|
|
3832
|
+
width: "100%",
|
|
3833
|
+
padding: "1.5rem",
|
|
3834
|
+
textAlign: "center",
|
|
3835
|
+
border: "1px dashed var(--dc-border, #e5e7eb)",
|
|
3836
|
+
borderRadius: "0.5rem",
|
|
3837
|
+
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
3838
|
+
},
|
|
3839
|
+
children: [
|
|
3840
|
+
/* @__PURE__ */ T("div", {
|
|
3841
|
+
style: {
|
|
3842
|
+
fontSize: "2.5rem",
|
|
3843
|
+
marginBottom: "1rem"
|
|
3844
|
+
},
|
|
3845
|
+
children: "📦"
|
|
3846
|
+
}),
|
|
3847
|
+
/* @__PURE__ */ T("h3", {
|
|
3848
|
+
style: {
|
|
3849
|
+
fontSize: "1.125rem",
|
|
3850
|
+
fontWeight: 600,
|
|
3851
|
+
marginBottom: "0.5rem",
|
|
3852
|
+
color: "var(--dc-text, #111827)"
|
|
3853
|
+
},
|
|
3854
|
+
children: "Missing Dependency"
|
|
3855
|
+
}),
|
|
3856
|
+
/* @__PURE__ */ E("p", {
|
|
3857
|
+
style: {
|
|
3858
|
+
fontSize: "0.875rem",
|
|
3859
|
+
color: "var(--dc-text-secondary, #6b7280)",
|
|
3860
|
+
marginBottom: "1rem",
|
|
3861
|
+
maxWidth: "28rem"
|
|
3862
|
+
},
|
|
3863
|
+
children: [
|
|
3864
|
+
"The ",
|
|
3865
|
+
/* @__PURE__ */ T("code", {
|
|
3866
|
+
style: {
|
|
3867
|
+
padding: "0.125rem 0.375rem",
|
|
3868
|
+
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
3869
|
+
borderRadius: "0.25rem",
|
|
3870
|
+
fontFamily: "monospace",
|
|
3871
|
+
fontSize: "0.75rem"
|
|
3872
|
+
},
|
|
3873
|
+
children: e
|
|
3874
|
+
}),
|
|
3875
|
+
" chart requires the ",
|
|
3876
|
+
/* @__PURE__ */ T("code", {
|
|
3877
|
+
style: {
|
|
3878
|
+
padding: "0.125rem 0.375rem",
|
|
3879
|
+
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
3880
|
+
borderRadius: "0.25rem",
|
|
3881
|
+
fontFamily: "monospace",
|
|
3882
|
+
fontSize: "0.75rem"
|
|
3883
|
+
},
|
|
3884
|
+
children: t
|
|
3885
|
+
}),
|
|
3886
|
+
" package."
|
|
3887
|
+
]
|
|
3888
|
+
}),
|
|
3889
|
+
/* @__PURE__ */ E("div", {
|
|
3890
|
+
style: {
|
|
3891
|
+
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
3892
|
+
borderRadius: "0.5rem",
|
|
3893
|
+
padding: "0.75rem 1rem",
|
|
3894
|
+
fontFamily: "monospace",
|
|
3895
|
+
fontSize: "0.875rem",
|
|
3896
|
+
color: "var(--dc-text, #111827)"
|
|
3897
|
+
},
|
|
3898
|
+
children: [/* @__PURE__ */ T("span", {
|
|
3899
|
+
style: {
|
|
3900
|
+
color: "var(--dc-text-muted, #9ca3af)",
|
|
3901
|
+
userSelect: "none"
|
|
3902
|
+
},
|
|
3903
|
+
children: "$ "
|
|
3904
|
+
}), n]
|
|
3905
|
+
}),
|
|
3906
|
+
/* @__PURE__ */ T("p", {
|
|
3907
|
+
style: {
|
|
3908
|
+
fontSize: "0.75rem",
|
|
3909
|
+
color: "var(--dc-text-muted, #9ca3af)",
|
|
3910
|
+
marginTop: "0.75rem"
|
|
3911
|
+
},
|
|
3912
|
+
children: "After installing, restart your development server."
|
|
3913
|
+
})
|
|
3914
|
+
]
|
|
3915
|
+
});
|
|
3916
|
+
}
|
|
3917
|
+
//#endregion
|
|
3918
|
+
//#region src/client/charts/ChartLoader.tsx
|
|
3919
|
+
var q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), ya = {
|
|
3920
|
+
bar: {
|
|
3921
|
+
packageName: "recharts",
|
|
3922
|
+
installCommand: "npm install recharts"
|
|
3923
|
+
},
|
|
3924
|
+
line: {
|
|
3925
|
+
packageName: "recharts",
|
|
3926
|
+
installCommand: "npm install recharts"
|
|
3927
|
+
},
|
|
3928
|
+
area: {
|
|
3929
|
+
packageName: "recharts",
|
|
3930
|
+
installCommand: "npm install recharts"
|
|
3931
|
+
},
|
|
3932
|
+
pie: {
|
|
3933
|
+
packageName: "recharts",
|
|
3934
|
+
installCommand: "npm install recharts"
|
|
3935
|
+
},
|
|
3936
|
+
scatter: {
|
|
3937
|
+
packageName: "recharts",
|
|
3938
|
+
installCommand: "npm install recharts"
|
|
3939
|
+
},
|
|
3940
|
+
radar: {
|
|
3941
|
+
packageName: "recharts",
|
|
3942
|
+
installCommand: "npm install recharts"
|
|
3943
|
+
},
|
|
3944
|
+
radialBar: {
|
|
3945
|
+
packageName: "recharts",
|
|
3946
|
+
installCommand: "npm install recharts"
|
|
3947
|
+
},
|
|
3948
|
+
treemap: {
|
|
3949
|
+
packageName: "recharts",
|
|
3950
|
+
installCommand: "npm install recharts"
|
|
3951
|
+
},
|
|
3952
|
+
bubble: {
|
|
3953
|
+
packageName: "recharts",
|
|
3954
|
+
installCommand: "npm install recharts"
|
|
3955
|
+
},
|
|
3956
|
+
funnel: {
|
|
3957
|
+
packageName: "recharts",
|
|
3958
|
+
installCommand: "npm install recharts"
|
|
3959
|
+
},
|
|
3960
|
+
sankey: {
|
|
3961
|
+
packageName: "recharts",
|
|
3962
|
+
installCommand: "npm install recharts"
|
|
3963
|
+
},
|
|
3964
|
+
sunburst: {
|
|
3965
|
+
packageName: "recharts",
|
|
3966
|
+
installCommand: "npm install recharts"
|
|
3967
|
+
},
|
|
3968
|
+
heatmap: {
|
|
3969
|
+
packageName: "@nivo/heatmap",
|
|
3970
|
+
installCommand: "npm install @nivo/heatmap"
|
|
3971
|
+
},
|
|
3972
|
+
waterfall: {
|
|
3973
|
+
packageName: "recharts",
|
|
3974
|
+
installCommand: "npm install recharts"
|
|
3975
|
+
},
|
|
3976
|
+
measureProfile: {
|
|
3977
|
+
packageName: "recharts",
|
|
3978
|
+
installCommand: "npm install recharts"
|
|
3979
|
+
},
|
|
3980
|
+
gauge: {
|
|
3981
|
+
packageName: "d3-shape",
|
|
3982
|
+
installCommand: "npm install d3-shape"
|
|
3983
|
+
}
|
|
3984
|
+
}, ba = {
|
|
3985
|
+
bar: () => import("./chart-bar-CPt67rLR.js").then((e) => e.n),
|
|
3986
|
+
line: () => import("./chart-line-D3SEwXDS.js").then((e) => e.n),
|
|
3987
|
+
area: () => import("./chart-area-e9ysnatQ.js").then((e) => e.n),
|
|
3988
|
+
pie: () => import("./chart-pie-COl3Rmdk.js").then((e) => e.n),
|
|
3989
|
+
scatter: () => import("./chart-scatter-xQMa3dUt.js").then((e) => e.n),
|
|
3990
|
+
radar: () => import("./chart-radar-BKZXylBB.js").then((e) => e.n),
|
|
3991
|
+
radialBar: () => import("./chart-radial-bar-CMfC7SPd.js").then((e) => e.n),
|
|
3992
|
+
treemap: () => import("./chart-tree-map-Cn1pmrAw.js").then((e) => e.n),
|
|
3993
|
+
bubble: () => import("./chart-bubble-CYQ8loeS.js").then((e) => e.t),
|
|
3994
|
+
table: () => Promise.resolve().then(() => po),
|
|
3995
|
+
activityGrid: () => import("./chart-activity-grid-wR2Twpo7.js").then((e) => e.t),
|
|
3996
|
+
kpiNumber: () => import("./chart-kpi-number-BUNKM7yg.js").then((e) => e.t),
|
|
3997
|
+
kpiDelta: () => import("./chart-kpi-delta-C2tdpWki.js").then((e) => e.t),
|
|
3998
|
+
kpiText: () => import("./chart-kpi-text-COF8iN0K.js").then((e) => e.t),
|
|
3999
|
+
markdown: () => import("./chart-markdown-DMekYkKz.js").then((e) => e.n),
|
|
4000
|
+
funnel: () => import("./chart-funnel-C9JRW79j.js").then((e) => e.n),
|
|
4001
|
+
sankey: () => import("./chart-sankey-8nRYnupt.js").then((e) => e.t),
|
|
4002
|
+
sunburst: () => import("./chart-sunburst-BGhJ4fui.js").then((e) => e.t),
|
|
4003
|
+
heatmap: () => import("./chart-heat-map-BOMQeUDL.js").then((e) => e.t),
|
|
4004
|
+
retentionHeatmap: () => import("./RetentionHeatmap-Dn2ocjVf.js"),
|
|
4005
|
+
retentionCombined: () => import("./RetentionCombinedChart-B1hUYaXt.js"),
|
|
4006
|
+
boxPlot: () => import("./chart-box-plot-Dp_nqQen.js").then((e) => e.t),
|
|
4007
|
+
waterfall: () => import("./chart-waterfall-C2nVN4pn.js").then((e) => e.t),
|
|
4008
|
+
candlestick: () => import("./chart-candlestick-DTeSf7C5.js").then((e) => e.t),
|
|
4009
|
+
measureProfile: () => import("./chart-measure-profile-BPhI1Z9s.js").then((e) => e.t),
|
|
4010
|
+
gauge: () => import("./chart-gauge-_Xdgk_qI.js").then((e) => e.t)
|
|
4011
|
+
}, Y = /* @__PURE__ */ new Map();
|
|
4012
|
+
function xa(e) {
|
|
4013
|
+
let t = ({ height: t }) => /* @__PURE__ */ E("div", {
|
|
4014
|
+
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4015
|
+
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4016
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4017
|
+
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4018
|
+
children: "Unknown chart type"
|
|
4019
|
+
}), /* @__PURE__ */ E("div", {
|
|
4020
|
+
className: "dc:text-xs text-dc-text-muted",
|
|
4021
|
+
children: [
|
|
4022
|
+
"“",
|
|
4023
|
+
e,
|
|
4024
|
+
"” is not registered"
|
|
4025
|
+
]
|
|
4026
|
+
})]
|
|
4027
|
+
});
|
|
4028
|
+
return t.displayName = `UnknownChart_${e}`, t;
|
|
4029
|
+
}
|
|
4030
|
+
function Sa(e) {
|
|
4031
|
+
let t = ya[e], n = ({ height: n }) => /* @__PURE__ */ T(va, {
|
|
4032
|
+
chartType: e,
|
|
4033
|
+
packageName: t?.packageName || "unknown",
|
|
4034
|
+
installCommand: t?.installCommand || "npm install [package-name]",
|
|
4035
|
+
height: n
|
|
4036
|
+
});
|
|
4037
|
+
return n.displayName = `${e}Fallback`, n;
|
|
4038
|
+
}
|
|
4039
|
+
function Ca(e, t) {
|
|
4040
|
+
return async () => {
|
|
4041
|
+
try {
|
|
4042
|
+
return await t();
|
|
4043
|
+
} catch (t) {
|
|
4044
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), J.add(e), { default: Sa(e) };
|
|
4045
|
+
}
|
|
4046
|
+
};
|
|
4047
|
+
}
|
|
4048
|
+
function wa(e) {
|
|
4049
|
+
let t = Y.get(e);
|
|
4050
|
+
if (t) return t;
|
|
4051
|
+
if (q.has(e)) return q.get(e);
|
|
4052
|
+
let n = ba[e];
|
|
4053
|
+
if (n) {
|
|
4054
|
+
let t = Ca(e, n);
|
|
4055
|
+
return q.set(e, pe(t)), q.get(e);
|
|
4056
|
+
}
|
|
4057
|
+
return pe(() => Promise.resolve({ default: xa(e) }));
|
|
4058
|
+
}
|
|
4059
|
+
function Ta(e) {
|
|
4060
|
+
return e in ba || Y.has(e);
|
|
4061
|
+
}
|
|
4062
|
+
function Ea({ height: e }) {
|
|
4063
|
+
return /* @__PURE__ */ T("div", {
|
|
4064
|
+
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4065
|
+
style: { height: typeof e == "number" ? `${e}px` : e || "200px" },
|
|
4066
|
+
children: /* @__PURE__ */ T("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full dc:min-h-[100px]" })
|
|
4067
|
+
});
|
|
4068
|
+
}
|
|
4069
|
+
function Da({ chartType: e, fallback: t, height: n, ...r }) {
|
|
4070
|
+
let i = wa(e);
|
|
4071
|
+
return /* @__PURE__ */ T(le, {
|
|
4072
|
+
fallback: t ?? /* @__PURE__ */ T(Ea, { height: n }),
|
|
4073
|
+
children: /* @__PURE__ */ T(i, {
|
|
4074
|
+
height: n,
|
|
4075
|
+
...r
|
|
4076
|
+
})
|
|
4077
|
+
});
|
|
4078
|
+
}
|
|
4079
|
+
function Oa(e) {
|
|
4080
|
+
let t = ba[e];
|
|
4081
|
+
t && t();
|
|
4082
|
+
}
|
|
4083
|
+
function ka(e) {
|
|
4084
|
+
e.forEach(Oa);
|
|
4085
|
+
}
|
|
4086
|
+
function Aa() {
|
|
4087
|
+
let e = Object.keys(ba), t = Array.from(Y.keys());
|
|
4088
|
+
return [...new Set([...e, ...t])];
|
|
4089
|
+
}
|
|
4090
|
+
function ja(e) {
|
|
4091
|
+
return !J.has(e);
|
|
4092
|
+
}
|
|
4093
|
+
function Ma() {
|
|
4094
|
+
return Array.from(J);
|
|
4095
|
+
}
|
|
4096
|
+
function Na(e, t, n, r) {
|
|
4097
|
+
if (q.delete(e), J.delete(e), n) {
|
|
4098
|
+
let t = r ? Ca(e, n) : n;
|
|
4099
|
+
Y.set(e, pe(t));
|
|
4100
|
+
} else if (t) {
|
|
4101
|
+
let n = t;
|
|
4102
|
+
Y.set(e, pe(() => Promise.resolve({ default: n })));
|
|
4103
|
+
}
|
|
4104
|
+
}
|
|
4105
|
+
function Pa(e) {
|
|
4106
|
+
Y.delete(e), q.delete(e), J.delete(e);
|
|
4107
|
+
}
|
|
4108
|
+
//#endregion
|
|
4109
|
+
//#region src/client/charts/chartConfigs.ts
|
|
4110
|
+
var X = {
|
|
4111
|
+
dropZones: [
|
|
4112
|
+
{
|
|
4113
|
+
key: "xAxis",
|
|
4114
|
+
label: "X-Axis (Categories)",
|
|
4115
|
+
description: "Dimensions and time dimensions for grouping",
|
|
4116
|
+
mandatory: !1,
|
|
4117
|
+
acceptTypes: ["dimension", "timeDimension"],
|
|
4118
|
+
emptyText: "Drop dimensions & time dimensions here"
|
|
4119
|
+
},
|
|
4120
|
+
{
|
|
4121
|
+
key: "yAxis",
|
|
4122
|
+
label: "Y-Axis (Values)",
|
|
4123
|
+
description: "Measures for values or dimensions for series",
|
|
4124
|
+
mandatory: !1,
|
|
4125
|
+
acceptTypes: ["measure", "dimension"],
|
|
4126
|
+
emptyText: "Drop measures or dimensions here"
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
key: "series",
|
|
4130
|
+
label: "Series (Split into Multiple Series)",
|
|
4131
|
+
description: "Dimensions to create separate data series",
|
|
4132
|
+
mandatory: !1,
|
|
4133
|
+
acceptTypes: ["dimension"],
|
|
4134
|
+
emptyText: "Drop dimensions here to split data into series"
|
|
4135
|
+
}
|
|
4136
|
+
],
|
|
4137
|
+
displayOptions: [
|
|
4138
|
+
"showLegend",
|
|
4139
|
+
"showGrid",
|
|
4140
|
+
"showTooltip"
|
|
4141
|
+
]
|
|
4142
|
+
}, Fa = {
|
|
4143
|
+
bar: () => import("./chart-config-bar-deTjEhap.js").then((e) => e.t),
|
|
4144
|
+
line: () => import("./chart-config-line--j7-dLue.js").then((e) => e.t),
|
|
4145
|
+
area: () => import("./chart-config-area-DKwgcHp4.js").then((e) => e.t),
|
|
4146
|
+
pie: () => import("./chart-config-pie-yU4jipl9.js").then((e) => e.t),
|
|
4147
|
+
scatter: () => import("./chart-config-scatter-MVUFupub.js").then((e) => e.t),
|
|
4148
|
+
radar: () => import("./chart-config-radar-R9Fkc8wL.js").then((e) => e.t),
|
|
4149
|
+
radialBar: () => import("./chart-config-radial-bar-DeoXfpIp.js").then((e) => e.t),
|
|
4150
|
+
treemap: () => import("./chart-config-tree-map-BD-xAeIy.js").then((e) => e.t),
|
|
4151
|
+
bubble: () => import("./chart-config-bubble-B8FSHSW-.js").then((e) => e.t),
|
|
4152
|
+
table: () => import("./chart-config-data-table-DKRcGa8t.js").then((e) => e.t),
|
|
4153
|
+
activityGrid: () => import("./chart-config-activity-grid-BSWS08cI.js").then((e) => e.t),
|
|
4154
|
+
kpiNumber: () => import("./chart-config-kpi-number-DcxyiUgs.js").then((e) => e.t),
|
|
4155
|
+
kpiDelta: () => import("./chart-config-kpi-delta-CkUX98JV.js").then((e) => e.t),
|
|
4156
|
+
kpiText: () => import("./chart-config-kpi-text-DI4mj8CN.js").then((e) => e.t),
|
|
4157
|
+
markdown: () => import("./chart-config-markdown-DUjvVjV4.js").then((e) => e.t),
|
|
4158
|
+
funnel: () => import("./chart-config-funnel-Bt4iGFo_.js").then((e) => e.t),
|
|
4159
|
+
sankey: () => import("./chart-config-sankey-CXEsxo6s.js").then((e) => e.t),
|
|
4160
|
+
sunburst: () => import("./chart-config-sunburst-Z_gqIY5u.js").then((e) => e.t),
|
|
4161
|
+
heatmap: () => import("./chart-config-heat-map-CkHsqkrY.js").then((e) => e.t),
|
|
4162
|
+
retentionHeatmap: () => Promise.resolve().then(() => Ja),
|
|
4163
|
+
retentionCombined: () => Promise.resolve().then(() => Xa),
|
|
4164
|
+
boxPlot: () => import("./chart-config-box-plot-DU4iWk3V.js").then((e) => e.t),
|
|
4165
|
+
waterfall: () => import("./chart-config-waterfall-CHwVkXZc.js").then((e) => e.t),
|
|
4166
|
+
candlestick: () => import("./chart-config-candlestick-BGfyWFft.js").then((e) => e.t),
|
|
4167
|
+
measureProfile: () => import("./chart-config-measure-profile-B9FKBNGc.js").then((e) => e.t),
|
|
4168
|
+
gauge: () => import("./chart-config-gauge-Bk4Jjp3W.js").then((e) => e.t)
|
|
4169
|
+
}, Ia = {
|
|
4170
|
+
bar: "barChartConfig",
|
|
4171
|
+
line: "lineChartConfig",
|
|
4172
|
+
area: "areaChartConfig",
|
|
4173
|
+
pie: "pieChartConfig",
|
|
4174
|
+
scatter: "scatterChartConfig",
|
|
4175
|
+
radar: "radarChartConfig",
|
|
4176
|
+
radialBar: "radialBarChartConfig",
|
|
4177
|
+
treemap: "treemapChartConfig",
|
|
4178
|
+
bubble: "bubbleChartConfig",
|
|
4179
|
+
table: "dataTableConfig",
|
|
4180
|
+
activityGrid: "activityGridChartConfig",
|
|
4181
|
+
kpiNumber: "kpiNumberConfig",
|
|
4182
|
+
kpiDelta: "kpiDeltaConfig",
|
|
4183
|
+
kpiText: "kpiTextConfig",
|
|
4184
|
+
markdown: "markdownConfig",
|
|
4185
|
+
funnel: "funnelChartConfig",
|
|
4186
|
+
sankey: "sankeyChartConfig",
|
|
4187
|
+
sunburst: "sunburstChartConfig",
|
|
4188
|
+
heatmap: "heatmapChartConfig",
|
|
4189
|
+
retentionHeatmap: "retentionHeatmapConfig",
|
|
4190
|
+
retentionCombined: "retentionCombinedConfig",
|
|
4191
|
+
boxPlot: "boxPlotChartConfig",
|
|
4192
|
+
waterfall: "waterfallChartConfig",
|
|
4193
|
+
candlestick: "candlestickChartConfig",
|
|
4194
|
+
measureProfile: "measureProfileChartConfig",
|
|
4195
|
+
gauge: "gaugeChartConfig"
|
|
4196
|
+
}, Z = /* @__PURE__ */ new Map();
|
|
4197
|
+
async function La(e) {
|
|
4198
|
+
if (Z.has(e)) return Z.get(e);
|
|
4199
|
+
let t = Fa[e];
|
|
4200
|
+
if (!t) return null;
|
|
4201
|
+
try {
|
|
4202
|
+
let n = (await t())[Ia[e]];
|
|
4203
|
+
return n ? (Z.set(e, n), n) : null;
|
|
4204
|
+
} catch (t) {
|
|
4205
|
+
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
function Ra(e) {
|
|
4209
|
+
return Z.get(e) || X;
|
|
4210
|
+
}
|
|
4211
|
+
function za(e) {
|
|
4212
|
+
return Z.has(e);
|
|
4213
|
+
}
|
|
4214
|
+
function Ba(e) {
|
|
4215
|
+
let [t, n] = w(e ? Ra(e) : X), [r, i] = w(!1), [a, o] = w(!1);
|
|
4216
|
+
return S(() => {
|
|
4217
|
+
if (!e) {
|
|
4218
|
+
n(X), o(!1);
|
|
4219
|
+
return;
|
|
4220
|
+
}
|
|
4221
|
+
if (Z.has(e)) {
|
|
4222
|
+
n(Z.get(e)), o(!0);
|
|
4223
|
+
return;
|
|
4224
|
+
}
|
|
4225
|
+
i(!0), La(e).then((e) => {
|
|
4226
|
+
e ? (n(e), o(!0)) : (n(X), o(!0));
|
|
4227
|
+
}).finally(() => i(!1));
|
|
4228
|
+
}, [e]), {
|
|
4229
|
+
config: t,
|
|
4230
|
+
loading: r,
|
|
4231
|
+
loaded: a
|
|
4232
|
+
};
|
|
4233
|
+
}
|
|
4234
|
+
async function Va(e) {
|
|
4235
|
+
Z.has(e) || await La(e);
|
|
4236
|
+
}
|
|
4237
|
+
async function Ha(e) {
|
|
4238
|
+
await Promise.all(e.map(Va));
|
|
4239
|
+
}
|
|
4240
|
+
async function Ua() {
|
|
4241
|
+
let e = Object.keys(Fa);
|
|
4242
|
+
await Promise.all(e.map(La));
|
|
4243
|
+
let t = {};
|
|
4244
|
+
for (let n of e) {
|
|
4245
|
+
let e = Z.get(n);
|
|
4246
|
+
e && (t[n] = e);
|
|
4247
|
+
}
|
|
4248
|
+
return t;
|
|
4249
|
+
}
|
|
4250
|
+
function Wa() {
|
|
4251
|
+
Z.clear();
|
|
4252
|
+
}
|
|
4253
|
+
function Ga(e, t) {
|
|
4254
|
+
Z.set(e, t);
|
|
4255
|
+
}
|
|
4256
|
+
function Ka(e) {
|
|
4257
|
+
Z.delete(e);
|
|
4258
|
+
}
|
|
4259
|
+
//#endregion
|
|
3788
4260
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
3789
|
-
function
|
|
3790
|
-
let { meta: t, labelMap: r, isLoading: i, error: a, refetch: o, getFieldLabel: s } =
|
|
4261
|
+
function qa({ children: e }) {
|
|
4262
|
+
let { meta: t, labelMap: r, isLoading: i, error: a, refetch: o, getFieldLabel: s } = Bt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = me(() => {
|
|
3791
4263
|
o();
|
|
3792
|
-
}, [o]),
|
|
4264
|
+
}, [o]), u = me((e) => s(e), [s]), d = C(() => ({
|
|
3793
4265
|
meta: t,
|
|
3794
4266
|
labelMap: r,
|
|
3795
4267
|
metaLoading: i,
|
|
3796
4268
|
metaError: c,
|
|
3797
|
-
getFieldLabel:
|
|
4269
|
+
getFieldLabel: u,
|
|
3798
4270
|
refetchMeta: l
|
|
3799
4271
|
}), [
|
|
3800
4272
|
t,
|
|
3801
4273
|
r,
|
|
3802
4274
|
i,
|
|
3803
4275
|
c,
|
|
3804
|
-
|
|
4276
|
+
u,
|
|
3805
4277
|
l
|
|
3806
4278
|
]);
|
|
3807
|
-
return /* @__PURE__ */
|
|
3808
|
-
value:
|
|
4279
|
+
return /* @__PURE__ */ T(n.Provider, {
|
|
4280
|
+
value: d,
|
|
3809
4281
|
children: e
|
|
3810
4282
|
});
|
|
3811
4283
|
}
|
|
3812
4284
|
//#endregion
|
|
4285
|
+
//#region src/client/components/charts/RetentionHeatmap.config.ts
|
|
4286
|
+
var Ja = /* @__PURE__ */ e({ retentionHeatmapConfig: () => Ya }), Ya = {
|
|
4287
|
+
label: "Retention Matrix",
|
|
4288
|
+
dropZones: [],
|
|
4289
|
+
displayOptionsConfig: [{
|
|
4290
|
+
key: "showLegend",
|
|
4291
|
+
label: "Show Legend",
|
|
4292
|
+
type: "boolean",
|
|
4293
|
+
defaultValue: !0,
|
|
4294
|
+
description: "Show the color intensity legend"
|
|
4295
|
+
}, {
|
|
4296
|
+
key: "showTooltip",
|
|
4297
|
+
label: "Show Tooltip",
|
|
4298
|
+
type: "boolean",
|
|
4299
|
+
defaultValue: !0,
|
|
4300
|
+
description: "Show tooltip on hover with detailed stats"
|
|
4301
|
+
}],
|
|
4302
|
+
description: "Cohort retention matrix visualization",
|
|
4303
|
+
useCase: "Visualize user retention over time by cohort"
|
|
4304
|
+
}, Xa = /* @__PURE__ */ e({ retentionCombinedConfig: () => Za }), Za = {
|
|
4305
|
+
label: "Retention Chart",
|
|
4306
|
+
dropZones: [],
|
|
4307
|
+
displayOptionsConfig: [
|
|
4308
|
+
{
|
|
4309
|
+
key: "retentionDisplayMode",
|
|
4310
|
+
label: "Display Mode",
|
|
4311
|
+
type: "select",
|
|
4312
|
+
defaultValue: "line",
|
|
4313
|
+
options: [
|
|
4314
|
+
{
|
|
4315
|
+
value: "line",
|
|
4316
|
+
label: "Line Chart"
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
value: "heatmap",
|
|
4320
|
+
label: "Heatmap Table"
|
|
4321
|
+
},
|
|
4322
|
+
{
|
|
4323
|
+
value: "combined",
|
|
4324
|
+
label: "Combined"
|
|
4325
|
+
}
|
|
4326
|
+
],
|
|
4327
|
+
description: "Choose how to visualize retention data"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
key: "showLegend",
|
|
4331
|
+
label: "Show Legend",
|
|
4332
|
+
type: "boolean",
|
|
4333
|
+
defaultValue: !0,
|
|
4334
|
+
description: "Show the legend for breakdown segments"
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
key: "showGrid",
|
|
4338
|
+
label: "Show Grid",
|
|
4339
|
+
type: "boolean",
|
|
4340
|
+
defaultValue: !0,
|
|
4341
|
+
description: "Show grid lines on the chart"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
key: "showTooltip",
|
|
4345
|
+
label: "Show Tooltip",
|
|
4346
|
+
type: "boolean",
|
|
4347
|
+
defaultValue: !0,
|
|
4348
|
+
description: "Show tooltip on hover with detailed stats"
|
|
4349
|
+
}
|
|
4350
|
+
],
|
|
4351
|
+
description: "Combined retention visualization with line chart and heatmap modes",
|
|
4352
|
+
useCase: "Visualize user retention over time with optional breakdown segmentation"
|
|
4353
|
+
}, Q = {
|
|
4354
|
+
bar: a,
|
|
4355
|
+
line: o,
|
|
4356
|
+
area: s,
|
|
4357
|
+
pie: c,
|
|
4358
|
+
scatter: l,
|
|
4359
|
+
bubble: u,
|
|
4360
|
+
radar: d,
|
|
4361
|
+
radialBar: f,
|
|
4362
|
+
treemap: p,
|
|
4363
|
+
table: m,
|
|
4364
|
+
activityGrid: h,
|
|
4365
|
+
kpiNumber: g,
|
|
4366
|
+
kpiDelta: _,
|
|
4367
|
+
kpiText: v,
|
|
4368
|
+
markdown: ee,
|
|
4369
|
+
funnel: y,
|
|
4370
|
+
sankey: b,
|
|
4371
|
+
sunburst: te,
|
|
4372
|
+
heatmap: ne,
|
|
4373
|
+
retentionHeatmap: Ya,
|
|
4374
|
+
retentionCombined: Za,
|
|
4375
|
+
boxPlot: re,
|
|
4376
|
+
waterfall: ie,
|
|
4377
|
+
candlestick: ae,
|
|
4378
|
+
measureProfile: oe,
|
|
4379
|
+
gauge: se
|
|
4380
|
+
};
|
|
4381
|
+
function Qa(e, t) {
|
|
4382
|
+
Q[e] = t;
|
|
4383
|
+
}
|
|
4384
|
+
function $a(e) {
|
|
4385
|
+
delete Q[e];
|
|
4386
|
+
}
|
|
4387
|
+
var $ = new class {
|
|
4388
|
+
customCharts = /* @__PURE__ */ new Map();
|
|
4389
|
+
builtInBackups = /* @__PURE__ */ new Map();
|
|
4390
|
+
iconMap = /* @__PURE__ */ new Map();
|
|
4391
|
+
version = 0;
|
|
4392
|
+
listeners = /* @__PURE__ */ new Set();
|
|
4393
|
+
register(e) {
|
|
4394
|
+
let t = {
|
|
4395
|
+
...e.config,
|
|
4396
|
+
label: e.config.label || e.label
|
|
4397
|
+
};
|
|
4398
|
+
Q[e.type] && !this.builtInBackups.has(e.type) && !this.customCharts.has(e.type) && this.builtInBackups.set(e.type, Q[e.type]), this.customCharts.set(e.type, e), Qa(e.type, t), Ga(e.type, t), Na(e.type, e.component, e.lazyComponent, e.dependencies), e.icon && this.iconMap.set(e.type, e.icon), this.bump();
|
|
4399
|
+
}
|
|
4400
|
+
unregister(e) {
|
|
4401
|
+
if (!this.customCharts.has(e)) return;
|
|
4402
|
+
this.customCharts.delete(e), this.iconMap.delete(e);
|
|
4403
|
+
let t = this.builtInBackups.get(e);
|
|
4404
|
+
t ? (Qa(e, t), Ga(e, t), this.builtInBackups.delete(e)) : ($a(e), Ka(e)), Pa(e), this.bump();
|
|
4405
|
+
}
|
|
4406
|
+
getIcon(e) {
|
|
4407
|
+
return this.iconMap.get(e);
|
|
4408
|
+
}
|
|
4409
|
+
getCustomTypes() {
|
|
4410
|
+
return Array.from(this.customCharts.keys());
|
|
4411
|
+
}
|
|
4412
|
+
isCustom(e) {
|
|
4413
|
+
return this.customCharts.has(e);
|
|
4414
|
+
}
|
|
4415
|
+
subscribe = (e) => (this.listeners.add(e), () => {
|
|
4416
|
+
this.listeners.delete(e);
|
|
4417
|
+
});
|
|
4418
|
+
getSnapshot = () => this.version;
|
|
4419
|
+
bump() {
|
|
4420
|
+
this.version++;
|
|
4421
|
+
for (let e of this.listeners) e();
|
|
4422
|
+
}
|
|
4423
|
+
}();
|
|
4424
|
+
ca((e) => $.getIcon(e));
|
|
4425
|
+
//#endregion
|
|
3813
4426
|
//#region src/client/providers/CubeProvider.tsx
|
|
3814
|
-
var
|
|
4427
|
+
var eo = { apiUrl: "/cubejs-api/v1" }, to = () => new pt({ defaultOptions: { queries: {
|
|
3815
4428
|
staleTime: 300 * 1e3,
|
|
3816
4429
|
gcTime: 900 * 1e3,
|
|
3817
4430
|
retry: 3,
|
|
3818
4431
|
refetchOnWindowFocus: !1
|
|
3819
4432
|
} } });
|
|
3820
|
-
|
|
3821
|
-
function
|
|
3822
|
-
let [
|
|
3823
|
-
return
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
4433
|
+
to();
|
|
4434
|
+
function no({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: c, customCharts: l, children: u }) {
|
|
4435
|
+
let [d] = w(() => to()), f = c ?? d, p = ge([]);
|
|
4436
|
+
return S(() => {
|
|
4437
|
+
if (!l || l.length === 0) {
|
|
4438
|
+
for (let e of p.current) $.unregister(e);
|
|
4439
|
+
p.current = [];
|
|
4440
|
+
return;
|
|
4441
|
+
}
|
|
4442
|
+
let e = new Set(l.map((e) => e.type));
|
|
4443
|
+
for (let t of p.current) e.has(t) || $.unregister(t);
|
|
4444
|
+
for (let e of l) $.register(e);
|
|
4445
|
+
return p.current = l.map((e) => e.type), () => {
|
|
4446
|
+
for (let e of p.current) $.unregister(e);
|
|
4447
|
+
p.current = [];
|
|
4448
|
+
};
|
|
4449
|
+
}, [l]), /* @__PURE__ */ T(gt, {
|
|
4450
|
+
client: f,
|
|
4451
|
+
children: /* @__PURE__ */ T(It, {
|
|
4452
|
+
apiOptions: t || eo,
|
|
3827
4453
|
token: n,
|
|
3828
4454
|
options: r,
|
|
3829
4455
|
enableBatching: o,
|
|
3830
4456
|
batchDelayMs: s,
|
|
3831
|
-
children: /* @__PURE__ */
|
|
4457
|
+
children: /* @__PURE__ */ T(qa, { children: /* @__PURE__ */ T(Qt, {
|
|
3832
4458
|
features: i,
|
|
3833
4459
|
dashboardModes: a,
|
|
3834
|
-
children:
|
|
4460
|
+
children: u
|
|
3835
4461
|
}) })
|
|
3836
4462
|
})
|
|
3837
4463
|
});
|
|
3838
4464
|
}
|
|
3839
|
-
function
|
|
3840
|
-
let e =
|
|
3841
|
-
return
|
|
4465
|
+
function ro() {
|
|
4466
|
+
let e = Lt(), n = t(), r = en();
|
|
4467
|
+
return C(() => ({
|
|
3842
4468
|
...e,
|
|
3843
4469
|
...n,
|
|
3844
4470
|
features: r.features,
|
|
@@ -3851,14 +4477,14 @@ function Bi() {
|
|
|
3851
4477
|
}
|
|
3852
4478
|
//#endregion
|
|
3853
4479
|
//#region src/client/utils/pivotUtils.ts
|
|
3854
|
-
function
|
|
4480
|
+
function io(e) {
|
|
3855
4481
|
if (!e) return [];
|
|
3856
4482
|
let t = [];
|
|
3857
4483
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
3858
4484
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
3859
4485
|
}), e.measures && t.push(...e.measures), t;
|
|
3860
4486
|
}
|
|
3861
|
-
function
|
|
4487
|
+
function ao(e, t) {
|
|
3862
4488
|
if (!e?.timeDimensions?.length) return null;
|
|
3863
4489
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
3864
4490
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -3875,7 +4501,7 @@ function Hi(e, t) {
|
|
|
3875
4501
|
measures: i
|
|
3876
4502
|
};
|
|
3877
4503
|
}
|
|
3878
|
-
function
|
|
4504
|
+
function oo(e, t, n) {
|
|
3879
4505
|
let i = /* @__PURE__ */ new Set();
|
|
3880
4506
|
return e.forEach((e) => {
|
|
3881
4507
|
let a = e[t];
|
|
@@ -3885,7 +4511,7 @@ function Ui(e, t, n) {
|
|
|
3885
4511
|
}
|
|
3886
4512
|
}), Array.from(i).sort();
|
|
3887
4513
|
}
|
|
3888
|
-
function
|
|
4514
|
+
function so(e, t, n) {
|
|
3889
4515
|
let r = [];
|
|
3890
4516
|
return e.measures.length > 1 && r.push({
|
|
3891
4517
|
key: "__measure__",
|
|
@@ -3906,7 +4532,7 @@ function Wi(e, t, n) {
|
|
|
3906
4532
|
});
|
|
3907
4533
|
}), r;
|
|
3908
4534
|
}
|
|
3909
|
-
function
|
|
4535
|
+
function co(e, t) {
|
|
3910
4536
|
let n = /* @__PURE__ */ new Map();
|
|
3911
4537
|
return e.forEach((e) => {
|
|
3912
4538
|
let i = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
@@ -3918,8 +4544,8 @@ function Gi(e, t) {
|
|
|
3918
4544
|
}
|
|
3919
4545
|
}), n;
|
|
3920
4546
|
}
|
|
3921
|
-
function
|
|
3922
|
-
let i =
|
|
4547
|
+
function lo(e, t, n, r) {
|
|
4548
|
+
let i = co(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
3923
4549
|
return t.measures.forEach((e) => {
|
|
3924
4550
|
a.forEach((a, l) => {
|
|
3925
4551
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -3939,20 +4565,20 @@ function Ki(e, t, n, r) {
|
|
|
3939
4565
|
});
|
|
3940
4566
|
}), o;
|
|
3941
4567
|
}
|
|
3942
|
-
function
|
|
4568
|
+
function uo(e, t, n, r) {
|
|
3943
4569
|
if (!e || e.length === 0) return {
|
|
3944
4570
|
isPivoted: !0,
|
|
3945
4571
|
columns: [],
|
|
3946
4572
|
rows: []
|
|
3947
4573
|
};
|
|
3948
|
-
let i =
|
|
4574
|
+
let i = oo(e, t.timeDimension, t.granularity);
|
|
3949
4575
|
return {
|
|
3950
4576
|
isPivoted: !0,
|
|
3951
|
-
columns:
|
|
3952
|
-
rows:
|
|
4577
|
+
columns: so(t, i, n),
|
|
4578
|
+
rows: lo(e, t, i, n)
|
|
3953
4579
|
};
|
|
3954
4580
|
}
|
|
3955
|
-
function
|
|
4581
|
+
function fo(e, t) {
|
|
3956
4582
|
if (t?.cubes) for (let n of t.cubes) {
|
|
3957
4583
|
let t = n.measures.find((t) => t.name === e);
|
|
3958
4584
|
if (t) return t.type;
|
|
@@ -3960,33 +4586,33 @@ function Ji(e, t) {
|
|
|
3960
4586
|
}
|
|
3961
4587
|
//#endregion
|
|
3962
4588
|
//#region src/client/components/charts/DataTable.tsx
|
|
3963
|
-
var
|
|
3964
|
-
let { getFieldLabel: o, meta: s } = t(), c =
|
|
4589
|
+
var po = /* @__PURE__ */ e({ default: () => mo }), mo = ce.memo(function({ data: e, chartConfig: n, displayConfig: r = {}, queryObject: i, height: a = 300 }) {
|
|
4590
|
+
let { getFieldLabel: o, meta: s } = t(), c = C(() => ao(i, n?.xAxis), [i, n?.xAxis]), l = r?.pivotTimeDimension !== !1, u = C(() => !c || !l ? null : uo(e, c, o, s), [
|
|
3965
4591
|
e,
|
|
3966
4592
|
c,
|
|
3967
4593
|
l,
|
|
3968
4594
|
o,
|
|
3969
4595
|
s
|
|
3970
4596
|
]);
|
|
3971
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
4597
|
+
return !e || e.length === 0 ? /* @__PURE__ */ T("div", {
|
|
3972
4598
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
3973
4599
|
style: { height: a },
|
|
3974
|
-
children: /* @__PURE__ */
|
|
4600
|
+
children: /* @__PURE__ */ E("div", {
|
|
3975
4601
|
className: "dc:text-center text-dc-text-muted",
|
|
3976
|
-
children: [/* @__PURE__ */
|
|
4602
|
+
children: [/* @__PURE__ */ T("div", {
|
|
3977
4603
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
3978
4604
|
children: "No data available"
|
|
3979
|
-
}), /* @__PURE__ */
|
|
4605
|
+
}), /* @__PURE__ */ T("div", {
|
|
3980
4606
|
className: "dc:text-xs text-dc-text-secondary",
|
|
3981
4607
|
children: "No data to display in table"
|
|
3982
4608
|
})]
|
|
3983
4609
|
})
|
|
3984
|
-
}) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */
|
|
4610
|
+
}) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */ T(ho, {
|
|
3985
4611
|
pivotedData: u,
|
|
3986
4612
|
height: a,
|
|
3987
4613
|
meta: s,
|
|
3988
4614
|
leftYAxisFormat: r?.leftYAxisFormat
|
|
3989
|
-
}) : /* @__PURE__ */
|
|
4615
|
+
}) : /* @__PURE__ */ T(vo, {
|
|
3990
4616
|
data: e,
|
|
3991
4617
|
chartConfig: n,
|
|
3992
4618
|
queryObject: i,
|
|
@@ -3995,35 +4621,35 @@ var Yi = /* @__PURE__ */ e({ default: () => Xi }), Xi = o.memo(function({ data:
|
|
|
3995
4621
|
leftYAxisFormat: r?.leftYAxisFormat
|
|
3996
4622
|
});
|
|
3997
4623
|
});
|
|
3998
|
-
function
|
|
4624
|
+
function ho({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
3999
4625
|
let { columns: i, rows: a } = e;
|
|
4000
|
-
return i.length === 0 || a.length === 0 ? /* @__PURE__ */
|
|
4626
|
+
return i.length === 0 || a.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4001
4627
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4002
4628
|
style: { height: t },
|
|
4003
|
-
children: /* @__PURE__ */
|
|
4629
|
+
children: /* @__PURE__ */ E("div", {
|
|
4004
4630
|
className: "dc:text-center text-dc-text-muted",
|
|
4005
|
-
children: [/* @__PURE__ */
|
|
4631
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4006
4632
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4007
4633
|
children: "No data available"
|
|
4008
|
-
}), /* @__PURE__ */
|
|
4634
|
+
}), /* @__PURE__ */ T("div", {
|
|
4009
4635
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4010
4636
|
children: "No data to display in table"
|
|
4011
4637
|
})]
|
|
4012
4638
|
})
|
|
4013
|
-
}) : /* @__PURE__ */
|
|
4639
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4014
4640
|
className: "dc:w-full dc:overflow-auto",
|
|
4015
4641
|
style: { height: t },
|
|
4016
|
-
children: /* @__PURE__ */
|
|
4642
|
+
children: /* @__PURE__ */ E("table", {
|
|
4017
4643
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4018
|
-
children: [/* @__PURE__ */
|
|
4644
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4019
4645
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4020
|
-
children: /* @__PURE__ */
|
|
4646
|
+
children: /* @__PURE__ */ T("tr", { children: i.map((e) => /* @__PURE__ */ T("th", {
|
|
4021
4647
|
className: `dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn ? "dc:text-right" : "dc:text-left"}`,
|
|
4022
4648
|
children: e.label
|
|
4023
4649
|
}, e.key)) })
|
|
4024
|
-
}), /* @__PURE__ */
|
|
4650
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4025
4651
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4026
|
-
children: a.map((e) => /* @__PURE__ */
|
|
4652
|
+
children: a.map((e) => /* @__PURE__ */ T(go, {
|
|
4027
4653
|
row: e,
|
|
4028
4654
|
columns: i,
|
|
4029
4655
|
meta: n,
|
|
@@ -4033,36 +4659,36 @@ function Zi({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4033
4659
|
})
|
|
4034
4660
|
});
|
|
4035
4661
|
}
|
|
4036
|
-
function
|
|
4037
|
-
let i =
|
|
4038
|
-
return /* @__PURE__ */
|
|
4662
|
+
function go({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4663
|
+
let i = ha(fo(e.measureField, n));
|
|
4664
|
+
return /* @__PURE__ */ T("tr", {
|
|
4039
4665
|
className: "hover:bg-dc-surface-secondary",
|
|
4040
4666
|
children: t.map((t) => {
|
|
4041
4667
|
let n = e.values[t.key];
|
|
4042
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
4668
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ T("td", {
|
|
4043
4669
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
4044
4670
|
rowSpan: e.dimensionRowSpan,
|
|
4045
|
-
children: /* @__PURE__ */
|
|
4671
|
+
children: /* @__PURE__ */ E("div", {
|
|
4046
4672
|
className: "dc:flex dc:items-center",
|
|
4047
|
-
children: [/* @__PURE__ */
|
|
4673
|
+
children: [/* @__PURE__ */ T(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ T("span", { children: n })]
|
|
4048
4674
|
})
|
|
4049
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
4675
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ T("td", {
|
|
4050
4676
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
4051
|
-
children:
|
|
4052
|
-
}, t.key) : /* @__PURE__ */
|
|
4677
|
+
children: _o(n, r)
|
|
4678
|
+
}, t.key) : /* @__PURE__ */ T("td", {
|
|
4053
4679
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4054
|
-
children:
|
|
4680
|
+
children: _o(n)
|
|
4055
4681
|
}, t.key);
|
|
4056
4682
|
})
|
|
4057
4683
|
});
|
|
4058
4684
|
}
|
|
4059
|
-
function
|
|
4685
|
+
function _o(e, t) {
|
|
4060
4686
|
return e == null ? "-" : typeof e == "number" ? t ? i(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4061
4687
|
}
|
|
4062
|
-
function
|
|
4063
|
-
let o = Object.keys(e[0] || {}), s =
|
|
4688
|
+
function vo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
4689
|
+
let o = Object.keys(e[0] || {}), s = C(() => {
|
|
4064
4690
|
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => o.includes(e));
|
|
4065
|
-
let e =
|
|
4691
|
+
let e = io(n);
|
|
4066
4692
|
if (e.length > 0) {
|
|
4067
4693
|
let t = e.filter((e) => o.includes(e)), n = o.filter((e) => !t.includes(e));
|
|
4068
4694
|
return [...t, ...n];
|
|
@@ -4073,47 +4699,47 @@ function ea({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
|
|
|
4073
4699
|
n,
|
|
4074
4700
|
o
|
|
4075
4701
|
]);
|
|
4076
|
-
return s.length === 0 ? /* @__PURE__ */
|
|
4702
|
+
return s.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4077
4703
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4078
4704
|
style: { height: r },
|
|
4079
|
-
children: /* @__PURE__ */
|
|
4705
|
+
children: /* @__PURE__ */ E("div", {
|
|
4080
4706
|
className: "dc:text-center text-dc-text-muted",
|
|
4081
|
-
children: [/* @__PURE__ */
|
|
4707
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4082
4708
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4083
4709
|
children: "No columns available"
|
|
4084
|
-
}), /* @__PURE__ */
|
|
4710
|
+
}), /* @__PURE__ */ T("div", {
|
|
4085
4711
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4086
4712
|
children: "Data structure is invalid"
|
|
4087
4713
|
})]
|
|
4088
4714
|
})
|
|
4089
|
-
}) : /* @__PURE__ */
|
|
4715
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4090
4716
|
className: "dc:w-full dc:overflow-auto",
|
|
4091
4717
|
style: { height: r },
|
|
4092
|
-
children: /* @__PURE__ */
|
|
4718
|
+
children: /* @__PURE__ */ E("table", {
|
|
4093
4719
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4094
|
-
children: [/* @__PURE__ */
|
|
4720
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4095
4721
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4096
|
-
children: /* @__PURE__ */
|
|
4722
|
+
children: /* @__PURE__ */ T("tr", { children: s.map((e) => /* @__PURE__ */ T("th", {
|
|
4097
4723
|
className: "dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider",
|
|
4098
4724
|
children: i(e)
|
|
4099
4725
|
}, e)) })
|
|
4100
|
-
}), /* @__PURE__ */
|
|
4726
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4101
4727
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4102
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
4728
|
+
children: e.map((e, t) => /* @__PURE__ */ T("tr", {
|
|
4103
4729
|
className: "hover:bg-dc-surface-secondary",
|
|
4104
|
-
children: s.map((t) => /* @__PURE__ */
|
|
4730
|
+
children: s.map((t) => /* @__PURE__ */ T("td", {
|
|
4105
4731
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4106
|
-
children:
|
|
4732
|
+
children: yo(e[t], a)
|
|
4107
4733
|
}, t))
|
|
4108
4734
|
}, t))
|
|
4109
4735
|
})]
|
|
4110
4736
|
})
|
|
4111
4737
|
});
|
|
4112
4738
|
}
|
|
4113
|
-
function
|
|
4739
|
+
function yo(e, t) {
|
|
4114
4740
|
return e == null ? "" : typeof e == "number" ? t ? i(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4115
4741
|
}
|
|
4116
4742
|
//#endregion
|
|
4117
|
-
export {
|
|
4743
|
+
export { Ot as $, K as A, Br as B, Ma as C, ka as D, Oa as E, fa as F, Gt as G, Wt as H, pa as I, Lt as J, Ut as K, da as L, la as M, ma as N, ga as O, ha as P, Tt as Q, oa as R, Aa as S, Ta as T, Yt as U, en as V, Kt as W, Nt as X, jt as Y, At as Z, Ua as _, ao as a, vt as at, Ba as b, ro as c, $e as ct, Xa as d, k as dt, Dt as et, Ja as f, Oe as ft, za as g, Ra as h, D as ht, io as i, xt as it, ua as j, _a as k, $ as l, F as lt, La as m, ze as mt, po as n, wt as nt, uo as o, ht as ot, Wa as p, ke as pt, Bt as q, fo as r, Ct as rt, no as s, ut as st, mo as t, St as tt, Q as u, M as ut, Va as v, ja as w, Da as x, Ha as y, aa as z };
|
|
4118
4744
|
|
|
4119
|
-
//# sourceMappingURL=chart-data-table-
|
|
4745
|
+
//# sourceMappingURL=chart-data-table-BZ7StNWv.js.map
|