@pi-outpost/embed 0.62.3 → 0.63.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/dist/{CodeEditor-C2mtBAxz.js → CodeEditor-BW8cShfE.js} +870 -869
- package/dist/CodeEditor-BZfOQyjO.cjs +9 -0
- package/dist/{conversationExport-jRLUX0kH.js → conversationExport-BHXWfKKh.js} +37 -37
- package/dist/{conversationExport-DXxmgLoF.cjs → conversationExport-CWUOyeJO.cjs} +2 -2
- package/dist/{conversationHistory-C6PqGsO9.cjs → conversationHistory-0ds9dEO5.cjs} +26 -4
- package/dist/{conversationHistory-3pDBlkZZ.js → conversationHistory-xEFHYA2a.js} +94 -61
- package/dist/{dist-B9wvGgxB.js → dist-B-n0qSdY.js} +134 -133
- package/dist/{dist-LBUs7dVk.js → dist-B53CIh_q.js} +62 -61
- package/dist/{dist-DeLxY4Ia.js → dist-BBPYf4ef.js} +30 -29
- package/dist/dist-BFbWWJdM.cjs +23 -0
- package/dist/dist-BLE5-Y8p.cjs +9 -0
- package/dist/dist-BQCPWecG.cjs +1 -0
- package/dist/dist-BmjjdWVL.cjs +1 -0
- package/dist/{dist-kpPXlS4A.cjs → dist-Bo7aGd2O.cjs} +2 -2
- package/dist/{dist-Bk3hLKgL.js → dist-BoHwBqKn.js} +49 -49
- package/dist/{dist-VWDOErn8.js → dist-BpRy8-Lq.js} +47 -47
- package/dist/dist-BzV3uXd3.js +2842 -0
- package/dist/dist-C3wOZTh_.cjs +1 -0
- package/dist/dist-C6485_TJ.cjs +1 -0
- package/dist/{dist-BIMxMB--.js → dist-CEPaeNz_.js} +57 -57
- package/dist/dist-CbNZ-oK_.cjs +11 -0
- package/dist/dist-CewGgiCl.cjs +1 -0
- package/dist/dist-Cgkuh5Wk.cjs +11 -0
- package/dist/dist-ChIJFFop.cjs +3 -0
- package/dist/dist-Cqy-WSUm.cjs +6 -0
- package/dist/{dist-Bg1-NGne.js → dist-D1XDfvdG.js} +17 -17
- package/dist/{dist-qeX2QqDc.js → dist-DAh__jUg.js} +6724 -9561
- package/dist/dist-DV7vb3Vn.cjs +1 -0
- package/dist/dist-DWOMmaS_.cjs +1 -0
- package/dist/{dist-BWAsFrsx.js → dist-DcevhA0K.js} +73 -73
- package/dist/dist-DdI6ugoG.cjs +1 -0
- package/dist/{dist-CpOA8cNn.js → dist-DhtR0qbm.js} +49 -49
- package/dist/{dist-CwPu13CG.js → dist-DlwWvZ4d.js} +46 -46
- package/dist/{dist-nQ2aeIgK.js → dist-DnmbmV7C.js} +495 -494
- package/dist/dist-DsOiUWHL.cjs +1 -0
- package/dist/dist-DuyBYmw-.cjs +1 -0
- package/dist/{dist-DUziszL2.js → dist-T7rNKseu.js} +32 -32
- package/dist/{dist-CcTOENSK.js → dist-XKeyr4Om.js} +26 -26
- package/dist/{dist-CvxwObne.js → dist-n29rG6c2.js} +117 -117
- package/dist/{dist-DCT8mdeU.js → dist-s8hmOD0A.js} +52 -52
- package/dist/pi-outpost-embed.cjs +46 -44
- package/dist/pi-outpost-embed.js +5022 -4147
- package/package.json +1 -1
- package/dist/CodeEditor-CHKp59kP.cjs +0 -9
- package/dist/dist-B9TXDASo.cjs +0 -1
- package/dist/dist-BMzIUMhf.cjs +0 -1
- package/dist/dist-BawiB8yE.cjs +0 -23
- package/dist/dist-BjxwUutQ.cjs +0 -6
- package/dist/dist-BlUoR-U1.cjs +0 -13
- package/dist/dist-Bnsp4Y3i.cjs +0 -9
- package/dist/dist-CM2l_BHt.cjs +0 -1
- package/dist/dist-CkDnvyBs.cjs +0 -1
- package/dist/dist-CpsCEkIr.cjs +0 -1
- package/dist/dist-DJYmQsI-.cjs +0 -1
- package/dist/dist-F6qtkv2Q.cjs +0 -11
- package/dist/dist-Lxxq5IH0.cjs +0 -1
- package/dist/dist-c-DRw6Dh.cjs +0 -1
- package/dist/dist-sM-IE5EO.cjs +0 -1
- package/dist/dist-vBlUeRrZ.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as c, r as l } from "./dist-
|
|
1
|
+
import { M as e, N as t, _ as n, a as r, h as i, n as a, u as o, x as s } from "./dist-BzV3uXd3.js";
|
|
2
|
+
import { n as c, r as l } from "./dist-DcevhA0K.js";
|
|
3
3
|
//#region ../node_modules/@lezer/rust/dist/index.js
|
|
4
4
|
var u = 1, d = 2, f = 3, p = 4, m = 5, h = 301, g = 98, _ = 101, v = 102, y = 114, b = 69, x = 46, S = 43, C = 45, w = 35, T = 34, E = 124, D = 60, O = 62, k = 61, A = 38;
|
|
5
5
|
function j(e) {
|
|
@@ -58,49 +58,49 @@ var N = new c((e, t) => {
|
|
|
58
58
|
e.next == D && e.peek(1) != k ? e.acceptToken(d, 1) : e.next == O && e.acceptToken(f, 1);
|
|
59
59
|
}), I = new c((e, t) => {
|
|
60
60
|
e.next == A && e.peek(1) == A && t.canShift(h) && e.acceptToken(h, 2);
|
|
61
|
-
}, { contextual: !0 }), L =
|
|
62
|
-
"const macro_rules struct union enum type fn impl trait let static":
|
|
63
|
-
"mod use crate":
|
|
64
|
-
"pub unsafe async mut extern default move":
|
|
65
|
-
"for if else loop while match continue break return await":
|
|
66
|
-
"as in ref":
|
|
67
|
-
"where _ crate super dyn":
|
|
68
|
-
self:
|
|
69
|
-
String:
|
|
70
|
-
Char:
|
|
71
|
-
RawString:
|
|
72
|
-
Boolean:
|
|
73
|
-
Identifier:
|
|
74
|
-
"CallExpression/Identifier":
|
|
75
|
-
BoundIdentifier:
|
|
76
|
-
"FunctionItem/BoundIdentifier":
|
|
77
|
-
LoopLabel:
|
|
78
|
-
FieldIdentifier:
|
|
79
|
-
"CallExpression/FieldExpression/FieldIdentifier":
|
|
80
|
-
Lifetime:
|
|
81
|
-
ScopeIdentifier:
|
|
82
|
-
TypeIdentifier:
|
|
83
|
-
"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":
|
|
84
|
-
"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":
|
|
85
|
-
"\"!\"":
|
|
86
|
-
UpdateOp:
|
|
87
|
-
"LineComment Shebang":
|
|
88
|
-
BlockComment:
|
|
89
|
-
Integer:
|
|
90
|
-
Float:
|
|
91
|
-
ArithOp:
|
|
92
|
-
LogicOp:
|
|
93
|
-
BitOp:
|
|
94
|
-
CompareOp:
|
|
95
|
-
"=":
|
|
96
|
-
".. ... => ->":
|
|
97
|
-
"( )":
|
|
98
|
-
"[ ]":
|
|
99
|
-
"{ }":
|
|
100
|
-
". DerefOp":
|
|
101
|
-
"&":
|
|
102
|
-
", ; ::":
|
|
103
|
-
"Attribute/...":
|
|
61
|
+
}, { contextual: !0 }), L = e({
|
|
62
|
+
"const macro_rules struct union enum type fn impl trait let static": t.definitionKeyword,
|
|
63
|
+
"mod use crate": t.moduleKeyword,
|
|
64
|
+
"pub unsafe async mut extern default move": t.modifier,
|
|
65
|
+
"for if else loop while match continue break return await": t.controlKeyword,
|
|
66
|
+
"as in ref": t.operatorKeyword,
|
|
67
|
+
"where _ crate super dyn": t.keyword,
|
|
68
|
+
self: t.self,
|
|
69
|
+
String: t.string,
|
|
70
|
+
Char: t.character,
|
|
71
|
+
RawString: t.special(t.string),
|
|
72
|
+
Boolean: t.bool,
|
|
73
|
+
Identifier: t.variableName,
|
|
74
|
+
"CallExpression/Identifier": t.function(t.variableName),
|
|
75
|
+
BoundIdentifier: t.definition(t.variableName),
|
|
76
|
+
"FunctionItem/BoundIdentifier": t.function(t.definition(t.variableName)),
|
|
77
|
+
LoopLabel: t.labelName,
|
|
78
|
+
FieldIdentifier: t.propertyName,
|
|
79
|
+
"CallExpression/FieldExpression/FieldIdentifier": t.function(t.propertyName),
|
|
80
|
+
Lifetime: t.special(t.variableName),
|
|
81
|
+
ScopeIdentifier: t.namespace,
|
|
82
|
+
TypeIdentifier: t.typeName,
|
|
83
|
+
"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier": t.macroName,
|
|
84
|
+
"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier": t.macroName,
|
|
85
|
+
"\"!\"": t.macroName,
|
|
86
|
+
UpdateOp: t.updateOperator,
|
|
87
|
+
"LineComment Shebang": t.lineComment,
|
|
88
|
+
BlockComment: t.blockComment,
|
|
89
|
+
Integer: t.integer,
|
|
90
|
+
Float: t.float,
|
|
91
|
+
ArithOp: t.arithmeticOperator,
|
|
92
|
+
LogicOp: t.logicOperator,
|
|
93
|
+
BitOp: t.bitwiseOperator,
|
|
94
|
+
CompareOp: t.compareOperator,
|
|
95
|
+
"=": t.definitionOperator,
|
|
96
|
+
".. ... => ->": t.punctuation,
|
|
97
|
+
"( )": t.paren,
|
|
98
|
+
"[ ]": t.squareBracket,
|
|
99
|
+
"{ }": t.brace,
|
|
100
|
+
". DerefOp": t.derefOperator,
|
|
101
|
+
"&": t.operator,
|
|
102
|
+
", ; ::": t.separator,
|
|
103
|
+
"Attribute/...": t.meta
|
|
104
104
|
}), R = {
|
|
105
105
|
__proto__: null,
|
|
106
106
|
self: 26,
|
|
@@ -320,15 +320,15 @@ var N = new c((e, t) => {
|
|
|
320
320
|
get: (e) => R[e] || -1
|
|
321
321
|
}],
|
|
322
322
|
tokenPrec: 18860
|
|
323
|
-
}), B = /*@__PURE__*/
|
|
323
|
+
}), B = /*@__PURE__*/ a.define({
|
|
324
324
|
name: "rust",
|
|
325
|
-
parser: /*@__PURE__*/ z.configure({ props: [/*@__PURE__*/
|
|
326
|
-
IfExpression: /*@__PURE__*/
|
|
325
|
+
parser: /*@__PURE__*/ z.configure({ props: [/*@__PURE__*/ s.add({
|
|
326
|
+
IfExpression: /*@__PURE__*/ o({ except: /^\s*({|else\b)/ }),
|
|
327
327
|
"String BlockComment": () => null,
|
|
328
328
|
AttributeItem: (e) => e.continue(),
|
|
329
|
-
"Statement MatchArm": /*@__PURE__*/
|
|
330
|
-
}), /*@__PURE__*/
|
|
331
|
-
if (/(Block|edTokens|List)$/.test(e.name)) return
|
|
329
|
+
"Statement MatchArm": /*@__PURE__*/ o()
|
|
330
|
+
}), /*@__PURE__*/ n.add((e) => {
|
|
331
|
+
if (/(Block|edTokens|List)$/.test(e.name)) return i;
|
|
332
332
|
if (e.name == "BlockComment") return (e) => ({
|
|
333
333
|
from: e.from + 2,
|
|
334
334
|
to: e.to - 2
|
|
@@ -351,7 +351,7 @@ var N = new c((e, t) => {
|
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
353
|
function V() {
|
|
354
|
-
return new
|
|
354
|
+
return new r(B);
|
|
355
355
|
}
|
|
356
356
|
//#endregion
|
|
357
357
|
export { V as rust };
|