@kky42/pievo-server 2.2.0 → 2.4.1
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/.output/nitro.json +1 -1
- package/.output/public/assets/MachinesModal-CEddj7la.js +1 -0
- package/.output/public/assets/SignIn-BdkKWOSs.js +1 -0
- package/.output/public/assets/actionUi-BYBeYy7U.js +1 -0
- package/.output/public/assets/app-BAgHQVvr.css +2 -0
- package/.output/public/assets/index-BZLqD3JI.js +12 -0
- package/.output/public/assets/invite._token-BCLgmTO7.js +1 -0
- package/.output/public/assets/invite._token-ZnVQqqq4.js +1 -0
- package/.output/public/assets/lifecycleUi-C7dwHtbw.js +1 -0
- package/.output/public/assets/loops._loopId-X8PSlgdB.js +67 -0
- package/.output/public/assets/loops._loopId_.runs._runId-CA0-q1y5.js +3 -0
- package/.output/public/assets/preload-helper-CUIO87nJ.js +5 -0
- package/.output/public/assets/routes-BjKcDy6D.js +1 -0
- package/.output/public/assets/routes-bfMcArTT.js +1 -0
- package/.output/public/assets/t._teamId-B75J8h0x.js +1 -0
- package/.output/public/assets/t._teamId-D7WVPMDr.js +1 -0
- package/.output/public/assets/ui-DGOT8AoZ.js +1 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +4130 -4130
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/drizzle-orm+postgres.mjs +28 -1
- package/.output/server/_ssr/DashboardView-D_hKsCsv.mjs +1098 -0
- package/.output/server/_ssr/{notifyFns-DXMbgYu2.mjs → MachinesModal-DZ_9ErAU.mjs} +57 -35
- package/.output/server/_ssr/{SignIn-C4fSJl_j.mjs → SignIn-DjSrg0nO.mjs} +10 -24
- package/.output/server/_ssr/SocialLinks-BTjsnVOm.mjs +1051 -0
- package/.output/server/_ssr/{actionUi-BKF6xI3d.mjs → actionUi-D15R8L7R.mjs} +3 -3
- package/.output/server/_ssr/{artifactFiles-C8PQKN6V.mjs → artifactFiles-CV3OXxRD.mjs} +7 -8
- package/.output/server/_ssr/{artifactKind-BW0isV8L.mjs → artifactKind-ByzVa7fg.mjs} +27 -2
- package/.output/server/_ssr/artifacts-BhQvaGjF.mjs +2 -0
- package/.output/server/_ssr/{auth-Sie6sQHF.mjs → auth-CPCDf6Wr.mjs} +16 -19
- package/.output/server/_ssr/{boot-akwC2sQg.mjs → boot-BbWxaF-z.mjs} +1359 -3843
- package/.output/server/_ssr/boot-COHf8Gv3.mjs +2 -0
- package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-CLY8cORt.mjs → bun-sqlite-dialect-BW9W1_Ps-8MIh9jN1.mjs} +2 -2
- package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-CRsXQNRe.mjs → d1-sqlite-dialect-BLC8LXE6-CcMQ01_d.mjs} +2 -2
- package/.output/server/_ssr/db-dw61xIt1.mjs +2 -0
- package/.output/server/_ssr/{dist-Cc_x6bBb.mjs → dist-AxCsRawm.mjs} +2 -2
- package/.output/server/_ssr/{factory-CDwHL_zY.mjs → factory-S7MaMVC2.mjs} +2 -2
- package/.output/server/_ssr/{invite._token-BlbVjz-o.mjs → invite._token-B1UgMbNQ.mjs} +3 -3
- package/.output/server/_ssr/{invite._token-BE_QUAVb.mjs → invite._token-BliJIGk4.mjs} +4 -5
- package/.output/server/_ssr/{invite._token-C7GjrJxr.mjs → invite._token-D296YVGd.mjs} +7 -7
- package/.output/server/_ssr/{kysely-adapter-zflsyYBA.mjs → kysely-adapter-DUdpqcCJ.mjs} +1 -1
- package/.output/server/_ssr/{lifecycleUi-Djb44Aj3.mjs → lifecycleUi-Dad3hvhm.mjs} +12 -11
- package/.output/server/_ssr/logger-DdUWuMdh.mjs +2 -0
- package/.output/server/_ssr/loopApi-Dy8ztANM.mjs +389 -0
- package/.output/server/_ssr/loopProjection-BZ1_IYCr.mjs +110 -0
- package/.output/server/_ssr/loops._loopId-CKsAnxMl.mjs +1255 -0
- package/.output/server/_ssr/{loops._loopId_.runs._runId-rBHW41dx.mjs → loops._loopId_.runs._runId-DG405pQs.mjs} +29 -74
- package/.output/server/_ssr/{loops._loopId_.runs._runId-Dk1QY49p.mjs → loops._loopId_.runs._runId-a_SyY8rX.mjs} +4 -5
- package/.output/server/_ssr/{machineFns-CoqLRLRh.mjs → machineFns-BSaE7K88.mjs} +3 -5
- package/.output/server/_ssr/{node-sqlite-dialect-dmrazfbM.mjs → node-sqlite-dialect-rWwVyt2J.mjs} +2 -2
- package/.output/server/_ssr/router-lMkobh5r.mjs +618 -0
- package/.output/server/_ssr/{routes-DebVUmCS.mjs → routes-CRHc9cLG.mjs} +6 -10
- package/.output/server/_ssr/{routes-Bx0bRxt9.mjs → routes-DNCZrs8z.mjs} +3 -3
- package/.output/server/_ssr/{routes-dQCBLTxY.mjs → routes-ufPbrGHs.mjs} +6 -6
- package/.output/server/_ssr/runDiff-CrZzjokj.mjs +2 -0
- package/.output/server/_ssr/ssr.mjs +65 -97
- package/.output/server/_ssr/store-CirPHuib.mjs +2 -0
- package/.output/server/_ssr/{t._teamId-BqOUF-0J.mjs → t._teamId-BoBoYEHL.mjs} +7 -7
- package/.output/server/_ssr/{t._teamId-D9nCEa2h.mjs → t._teamId-DcWOYjPf.mjs} +4 -4
- package/.output/server/_ssr/{t._teamId-BzWy4Ft2.mjs → t._teamId-QD2nN0wn.mjs} +7 -11
- package/.output/server/_ssr/{teamFns-BcnGMC-g.mjs → teamFns-BsmconJ1.mjs} +4 -4
- package/.output/server/_ssr/{teamFns-bm82twd5.mjs → teamFns-DcoVuWyH.mjs} +2 -2
- package/.output/server/_ssr/tokens-XngoyCU8.mjs +2 -0
- package/.output/server/_ssr/{ui-B6mE5-5v.mjs → ui-DmFKW2H_.mjs} +33 -47
- package/.output/server/{_tanstack-start-manifest_v-COr27bxK.mjs → _tanstack-start-manifest_v-Xd5bMpJe.mjs} +25 -33
- package/.output/server/drizzle/{0000_round_marauders.sql → 0000_baseline.sql} +102 -44
- package/.output/server/drizzle/meta/_journal.json +3 -115
- package/.output/server/index.mjs +82 -131
- package/drizzle/{0000_round_marauders.sql → 0000_baseline.sql} +102 -44
- package/drizzle/meta/_journal.json +3 -115
- package/package.json +2 -10
- package/scripts/pievo-server.mjs +3 -1
- package/scripts/server-cli-lib.mjs +23 -16
- package/.output/public/assets/CodeField-dOzyFQNH.js +0 -34
- package/.output/public/assets/LoopView-BTXoqfzM.js +0 -59
- package/.output/public/assets/Modal-Ba36NAkv.js +0 -1
- package/.output/public/assets/SignIn-Cc1zxGnA.js +0 -1
- package/.output/public/assets/actionUi-DDDfD0WX.js +0 -1
- package/.output/public/assets/app-D1cij_NJ.css +0 -2
- package/.output/public/assets/artifactView-Cd5wWPil.js +0 -66
- package/.output/public/assets/index-BGM1XGY0.js +0 -12
- package/.output/public/assets/invite._token-C3t4JfAY.js +0 -1
- package/.output/public/assets/invite._token-CUCNcN89.js +0 -1
- package/.output/public/assets/jsx-runtime-BseJUIpC.js +0 -1
- package/.output/public/assets/lifecycleUi-CMFw5Nlj.js +0 -1
- package/.output/public/assets/loopApi-CT1mMhlb.js +0 -3
- package/.output/public/assets/loops._loopId-CrSSvSVl.js +0 -4
- package/.output/public/assets/loops._loopId_.runs._runId-B5Qacloe.js +0 -3
- package/.output/public/assets/notifyFns-CYiZT7CK.js +0 -1
- package/.output/public/assets/preload-helper-DFkkpP6W.js +0 -3
- package/.output/public/assets/routes-B6Kg4mFC.js +0 -1
- package/.output/public/assets/routes-DsdcURfk.js +0 -1
- package/.output/public/assets/t._teamId-C9uEyAh_.js +0 -1
- package/.output/public/assets/t._teamId-Cmm4xdKj.js +0 -1
- package/.output/public/assets/ui-Gb1413-F.js +0 -1
- package/.output/public/assets/useRouter-DsjH8G0p.js +0 -1
- package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +0 -19713
- package/.output/server/_libs/@codemirror/lang-css+[...].mjs +0 -2636
- package/.output/server/_libs/@codemirror/lang-html+[...].mjs +0 -2247
- package/.output/server/_libs/@codemirror/lang-json+[...].mjs +0 -79
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1736
- package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +0 -76
- package/.output/server/_libs/babel__runtime.mjs +0 -30
- package/.output/server/_libs/clsx.mjs +0 -16
- package/.output/server/_libs/codemirror__commands.mjs +0 -1725
- package/.output/server/_libs/codemirror__lint.mjs +0 -565
- package/.output/server/_libs/codemirror__search.mjs +0 -1138
- package/.output/server/_libs/codemirror__theme-one-dark.mjs +0 -161
- package/.output/server/_libs/d3-array.mjs +0 -231
- package/.output/server/_libs/d3-color.mjs +0 -330
- package/.output/server/_libs/d3-format.mjs +0 -252
- package/.output/server/_libs/d3-interpolate.mjs +0 -163
- package/.output/server/_libs/d3-path.mjs +0 -77
- package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
- package/.output/server/_libs/d3-shape.mjs +0 -818
- package/.output/server/_libs/decimal.js-light.mjs +0 -884
- package/.output/server/_libs/dom-serializer+[...].mjs +0 -708
- package/.output/server/_libs/domhandler.mjs +0 -461
- package/.output/server/_libs/domutils.mjs +0 -868
- package/.output/server/_libs/es-toolkit.mjs +0 -1737
- package/.output/server/_libs/eventemitter3.mjs +0 -236
- package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +0 -1560
- package/.output/server/_libs/html-react-parser+[...].mjs +0 -1360
- package/.output/server/_libs/react-is.mjs +0 -48
- package/.output/server/_libs/react-redux+[...].mjs +0 -205
- package/.output/server/_libs/recharts+victory-vendor.mjs +0 -17303
- package/.output/server/_libs/uiw__codemirror-themes.mjs +0 -32
- package/.output/server/_libs/uiw__react-codemirror.mjs +0 -354
- package/.output/server/_ssr/CodeField-B7oOmmwH.mjs +0 -143
- package/.output/server/_ssr/DashboardView-0yoKh8Em.mjs +0 -2733
- package/.output/server/_ssr/LoopPlaybook-uq_sFfgU.mjs +0 -2105
- package/.output/server/_ssr/LoopView-BlOY-jfJ.mjs +0 -1300
- package/.output/server/_ssr/Modal-Bc_5TYGr.mjs +0 -49
- package/.output/server/_ssr/adapters-RReIIwAx.mjs +0 -134
- package/.output/server/_ssr/artifactView-iuPsp5aa.mjs +0 -304
- package/.output/server/_ssr/artifacts-B_F6vSih.mjs +0 -2
- package/.output/server/_ssr/boot-pVS0wjd0.mjs +0 -2
- package/.output/server/_ssr/db-Bdm9PFZF.mjs +0 -2
- package/.output/server/_ssr/logger-tfiliKTi.mjs +0 -2
- package/.output/server/_ssr/loopApi-8_KgBapr.mjs +0 -109
- package/.output/server/_ssr/loopApi-JzmqWENY.mjs +0 -564
- package/.output/server/_ssr/loops._loopId-D-aCCtrX.mjs +0 -1477
- package/.output/server/_ssr/loops._loopId-DZ-FjscA.mjs +0 -30
- package/.output/server/_ssr/notifyFns-CH7-bcmd.mjs +0 -118
- package/.output/server/_ssr/router-BFPzSTFx.mjs +0 -679
- package/.output/server/_ssr/runDiff-qA1C8R_L.mjs +0 -2
- package/.output/server/_ssr/store-DWUdkIq2.mjs +0 -2
- package/.output/server/_ssr/tokens-DG8z1GIg.mjs +0 -2
- package/.output/server/drizzle/0001_naive_silver_fox.sql +0 -25
- package/.output/server/drizzle/0002_funny_sage.sql +0 -12
- package/.output/server/drizzle/0003_optimal_slapstick.sql +0 -102
- package/.output/server/drizzle/0004_remove_grok_agent.sql +0 -5
- package/.output/server/drizzle/0005_heavy_gauntlet.sql +0 -8
- package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +0 -1
- package/.output/server/drizzle/0007_faulty_starbolt.sql +0 -30
- package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
- package/.output/server/drizzle/0009_ordinary_electro.sql +0 -1
- package/.output/server/drizzle/0010_workable_rage.sql +0 -14
- package/.output/server/drizzle/0011_steep_marvel_zombies.sql +0 -3
- package/.output/server/drizzle/0012_blocked_run_status.sql +0 -12
- package/.output/server/drizzle/0013_drop_run_outcome.sql +0 -2
- package/.output/server/drizzle/0014_luxuriant_scrambler.sql +0 -5
- package/.output/server/drizzle/0015_run_history_foundation.sql +0 -43
- package/.output/server/drizzle/0016_plural_machine_runs.sql +0 -4
- package/.output/server/drizzle/meta/0000_snapshot.json +0 -1333
- package/.output/server/drizzle/meta/0001_snapshot.json +0 -1498
- package/.output/server/drizzle/meta/0002_snapshot.json +0 -1576
- package/.output/server/drizzle/meta/0003_snapshot.json +0 -1666
- package/.output/server/drizzle/meta/0005_snapshot.json +0 -1666
- package/.output/server/drizzle/meta/0006_snapshot.json +0 -1672
- package/.output/server/drizzle/meta/0007_snapshot.json +0 -1787
- package/.output/server/drizzle/meta/0009_snapshot.json +0 -1793
- package/.output/server/drizzle/meta/0010_snapshot.json +0 -1891
- package/.output/server/drizzle/meta/0011_snapshot.json +0 -1872
- package/drizzle/0001_naive_silver_fox.sql +0 -25
- package/drizzle/0002_funny_sage.sql +0 -12
- package/drizzle/0003_optimal_slapstick.sql +0 -102
- package/drizzle/0004_remove_grok_agent.sql +0 -5
- package/drizzle/0005_heavy_gauntlet.sql +0 -8
- package/drizzle/0006_tranquil_sharon_carter.sql +0 -1
- package/drizzle/0007_faulty_starbolt.sql +0 -30
- package/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
- package/drizzle/0009_ordinary_electro.sql +0 -1
- package/drizzle/0010_workable_rage.sql +0 -14
- package/drizzle/0011_steep_marvel_zombies.sql +0 -3
- package/drizzle/0012_blocked_run_status.sql +0 -12
- package/drizzle/0013_drop_run_outcome.sql +0 -2
- package/drizzle/0014_luxuriant_scrambler.sql +0 -5
- package/drizzle/0015_run_history_foundation.sql +0 -43
- package/drizzle/0016_plural_machine_runs.sql +0 -4
- package/drizzle/meta/0000_snapshot.json +0 -1333
- package/drizzle/meta/0001_snapshot.json +0 -1498
- package/drizzle/meta/0002_snapshot.json +0 -1576
- package/drizzle/meta/0003_snapshot.json +0 -1666
- package/drizzle/meta/0005_snapshot.json +0 -1666
- package/drizzle/meta/0006_snapshot.json +0 -1672
- package/drizzle/meta/0007_snapshot.json +0 -1787
- package/drizzle/meta/0009_snapshot.json +0 -1793
- package/drizzle/meta/0010_snapshot.json +0 -1891
- package/drizzle/meta/0011_snapshot.json +0 -1872
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { K as EditorView, P as tags, c as HighlightStyle, j as syntaxHighlighting } from "./@codemirror/autocomplete+[...].mjs";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@codemirror+theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js
|
|
3
|
-
var chalky = "#e5c07b", coral = "#e06c75", cyan = "#56b6c2", invalid = "#ffffff", ivory = "#abb2bf", stone = "#7d8799", malibu = "#61afef", sage = "#98c379", whiskey = "#d19a66", violet = "#c678dd", darkBackground = "#21252b", highlightBackground = "#2c313a", background = "#282c34", tooltipBackground = "#353a42", selection = "#3E4451", cursor = "#528bff";
|
|
4
|
-
/**
|
|
5
|
-
Extension to enable the One Dark theme (both the editor theme and
|
|
6
|
-
the highlight style).
|
|
7
|
-
*/
|
|
8
|
-
var oneDark = [/* @__PURE__ */ EditorView.theme({
|
|
9
|
-
"&": {
|
|
10
|
-
color: ivory,
|
|
11
|
-
backgroundColor: background
|
|
12
|
-
},
|
|
13
|
-
".cm-content": { caretColor: cursor },
|
|
14
|
-
".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor },
|
|
15
|
-
"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection },
|
|
16
|
-
".cm-panels": {
|
|
17
|
-
backgroundColor: darkBackground,
|
|
18
|
-
color: ivory
|
|
19
|
-
},
|
|
20
|
-
".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
|
|
21
|
-
".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
|
|
22
|
-
".cm-searchMatch": {
|
|
23
|
-
backgroundColor: "#72a1ff59",
|
|
24
|
-
outline: "1px solid #457dff"
|
|
25
|
-
},
|
|
26
|
-
".cm-searchMatch.cm-searchMatch-selected": { backgroundColor: "#6199ff2f" },
|
|
27
|
-
".cm-activeLine": { backgroundColor: "#6699ff0b" },
|
|
28
|
-
".cm-selectionMatch": { backgroundColor: "#aafe661a" },
|
|
29
|
-
"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bad0f847" },
|
|
30
|
-
".cm-gutters": {
|
|
31
|
-
backgroundColor: background,
|
|
32
|
-
color: stone,
|
|
33
|
-
border: "none"
|
|
34
|
-
},
|
|
35
|
-
".cm-activeLineGutter": { backgroundColor: highlightBackground },
|
|
36
|
-
".cm-foldPlaceholder": {
|
|
37
|
-
backgroundColor: "transparent",
|
|
38
|
-
border: "none",
|
|
39
|
-
color: "#ddd"
|
|
40
|
-
},
|
|
41
|
-
".cm-tooltip": {
|
|
42
|
-
border: "none",
|
|
43
|
-
backgroundColor: tooltipBackground
|
|
44
|
-
},
|
|
45
|
-
".cm-tooltip .cm-tooltip-arrow:before": {
|
|
46
|
-
borderTopColor: "transparent",
|
|
47
|
-
borderBottomColor: "transparent"
|
|
48
|
-
},
|
|
49
|
-
".cm-tooltip .cm-tooltip-arrow:after": {
|
|
50
|
-
borderTopColor: tooltipBackground,
|
|
51
|
-
borderBottomColor: tooltipBackground
|
|
52
|
-
},
|
|
53
|
-
".cm-tooltip-autocomplete": { "& > ul > li[aria-selected]": {
|
|
54
|
-
backgroundColor: highlightBackground,
|
|
55
|
-
color: ivory
|
|
56
|
-
} }
|
|
57
|
-
}, { dark: true }), /*@__PURE__*/ syntaxHighlighting(/* @__PURE__ */ HighlightStyle.define([
|
|
58
|
-
{
|
|
59
|
-
tag: tags.keyword,
|
|
60
|
-
color: violet
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
tag: [
|
|
64
|
-
tags.name,
|
|
65
|
-
tags.deleted,
|
|
66
|
-
tags.character,
|
|
67
|
-
tags.propertyName,
|
|
68
|
-
tags.macroName
|
|
69
|
-
],
|
|
70
|
-
color: coral
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
tag: [/*@__PURE__*/ tags.function(tags.variableName), tags.labelName],
|
|
74
|
-
color: malibu
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
tag: [
|
|
78
|
-
tags.color,
|
|
79
|
-
/*@__PURE__*/ tags.constant(tags.name),
|
|
80
|
-
/*@__PURE__*/ tags.standard(tags.name)
|
|
81
|
-
],
|
|
82
|
-
color: whiskey
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
tag: [/*@__PURE__*/ tags.definition(tags.name), tags.separator],
|
|
86
|
-
color: ivory
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
tag: [
|
|
90
|
-
tags.typeName,
|
|
91
|
-
tags.className,
|
|
92
|
-
tags.number,
|
|
93
|
-
tags.changed,
|
|
94
|
-
tags.annotation,
|
|
95
|
-
tags.modifier,
|
|
96
|
-
tags.self,
|
|
97
|
-
tags.namespace
|
|
98
|
-
],
|
|
99
|
-
color: chalky
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
tag: [
|
|
103
|
-
tags.operator,
|
|
104
|
-
tags.operatorKeyword,
|
|
105
|
-
tags.url,
|
|
106
|
-
tags.escape,
|
|
107
|
-
tags.regexp,
|
|
108
|
-
tags.link,
|
|
109
|
-
/*@__PURE__*/ tags.special(tags.string)
|
|
110
|
-
],
|
|
111
|
-
color: cyan
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
tag: [tags.meta, tags.comment],
|
|
115
|
-
color: stone
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
tag: tags.strong,
|
|
119
|
-
fontWeight: "bold"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
tag: tags.emphasis,
|
|
123
|
-
fontStyle: "italic"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
tag: tags.strikethrough,
|
|
127
|
-
textDecoration: "line-through"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
tag: tags.link,
|
|
131
|
-
color: stone,
|
|
132
|
-
textDecoration: "underline"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
tag: tags.heading,
|
|
136
|
-
fontWeight: "bold",
|
|
137
|
-
color: coral
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
tag: [
|
|
141
|
-
tags.atom,
|
|
142
|
-
tags.bool,
|
|
143
|
-
/*@__PURE__*/ tags.special(tags.variableName)
|
|
144
|
-
],
|
|
145
|
-
color: whiskey
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
tag: [
|
|
149
|
-
tags.processingInstruction,
|
|
150
|
-
tags.string,
|
|
151
|
-
tags.inserted
|
|
152
|
-
],
|
|
153
|
-
color: sage
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
tag: tags.invalid,
|
|
157
|
-
color: invalid
|
|
158
|
-
}
|
|
159
|
-
]))];
|
|
160
|
-
//#endregion
|
|
161
|
-
export { oneDark as t };
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js
|
|
2
|
-
function ascending(a, b) {
|
|
3
|
-
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
4
|
-
}
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js
|
|
7
|
-
function descending(a, b) {
|
|
8
|
-
return a == null || b == null ? NaN : b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js
|
|
12
|
-
function bisector(f) {
|
|
13
|
-
let compare1, compare2, delta;
|
|
14
|
-
if (f.length !== 2) {
|
|
15
|
-
compare1 = ascending;
|
|
16
|
-
compare2 = (d, x) => ascending(f(d), x);
|
|
17
|
-
delta = (d, x) => f(d) - x;
|
|
18
|
-
} else {
|
|
19
|
-
compare1 = f === ascending || f === descending ? f : zero;
|
|
20
|
-
compare2 = f;
|
|
21
|
-
delta = f;
|
|
22
|
-
}
|
|
23
|
-
function left(a, x, lo = 0, hi = a.length) {
|
|
24
|
-
if (lo < hi) {
|
|
25
|
-
if (compare1(x, x) !== 0) return hi;
|
|
26
|
-
do {
|
|
27
|
-
const mid = lo + hi >>> 1;
|
|
28
|
-
if (compare2(a[mid], x) < 0) lo = mid + 1;
|
|
29
|
-
else hi = mid;
|
|
30
|
-
} while (lo < hi);
|
|
31
|
-
}
|
|
32
|
-
return lo;
|
|
33
|
-
}
|
|
34
|
-
function right(a, x, lo = 0, hi = a.length) {
|
|
35
|
-
if (lo < hi) {
|
|
36
|
-
if (compare1(x, x) !== 0) return hi;
|
|
37
|
-
do {
|
|
38
|
-
const mid = lo + hi >>> 1;
|
|
39
|
-
if (compare2(a[mid], x) <= 0) lo = mid + 1;
|
|
40
|
-
else hi = mid;
|
|
41
|
-
} while (lo < hi);
|
|
42
|
-
}
|
|
43
|
-
return lo;
|
|
44
|
-
}
|
|
45
|
-
function center(a, x, lo = 0, hi = a.length) {
|
|
46
|
-
const i = left(a, x, lo, hi - 1);
|
|
47
|
-
return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
left,
|
|
51
|
-
center,
|
|
52
|
-
right
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function zero() {
|
|
56
|
-
return 0;
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js
|
|
60
|
-
function number(x) {
|
|
61
|
-
return x === null ? NaN : +x;
|
|
62
|
-
}
|
|
63
|
-
function* numbers(values, valueof) {
|
|
64
|
-
if (valueof === void 0) {
|
|
65
|
-
for (let value of values) if (value != null && (value = +value) >= value) yield value;
|
|
66
|
-
} else {
|
|
67
|
-
let index = -1;
|
|
68
|
-
for (let value of values) if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) yield value;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
//#endregion
|
|
72
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js
|
|
73
|
-
var ascendingBisect = bisector(ascending);
|
|
74
|
-
var bisectRight = ascendingBisect.right;
|
|
75
|
-
ascendingBisect.left;
|
|
76
|
-
bisector(number).center;
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/sort.js
|
|
79
|
-
function compareDefined(compare = ascending) {
|
|
80
|
-
if (compare === ascending) return ascendingDefined;
|
|
81
|
-
if (typeof compare !== "function") throw new TypeError("compare is not a function");
|
|
82
|
-
return (a, b) => {
|
|
83
|
-
const x = compare(a, b);
|
|
84
|
-
if (x || x === 0) return x;
|
|
85
|
-
return (compare(b, b) === 0) - (compare(a, a) === 0);
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function ascendingDefined(a, b) {
|
|
89
|
-
return (a == null || !(a >= a)) - (b == null || !(b >= b)) || (a < b ? -1 : a > b ? 1 : 0);
|
|
90
|
-
}
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js
|
|
93
|
-
var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);
|
|
94
|
-
function tickSpec(start, stop, count) {
|
|
95
|
-
const step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log10(step)), error = step / Math.pow(10, power), factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
96
|
-
let i1, i2, inc;
|
|
97
|
-
if (power < 0) {
|
|
98
|
-
inc = Math.pow(10, -power) / factor;
|
|
99
|
-
i1 = Math.round(start * inc);
|
|
100
|
-
i2 = Math.round(stop * inc);
|
|
101
|
-
if (i1 / inc < start) ++i1;
|
|
102
|
-
if (i2 / inc > stop) --i2;
|
|
103
|
-
inc = -inc;
|
|
104
|
-
} else {
|
|
105
|
-
inc = Math.pow(10, power) * factor;
|
|
106
|
-
i1 = Math.round(start / inc);
|
|
107
|
-
i2 = Math.round(stop / inc);
|
|
108
|
-
if (i1 * inc < start) ++i1;
|
|
109
|
-
if (i2 * inc > stop) --i2;
|
|
110
|
-
}
|
|
111
|
-
if (i2 < i1 && .5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
112
|
-
return [
|
|
113
|
-
i1,
|
|
114
|
-
i2,
|
|
115
|
-
inc
|
|
116
|
-
];
|
|
117
|
-
}
|
|
118
|
-
function ticks(start, stop, count) {
|
|
119
|
-
stop = +stop, start = +start, count = +count;
|
|
120
|
-
if (!(count > 0)) return [];
|
|
121
|
-
if (start === stop) return [start];
|
|
122
|
-
const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);
|
|
123
|
-
if (!(i2 >= i1)) return [];
|
|
124
|
-
const n = i2 - i1 + 1, ticks = new Array(n);
|
|
125
|
-
if (reverse) if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;
|
|
126
|
-
else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;
|
|
127
|
-
else if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;
|
|
128
|
-
else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;
|
|
129
|
-
return ticks;
|
|
130
|
-
}
|
|
131
|
-
function tickIncrement(start, stop, count) {
|
|
132
|
-
stop = +stop, start = +start, count = +count;
|
|
133
|
-
return tickSpec(start, stop, count)[2];
|
|
134
|
-
}
|
|
135
|
-
function tickStep(start, stop, count) {
|
|
136
|
-
stop = +stop, start = +start, count = +count;
|
|
137
|
-
const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
138
|
-
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js
|
|
142
|
-
function max(values, valueof) {
|
|
143
|
-
let max;
|
|
144
|
-
if (valueof === void 0) {
|
|
145
|
-
for (const value of values) if (value != null && (max < value || max === void 0 && value >= value)) max = value;
|
|
146
|
-
} else {
|
|
147
|
-
let index = -1;
|
|
148
|
-
for (let value of values) if ((value = valueof(value, ++index, values)) != null && (max < value || max === void 0 && value >= value)) max = value;
|
|
149
|
-
}
|
|
150
|
-
return max;
|
|
151
|
-
}
|
|
152
|
-
//#endregion
|
|
153
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js
|
|
154
|
-
function min(values, valueof) {
|
|
155
|
-
let min;
|
|
156
|
-
if (valueof === void 0) {
|
|
157
|
-
for (const value of values) if (value != null && (min > value || min === void 0 && value >= value)) min = value;
|
|
158
|
-
} else {
|
|
159
|
-
let index = -1;
|
|
160
|
-
for (let value of values) if ((value = valueof(value, ++index, values)) != null && (min > value || min === void 0 && value >= value)) min = value;
|
|
161
|
-
}
|
|
162
|
-
return min;
|
|
163
|
-
}
|
|
164
|
-
//#endregion
|
|
165
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/quickselect.js
|
|
166
|
-
function quickselect(array, k, left = 0, right = Infinity, compare) {
|
|
167
|
-
k = Math.floor(k);
|
|
168
|
-
left = Math.floor(Math.max(0, left));
|
|
169
|
-
right = Math.floor(Math.min(array.length - 1, right));
|
|
170
|
-
if (!(left <= k && k <= right)) return array;
|
|
171
|
-
compare = compare === void 0 ? ascendingDefined : compareDefined(compare);
|
|
172
|
-
while (right > left) {
|
|
173
|
-
if (right - left > 600) {
|
|
174
|
-
const n = right - left + 1;
|
|
175
|
-
const m = k - left + 1;
|
|
176
|
-
const z = Math.log(n);
|
|
177
|
-
const s = .5 * Math.exp(2 * z / 3);
|
|
178
|
-
const sd = .5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
|
|
179
|
-
const newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
|
|
180
|
-
const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
|
|
181
|
-
quickselect(array, k, newLeft, newRight, compare);
|
|
182
|
-
}
|
|
183
|
-
const t = array[k];
|
|
184
|
-
let i = left;
|
|
185
|
-
let j = right;
|
|
186
|
-
swap(array, left, k);
|
|
187
|
-
if (compare(array[right], t) > 0) swap(array, left, right);
|
|
188
|
-
while (i < j) {
|
|
189
|
-
swap(array, i, j), ++i, --j;
|
|
190
|
-
while (compare(array[i], t) < 0) ++i;
|
|
191
|
-
while (compare(array[j], t) > 0) --j;
|
|
192
|
-
}
|
|
193
|
-
if (compare(array[left], t) === 0) swap(array, left, j);
|
|
194
|
-
else ++j, swap(array, j, right);
|
|
195
|
-
if (j <= k) left = j + 1;
|
|
196
|
-
if (k <= j) right = j - 1;
|
|
197
|
-
}
|
|
198
|
-
return array;
|
|
199
|
-
}
|
|
200
|
-
function swap(array, i, j) {
|
|
201
|
-
const t = array[i];
|
|
202
|
-
array[i] = array[j];
|
|
203
|
-
array[j] = t;
|
|
204
|
-
}
|
|
205
|
-
//#endregion
|
|
206
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/quantile.js
|
|
207
|
-
function quantile(values, p, valueof) {
|
|
208
|
-
values = Float64Array.from(numbers(values, valueof));
|
|
209
|
-
if (!(n = values.length) || isNaN(p = +p)) return;
|
|
210
|
-
if (p <= 0 || n < 2) return min(values);
|
|
211
|
-
if (p >= 1) return max(values);
|
|
212
|
-
var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = max(quickselect(values, i0).subarray(0, i0 + 1));
|
|
213
|
-
return value0 + (min(values.subarray(i0 + 1)) - value0) * (i - i0);
|
|
214
|
-
}
|
|
215
|
-
function quantileSorted(values, p, valueof = number) {
|
|
216
|
-
if (!(n = values.length) || isNaN(p = +p)) return;
|
|
217
|
-
if (p <= 0 || n < 2) return +valueof(values[0], 0, values);
|
|
218
|
-
if (p >= 1) return +valueof(values[n - 1], n - 1, values);
|
|
219
|
-
var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values);
|
|
220
|
-
return value0 + (+valueof(values[i0 + 1], i0 + 1, values) - value0) * (i - i0);
|
|
221
|
-
}
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.js
|
|
224
|
-
function range(start, stop, step) {
|
|
225
|
-
start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
|
|
226
|
-
var i = -1, n = Math.max(0, Math.ceil((stop - start) / step)) | 0, range = new Array(n);
|
|
227
|
-
while (++i < n) range[i] = start + i * step;
|
|
228
|
-
return range;
|
|
229
|
-
}
|
|
230
|
-
//#endregion
|
|
231
|
-
export { tickStep as a, bisector as c, tickIncrement as i, ascending as l, quantile as n, ticks as o, quantileSorted as r, bisectRight as s, range as t };
|