@marimo-team/islands 0.15.1 → 0.15.3

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.
Files changed (189) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DIy_POzQ.js → ConnectedDataExplorerComponent-DfvW3rBn.js} +323 -328
  2. package/dist/{ImageComparisonComponent-4ehfWTqN.js → ImageComparisonComponent-XaJshw7d.js} +13 -13
  3. package/dist/{_baseUniq-Duh9chhg.js → _baseUniq-dN9WKF9m.js} +67 -67
  4. package/dist/any-language-editor-CpFniVi-.js +27 -0
  5. package/dist/{arc-BXrety1g.js → arc-BOhn-m2C.js} +1 -1
  6. package/dist/{architectureDiagram-KFL7JDKH-3xVup6Z2.js → architectureDiagram-W76B3OCA-Bpg85ZKv.js} +144 -144
  7. package/dist/assets/{worker-COGufAQn.js → worker-Y-Q4G-N2.js} +30 -26
  8. package/dist/asterisk-DS281yxp.js +271 -0
  9. package/dist/{blockDiagram-ZYB65J3Q-eEZ6LTIH.js → blockDiagram-QIGZ2CNN-DS1kOHlW.js} +10 -10
  10. package/dist/{c4Diagram-AAMF2YG6-BqjOo55d.js → c4Diagram-FPNF74CW-CyRVKssw.js} +8 -8
  11. package/dist/{channel-BkhHQVue.js → channel-BilGXox7.js} +1 -1
  12. package/dist/{chunk-ANTBXLJU-BkLYh6ot.js → chunk-4BX2VUAB-CZR39zCO.js} +1 -1
  13. package/dist/{chunk-WVR4S24B-DpdvazVp.js → chunk-55IACEB6-BIH-MYov.js} +1 -1
  14. package/dist/{chunk-GLLZNHP4-BGaltx6Q.js → chunk-FMBD7UC4-4PZXFZE8.js} +1 -1
  15. package/dist/{chunk-JBRWN2VN-BZ3JgjiU.js → chunk-K7UQS3LO-CEvWKznk.js} +117 -117
  16. package/dist/{chunk-NRVI72HA-XO3jKXGr.js → chunk-QN33PNHL-D5LO5Jq_.js} +1 -1
  17. package/dist/{chunk-FHKO5MBM-BqvR49qe.js → chunk-QZHKN3VN-6gwUonWI.js} +1 -1
  18. package/dist/{chunk-LXBSTHXV-CJgOmuuc.js → chunk-TVAH2DTR-3gm06QdU.js} +7 -7
  19. package/dist/{chunk-OMD6QJNC-1rwXYaVn.js → chunk-TZMSLE5B-Cm8Iy9bO.js} +1 -1
  20. package/dist/{classDiagram-v2-QTMF73CY-_BeLc0pY.js → classDiagram-KNZD7YFC-DC529O_z.js} +2 -2
  21. package/dist/{classDiagram-3BZAVTQC-_BeLc0pY.js → classDiagram-v2-RKCZMP56-DC529O_z.js} +2 -2
  22. package/dist/{clone-DhXjmfNH.js → clone-CLoRX3j6.js} +1 -1
  23. package/dist/cose-bilkent-S5V4N54A-qf5DlS6Y.js +2609 -0
  24. package/dist/{cytoscape.esm-BYnVVhJX.js → cytoscape.esm-DfdJODL8.js} +34 -34
  25. package/dist/{dagre-2BBEFEWP-DoebA2zc.js → dagre-5GWH7T2D-Ceocls0m.js} +6 -6
  26. package/dist/{data-grid-overlay-editor-DYmc5v9I.js → data-grid-overlay-editor-AqDS_UKe.js} +11 -11
  27. package/dist/{diagram-4IRLE6MV-CxnJ439S.js → diagram-N5W7TBWH-CP66oSiv.js} +59 -60
  28. package/dist/{diagram-RP2FKANI-C-v51IXB.js → diagram-QEK2KX5R-_YD4kxxi.js} +15 -15
  29. package/dist/{diagram-GUPCWM2R-B7MLfHE7.js → diagram-S2PKOQOG-Cnj8T-OP.js} +10 -10
  30. package/dist/dockerfile-Cm8cRYCN.js +194 -0
  31. package/dist/ebnf-DUPDuY4r.js +78 -0
  32. package/dist/{erDiagram-HZWUO2LU-Cv1Slpwd.js → erDiagram-AWTI2OKA-CGnvoHx6.js} +8 -8
  33. package/dist/fcl-CPC2WYrI.js +103 -0
  34. package/dist/{flowDiagram-THRYKUMA-CnjAkcKg.js → flowDiagram-PVAE7QVJ-DG-pr9R9.js} +9 -9
  35. package/dist/{ganttDiagram-WV7ZQ7D5-CRQQ5cqP.js → ganttDiagram-OWAHRB6G-JmChtxvn.js} +34 -34
  36. package/dist/{gitGraphDiagram-OJR772UL-a7Wl_pP8.js → gitGraphDiagram-NY62KEGX-D8wLfOPd.js} +4 -4
  37. package/dist/{glide-data-editor-DrSTYUHP.js → glide-data-editor-9nC3iCIZ.js} +33 -33
  38. package/dist/{graph-Dq4lx1WI.js → graph-CoRe7vAN.js} +3 -3
  39. package/dist/http-D9LttvKF.js +44 -0
  40. package/dist/{index-B_t2cVfJ.js → index-6qYeHHjQ.js} +33090 -32892
  41. package/dist/{index-BhnWrXVh.js → index-BpzLh4Qe.js} +7711 -7711
  42. package/dist/{index-DSAnCCyV.js → index-BthgsgYX.js} +6 -6
  43. package/dist/{index-pBmAzQJl.js → index-MCx5v1x0.js} +2 -2
  44. package/dist/index-jkm77Jrz.js +98 -0
  45. package/dist/{infoDiagram-6WOFNB3A-B4pr_cke.js → infoDiagram-STP46IZ2-BlXxvOrR.js} +2 -2
  46. package/dist/{journeyDiagram-FFXJYRFH-CF8H9tcV.js → journeyDiagram-BIP6EPQ6-CNRYs_Fc.js} +24 -26
  47. package/dist/{kanban-definition-KOZQBZVT-BYfBCo4W.js → kanban-definition-6OIFK2YF-B9HeMAuP.js} +14 -14
  48. package/dist/{layout-D8_YOjKz.js → layout-m2vOUiW1.js} +81 -81
  49. package/dist/{linear-Be5SurQB.js → linear-DU6Q5CX3.js} +35 -35
  50. package/dist/{main-8IC_V2L6.js → main-BD2KGFpU.js} +74594 -68034
  51. package/dist/main.js +1 -1
  52. package/dist/{mermaid-B4v-qVXz.js → mermaid-HVCtvbyx.js} +6160 -7493
  53. package/dist/min-DcGMA4e_.js +80 -0
  54. package/dist/mindmap-definition-Q6HEUPPD-BW8UmIDQ.js +785 -0
  55. package/dist/nginx-zDPm3Z74.js +89 -0
  56. package/dist/{number-overlay-editor-XASk1ikZ.js → number-overlay-editor-D8Hl0Syo.js} +19 -19
  57. package/dist/{pieDiagram-DBDJKBY4-DhPX65dy.js → pieDiagram-ADFJNKIX-Bg-3zg5U.js} +17 -17
  58. package/dist/{quadrantDiagram-YPSRARAO-BjPa8bg5.js → quadrantDiagram-LMRXKWRM-BO4IG6Yz.js} +6 -6
  59. package/dist/{react-plotly-C_6SNkG9.js → react-plotly-dkvHVuRb.js} +3577 -3577
  60. package/dist/{requirementDiagram-EGVEC5DT-CtN_U9bI.js → requirementDiagram-4UW4RH46-5sdTguSM.js} +7 -7
  61. package/dist/{sankeyDiagram-HRAUVNP4-DVi73SZP.js → sankeyDiagram-GR3RE2ED-Buhlv9OI.js} +5 -5
  62. package/dist/sequenceDiagram-C3RYC4MD-C3qsM2UP.js +2519 -0
  63. package/dist/{slides-component-ML7vxRcD.js → slides-component-D209A0-s.js} +66 -66
  64. package/dist/solr-BNlsLglM.js +41 -0
  65. package/dist/spreadsheet-C-cy4P5N.js +49 -0
  66. package/dist/{stateDiagram-UUKSUZ4H-qZ62tNIz.js → stateDiagram-KXAO66HF-CopJ7G6P.js} +5 -5
  67. package/dist/{stateDiagram-v2-EYPG3UTE-BZEyTMgl.js → stateDiagram-v2-UMBNRL4Z-CejL8AKf.js} +2 -2
  68. package/dist/style.css +1 -1
  69. package/dist/tiddlywiki-5wqsXtSk.js +155 -0
  70. package/dist/tiki-__Kn3CeS.js +181 -0
  71. package/dist/{time-CZ2vTSO2.js → time-BwSBitlN.js} +58 -58
  72. package/dist/{timeline-definition-3HZDQTIS-DbWMwd1x.js → timeline-definition-XQNQX7LJ-DzMNTX-C.js} +10 -12
  73. package/dist/{timer-BYwnU4DF.js → timer-B0-z63CM.js} +16 -16
  74. package/dist/{treemap-75Q7IDZK-CocR-oAZ.js → treemap-75Q7IDZK-zeJG07dk.js} +14 -14
  75. package/dist/{vega-component-BrYek_kz.js → vega-component-CUkiTayd.js} +30 -30
  76. package/dist/{xychartDiagram-FDP5SA34-CYiUdiy5.js → xychartDiagram-6GGTOJPD-DiENNXMS.js} +7 -7
  77. package/package.json +39 -39
  78. package/src/__mocks__/notebook.ts +3 -0
  79. package/src/__mocks__/requests.ts +3 -0
  80. package/src/__tests__/__snapshots__/CellStatus.test.tsx.snap +12 -12
  81. package/src/__tests__/chat-utils.test.ts +26 -211
  82. package/src/components/ai/ai-model-dropdown.tsx +25 -9
  83. package/src/components/app-config/ai-config.tsx +7 -0
  84. package/src/components/chat/chat-components.tsx +71 -0
  85. package/src/components/chat/chat-panel.tsx +481 -291
  86. package/src/components/chat/chat-utils.ts +50 -0
  87. package/src/components/chat/markdown-renderer.tsx +3 -7
  88. package/src/components/chat/tool-call-accordion.tsx +5 -5
  89. package/src/components/datasources/__tests__/utils.test.ts +6 -0
  90. package/src/components/datasources/column-preview.tsx +1 -3
  91. package/src/components/editor/actions/useNotebookActions.tsx +1 -1
  92. package/src/components/editor/ai/add-cell-with-ai.tsx +20 -15
  93. package/src/components/editor/ai/ai-completion-editor.tsx +22 -3
  94. package/src/components/editor/ai/completion-handlers.tsx +2 -4
  95. package/src/components/editor/ai/completion-utils.ts +85 -11
  96. package/src/components/editor/alerts/startup-logs-alert.tsx +72 -0
  97. package/src/components/editor/chrome/panels/datasources-panel.tsx +3 -1
  98. package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +3 -1
  99. package/src/components/editor/chrome/panels/documentation-panel.tsx +3 -1
  100. package/src/components/editor/chrome/panels/error-panel.tsx +3 -1
  101. package/src/components/editor/chrome/panels/file-explorer-panel.tsx +3 -1
  102. package/src/components/editor/chrome/panels/logs-panel.tsx +3 -1
  103. package/src/components/editor/chrome/panels/outline-panel.tsx +3 -1
  104. package/src/components/editor/chrome/panels/packages-panel.tsx +4 -2
  105. package/src/components/editor/chrome/panels/scratchpad-panel.tsx +3 -1
  106. package/src/components/editor/chrome/panels/secrets-panel.tsx +3 -1
  107. package/src/components/editor/chrome/panels/snippets-panel.tsx +3 -1
  108. package/src/components/editor/chrome/panels/tracing-panel.tsx +3 -1
  109. package/src/components/editor/chrome/panels/variable-panel.tsx +3 -1
  110. package/src/components/editor/chrome/wrapper/app-chrome.tsx +38 -28
  111. package/src/components/editor/controls/command-palette-button.tsx +1 -1
  112. package/src/components/editor/controls/command-palette.tsx +5 -4
  113. package/src/components/editor/controls/state.ts +4 -0
  114. package/src/components/editor/package-alert.tsx +108 -58
  115. package/src/components/editor/renderers/CellArray.tsx +2 -0
  116. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +0 -1
  117. package/src/components/pages/edit-page.tsx +7 -3
  118. package/src/core/ai/chat-utils.ts +26 -43
  119. package/src/core/ai/config.ts +1 -1
  120. package/src/core/ai/context/__tests__/registry.test.ts +277 -3
  121. package/src/core/ai/context/context.ts +11 -1
  122. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +378 -0
  123. package/src/core/ai/context/providers/__tests__/error.test.ts +3 -2
  124. package/src/core/ai/context/providers/__tests__/file.test.ts +119 -0
  125. package/src/core/ai/context/providers/cell-output.ts +349 -0
  126. package/src/core/ai/context/providers/common.ts +5 -1
  127. package/src/core/ai/context/providers/file.ts +287 -0
  128. package/src/core/ai/context/registry.ts +79 -0
  129. package/src/core/ai/state.ts +22 -5
  130. package/src/core/alerts/state.ts +71 -3
  131. package/src/core/cells/cell.ts +2 -2
  132. package/src/core/cells/cells.ts +1 -1
  133. package/src/core/cells/logs.ts +1 -1
  134. package/src/core/cells/runs.ts +6 -5
  135. package/src/core/codemirror/ai/resources.ts +47 -5
  136. package/src/core/codemirror/ai/state.ts +12 -0
  137. package/src/core/codemirror/language/__tests__/sql.test.ts +45 -0
  138. package/src/core/codemirror/markdown/__tests__/commands.test.ts +1 -0
  139. package/src/core/codemirror/theme/dark.ts +1 -1
  140. package/src/core/config/capabilities.ts +1 -1
  141. package/src/core/datasets/__tests__/data-source.test.ts +24 -0
  142. package/src/core/errors/__tests__/errors.test.ts +2 -0
  143. package/src/core/islands/bridge.ts +1 -0
  144. package/src/core/islands/main.ts +1 -0
  145. package/src/core/kernel/messages.ts +12 -6
  146. package/src/core/layout/layout.ts +3 -3
  147. package/src/core/network/requests-network.ts +8 -0
  148. package/src/core/network/requests-static.ts +1 -0
  149. package/src/core/network/requests-toasting.ts +1 -0
  150. package/src/core/network/types.ts +4 -1
  151. package/src/core/wasm/bridge.ts +18 -2
  152. package/src/core/wasm/worker/bootstrap.ts +3 -1
  153. package/src/core/wasm/worker/getMarimoWheel.ts +3 -8
  154. package/src/core/wasm/worker/types.ts +3 -0
  155. package/src/core/websocket/useMarimoWebSocket.tsx +7 -1
  156. package/src/css/app/Cell.css +42 -21
  157. package/src/css/app/codemirror.css +5 -1
  158. package/src/css/globals.css +3 -0
  159. package/src/css/md.css +1 -1
  160. package/src/plugins/impl/MicrophonePlugin.tsx +2 -2
  161. package/src/plugins/impl/chat/ChatPlugin.tsx +2 -9
  162. package/src/plugins/impl/chat/chat-ui.tsx +129 -110
  163. package/src/plugins/impl/chat/types.ts +5 -8
  164. package/src/plugins/impl/code/__tests__/language.test.ts +15 -0
  165. package/src/plugins/impl/code/any-language-editor.tsx +11 -8
  166. package/src/plugins/layout/MimeRenderPlugin.tsx +3 -6
  167. package/src/stories/cell.stories.tsx +6 -0
  168. package/src/stories/layout/vertical/one-column.stories.tsx +215 -0
  169. package/src/theme/useTheme.ts +11 -6
  170. package/src/utils/__tests__/blob.test.ts +37 -0
  171. package/src/utils/arrays.ts +13 -0
  172. package/src/utils/fileToBase64.ts +21 -6
  173. package/src/utils/json/base64.ts +5 -2
  174. package/src/utils/numbers.ts +9 -7
  175. package/dist/any-language-editor-Cvakxnzg.js +0 -45
  176. package/dist/asn1-jKiBa2Ya.js +0 -95
  177. package/dist/clojure-CCKyeQKf.js +0 -800
  178. package/dist/css-BkF-NPzE.js +0 -1553
  179. package/dist/index-CfrpOVe5.js +0 -341
  180. package/dist/index-DIFrY2JV.js +0 -288
  181. package/dist/javascript-C2yteZeJ.js +0 -691
  182. package/dist/min-Q4QXsXWR.js +0 -80
  183. package/dist/mindmap-definition-LNHGMQRG-CebaDS3t.js +0 -3234
  184. package/dist/mllike-BSnXJBGA.js +0 -272
  185. package/dist/pug-CwAQJzGR.js +0 -248
  186. package/dist/python-BkR3uSy8.js +0 -313
  187. package/dist/rpm-IznJm2Xc.js +0 -57
  188. package/dist/sequenceDiagram-WFGC7UMF-C8jImRwI.js +0 -2284
  189. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
@@ -0,0 +1,155 @@
1
+ var c = {}, l = {
2
+ allTags: true,
3
+ closeAll: true,
4
+ list: true,
5
+ newJournal: true,
6
+ newTiddler: true,
7
+ permaview: true,
8
+ saveChanges: true,
9
+ search: true,
10
+ slider: true,
11
+ tabs: true,
12
+ tag: true,
13
+ tagging: true,
14
+ tags: true,
15
+ tiddler: true,
16
+ timeline: true,
17
+ today: true,
18
+ version: true,
19
+ option: true,
20
+ with: true,
21
+ filter: true
22
+ }, f = /[\w_\-]/i, k = /^\-\-\-\-+$/, h = /^\/\*\*\*$/, d = /^\*\*\*\/$/, a = /^<<<$/, p = /^\/\/\{\{\{$/, w = /^\/\/\}\}\}$/, b = /^<!--\{\{\{-->$/, v = /^<!--\}\}\}-->$/, S = /^\{\{\{$/, y = /^\}\}\}$/, $ = /.*?\}\}\}/;
23
+ function o(e, t, r) {
24
+ return t.tokenize = r, r(e, t);
25
+ }
26
+ function i(e, t) {
27
+ var r = e.sol(), n = e.peek();
28
+ if (t.block = false, r && /[<\/\*{}\-]/.test(n)) {
29
+ if (e.match(S))
30
+ return t.block = true, o(e, t, u);
31
+ if (e.match(a))
32
+ return "quote";
33
+ if (e.match(h) || e.match(d) || e.match(p) || e.match(w) || e.match(b) || e.match(v))
34
+ return "comment";
35
+ if (e.match(k))
36
+ return "contentSeparator";
37
+ }
38
+ if (e.next(), r && /[\/\*!#;:>|]/.test(n)) {
39
+ if (n == "!")
40
+ return e.skipToEnd(), "header";
41
+ if (n == "*")
42
+ return e.eatWhile("*"), "comment";
43
+ if (n == "#")
44
+ return e.eatWhile("#"), "comment";
45
+ if (n == ";")
46
+ return e.eatWhile(";"), "comment";
47
+ if (n == ":")
48
+ return e.eatWhile(":"), "comment";
49
+ if (n == ">")
50
+ return e.eatWhile(">"), "quote";
51
+ if (n == "|")
52
+ return "header";
53
+ }
54
+ if (n == "{" && e.match("{{"))
55
+ return o(e, t, u);
56
+ if (/[hf]/i.test(n) && /[ti]/i.test(e.peek()) && e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))
57
+ return "link";
58
+ if (n == '"')
59
+ return "string";
60
+ if (n == "~" || /[\[\]]/.test(n) && e.match(n))
61
+ return "brace";
62
+ if (n == "@")
63
+ return e.eatWhile(f), "link";
64
+ if (/\d/.test(n))
65
+ return e.eatWhile(/\d/), "number";
66
+ if (n == "/") {
67
+ if (e.eat("%"))
68
+ return o(e, t, z);
69
+ if (e.eat("/"))
70
+ return o(e, t, W);
71
+ }
72
+ if (n == "_" && e.eat("_"))
73
+ return o(e, t, x);
74
+ if (n == "-" && e.eat("-")) {
75
+ if (e.peek() != " ")
76
+ return o(e, t, g);
77
+ if (e.peek() == " ")
78
+ return "brace";
79
+ }
80
+ return n == "'" && e.eat("'") ? o(e, t, C) : n == "<" && e.eat("<") ? o(e, t, T) : (e.eatWhile(/[\w\$_]/), c.propertyIsEnumerable(e.current()) ? "keyword" : null);
81
+ }
82
+ function z(e, t) {
83
+ for (var r = false, n; n = e.next(); ) {
84
+ if (n == "/" && r) {
85
+ t.tokenize = i;
86
+ break;
87
+ }
88
+ r = n == "%";
89
+ }
90
+ return "comment";
91
+ }
92
+ function C(e, t) {
93
+ for (var r = false, n; n = e.next(); ) {
94
+ if (n == "'" && r) {
95
+ t.tokenize = i;
96
+ break;
97
+ }
98
+ r = n == "'";
99
+ }
100
+ return "strong";
101
+ }
102
+ function u(e, t) {
103
+ var r = t.block;
104
+ return r && e.current() ? "comment" : !r && e.match($) || r && e.sol() && e.match(y) ? (t.tokenize = i, "comment") : (e.next(), "comment");
105
+ }
106
+ function W(e, t) {
107
+ for (var r = false, n; n = e.next(); ) {
108
+ if (n == "/" && r) {
109
+ t.tokenize = i;
110
+ break;
111
+ }
112
+ r = n == "/";
113
+ }
114
+ return "emphasis";
115
+ }
116
+ function x(e, t) {
117
+ for (var r = false, n; n = e.next(); ) {
118
+ if (n == "_" && r) {
119
+ t.tokenize = i;
120
+ break;
121
+ }
122
+ r = n == "_";
123
+ }
124
+ return "link";
125
+ }
126
+ function g(e, t) {
127
+ for (var r = false, n; n = e.next(); ) {
128
+ if (n == "-" && r) {
129
+ t.tokenize = i;
130
+ break;
131
+ }
132
+ r = n == "-";
133
+ }
134
+ return "deleted";
135
+ }
136
+ function T(e, t) {
137
+ if (e.current() == "<<")
138
+ return "meta";
139
+ var r = e.next();
140
+ return r ? r == ">" && e.peek() == ">" ? (e.next(), t.tokenize = i, "meta") : (e.eatWhile(/[\w\$_]/), l.propertyIsEnumerable(e.current()) ? "keyword" : null) : (t.tokenize = i, null);
141
+ }
142
+ const m = {
143
+ name: "tiddlywiki",
144
+ startState: function() {
145
+ return { tokenize: i };
146
+ },
147
+ token: function(e, t) {
148
+ if (e.eatSpace()) return null;
149
+ var r = t.tokenize(e, t);
150
+ return r;
151
+ }
152
+ };
153
+ export {
154
+ m as tiddlyWiki
155
+ };
@@ -0,0 +1,181 @@
1
+ function c(e, t, n) {
2
+ return function(r, a) {
3
+ for (; !r.eol(); ) {
4
+ if (r.match(t)) {
5
+ a.tokenize = o;
6
+ break;
7
+ }
8
+ r.next();
9
+ }
10
+ return n && (a.tokenize = n), e;
11
+ };
12
+ }
13
+ function f(e) {
14
+ return function(t, n) {
15
+ for (; !t.eol(); )
16
+ t.next();
17
+ return n.tokenize = o, e;
18
+ };
19
+ }
20
+ function o(e, t) {
21
+ function n(p) {
22
+ return t.tokenize = p, p(e, t);
23
+ }
24
+ var r = e.sol(), a = e.next();
25
+ switch (a) {
26
+ //switch is generally much faster than if, so it is used here
27
+ case "{":
28
+ return e.eat("/"), e.eatSpace(), e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/), t.tokenize = h, "tag";
29
+ case "_":
30
+ if (e.eat("_"))
31
+ return n(c("strong", "__", o));
32
+ break;
33
+ case "'":
34
+ if (e.eat("'"))
35
+ return n(c("em", "''", o));
36
+ break;
37
+ case "(":
38
+ if (e.eat("("))
39
+ return n(c("link", "))", o));
40
+ break;
41
+ case "[":
42
+ return n(c("url", "]", o));
43
+ case "|":
44
+ if (e.eat("|"))
45
+ return n(c("comment", "||"));
46
+ break;
47
+ case "-":
48
+ if (e.eat("="))
49
+ return n(c("header string", "=-", o));
50
+ if (e.eat("-"))
51
+ return n(c("error tw-deleted", "--", o));
52
+ break;
53
+ case "=":
54
+ if (e.match("=="))
55
+ return n(c("tw-underline", "===", o));
56
+ break;
57
+ case ":":
58
+ if (e.eat(":"))
59
+ return n(c("comment", "::"));
60
+ break;
61
+ case "^":
62
+ return n(c("tw-box", "^"));
63
+ case "~":
64
+ if (e.match("np~"))
65
+ return n(c("meta", "~/np~"));
66
+ break;
67
+ }
68
+ if (r)
69
+ switch (a) {
70
+ case "!":
71
+ return e.match("!!!!!") || e.match("!!!!") || e.match("!!!") || e.match("!!"), n(f("header string"));
72
+ case "*":
73
+ //unordered list line item, or <li /> at start of line
74
+ case "#":
75
+ //ordered list line item, or <li /> at start of line
76
+ case "+":
77
+ return n(f("tw-listitem bracket"));
78
+ }
79
+ return null;
80
+ }
81
+ var g, s;
82
+ function h(e, t) {
83
+ var n = e.next(), r = e.peek();
84
+ return n == "}" ? (t.tokenize = o, "tag") : n == "(" || n == ")" ? "bracket" : n == "=" ? (s = "equals", r == ">" && (e.next(), r = e.peek()), /[\'\"]/.test(r) || (t.tokenize = z()), "operator") : /[\'\"]/.test(n) ? (t.tokenize = w(n), t.tokenize(e, t)) : (e.eatWhile(/[^\s\u00a0=\"\'\/?]/), "keyword");
85
+ }
86
+ function w(e) {
87
+ return function(t, n) {
88
+ for (; !t.eol(); )
89
+ if (t.next() == e) {
90
+ n.tokenize = h;
91
+ break;
92
+ }
93
+ return "string";
94
+ };
95
+ }
96
+ function z() {
97
+ return function(e, t) {
98
+ for (; !e.eol(); ) {
99
+ var n = e.next(), r = e.peek();
100
+ if (n == " " || n == "," || /[ )}]/.test(r)) {
101
+ t.tokenize = h;
102
+ break;
103
+ }
104
+ }
105
+ return "string";
106
+ };
107
+ }
108
+ var i, l;
109
+ function k() {
110
+ for (var e = arguments.length - 1; e >= 0; e--) i.cc.push(arguments[e]);
111
+ }
112
+ function u() {
113
+ return k.apply(null, arguments), true;
114
+ }
115
+ function b(e, t) {
116
+ var n = i.context && i.context.noIndent;
117
+ i.context = {
118
+ prev: i.context,
119
+ pluginName: e,
120
+ indent: i.indented,
121
+ startOfLine: t,
122
+ noIndent: n
123
+ };
124
+ }
125
+ function x() {
126
+ i.context && (i.context = i.context.prev);
127
+ }
128
+ function L(e) {
129
+ if (e == "openPlugin")
130
+ return i.pluginName = g, u(d, N(i.startOfLine));
131
+ if (e == "closePlugin") {
132
+ var t = false;
133
+ return i.context ? (t = i.context.pluginName != g, x()) : t = true, t && (l = "error"), u(P(t));
134
+ } else return e == "string" && ((!i.context || i.context.name != "!cdata") && b("!cdata"), i.tokenize == o && x()), u();
135
+ }
136
+ function N(e) {
137
+ return function(t) {
138
+ return t == "selfclosePlugin" || t == "endPlugin" || t == "endPlugin" && b(i.pluginName, e), u();
139
+ };
140
+ }
141
+ function P(e) {
142
+ return function(t) {
143
+ return e && (l = "error"), t == "endPlugin" ? u() : k();
144
+ };
145
+ }
146
+ function d(e) {
147
+ return e == "keyword" ? (l = "attribute", u(d)) : e == "equals" ? u(O, d) : k();
148
+ }
149
+ function O(e) {
150
+ return e == "keyword" ? (l = "string", u()) : e == "string" ? u(v) : k();
151
+ }
152
+ function v(e) {
153
+ return e == "string" ? u(v) : k();
154
+ }
155
+ const S = {
156
+ name: "tiki",
157
+ startState: function() {
158
+ return { tokenize: o, cc: [], indented: 0, startOfLine: true, pluginName: null, context: null };
159
+ },
160
+ token: function(e, t) {
161
+ if (e.sol() && (t.startOfLine = true, t.indented = e.indentation()), e.eatSpace()) return null;
162
+ l = s = g = null;
163
+ var n = t.tokenize(e, t);
164
+ if ((n || s) && n != "comment")
165
+ for (i = t; ; ) {
166
+ var r = t.cc.pop() || L;
167
+ if (r(s || n)) break;
168
+ }
169
+ return t.startOfLine = false, l || n;
170
+ },
171
+ indent: function(e, t, n) {
172
+ var r = e.context;
173
+ if (r && r.noIndent) return 0;
174
+ for (r && /^{\//.test(t) && (r = r.prev); r && !r.startOfLine; )
175
+ r = r.prev;
176
+ return r ? r.indent + n.unit : 0;
177
+ }
178
+ };
179
+ export {
180
+ S as tiki
181
+ };
@@ -1,8 +1,8 @@
1
- import { R as P, r as ln, o as W, q as j, C as A, u as D, v as fn } from "./timer-BYwnU4DF.js";
2
- import { c as on, a as hn } from "./linear-Be5SurQB.js";
1
+ import { R as q, r as ln, o as P, q as X, C as Z, u as D, v as fn } from "./timer-B0-z63CM.js";
2
+ import { c as hn, a as on } from "./linear-DU6Q5CX3.js";
3
3
  import { i as bn } from "./init-DxzjmxYy.js";
4
- import { a5 as gn, a6 as d, a7 as v, a8 as k, a9 as x, aa as F, ab as yn, ac as L, ad as S, ae as R, af as pn, ag as B, ah as K, ai as X, aj as Z, ak as $, al as E, am as mn, an as wn, ao as Mn, ap as dn, aq as vn, ar as kn, as as xn } from "./main-8IC_V2L6.js";
5
- function Wn(n, t) {
4
+ import { W as gn, X as d, Y as v, Z as k, _ as x, $ as L, a0 as yn, a1 as R, a2 as H, a3 as W, a4 as pn, a5 as mn, a6 as wn, a7 as Mn, a8 as dn, a9 as vn, aa as kn, ab as $, ac as A, ad as B, ae as K, af as _, ag as j, ah as xn } from "./main-BD2KGFpU.js";
5
+ function Pn(n, t) {
6
6
  let i;
7
7
  if (t === void 0)
8
8
  for (const e of n)
@@ -14,7 +14,7 @@ function Wn(n, t) {
14
14
  }
15
15
  return i;
16
16
  }
17
- function jn(n, t) {
17
+ function Xn(n, t) {
18
18
  let i;
19
19
  if (t === void 0)
20
20
  for (const e of n)
@@ -26,7 +26,7 @@ function jn(n, t) {
26
26
  }
27
27
  return i;
28
28
  }
29
- function G(n, t, i, e, r, l) {
29
+ function E(n, t, i, e, r, l) {
30
30
  const s = [
31
31
  [d, 1, v],
32
32
  [d, 5, 5 * v],
@@ -40,43 +40,43 @@ function G(n, t, i, e, r, l) {
40
40
  [r, 3, 3 * x],
41
41
  [r, 6, 6 * x],
42
42
  [r, 12, 12 * x],
43
- [e, 1, F],
44
- [e, 2, 2 * F],
43
+ [e, 1, L],
44
+ [e, 2, 2 * L],
45
45
  [i, 1, yn],
46
- [t, 1, L],
47
- [t, 3, 3 * L],
48
- [n, 1, S]
46
+ [t, 1, R],
47
+ [t, 3, 3 * R],
48
+ [n, 1, H]
49
49
  ];
50
50
  function y(u, c, b) {
51
51
  const f = c < u;
52
52
  f && ([u, c] = [c, u]);
53
- const o = b && typeof b.range == "function" ? b : M(u, c, b), m = o ? o.range(u, +c + 1) : [];
53
+ const h = b && typeof b.range == "function" ? b : M(u, c, b), m = h ? h.range(u, +c + 1) : [];
54
54
  return f ? m.reverse() : m;
55
55
  }
56
56
  function M(u, c, b) {
57
- const f = Math.abs(c - u) / b, o = gn(([, , H]) => H).right(s, f);
58
- if (o === s.length) return n.every(R(u / S, c / S, b));
59
- if (o === 0) return pn.every(Math.max(R(u, c, b), 1));
60
- const [m, I] = s[f / s[o - 1][2] < s[o][2] / f ? o - 1 : o];
57
+ const f = Math.abs(c - u) / b, h = gn(([, , Y]) => Y).right(s, f);
58
+ if (h === s.length) return n.every(W(u / H, c / H, b));
59
+ if (h === 0) return pn.every(Math.max(W(u, c, b), 1));
60
+ const [m, I] = s[f / s[h - 1][2] < s[h][2] / f ? h - 1 : h];
61
61
  return m.every(I);
62
62
  }
63
63
  return [y, M];
64
64
  }
65
- const [An, Bn] = G(kn, vn, dn, Mn, wn, mn), [Dn, Nn] = G(E, $, Z, X, K, B), In = Math.PI / 180, Hn = 180 / Math.PI, N = 18, J = 0.96422, O = 1, Q = 0.82521, U = 4 / 29, w = 6 / 29, V = 3 * w * w, Sn = w * w * w;
66
- function _(n) {
65
+ const [Zn, $n] = E(kn, vn, dn, Mn, wn, mn), [Dn, Nn] = E(j, _, K, B, A, $), In = Math.PI / 180, Yn = 180 / Math.PI, N = 18, G = 0.96422, J = 1, O = 0.82521, Q = 4 / 29, w = 6 / 29, U = 3 * w * w, Hn = w * w * w;
66
+ function V(n) {
67
67
  if (n instanceof g) return new g(n.l, n.a, n.b, n.opacity);
68
68
  if (n instanceof p) return nn(n);
69
- n instanceof P || (n = ln(n));
70
- var t = T(n.r), i = T(n.g), e = T(n.b), r = Y((0.2225045 * t + 0.7168786 * i + 0.0606169 * e) / O), l, s;
71
- return t === i && i === e ? l = s = r : (l = Y((0.4360747 * t + 0.3850649 * i + 0.1430804 * e) / J), s = Y((0.0139322 * t + 0.0971045 * i + 0.7141733 * e) / Q)), new g(116 * r - 16, 500 * (l - r), 200 * (r - s), n.opacity);
69
+ n instanceof q || (n = ln(n));
70
+ var t = T(n.r), i = T(n.g), e = T(n.b), r = S((0.2225045 * t + 0.7168786 * i + 0.0606169 * e) / J), l, s;
71
+ return t === i && i === e ? l = s = r : (l = S((0.4360747 * t + 0.3850649 * i + 0.1430804 * e) / G), s = S((0.0139322 * t + 0.0971045 * i + 0.7141733 * e) / O)), new g(116 * r - 16, 500 * (l - r), 200 * (r - s), n.opacity);
72
72
  }
73
- function Yn(n, t, i, e) {
74
- return arguments.length === 1 ? _(n) : new g(n, t, i, e ?? 1);
73
+ function Sn(n, t, i, e) {
74
+ return arguments.length === 1 ? V(n) : new g(n, t, i, e ?? 1);
75
75
  }
76
76
  function g(n, t, i, e) {
77
77
  this.l = +n, this.a = +t, this.b = +i, this.opacity = +e;
78
78
  }
79
- W(g, Yn, j(A, {
79
+ P(g, Sn, X(Z, {
80
80
  brighter(n) {
81
81
  return new g(this.l + N * (n ?? 1), this.a, this.b, this.opacity);
82
82
  },
@@ -85,7 +85,7 @@ W(g, Yn, j(A, {
85
85
  },
86
86
  rgb() {
87
87
  var n = (this.l + 16) / 116, t = isNaN(this.a) ? n : n + this.a / 500, i = isNaN(this.b) ? n : n - this.b / 200;
88
- return t = J * C(t), n = O * C(n), i = Q * C(i), new P(
88
+ return t = G * C(t), n = J * C(n), i = O * C(i), new q(
89
89
  z(3.1338561 * t - 1.6168667 * n - 0.4906146 * i),
90
90
  z(-0.9787684 * t + 1.9161415 * n + 0.033454 * i),
91
91
  z(0.0719453 * t - 0.2289914 * n + 1.4052427 * i),
@@ -93,11 +93,11 @@ W(g, Yn, j(A, {
93
93
  );
94
94
  }
95
95
  }));
96
- function Y(n) {
97
- return n > Sn ? Math.pow(n, 1 / 3) : n / V + U;
96
+ function S(n) {
97
+ return n > Hn ? Math.pow(n, 1 / 3) : n / U + Q;
98
98
  }
99
99
  function C(n) {
100
- return n > w ? n * n * n : V * (n - U);
100
+ return n > w ? n * n * n : U * (n - Q);
101
101
  }
102
102
  function z(n) {
103
103
  return 255 * (n <= 31308e-7 ? 12.92 * n : 1.055 * Math.pow(n, 1 / 2.4) - 0.055);
@@ -107,11 +107,11 @@ function T(n) {
107
107
  }
108
108
  function Cn(n) {
109
109
  if (n instanceof p) return new p(n.h, n.c, n.l, n.opacity);
110
- if (n instanceof g || (n = _(n)), n.a === 0 && n.b === 0) return new p(NaN, 0 < n.l && n.l < 100 ? 0 : NaN, n.l, n.opacity);
111
- var t = Math.atan2(n.b, n.a) * Hn;
110
+ if (n instanceof g || (n = V(n)), n.a === 0 && n.b === 0) return new p(NaN, 0 < n.l && n.l < 100 ? 0 : NaN, n.l, n.opacity);
111
+ var t = Math.atan2(n.b, n.a) * Yn;
112
112
  return new p(t < 0 ? t + 360 : t, Math.sqrt(n.a * n.a + n.b * n.b), n.l, n.opacity);
113
113
  }
114
- function q(n, t, i, e) {
114
+ function F(n, t, i, e) {
115
115
  return arguments.length === 1 ? Cn(n) : new p(n, t, i, e ?? 1);
116
116
  }
117
117
  function p(n, t, i, e) {
@@ -122,7 +122,7 @@ function nn(n) {
122
122
  var t = n.h * In;
123
123
  return new g(n.l, Math.cos(t) * n.c, Math.sin(t) * n.c, n.opacity);
124
124
  }
125
- W(p, q, j(A, {
125
+ P(p, F, X(Z, {
126
126
  brighter(n) {
127
127
  return new p(this.h, this.c, this.l + N * (n ?? 1), this.opacity);
128
128
  },
@@ -135,14 +135,14 @@ W(p, q, j(A, {
135
135
  }));
136
136
  function tn(n) {
137
137
  return function(t, i) {
138
- var e = n((t = q(t)).h, (i = q(i)).h), r = D(t.c, i.c), l = D(t.l, i.l), s = D(t.opacity, i.opacity);
138
+ var e = n((t = F(t)).h, (i = F(i)).h), r = D(t.c, i.c), l = D(t.l, i.l), s = D(t.opacity, i.opacity);
139
139
  return function(y) {
140
140
  return t.h = e(y), t.c = r(y), t.l = l(y), t.opacity = s(y), t + "";
141
141
  };
142
142
  };
143
143
  }
144
- const Kn = tn(fn);
145
- var Xn = tn(D);
144
+ const An = tn(fn);
145
+ var Bn = tn(D);
146
146
  function zn(n, t) {
147
147
  n = n.slice();
148
148
  var i = 0, e = n.length - 1, r = n[i], l = n[e], s;
@@ -151,45 +151,45 @@ function zn(n, t) {
151
151
  function Tn(n) {
152
152
  return new Date(n);
153
153
  }
154
- function qn(n) {
154
+ function Fn(n) {
155
155
  return n instanceof Date ? +n : +/* @__PURE__ */ new Date(+n);
156
156
  }
157
157
  function en(n, t, i, e, r, l, s, y, M, u) {
158
- var c = on(), b = c.invert, f = c.domain, o = u(".%L"), m = u(":%S"), I = u("%I:%M"), H = u("%I %p"), rn = u("%a %d"), an = u("%b %d"), cn = u("%B"), un = u("%Y");
158
+ var c = hn(), b = c.invert, f = c.domain, h = u(".%L"), m = u(":%S"), I = u("%I:%M"), Y = u("%I %p"), rn = u("%a %d"), an = u("%b %d"), cn = u("%B"), un = u("%Y");
159
159
  function sn(a) {
160
- return (M(a) < a ? o : y(a) < a ? m : s(a) < a ? I : l(a) < a ? H : e(a) < a ? r(a) < a ? rn : an : i(a) < a ? cn : un)(a);
160
+ return (M(a) < a ? h : y(a) < a ? m : s(a) < a ? I : l(a) < a ? Y : e(a) < a ? r(a) < a ? rn : an : i(a) < a ? cn : un)(a);
161
161
  }
162
162
  return c.invert = function(a) {
163
163
  return new Date(b(a));
164
164
  }, c.domain = function(a) {
165
- return arguments.length ? f(Array.from(a, qn)) : f().map(Tn);
165
+ return arguments.length ? f(Array.from(a, Fn)) : f().map(Tn);
166
166
  }, c.ticks = function(a) {
167
- var h = f();
168
- return n(h[0], h[h.length - 1], a ?? 10);
169
- }, c.tickFormat = function(a, h) {
170
- return h == null ? sn : u(h);
167
+ var o = f();
168
+ return n(o[0], o[o.length - 1], a ?? 10);
169
+ }, c.tickFormat = function(a, o) {
170
+ return o == null ? sn : u(o);
171
171
  }, c.nice = function(a) {
172
- var h = f();
173
- return (!a || typeof a.range != "function") && (a = t(h[0], h[h.length - 1], a ?? 10)), a ? f(zn(h, a)) : c;
172
+ var o = f();
173
+ return (!a || typeof a.range != "function") && (a = t(o[0], o[o.length - 1], a ?? 10)), a ? f(zn(o, a)) : c;
174
174
  }, c.copy = function() {
175
- return hn(c, en(n, t, i, e, r, l, s, y, M, u));
175
+ return on(c, en(n, t, i, e, r, l, s, y, M, u));
176
176
  }, c;
177
177
  }
178
- function Zn() {
179
- return bn.apply(en(Dn, Nn, E, $, Z, X, K, B, d, xn).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
178
+ function Kn() {
179
+ return bn.apply(en(Dn, Nn, j, _, K, B, A, $, d, xn).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
180
180
  }
181
181
  export {
182
- Wn as a,
183
- An as b,
182
+ Pn as a,
183
+ Zn as b,
184
184
  en as c,
185
- Hn as d,
186
- q as e,
187
- Xn as h,
188
- Kn as i,
189
- Yn as l,
190
- jn as m,
185
+ Yn as d,
186
+ F as e,
187
+ Bn as h,
188
+ An as i,
189
+ Sn as l,
190
+ Xn as m,
191
191
  zn as n,
192
192
  In as r,
193
- Zn as t,
194
- Bn as u
193
+ Kn as t,
194
+ $n as u
195
195
  };
@@ -1,6 +1,6 @@
1
- import { _ as s, c as xt, l as E, d as j, V as kt, W as vt, X as _t, Y as bt, D as wt, $ as St, z as Et } from "./mermaid-B4v-qVXz.js";
2
- import { d as nt } from "./arc-BXrety1g.js";
3
- var Q = function() {
1
+ import { _ as s, c as xt, l as E, d as j, V as kt, W as vt, X as _t, Y as bt, D as wt, $ as St, z as Et } from "./mermaid-HVCtvbyx.js";
2
+ import { d as nt } from "./arc-BOhn-m2C.js";
3
+ var Q = (function() {
4
4
  var n = /* @__PURE__ */ s(function(x, r, a, c) {
5
5
  for (a = a || {}, c = x.length; c--; a[x[c]] = r) ;
6
6
  return a;
@@ -128,7 +128,7 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
128
128
  }
129
129
  return true;
130
130
  }, "parse")
131
- }, k = /* @__PURE__ */ function() {
131
+ }, k = /* @__PURE__ */ (function() {
132
132
  var x = {
133
133
  EOF: 1,
134
134
  parseError: /* @__PURE__ */ s(function(a, c) {
@@ -346,13 +346,13 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
346
346
  conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: false }, acc_descr: { rules: [10], inclusive: false }, acc_title: { rules: [8], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: true } }
347
347
  };
348
348
  return x;
349
- }();
349
+ })();
350
350
  p.lexer = k;
351
351
  function _() {
352
352
  this.yy = {};
353
353
  }
354
354
  return s(_, "Parser"), _.prototype = p, p.Parser = _, new _();
355
- }();
355
+ })();
356
356
  Q.parser = Q;
357
357
  var Tt = Q, at = {};
358
358
  wt(at, {
@@ -468,9 +468,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
468
468
  );
469
469
  }, "drawSection"), rt = -1, Pt = /* @__PURE__ */ s(function(n, t, e) {
470
470
  const l = t.x + e.width / 2, i = n.append("g");
471
- rt++;
472
- const d = 300 + 5 * 30;
473
- i.append("line").attr("id", "task" + rt).attr("x1", l).attr("y1", t.y).attr("x2", l).attr("y2", d).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Lt(i, {
471
+ rt++, i.append("line").attr("id", "task" + rt).attr("x1", l).attr("y1", t.y).attr("x2", l).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Lt(i, {
474
472
  cx: l,
475
473
  cy: 300 + (5 - t.score) * 30,
476
474
  score: t.score
@@ -518,7 +516,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
518
516
  rx: 0,
519
517
  ry: 0
520
518
  };
521
- }, "getNoteRect"), mt = /* @__PURE__ */ function() {
519
+ }, "getNoteRect"), mt = /* @__PURE__ */ (function() {
522
520
  function n(i, d, h, f, m, p, k, _) {
523
521
  const x = d.append("text").attr("x", h + m / 2).attr("y", f + p / 2 + 5).style("font-color", _).style("text-anchor", "middle").text(i);
524
522
  l(x, k);
@@ -544,7 +542,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
544
542
  return s(l, "_setTextAttrs"), function(i) {
545
543
  return i.textPlacement === "fo" ? e : i.textPlacement === "old" ? n : t;
546
544
  };
547
- }(), Rt = /* @__PURE__ */ s(function(n) {
545
+ })(), Rt = /* @__PURE__ */ s(function(n) {
548
546
  n.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
549
547
  }, "initGraphics");
550
548
  function D(n, t) {
@@ -571,7 +569,7 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
571
569
  }, "getVirtualNodeHeight"), Vt = /* @__PURE__ */ s(function(n, t, e) {
572
570
  n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
573
571
  "d",
574
- `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
572
+ `M0 ${t.height - 5} v${-t.height + 10} q0,-5 5,-5 h${t.width - 10} q5,0 5,5 v${t.height - 5} H0 Z`
575
573
  ), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
576
574
  }, "defaultBkg"), C = {
577
575
  drawRect: q,